Struct aws_sdk_cloudtrail::operation::enable_federation::builders::EnableFederationFluentBuilder
source · pub struct EnableFederationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to EnableFederation
.
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.
Implementations§
source§impl EnableFederationFluentBuilder
impl EnableFederationFluentBuilder
sourcepub fn as_input(&self) -> &EnableFederationInputBuilder
pub fn as_input(&self) -> &EnableFederationInputBuilder
Access the EnableFederation as a reference.
sourcepub async fn send(
self
) -> Result<EnableFederationOutput, SdkError<EnableFederationError, HttpResponse>>
pub async fn send( self ) -> Result<EnableFederationOutput, SdkError<EnableFederationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<EnableFederationOutput, EnableFederationError, Self>
pub fn customize( self ) -> CustomizableOperation<EnableFederationOutput, EnableFederationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn event_data_store(self, input: impl Into<String>) -> Self
pub fn event_data_store(self, input: impl Into<String>) -> Self
The ARN (or ID suffix of the ARN) of the event data store for which you want to enable Lake query federation.
sourcepub fn set_event_data_store(self, input: Option<String>) -> Self
pub fn set_event_data_store(self, input: Option<String>) -> Self
The ARN (or ID suffix of the ARN) of the event data store for which you want to enable Lake query federation.
sourcepub fn get_event_data_store(&self) -> &Option<String>
pub fn get_event_data_store(&self) -> &Option<String>
The ARN (or ID suffix of the ARN) of the event data store for which you want to enable Lake query federation.
sourcepub fn federation_role_arn(self, input: impl Into<String>) -> Self
pub fn federation_role_arn(self, input: impl Into<String>) -> Self
The ARN of the federation role to use for the event data store. Amazon Web Services services like Lake Formation use this federation role to access data for the federated event data store. The federation role must exist in your account and provide the required minimum permissions.
sourcepub fn set_federation_role_arn(self, input: Option<String>) -> Self
pub fn set_federation_role_arn(self, input: Option<String>) -> Self
The ARN of the federation role to use for the event data store. Amazon Web Services services like Lake Formation use this federation role to access data for the federated event data store. The federation role must exist in your account and provide the required minimum permissions.
sourcepub fn get_federation_role_arn(&self) -> &Option<String>
pub fn get_federation_role_arn(&self) -> &Option<String>
The ARN of the federation role to use for the event data store. Amazon Web Services services like Lake Formation use this federation role to access data for the federated event data store. The federation role must exist in your account and provide the required minimum permissions.
Trait Implementations§
source§impl Clone for EnableFederationFluentBuilder
impl Clone for EnableFederationFluentBuilder
source§fn clone(&self) -> EnableFederationFluentBuilder
fn clone(&self) -> EnableFederationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for EnableFederationFluentBuilder
impl !RefUnwindSafe for EnableFederationFluentBuilder
impl Send for EnableFederationFluentBuilder
impl Sync for EnableFederationFluentBuilder
impl Unpin for EnableFederationFluentBuilder
impl !UnwindSafe for EnableFederationFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more