// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateCustomRoutingAcceleratorAttributes`](crate::operation::update_custom_routing_accelerator_attributes::builders::UpdateCustomRoutingAcceleratorAttributesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`accelerator_arn(impl Into<String>)`](crate::operation::update_custom_routing_accelerator_attributes::builders::UpdateCustomRoutingAcceleratorAttributesFluentBuilder::accelerator_arn) / [`set_accelerator_arn(Option<String>)`](crate::operation::update_custom_routing_accelerator_attributes::builders::UpdateCustomRoutingAcceleratorAttributesFluentBuilder::set_accelerator_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the custom routing accelerator to update attributes for.</p><br>
/// - [`flow_logs_enabled(bool)`](crate::operation::update_custom_routing_accelerator_attributes::builders::UpdateCustomRoutingAcceleratorAttributesFluentBuilder::flow_logs_enabled) / [`set_flow_logs_enabled(Option<bool>)`](crate::operation::update_custom_routing_accelerator_attributes::builders::UpdateCustomRoutingAcceleratorAttributesFluentBuilder::set_flow_logs_enabled):<br>required: **false**<br><p>Update whether flow logs are enabled. The default value is false. If the value is true, <code>FlowLogsS3Bucket</code> and <code>FlowLogsS3Prefix</code> must be specified.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html">Flow logs</a> in the <i>Global Accelerator Developer Guide</i>.</p><br>
/// - [`flow_logs_s3_bucket(impl Into<String>)`](crate::operation::update_custom_routing_accelerator_attributes::builders::UpdateCustomRoutingAcceleratorAttributesFluentBuilder::flow_logs_s3_bucket) / [`set_flow_logs_s3_bucket(Option<String>)`](crate::operation::update_custom_routing_accelerator_attributes::builders::UpdateCustomRoutingAcceleratorAttributesFluentBuilder::set_flow_logs_s3_bucket):<br>required: **false**<br><p>The name of the Amazon S3 bucket for the flow logs. Attribute is required if <code>FlowLogsEnabled</code> is <code>true</code>. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket.</p><br>
/// - [`flow_logs_s3_prefix(impl Into<String>)`](crate::operation::update_custom_routing_accelerator_attributes::builders::UpdateCustomRoutingAcceleratorAttributesFluentBuilder::flow_logs_s3_prefix) / [`set_flow_logs_s3_prefix(Option<String>)`](crate::operation::update_custom_routing_accelerator_attributes::builders::UpdateCustomRoutingAcceleratorAttributesFluentBuilder::set_flow_logs_s3_prefix):<br>required: **false**<br><p>Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if <code>FlowLogsEnabled</code> is <code>true</code>.</p> <p>If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:</p> <p>DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id</p><br>
/// - On success, responds with [`UpdateCustomRoutingAcceleratorAttributesOutput`](crate::operation::update_custom_routing_accelerator_attributes::UpdateCustomRoutingAcceleratorAttributesOutput) with field(s):
/// - [`accelerator_attributes(Option<CustomRoutingAcceleratorAttributes>)`](crate::operation::update_custom_routing_accelerator_attributes::UpdateCustomRoutingAcceleratorAttributesOutput::accelerator_attributes): <p>Updated custom routing accelerator.</p>
/// - On failure, responds with [`SdkError<UpdateCustomRoutingAcceleratorAttributesError>`](crate::operation::update_custom_routing_accelerator_attributes::UpdateCustomRoutingAcceleratorAttributesError)
pub fn update_custom_routing_accelerator_attributes(
&self,
) -> crate::operation::update_custom_routing_accelerator_attributes::builders::UpdateCustomRoutingAcceleratorAttributesFluentBuilder {
crate::operation::update_custom_routing_accelerator_attributes::builders::UpdateCustomRoutingAcceleratorAttributesFluentBuilder::new(
self.handle.clone(),
)
}
}