Struct aws_sdk_globalaccelerator::operation::update_accelerator_attributes::UpdateAcceleratorAttributesInput
source · #[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 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 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 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§
source§impl UpdateAcceleratorAttributesInput
impl UpdateAcceleratorAttributesInput
sourcepub fn accelerator_arn(&self) -> Option<&str>
pub fn accelerator_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the accelerator that you want to update.
sourcepub fn flow_logs_enabled(&self) -> Option<bool>
pub fn flow_logs_enabled(&self) -> 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 Global Accelerator Developer Guide.
sourcepub fn flow_logs_s3_bucket(&self) -> Option<&str>
pub fn flow_logs_s3_bucket(&self) -> Option<&str>
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 Global Accelerator permission to write to the bucket.
sourcepub fn flow_logs_s3_prefix(&self) -> Option<&str>
pub fn flow_logs_s3_prefix(&self) -> Option<&str>
Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true.
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
source§impl UpdateAcceleratorAttributesInput
impl UpdateAcceleratorAttributesInput
sourcepub fn builder() -> UpdateAcceleratorAttributesInputBuilder
pub fn builder() -> UpdateAcceleratorAttributesInputBuilder
Creates a new builder-style object to manufacture UpdateAcceleratorAttributesInput.
Trait Implementations§
source§impl Clone for UpdateAcceleratorAttributesInput
impl Clone for UpdateAcceleratorAttributesInput
source§fn clone(&self) -> UpdateAcceleratorAttributesInput
fn clone(&self) -> UpdateAcceleratorAttributesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateAcceleratorAttributesInput
impl PartialEq for UpdateAcceleratorAttributesInput
source§fn eq(&self, other: &UpdateAcceleratorAttributesInput) -> bool
fn eq(&self, other: &UpdateAcceleratorAttributesInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAcceleratorAttributesInput
Auto Trait Implementations§
impl Freeze for UpdateAcceleratorAttributesInput
impl RefUnwindSafe for UpdateAcceleratorAttributesInput
impl Send for UpdateAcceleratorAttributesInput
impl Sync for UpdateAcceleratorAttributesInput
impl Unpin for UpdateAcceleratorAttributesInput
impl UnwindSafe for UpdateAcceleratorAttributesInput
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