Struct aws_sdk_codedeploy::input::ListDeploymentsInput [−][src]
#[non_exhaustive]pub struct ListDeploymentsInput {
pub application_name: Option<String>,
pub deployment_group_name: Option<String>,
pub external_id: Option<String>,
pub include_only_statuses: Option<Vec<DeploymentStatus>>,
pub create_time_range: Option<TimeRange>,
pub next_token: Option<String>,
}
Expand description
Represents the input of a ListDeployments
operation.
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.application_name: Option<String>
The name of an AWS CodeDeploy application associated with the IAM user or AWS account.
If applicationName
is specified, then
deploymentGroupName
must be specified. If it is not specified, then
deploymentGroupName
must not be specified.
deployment_group_name: Option<String>
The name of a deployment group for the specified application.
If deploymentGroupName
is specified, then
applicationName
must be specified. If it is not specified, then
applicationName
must not be specified.
external_id: Option<String>
The unique ID of an external resource for returning deployments linked to the external resource.
include_only_statuses: Option<Vec<DeploymentStatus>>
A subset of deployments to list by status:
-
Created
: Include created deployments in the resulting list. -
Queued
: Include queued deployments in the resulting list. -
In Progress
: Include in-progress deployments in the resulting list. -
Succeeded
: Include successful deployments in the resulting list. -
Failed
: Include failed deployments in the resulting list. -
Stopped
: Include stopped deployments in the resulting list.
create_time_range: Option<TimeRange>
A time range (start and end) for returning a subset of the list of deployments.
next_token: Option<String>
An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListDeployments, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListDeployments, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListDeployments
>
Creates a new builder-style object to manufacture ListDeploymentsInput
The name of an AWS CodeDeploy application associated with the IAM user or AWS account.
If applicationName
is specified, then
deploymentGroupName
must be specified. If it is not specified, then
deploymentGroupName
must not be specified.
The name of a deployment group for the specified application.
If deploymentGroupName
is specified, then
applicationName
must be specified. If it is not specified, then
applicationName
must not be specified.
The unique ID of an external resource for returning deployments linked to the external resource.
A subset of deployments to list by status:
-
Created
: Include created deployments in the resulting list. -
Queued
: Include queued deployments in the resulting list. -
In Progress
: Include in-progress deployments in the resulting list. -
Succeeded
: Include successful deployments in the resulting list. -
Failed
: Include failed deployments in the resulting list. -
Stopped
: Include stopped deployments in the resulting list.
A time range (start and end) for returning a subset of the list of deployments.
An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListDeploymentsInput
impl Send for ListDeploymentsInput
impl Sync for ListDeploymentsInput
impl Unpin for ListDeploymentsInput
impl UnwindSafe for ListDeploymentsInput
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