pub struct DescribeEcsClusters<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeEcsClusters
.
Describes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the MaxResults
and NextToken
parameters to paginate the response. However, AWS OpsWorks Stacks currently supports only one cluster per layer, so the result set has a maximum of one element.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permission. For more information about user permissions, see Managing User Permissions.
This call accepts only one resource-identifying parameter.
Implementations
impl<C, M, R> DescribeEcsClusters<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeEcsClusters<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeEcsClustersOutput, SdkError<DescribeEcsClustersError>> where
R::Policy: SmithyRetryPolicy<DescribeEcsClustersInputOperationOutputAlias, DescribeEcsClustersOutput, DescribeEcsClustersError, DescribeEcsClustersInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeEcsClustersOutput, SdkError<DescribeEcsClustersError>> where
R::Policy: SmithyRetryPolicy<DescribeEcsClustersInputOperationOutputAlias, DescribeEcsClustersOutput, DescribeEcsClustersError, DescribeEcsClustersInputOperationRetryAlias>,
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 EcsClusterArns
.
To override the contents of this collection use set_ecs_cluster_arns
.
A list of ARNs, one for each cluster to be described.
A list of ARNs, one for each cluster to be described.
A stack ID. DescribeEcsClusters
returns a description of the cluster that is registered with the stack.
A stack ID. DescribeEcsClusters
returns a description of the cluster that is registered with the stack.
If the previous paginated request did not return all of the remaining results, the response object'sNextToken
parameter value is set to a token. To retrieve the next set of results, call DescribeEcsClusters
again and assign that token to the request object's NextToken
parameter. If there are no remaining results, the previous response object's NextToken
parameter is set to null
.
If the previous paginated request did not return all of the remaining results, the response object'sNextToken
parameter value is set to a token. To retrieve the next set of results, call DescribeEcsClusters
again and assign that token to the request object's NextToken
parameter. If there are no remaining results, the previous response object's NextToken
parameter is set to null
.
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken
value that you can assign to the NextToken
request parameter to get the next set of results.
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken
value that you can assign to the NextToken
request parameter to get the next set of results.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeEcsClusters<C, M, R>
impl<C, M, R> Send for DescribeEcsClusters<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeEcsClusters<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeEcsClusters<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeEcsClusters<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