aws_sdk_ec2/client/
get_flow_logs_integration_template.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetFlowLogsIntegrationTemplate`](crate::operation::get_flow_logs_integration_template::builders::GetFlowLogsIntegrationTemplateFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`dry_run(bool)`](crate::operation::get_flow_logs_integration_template::builders::GetFlowLogsIntegrationTemplateFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::get_flow_logs_integration_template::builders::GetFlowLogsIntegrationTemplateFluentBuilder::set_dry_run):<br>required: **false**<br><p>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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
7    ///   - [`flow_log_id(impl Into<String>)`](crate::operation::get_flow_logs_integration_template::builders::GetFlowLogsIntegrationTemplateFluentBuilder::flow_log_id) / [`set_flow_log_id(Option<String>)`](crate::operation::get_flow_logs_integration_template::builders::GetFlowLogsIntegrationTemplateFluentBuilder::set_flow_log_id):<br>required: **true**<br><p>The ID of the flow log.</p><br>
8    ///   - [`config_delivery_s3_destination_arn(impl Into<String>)`](crate::operation::get_flow_logs_integration_template::builders::GetFlowLogsIntegrationTemplateFluentBuilder::config_delivery_s3_destination_arn) / [`set_config_delivery_s3_destination_arn(Option<String>)`](crate::operation::get_flow_logs_integration_template::builders::GetFlowLogsIntegrationTemplateFluentBuilder::set_config_delivery_s3_destination_arn):<br>required: **true**<br><p>To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.</p><br>
9    ///   - [`integrate_services(IntegrateServices)`](crate::operation::get_flow_logs_integration_template::builders::GetFlowLogsIntegrationTemplateFluentBuilder::integrate_services) / [`set_integrate_services(Option<IntegrateServices>)`](crate::operation::get_flow_logs_integration_template::builders::GetFlowLogsIntegrationTemplateFluentBuilder::set_integrate_services):<br>required: **true**<br><p>Information about the service integration.</p><br>
10    /// - On success, responds with [`GetFlowLogsIntegrationTemplateOutput`](crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateOutput) with field(s):
11    ///   - [`result(Option<String>)`](crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateOutput::result): <p>The generated CloudFormation template.</p>
12    /// - On failure, responds with [`SdkError<GetFlowLogsIntegrationTemplateError>`](crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError)
13    pub fn get_flow_logs_integration_template(
14        &self,
15    ) -> crate::operation::get_flow_logs_integration_template::builders::GetFlowLogsIntegrationTemplateFluentBuilder {
16        crate::operation::get_flow_logs_integration_template::builders::GetFlowLogsIntegrationTemplateFluentBuilder::new(self.handle.clone())
17    }
18}