Skip to content

CloudTrail  >  Operations  >  disable_federation

disable_federation

Operation

disable_federation async

disable_federation(input: DisableFederationInput, plugins: list[Plugin] | None = None) -> DisableFederationOutput
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.

Parameters:

Name Type Description Default
input DisableFederationInput

An instance of DisableFederationInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DisableFederationOutput

An instance of DisableFederationOutput.

Input

DisableFederationInput dataclass

Dataclass for DisableFederationInput structure.

Attributes

event_data_store class-attribute instance-attribute
event_data_store: str | None = None

The ARN (or ID suffix of the ARN) of the event data store for which you want to disable Lake query federation.

Output

DisableFederationOutput dataclass

Dataclass for DisableFederationOutput structure.

Attributes

event_data_store_arn class-attribute instance-attribute
event_data_store_arn: str | None = None

The ARN of the event data store for which you disabled Lake query federation.

federation_status class-attribute instance-attribute
federation_status: str | None = None

The federation status.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = field(default=EMPTY_RESPONSE_METADATA, repr=False, compare=False)

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.