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 ==
.impl StructuralPartialEq for BatchGetDeploymentTargetsInput
Auto Trait Implementations§
impl Freeze for BatchGetDeploymentTargetsInput
impl RefUnwindSafe for BatchGetDeploymentTargetsInput
impl Send for BatchGetDeploymentTargetsInput
impl Sync for BatchGetDeploymentTargetsInput
impl Unpin for BatchGetDeploymentTargetsInput
impl UnwindSafe for BatchGetDeploymentTargetsInput
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