Struct aws_sdk_codedeploy::input::ListDeploymentsInput
source · #[non_exhaustive]pub struct ListDeploymentsInput { /* private fields */ }
Expand description
Represents the input of a ListDeployments
operation.
Implementations§
source§impl ListDeploymentsInput
impl ListDeploymentsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListDeployments, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListDeployments, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListDeployments
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListDeploymentsInput
.
source§impl ListDeploymentsInput
impl ListDeploymentsInput
sourcepub fn application_name(&self) -> Option<&str>
pub fn application_name(&self) -> Option<&str>
The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
If applicationName
is specified, then deploymentGroupName
must be specified. If it is not specified, then deploymentGroupName
must not be specified.
sourcepub fn deployment_group_name(&self) -> Option<&str>
pub fn deployment_group_name(&self) -> Option<&str>
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.
sourcepub fn external_id(&self) -> Option<&str>
pub fn external_id(&self) -> Option<&str>
The unique ID of an external resource for returning deployments linked to the external resource.
sourcepub fn include_only_statuses(&self) -> Option<&[DeploymentStatus]>
pub fn include_only_statuses(&self) -> Option<&[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.
sourcepub fn create_time_range(&self) -> Option<&TimeRange>
pub fn create_time_range(&self) -> Option<&TimeRange>
A time range (start and end) for returning a subset of the list of deployments.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
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§
source§impl Clone for ListDeploymentsInput
impl Clone for ListDeploymentsInput
source§fn clone(&self) -> ListDeploymentsInput
fn clone(&self) -> ListDeploymentsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListDeploymentsInput
impl Debug for ListDeploymentsInput
source§impl PartialEq<ListDeploymentsInput> for ListDeploymentsInput
impl PartialEq<ListDeploymentsInput> for ListDeploymentsInput
source§fn eq(&self, other: &ListDeploymentsInput) -> bool
fn eq(&self, other: &ListDeploymentsInput) -> bool
self
and other
values to be equal, and is used
by ==
.