Struct aws_sdk_globalaccelerator::input::UpdateAcceleratorAttributesInput [−][src]
#[non_exhaustive]pub struct UpdateAcceleratorAttributesInput {
pub accelerator_arn: Option<String>,
pub flow_logs_enabled: Option<bool>,
pub flow_logs_s3_bucket: Option<String>,
pub flow_logs_s3_prefix: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.accelerator_arn: Option<String>
The Amazon Resource Name (ARN) of the accelerator that you want to update.
flow_logs_enabled: Option<bool>
Update whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3Bucket
and FlowLogsS3Prefix
must be specified.
For more information, see Flow Logs in the AWS Global Accelerator Developer Guide.
flow_logs_s3_bucket: Option<String>
The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled
is
true
. The bucket must exist and have a bucket policy that grants AWS Global Accelerator permission to write to the
bucket.
flow_logs_s3_prefix: Option<String>
Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabled
is true
.
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:
s3-bucket_name//AWSLogs/aws_account_id
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAcceleratorAttributes, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAcceleratorAttributes, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateAcceleratorAttributes
>
Creates a new builder-style object to manufacture UpdateAcceleratorAttributesInput
The Amazon Resource Name (ARN) of the accelerator that you want to update.
Update whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3Bucket
and FlowLogsS3Prefix
must be specified.
For more information, see Flow Logs in the AWS Global Accelerator Developer Guide.
The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled
is
true
. The bucket must exist and have a bucket policy that grants AWS Global Accelerator permission to write to the
bucket.
Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabled
is true
.
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:
s3-bucket_name//AWSLogs/aws_account_id
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for UpdateAcceleratorAttributesInput
impl Sync for UpdateAcceleratorAttributesInput
impl Unpin for UpdateAcceleratorAttributesInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more