Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::delete_bucket_metrics_configuration::DeleteBucketMetricsConfigurationInput
pub struct DeleteBucketMetricsConfigurationInput {
pub bucket: Option<String>,
pub id: Option<String>,
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 containing the metrics configuration to delete.
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.
expected_bucket_owner: Option<String>
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
Implementations§
§impl DeleteBucketMetricsConfigurationInput
impl DeleteBucketMetricsConfigurationInput
pub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
The name of the bucket containing the metrics configuration to delete.
pub 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.
pub 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 bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
§impl DeleteBucketMetricsConfigurationInput
impl DeleteBucketMetricsConfigurationInput
pub fn builder() -> DeleteBucketMetricsConfigurationInputBuilder
pub fn builder() -> DeleteBucketMetricsConfigurationInputBuilder
Creates a new builder-style object to manufacture DeleteBucketMetricsConfigurationInput
.
Trait Implementations§
§impl Clone for DeleteBucketMetricsConfigurationInput
impl Clone for DeleteBucketMetricsConfigurationInput
§fn clone(&self) -> DeleteBucketMetricsConfigurationInput
fn clone(&self) -> DeleteBucketMetricsConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl PartialEq<DeleteBucketMetricsConfigurationInput> for DeleteBucketMetricsConfigurationInput
impl PartialEq<DeleteBucketMetricsConfigurationInput> for DeleteBucketMetricsConfigurationInput
§fn eq(&self, other: &DeleteBucketMetricsConfigurationInput) -> bool
fn eq(&self, other: &DeleteBucketMetricsConfigurationInput) -> bool
self
and other
values to be equal, and is used
by ==
.