Module Values.EnableFederationResponseSource

Enables Lake query federation on the specified event data store. Federating an event data store lets you view the metadata associated with the event data store in the Glue Data Catalog and run SQL queries against your event data using Amazon Athena. The table metadata stored in the Glue Data Catalog lets the Athena query engine know how to find, read, and process the data that you want to query. When you enable Lake query federation, CloudTrail creates a managed database named aws:cloudtrail (if the database doesn't already exist) and a managed federated table in the Glue Data Catalog. The event data store ID is used for the table name. CloudTrail registers the role ARN and event data store in Lake Formation, the service responsible for allowing fine-grained access control of the federated resources in the Glue Data Catalog. For more information about Lake query federation, see Federate an event data store.

Sourcetype nonrec t = {
  1. eventDataStoreArn : EventDataStoreArn.t option;
    (*

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

    *)
  2. federationStatus : FederationStatus.t option;
    (*

    The federation status.

    *)
  3. federationRoleArn : FederationRoleArn.t option;
    (*

    The ARN of the federation role.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `CloudTrailAccessNotEnabledException of CloudTrailAccessNotEnabledException.t
  3. | `ConcurrentModificationException of ConcurrentModificationException.t
  4. | `EventDataStoreARNInvalidException of EventDataStoreARNInvalidException.t
  5. | `EventDataStoreFederationEnabledException of EventDataStoreFederationEnabledException.t
  6. | `EventDataStoreNotFoundException of EventDataStoreNotFoundException.t
  7. | `InactiveEventDataStoreException of InactiveEventDataStoreException.t
  8. | `InsufficientDependencyServiceAccessPermissionException of InsufficientDependencyServiceAccessPermissionException.t
  9. | `InvalidParameterException of InvalidParameterException.t
  10. | `NoManagementAccountSLRExistsException of NoManagementAccountSLRExistsException.t
  11. | `NotOrganizationMasterAccountException of NotOrganizationMasterAccountException.t
  12. | `OperationNotPermittedException of OperationNotPermittedException.t
  13. | `OrganizationNotInAllFeaturesModeException of OrganizationNotInAllFeaturesModeException.t
  14. | `OrganizationsNotInUseException of OrganizationsNotInUseException.t
  15. | `UnsupportedOperationException of UnsupportedOperationException.t
  16. | `Unknown_operation_error of string * string option
]
Sourceval make : ?eventDataStoreArn:??? -> ?federationStatus:??? -> ?federationRoleArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of unit | `CloudTrailAccessNotEnabledException of unit | `ConcurrentModificationException of unit | `EventDataStoreARNInvalidException of unit | `EventDataStoreFederationEnabledException of unit | `EventDataStoreNotFoundException of unit | `InactiveEventDataStoreException of unit | `InsufficientDependencyServiceAccessPermissionException of unit | `InvalidParameterException of unit | `NoManagementAccountSLRExistsException of unit | `NotOrganizationMasterAccountException of unit | `OperationNotPermittedException of unit | `OrganizationNotInAllFeaturesModeException of unit | `OrganizationsNotInUseException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of unit | `CloudTrailAccessNotEnabledException of unit | `ConcurrentModificationException of unit | `EventDataStoreARNInvalidException of unit | `EventDataStoreFederationEnabledException of unit | `EventDataStoreNotFoundException of unit | `InactiveEventDataStoreException of unit | `InsufficientDependencyServiceAccessPermissionException of unit | `InvalidParameterException of unit | `NoManagementAccountSLRExistsException of unit | `NotOrganizationMasterAccountException of unit | `OperationNotPermittedException of unit | `OrganizationNotInAllFeaturesModeException of unit | `OrganizationsNotInUseException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of EventDataStoreArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t