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/async_macie2.py
| async def list_managed_data_identifiers(
self,
*,
config_overrides: Optional[AsyncMacie2ClientConfig] = 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.
"""
async def _handler(
req: "AsyncOperationRequest[capo_macie2.types.list_managed_data_identifiers_request.ListManagedDataIdentifiersRequest]",
) -> AsyncOperationResponse[
"capo_macie2.types.list_managed_data_identifiers_response.ListManagedDataIdentifiersResponse"
]:
import capo_macie2._operations.macie2.list_managed_data_identifiers
(
output,
http_response,
) = await capo_macie2._operations.macie2.list_managed_data_identifiers.async_list_managed_data_identifiers(
req.options, req.input
)
return AsyncOperationResponse(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 = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|