#[non_exhaustive]pub struct ListBucketAnalyticsConfigurationsInput { /* private fields */ }
Implementations§
source§impl ListBucketAnalyticsConfigurationsInput
impl ListBucketAnalyticsConfigurationsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListBucketAnalyticsConfigurations, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListBucketAnalyticsConfigurations, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListBucketAnalyticsConfigurations
>
Examples found in repository?
src/client.rs (line 9345)
9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ListBucketAnalyticsConfigurations,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ListBucketAnalyticsConfigurationsError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::ListBucketAnalyticsConfigurationsOutput,
aws_smithy_http::result::SdkError<crate::error::ListBucketAnalyticsConfigurationsError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListBucketAnalyticsConfigurationsInput
.
source§impl ListBucketAnalyticsConfigurationsInput
impl ListBucketAnalyticsConfigurationsInput
sourcepub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
The name of the bucket from which analytics configurations are retrieved.
sourcepub fn continuation_token(&self) -> Option<&str>
pub fn continuation_token(&self) -> Option<&str>
The ContinuationToken that represents a placeholder from where this request should begin.
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 bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
Trait Implementations§
source§impl Clone for ListBucketAnalyticsConfigurationsInput
impl Clone for ListBucketAnalyticsConfigurationsInput
source§fn clone(&self) -> ListBucketAnalyticsConfigurationsInput
fn clone(&self) -> ListBucketAnalyticsConfigurationsInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more