Struct aws_sdk_codedeploy::operation::batch_get_deployment_targets::BatchGetDeploymentTargetsOutput
source · #[non_exhaustive]pub struct BatchGetDeploymentTargetsOutput {
pub deployment_targets: Option<Vec<DeploymentTarget>>,
/* private fields */
}
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_targets: Option<Vec<DeploymentTarget>>
A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform.
-
EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance.
-
Lambda: The target object is a specific version of an Lambda function.
-
Amazon ECS: The target object is an Amazon ECS service.
-
CloudFormation: The target object is an CloudFormation blue/green deployment.
Implementations§
source§impl BatchGetDeploymentTargetsOutput
impl BatchGetDeploymentTargetsOutput
sourcepub fn deployment_targets(&self) -> &[DeploymentTarget]
pub fn deployment_targets(&self) -> &[DeploymentTarget]
A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform.
-
EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance.
-
Lambda: The target object is a specific version of an Lambda function.
-
Amazon ECS: The target object is an Amazon ECS service.
-
CloudFormation: The target object is an CloudFormation blue/green deployment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .deployment_targets.is_none()
.
source§impl BatchGetDeploymentTargetsOutput
impl BatchGetDeploymentTargetsOutput
sourcepub fn builder() -> BatchGetDeploymentTargetsOutputBuilder
pub fn builder() -> BatchGetDeploymentTargetsOutputBuilder
Creates a new builder-style object to manufacture BatchGetDeploymentTargetsOutput
.
Trait Implementations§
source§impl Clone for BatchGetDeploymentTargetsOutput
impl Clone for BatchGetDeploymentTargetsOutput
source§fn clone(&self) -> BatchGetDeploymentTargetsOutput
fn clone(&self) -> BatchGetDeploymentTargetsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for BatchGetDeploymentTargetsOutput
impl PartialEq for BatchGetDeploymentTargetsOutput
source§fn eq(&self, other: &BatchGetDeploymentTargetsOutput) -> bool
fn eq(&self, other: &BatchGetDeploymentTargetsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for BatchGetDeploymentTargetsOutput
impl RequestId for BatchGetDeploymentTargetsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.