pub struct DescribeComputeEnvironments<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeComputeEnvironments
.
Describes one or more of your compute environments.
If you're using an unmanaged compute environment, you can use the DescribeComputeEnvironment
operation to determine the ecsClusterArn
that you should launch your Amazon ECS container instances into.
Implementations
impl<C, M, R> DescribeComputeEnvironments<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeComputeEnvironments<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeComputeEnvironmentsOutput, SdkError<DescribeComputeEnvironmentsError>> where
R::Policy: SmithyRetryPolicy<DescribeComputeEnvironmentsInputOperationOutputAlias, DescribeComputeEnvironmentsOutput, DescribeComputeEnvironmentsError, DescribeComputeEnvironmentsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeComputeEnvironmentsOutput, SdkError<DescribeComputeEnvironmentsError>> where
R::Policy: SmithyRetryPolicy<DescribeComputeEnvironmentsInputOperationOutputAlias, DescribeComputeEnvironmentsOutput, DescribeComputeEnvironmentsError, DescribeComputeEnvironmentsInputOperationRetryAlias>,
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
.
Appends an item to computeEnvironments
.
To override the contents of this collection use set_compute_environments
.
A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries.
A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries.
The maximum number of cluster results returned by DescribeComputeEnvironments
in paginated output. When this parameter is used, DescribeComputeEnvironments
only returns maxResults
results in a single page along with a nextToken
response element. The remaining results of the initial request can be seen by sending another DescribeComputeEnvironments
request with the returned nextToken
value. This value can be between 1 and 100. If this parameter isn't used, then DescribeComputeEnvironments
returns up to 100 results and a nextToken
value if applicable.
The maximum number of cluster results returned by DescribeComputeEnvironments
in paginated output. When this parameter is used, DescribeComputeEnvironments
only returns maxResults
results in a single page along with a nextToken
response element. The remaining results of the initial request can be seen by sending another DescribeComputeEnvironments
request with the returned nextToken
value. This value can be between 1 and 100. If this parameter isn't used, then DescribeComputeEnvironments
returns up to 100 results and a nextToken
value if applicable.
The nextToken
value returned from a previous paginated DescribeComputeEnvironments
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null
when there are no more results to return.
This token should be treated as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
The nextToken
value returned from a previous paginated DescribeComputeEnvironments
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null
when there are no more results to return.
This token should be treated as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeComputeEnvironments<C, M, R>
impl<C, M, R> Send for DescribeComputeEnvironments<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeComputeEnvironments<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeComputeEnvironments<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeComputeEnvironments<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