Struct aws_sdk_ec2::operation::get_flow_logs_integration_template::builders::GetFlowLogsIntegrationTemplateFluentBuilder
source · pub struct GetFlowLogsIntegrationTemplateFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetFlowLogsIntegrationTemplate
.
Generates a CloudFormation template that streamlines and automates the integration of VPC flow logs with Amazon Athena. This make it easier for you to query and gain insights from VPC flow logs data. Based on the information that you provide, we configure resources in the template to do the following:
-
Create a table in Athena that maps fields to a custom log format
-
Create a Lambda function that updates the table with new partitions on a daily, weekly, or monthly basis
-
Create a table partitioned between two timestamps in the past
-
Create a set of named queries in Athena that you can use to get started quickly
GetFlowLogsIntegrationTemplate
does not support integration between Amazon Web Services Transit Gateway Flow Logs and Amazon Athena.
Implementations§
source§impl GetFlowLogsIntegrationTemplateFluentBuilder
impl GetFlowLogsIntegrationTemplateFluentBuilder
sourcepub fn as_input(&self) -> &GetFlowLogsIntegrationTemplateInputBuilder
pub fn as_input(&self) -> &GetFlowLogsIntegrationTemplateInputBuilder
Access the GetFlowLogsIntegrationTemplate as a reference.
sourcepub async fn send(
self
) -> Result<GetFlowLogsIntegrationTemplateOutput, SdkError<GetFlowLogsIntegrationTemplateError, HttpResponse>>
pub async fn send( self ) -> Result<GetFlowLogsIntegrationTemplateOutput, SdkError<GetFlowLogsIntegrationTemplateError, 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 async fn customize(
self
) -> Result<CustomizableOperation<GetFlowLogsIntegrationTemplateOutput, GetFlowLogsIntegrationTemplateError>, SdkError<GetFlowLogsIntegrationTemplateError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetFlowLogsIntegrationTemplateOutput, GetFlowLogsIntegrationTemplateError>, SdkError<GetFlowLogsIntegrationTemplateError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn flow_log_id(self, input: impl Into<String>) -> Self
pub fn flow_log_id(self, input: impl Into<String>) -> Self
The ID of the flow log.
sourcepub fn set_flow_log_id(self, input: Option<String>) -> Self
pub fn set_flow_log_id(self, input: Option<String>) -> Self
The ID of the flow log.
sourcepub fn get_flow_log_id(&self) -> &Option<String>
pub fn get_flow_log_id(&self) -> &Option<String>
The ID of the flow log.
sourcepub fn config_delivery_s3_destination_arn(
self,
input: impl Into<String>
) -> Self
pub fn config_delivery_s3_destination_arn( self, input: impl Into<String> ) -> Self
To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.
sourcepub fn set_config_delivery_s3_destination_arn(
self,
input: Option<String>
) -> Self
pub fn set_config_delivery_s3_destination_arn( self, input: Option<String> ) -> Self
To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.
sourcepub fn get_config_delivery_s3_destination_arn(&self) -> &Option<String>
pub fn get_config_delivery_s3_destination_arn(&self) -> &Option<String>
To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.
sourcepub fn integrate_services(self, input: IntegrateServices) -> Self
pub fn integrate_services(self, input: IntegrateServices) -> Self
Information about the service integration.
sourcepub fn set_integrate_services(self, input: Option<IntegrateServices>) -> Self
pub fn set_integrate_services(self, input: Option<IntegrateServices>) -> Self
Information about the service integration.
sourcepub fn get_integrate_services(&self) -> &Option<IntegrateServices>
pub fn get_integrate_services(&self) -> &Option<IntegrateServices>
Information about the service integration.
Trait Implementations§
source§impl Clone for GetFlowLogsIntegrationTemplateFluentBuilder
impl Clone for GetFlowLogsIntegrationTemplateFluentBuilder
source§fn clone(&self) -> GetFlowLogsIntegrationTemplateFluentBuilder
fn clone(&self) -> GetFlowLogsIntegrationTemplateFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more