Struct aws_sdk_macie2::client::fluent_builders::DescribeBuckets [−][src]
pub struct DescribeBuckets<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeBuckets
.
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
Implementations
impl<C, M, R> DescribeBuckets<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeBuckets<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeBucketsOutput, SdkError<DescribeBucketsError>> where
R::Policy: SmithyRetryPolicy<DescribeBucketsInputOperationOutputAlias, DescribeBucketsOutput, DescribeBucketsError, DescribeBucketsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeBucketsOutput, SdkError<DescribeBucketsError>> where
R::Policy: SmithyRetryPolicy<DescribeBucketsInputOperationOutputAlias, DescribeBucketsOutput, DescribeBucketsError, DescribeBucketsInputOperationRetryAlias>,
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, which can be set when configuring the client.
Adds a key-value pair to criteria
.
To override the contents of this collection use set_criteria
.
The criteria to use to filter the query results.
pub fn set_criteria(
self,
input: Option<HashMap<String, BucketCriteriaAdditionalProperties>>
) -> Self
pub fn set_criteria(
self,
input: Option<HashMap<String, BucketCriteriaAdditionalProperties>>
) -> Self
The criteria to use to filter the query results.
The maximum number of items to include in each page of the response. The default value is 50.
The maximum number of items to include in each page of the response. The default value is 50.
The nextToken string that specifies which page of results to return in a paginated response.
The nextToken string that specifies which page of results to return in a paginated response.
The criteria to use to sort the query results.
The criteria to use to sort the query results.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeBuckets<C, M, R>
impl<C, M, R> Send for DescribeBuckets<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeBuckets<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeBuckets<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeBuckets<C, M, R>
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