Struct aws_sdk_codedeploy::client::fluent_builders::BatchGetDeploymentTargets [−][src]
pub struct BatchGetDeploymentTargets<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to BatchGetDeploymentTargets
.
Returns an array of one or more targets associated with a deployment. This method
works with all compute types and should be used instead of the deprecated
BatchGetDeploymentInstances
. The maximum number of targets that can be
returned is 25.
The type of targets returned depends on the deployment's compute platform or deployment method:
-
EC2/On-premises: Information about EC2 instance targets.
-
AWS Lambda: Information about Lambda functions targets.
-
Amazon ECS: Information about Amazon ECS service targets.
-
CloudFormation: Information about targets of blue/green deployments initiated by a CloudFormation stack update.
Implementations
impl<C, M, R> BatchGetDeploymentTargets<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> BatchGetDeploymentTargets<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<BatchGetDeploymentTargetsOutput, SdkError<BatchGetDeploymentTargetsError>> where
R::Policy: SmithyRetryPolicy<BatchGetDeploymentTargetsInputOperationOutputAlias, BatchGetDeploymentTargetsOutput, BatchGetDeploymentTargetsError, BatchGetDeploymentTargetsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<BatchGetDeploymentTargetsOutput, SdkError<BatchGetDeploymentTargetsError>> where
R::Policy: SmithyRetryPolicy<BatchGetDeploymentTargetsInputOperationOutputAlias, BatchGetDeploymentTargetsOutput, BatchGetDeploymentTargetsError, BatchGetDeploymentTargetsInputOperationRetryAlias>,
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 unique ID of a deployment.
The unique ID of a deployment.
Appends an item to targetIds
.
To override the contents of this collection use set_target_ids
.
The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
-
For deployments that use the EC2/On-premises compute platform, the target IDs are EC2 or on-premises instances IDs, and their target type is
instanceTarget
. -
For deployments that use the AWS Lambda compute platform, the target IDs are the names of Lambda functions, and their target type is
instanceTarget
. -
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and services specified using the format
. Their target type is: ecsTarget
. -
For deployments that are deployed with AWS CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is
cloudFormationTarget
.
The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
-
For deployments that use the EC2/On-premises compute platform, the target IDs are EC2 or on-premises instances IDs, and their target type is
instanceTarget
. -
For deployments that use the AWS Lambda compute platform, the target IDs are the names of Lambda functions, and their target type is
instanceTarget
. -
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and services specified using the format
. Their target type is: ecsTarget
. -
For deployments that are deployed with AWS CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is
cloudFormationTarget
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for BatchGetDeploymentTargets<C, M, R>
impl<C, M, R> Send for BatchGetDeploymentTargets<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for BatchGetDeploymentTargets<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for BatchGetDeploymentTargets<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for BatchGetDeploymentTargets<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