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.impl StructuralPartialEq for BatchGetDeploymentTargetsOutput
Auto Trait Implementations§
impl Freeze for BatchGetDeploymentTargetsOutput
impl RefUnwindSafe for BatchGetDeploymentTargetsOutput
impl Send for BatchGetDeploymentTargetsOutput
impl Sync for BatchGetDeploymentTargetsOutput
impl Unpin for BatchGetDeploymentTargetsOutput
impl UnwindSafe for BatchGetDeploymentTargetsOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more