#[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 CodeDeploy application associated with the 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.
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§
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 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) -> &[DeploymentStatus]
pub fn include_only_statuses(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .include_only_statuses.is_none().
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.
source§impl ListDeploymentsInput
impl ListDeploymentsInput
sourcepub fn builder() -> ListDeploymentsInputBuilder
pub fn builder() -> ListDeploymentsInputBuilder
Creates a new builder-style object to manufacture ListDeploymentsInput.
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 for ListDeploymentsInput
impl PartialEq 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 ==.impl StructuralPartialEq for ListDeploymentsInput
Auto Trait Implementations§
impl Freeze for ListDeploymentsInput
impl RefUnwindSafe for ListDeploymentsInput
impl Send for ListDeploymentsInput
impl Sync for ListDeploymentsInput
impl Unpin for ListDeploymentsInput
impl UnwindSafe for ListDeploymentsInput
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