Struct aws_sdk_storagegateway::client::fluent_builders::ListGateways [−][src]
pub struct ListGateways<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListGateways
.
Lists gateways owned by an Amazon Web Services account in an Amazon Web Services Region specified in the request. The returned list is ordered by gateway Amazon Resource Name (ARN).
By default, the operation returns a maximum of 100 gateways. This operation supports pagination that allows you to optionally reduce the number of gateways returned in a response.
If you have more gateways than are returned in a response (that is, the response returns only a truncated list of your gateways), the response contains a marker that you can specify in your next request to fetch the next page of gateways.
Implementations
impl<C, M, R> ListGateways<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListGateways<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListGatewaysOutput, SdkError<ListGatewaysError>> where
R::Policy: SmithyRetryPolicy<ListGatewaysInputOperationOutputAlias, ListGatewaysOutput, ListGatewaysError, ListGatewaysInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListGatewaysOutput, SdkError<ListGatewaysError>> where
R::Policy: SmithyRetryPolicy<ListGatewaysInputOperationOutputAlias, ListGatewaysOutput, ListGatewaysError, ListGatewaysInputOperationRetryAlias>,
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.
An opaque string that indicates the position at which to begin the returned list of gateways.
An opaque string that indicates the position at which to begin the returned list of gateways.
Specifies that the list of gateways returned be limited to the specified number of items.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListGateways<C, M, R>
impl<C, M, R> Unpin for ListGateways<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListGateways<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