Struct aws_sdk_codedeploy::client::fluent_builders::ListDeploymentTargets [−][src]
pub struct ListDeploymentTargets<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListDeploymentTargets
.
Returns an array of target IDs that are associated a deployment.
Implementations
impl<C, M, R> ListDeploymentTargets<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListDeploymentTargets<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListDeploymentTargetsOutput, SdkError<ListDeploymentTargetsError>> where
R::Policy: SmithyRetryPolicy<ListDeploymentTargetsInputOperationOutputAlias, ListDeploymentTargetsOutput, ListDeploymentTargetsError, ListDeploymentTargetsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListDeploymentTargetsOutput, SdkError<ListDeploymentTargetsError>> where
R::Policy: SmithyRetryPolicy<ListDeploymentTargetsInputOperationOutputAlias, ListDeploymentTargetsOutput, ListDeploymentTargetsError, ListDeploymentTargetsInputOperationRetryAlias>,
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.
A token identifier returned from the previous ListDeploymentTargets
call. It can be used to return the next set of deployment targets in the list.
A token identifier returned from the previous ListDeploymentTargets
call. It can be used to return the next set of deployment targets in the list.
pub fn target_filters(
self,
k: impl Into<TargetFilterName>,
v: impl Into<Vec<String>>
) -> Self
pub fn target_filters(
self,
k: impl Into<TargetFilterName>,
v: impl Into<Vec<String>>
) -> Self
Adds a key-value pair to targetFilters
.
To override the contents of this collection use set_target_filters
.
A key used to filter the returned targets. The two valid values are:
-
TargetStatus
- ATargetStatus
filter string can beFailed
,InProgress
,Pending
,Ready
,Skipped
,Succeeded
, orUnknown
. -
ServerInstanceLabel
- AServerInstanceLabel
filter string can beBlue
orGreen
.
pub fn set_target_filters(
self,
input: Option<HashMap<TargetFilterName, Vec<String>>>
) -> Self
pub fn set_target_filters(
self,
input: Option<HashMap<TargetFilterName, Vec<String>>>
) -> Self
A key used to filter the returned targets. The two valid values are:
-
TargetStatus
- ATargetStatus
filter string can beFailed
,InProgress
,Pending
,Ready
,Skipped
,Succeeded
, orUnknown
. -
ServerInstanceLabel
- AServerInstanceLabel
filter string can beBlue
orGreen
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListDeploymentTargets<C, M, R>
impl<C, M, R> Send for ListDeploymentTargets<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListDeploymentTargets<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListDeploymentTargets<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListDeploymentTargets<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