CloudTrail Lake will no longer be open to new customers starting May 31, 2026. If you would like to use CloudTrail Lake, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see CloudTrail Lake availability change.
Returns information about an event data store specified as either an ARN or the ID portion of the ARN.
Parameters:
-
event_data_store
(EventDataStoreArn)
–
The ARN (or ID suffix of the ARN) of the event data store about which you want information.
Raises:
Source code in docs_src/capo_cloudtrail/_services/cloud_trail.py
| def get_event_data_store(
self,
event_data_store: "capo_cloudtrail.types.event_data_store_arn.EventDataStoreArn",
*,
config_overrides: Optional[CloudTrailClientConfig] = None,
) -> (
"capo_cloudtrail.types.get_event_data_store_response.GetEventDataStoreResponse"
):
"""<important> <p>CloudTrail Lake will no longer be open to new customers starting May 31, 2026. If you would like to use CloudTrail Lake, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-service-availability-change.html">CloudTrail Lake availability change</a>.</p> </important> <p>Returns information about an event data store specified as either an ARN or the ID portion of the ARN.</p>
Args:
event_data_store: <p>The ARN (or ID suffix of the ARN) of the event data store about which you want information.</p>
Raises:
capo_cloudtrail.errors.event_data_store_arn_invalid_exception.EventDataStoreARNInvalidException: <p>The specified event data store ARN is not valid or does not map to an event data store in your account.</p>
capo_cloudtrail.errors.event_data_store_not_found_exception.EventDataStoreNotFoundException: <p>The specified event data store was not found.</p>
capo_cloudtrail.errors.invalid_parameter_exception.InvalidParameterException: <p>The request includes a parameter that is not valid.</p>
capo_cloudtrail.errors.no_management_account_slr_exists_exception.NoManagementAccountSLRExistsException: <p> This exception is thrown when the management account does not have a service-linked role. </p>
capo_cloudtrail.errors.operation_not_permitted_exception.OperationNotPermittedException: <p>This exception is thrown when the requested operation is not permitted.</p>
capo_cloudtrail.errors.unsupported_operation_exception.UnsupportedOperationException: <p>This exception is thrown when the requested operation is not supported.</p>
capo_cloudtrail.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_cloudtrail.types.get_event_data_store_request.GetEventDataStoreRequest]",
) -> OperationResponse[
"capo_cloudtrail.types.get_event_data_store_response.GetEventDataStoreResponse"
]:
import capo_cloudtrail._operations.cloud_trail_20131101.get_event_data_store
output, http_response = (
capo_cloudtrail._operations.cloud_trail_20131101.get_event_data_store.get_event_data_store(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetEventDataStore")
)
input_: capo_cloudtrail.types.get_event_data_store_request.GetEventDataStoreRequest = {
"event_data_store": event_data_store
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|