Struct aws_sdk_s3::operation::put_bucket_metrics_configuration::PutBucketMetricsConfigurationInput
source · #[non_exhaustive]pub struct PutBucketMetricsConfigurationInput {
pub bucket: Option<String>,
pub id: Option<String>,
pub metrics_configuration: Option<MetricsConfiguration>,
pub expected_bucket_owner: 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.bucket: Option<String>
The name of the bucket for which the metrics configuration is set.
id: Option<String>
The ID used to identify the metrics configuration. The ID has a 64 character limit and can only contain letters, numbers, periods, dashes, and underscores.
metrics_configuration: Option<MetricsConfiguration>
Specifies the metrics configuration.
expected_bucket_owner: Option<String>
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Implementations§
source§impl PutBucketMetricsConfigurationInput
impl PutBucketMetricsConfigurationInput
sourcepub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
The name of the bucket for which the metrics configuration is set.
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The ID used to identify the metrics configuration. The ID has a 64 character limit and can only contain letters, numbers, periods, dashes, and underscores.
sourcepub fn metrics_configuration(&self) -> Option<&MetricsConfiguration>
pub fn metrics_configuration(&self) -> Option<&MetricsConfiguration>
Specifies the metrics configuration.
sourcepub fn expected_bucket_owner(&self) -> Option<&str>
pub fn expected_bucket_owner(&self) -> Option<&str>
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
source§impl PutBucketMetricsConfigurationInput
impl PutBucketMetricsConfigurationInput
sourcepub fn builder() -> PutBucketMetricsConfigurationInputBuilder
pub fn builder() -> PutBucketMetricsConfigurationInputBuilder
Creates a new builder-style object to manufacture PutBucketMetricsConfigurationInput
.
Trait Implementations§
source§impl Clone for PutBucketMetricsConfigurationInput
impl Clone for PutBucketMetricsConfigurationInput
source§fn clone(&self) -> PutBucketMetricsConfigurationInput
fn clone(&self) -> PutBucketMetricsConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PutBucketMetricsConfigurationInput
impl PartialEq for PutBucketMetricsConfigurationInput
source§fn eq(&self, other: &PutBucketMetricsConfigurationInput) -> bool
fn eq(&self, other: &PutBucketMetricsConfigurationInput) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PutBucketMetricsConfigurationInput
Auto Trait Implementations§
impl Freeze for PutBucketMetricsConfigurationInput
impl RefUnwindSafe for PutBucketMetricsConfigurationInput
impl Send for PutBucketMetricsConfigurationInput
impl Sync for PutBucketMetricsConfigurationInput
impl Unpin for PutBucketMetricsConfigurationInput
impl UnwindSafe for PutBucketMetricsConfigurationInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)