CloudTrail / Client / disable_federation
disable_federation¶
- CloudTrail.Client.disable_federation(**kwargs)¶
Warning
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.
Disables Lake query federation on the specified event data store. When you disable federation, CloudTrail disables the integration with Glue, Lake Formation, and Amazon Athena. After disabling Lake query federation, you can no longer query your event data in Amazon Athena.
No CloudTrail Lake data is deleted when you disable federation and you can continue to run queries in CloudTrail Lake.
See also: AWS API Documentation
Request Syntax
response = client.disable_federation( EventDataStore='string' )
- Parameters:
EventDataStore (string) –
[REQUIRED]
The ARN (or ID suffix of the ARN) of the event data store for which you want to disable Lake query federation.
- Return type:
dict
- Returns:
Response Syntax
{ 'EventDataStoreArn': 'string', 'FederationStatus': 'ENABLING'|'ENABLED'|'DISABLING'|'DISABLED' }
Response Structure
(dict) –
EventDataStoreArn (string) –
The ARN of the event data store for which you disabled Lake query federation.
FederationStatus (string) –
The federation status.
Exceptions
CloudTrail.Client.exceptions.EventDataStoreARNInvalidExceptionCloudTrail.Client.exceptions.EventDataStoreNotFoundExceptionCloudTrail.Client.exceptions.InactiveEventDataStoreExceptionCloudTrail.Client.exceptions.CloudTrailAccessNotEnabledExceptionCloudTrail.Client.exceptions.InsufficientDependencyServiceAccessPermissionExceptionCloudTrail.Client.exceptions.NotOrganizationMasterAccountExceptionCloudTrail.Client.exceptions.NoManagementAccountSLRExistsExceptionCloudTrail.Client.exceptions.OrganizationNotInAllFeaturesModeExceptionCloudTrail.Client.exceptions.ConcurrentModificationException