Struct aws_sdk_codedeploy::operation::batch_get_deployment_targets::BatchGetDeploymentTargetsInput
source · #[non_exhaustive]pub struct BatchGetDeploymentTargetsInput {
pub deployment_id: Option<String>,
pub target_ids: Option<Vec<String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.deployment_id: Option<String>
The unique ID of a deployment.
target_ids: Option<Vec<String>>
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 Amazon EC2 or on-premises instances IDs, and their target type is
instanceTarget
. -
For deployments that use the 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 CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is
cloudFormationTarget
.
Implementations§
source§impl BatchGetDeploymentTargetsInput
impl BatchGetDeploymentTargetsInput
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The unique ID of a deployment.
sourcepub fn target_ids(&self) -> &[String]
pub fn target_ids(&self) -> &[String]
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 Amazon EC2 or on-premises instances IDs, and their target type is
instanceTarget
. -
For deployments that use the 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 CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is
cloudFormationTarget
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .target_ids.is_none()
.
source§impl BatchGetDeploymentTargetsInput
impl BatchGetDeploymentTargetsInput
sourcepub fn builder() -> BatchGetDeploymentTargetsInputBuilder
pub fn builder() -> BatchGetDeploymentTargetsInputBuilder
Creates a new builder-style object to manufacture BatchGetDeploymentTargetsInput
.
Trait Implementations§
source§impl Clone for BatchGetDeploymentTargetsInput
impl Clone for BatchGetDeploymentTargetsInput
source§fn clone(&self) -> BatchGetDeploymentTargetsInput
fn clone(&self) -> BatchGetDeploymentTargetsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for BatchGetDeploymentTargetsInput
impl PartialEq for BatchGetDeploymentTargetsInput
source§fn eq(&self, other: &BatchGetDeploymentTargetsInput) -> bool
fn eq(&self, other: &BatchGetDeploymentTargetsInput) -> bool
self
and other
values to be equal, and is used
by ==
.