pub struct DescribeDeployments<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeDeployments
.
Requests a description of a specified set of deployments.
This call accepts only one resource-identifying parameter.
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 permissions. For more information about user permissions, see Managing User Permissions.
Implementations
impl<C, M, R> DescribeDeployments<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeDeployments<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeDeploymentsOutput, SdkError<DescribeDeploymentsError>> where
R::Policy: SmithyRetryPolicy<DescribeDeploymentsInputOperationOutputAlias, DescribeDeploymentsOutput, DescribeDeploymentsError, DescribeDeploymentsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeDeploymentsOutput, SdkError<DescribeDeploymentsError>> where
R::Policy: SmithyRetryPolicy<DescribeDeploymentsInputOperationOutputAlias, DescribeDeploymentsOutput, DescribeDeploymentsError, DescribeDeploymentsInputOperationRetryAlias>,
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.
The stack ID. If you include this parameter, the command returns a description of the commands associated with the specified stack.
The stack ID. If you include this parameter, the command returns a description of the commands associated with the specified stack.
The app ID. If you include this parameter, the command returns a description of the commands associated with the specified app.
The app ID. If you include this parameter, the command returns a description of the commands associated with the specified app.
Appends an item to DeploymentIds
.
To override the contents of this collection use set_deployment_ids
.
An array of deployment IDs to be described. If you include this parameter, the command returns a description of the specified deployments. Otherwise, it returns a description of every deployment.
An array of deployment IDs to be described. If you include this parameter, the command returns a description of the specified deployments. Otherwise, it returns a description of every deployment.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeDeployments<C, M, R>
impl<C, M, R> Send for DescribeDeployments<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeDeployments<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeDeployments<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeDeployments<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