Struct aws_sdk_redshift::operation::describe_data_shares::builders::DescribeDataSharesFluentBuilder
source · pub struct DescribeDataSharesFluentBuilder { /* 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 fn as_input(&self) -> &DescribeDataSharesInputBuilder
pub fn as_input(&self) -> &DescribeDataSharesInputBuilder
Access the DescribeDataShares as a reference.
sourcepub async fn send(
self
) -> Result<DescribeDataSharesOutput, SdkError<DescribeDataSharesError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeDataSharesOutput, SdkError<DescribeDataSharesError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<DescribeDataSharesOutput, DescribeDataSharesError>, SdkError<DescribeDataSharesError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DescribeDataSharesOutput, DescribeDataSharesError>, SdkError<DescribeDataSharesError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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 get_max_records(&self) -> &Option<i32>
pub fn get_max_records(&self) -> &Option<i32>
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.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
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) -> DescribeDataSharesFluentBuilder
fn clone(&self) -> DescribeDataSharesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more