Struct aws_sdk_apigateway::client::fluent_builders::GetResources [−][src]
pub struct GetResources<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetResources
.
Lists information about a collection of Resource
resources.
Implementations
impl<C, M, R> GetResources<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetResources<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetResourcesOutput, SdkError<GetResourcesError>> where
R::Policy: SmithyRetryPolicy<GetResourcesInputOperationOutputAlias, GetResourcesOutput, GetResourcesError, GetResourcesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetResourcesOutput, SdkError<GetResourcesError>> where
R::Policy: SmithyRetryPolicy<GetResourcesInputOperationOutputAlias, GetResourcesOutput, GetResourcesError, GetResourcesInputOperationRetryAlias>,
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.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
[Required] The string identifier of the associated RestApi
.
[Required] The string identifier of the associated RestApi
.
The current pagination position in the paged result set.
The current pagination position in the paged result set.
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
Appends an item to embed
.
To override the contents of this collection use set_embed
.
A query parameter used to retrieve the specified resources embedded in the returned Resources
resource in the response. This embed
parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method
resources this way. The query parameter value must be a single-valued list and contain the "methods"
string. For example, GET /restapis/{restapi_id}/resources?embed=methods
.
A query parameter used to retrieve the specified resources embedded in the returned Resources
resource in the response. This embed
parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method
resources this way. The query parameter value must be a single-valued list and contain the "methods"
string. For example, GET /restapis/{restapi_id}/resources?embed=methods
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetResources<C, M, R>
impl<C, M, R> Unpin for GetResources<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetResources<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