Struct aws_sdk_storagegateway::operation::list_gateways::builders::ListGatewaysFluentBuilder
source · pub struct ListGatewaysFluentBuilder { /* private fields */ }
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§
source§impl ListGatewaysFluentBuilder
impl ListGatewaysFluentBuilder
sourcepub fn as_input(&self) -> &ListGatewaysInputBuilder
pub fn as_input(&self) -> &ListGatewaysInputBuilder
Access the ListGateways as a reference.
sourcepub async fn send(
self
) -> Result<ListGatewaysOutput, SdkError<ListGatewaysError, HttpResponse>>
pub async fn send( self ) -> Result<ListGatewaysOutput, SdkError<ListGatewaysError, 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 fn customize(
self
) -> CustomizableOperation<ListGatewaysOutput, ListGatewaysError, Self>
pub fn customize( self ) -> CustomizableOperation<ListGatewaysOutput, ListGatewaysError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListGatewaysPaginator
pub fn into_paginator(self) -> ListGatewaysPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
An opaque string that indicates the position at which to begin the returned list of gateways.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
An opaque string that indicates the position at which to begin the returned list of gateways.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
An opaque string that indicates the position at which to begin the returned list of gateways.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
Specifies that the list of gateways returned be limited to the specified number of items.
Trait Implementations§
source§impl Clone for ListGatewaysFluentBuilder
impl Clone for ListGatewaysFluentBuilder
source§fn clone(&self) -> ListGatewaysFluentBuilder
fn clone(&self) -> ListGatewaysFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ListGatewaysFluentBuilder
impl !RefUnwindSafe for ListGatewaysFluentBuilder
impl Send for ListGatewaysFluentBuilder
impl Sync for ListGatewaysFluentBuilder
impl Unpin for ListGatewaysFluentBuilder
impl !UnwindSafe for ListGatewaysFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more