Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
Parameters:
-
next_token
(Optional[__string], default:
None
)
–
The nextToken string that specifies which page of results to return in a paginated response.
Raises:
Source code in docs_src/capo_macie2/_services/macie2.py
| def list_managed_data_identifiers(
self,
*,
config_overrides: Optional[Macie2ClientConfig] = None,
next_token: Optional["capo_macie2.types.__string.__string"] = None,
) -> "capo_macie2.types.list_managed_data_identifiers_response.ListManagedDataIdentifiersResponse":
"""<p>Retrieves information about all the managed data identifiers that Amazon Macie currently provides.</p>
Args:
next_token: <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
Raises:
capo_macie2.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_macie2.types.list_managed_data_identifiers_request.ListManagedDataIdentifiersRequest]",
) -> OperationResponse[
"capo_macie2.types.list_managed_data_identifiers_response.ListManagedDataIdentifiersResponse"
]:
import capo_macie2._operations.macie2.list_managed_data_identifiers
output, http_response = (
capo_macie2._operations.macie2.list_managed_data_identifiers.list_managed_data_identifiers(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("ListManagedDataIdentifiers")
)
input_: capo_macie2.types.list_managed_data_identifiers_request.ListManagedDataIdentifiersRequest = {}
if next_token is not None:
input_["next_token"] = next_token
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|