pub struct DescribeDataShares { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeDataShares
.
Shows the status of any inbound or outbound datashares available in the specified account.
Implementations§
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeDataShares, AwsResponseRetryClassifier>, SdkError<DescribeDataSharesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeDataShares, AwsResponseRetryClassifier>, SdkError<DescribeDataSharesError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeDataSharesOutput, SdkError<DescribeDataSharesError>>
pub async fn send(
self
) -> Result<DescribeDataSharesOutput, SdkError<DescribeDataSharesError>>
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.
sourcepub fn into_paginator(self) -> DescribeDataSharesPaginator
pub fn into_paginator(self) -> DescribeDataSharesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
The identifier of the datashare to describe details of.
The identifier of the datashare to describe details of.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords
value, a value is returned in a marker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords
value, a value is returned in a marker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataShares
request exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker
parameter and retrying the request.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataShares
request exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker
parameter and retrying the request.
Trait Implementations§
source§fn clone(&self) -> DescribeDataShares
fn clone(&self) -> DescribeDataShares
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more