#[non_exhaustive]pub struct DescribeClustersInput {
pub clusters: Option<Vec<String>>,
pub include: Option<Vec<ClusterField>>,
}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.clusters: Option<Vec<String>>A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.
include: Option<Vec<ClusterField>>Determines whether to include additional information about the clusters in the response. If this field is omitted, this information isn't included.
If ATTACHMENTS is specified, the attachments for the container instances or tasks within the cluster are included, for example the capacity providers.
If SETTINGS is specified, the settings for the cluster are included.
If CONFIGURATIONS is specified, the configuration for the cluster is included.
If STATISTICS is specified, the task and service count is included, separated by launch type.
If TAGS is specified, the metadata tags associated with the cluster are included.
Implementations§
source§impl DescribeClustersInput
impl DescribeClustersInput
sourcepub fn clusters(&self) -> &[String]
pub fn clusters(&self) -> &[String]
A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .clusters.is_none().
sourcepub fn include(&self) -> &[ClusterField]
pub fn include(&self) -> &[ClusterField]
Determines whether to include additional information about the clusters in the response. If this field is omitted, this information isn't included.
If ATTACHMENTS is specified, the attachments for the container instances or tasks within the cluster are included, for example the capacity providers.
If SETTINGS is specified, the settings for the cluster are included.
If CONFIGURATIONS is specified, the configuration for the cluster is included.
If STATISTICS is specified, the task and service count is included, separated by launch type.
If TAGS is specified, the metadata tags associated with the cluster are included.
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.is_none().
source§impl DescribeClustersInput
impl DescribeClustersInput
sourcepub fn builder() -> DescribeClustersInputBuilder
pub fn builder() -> DescribeClustersInputBuilder
Creates a new builder-style object to manufacture DescribeClustersInput.
Trait Implementations§
source§impl Clone for DescribeClustersInput
impl Clone for DescribeClustersInput
source§fn clone(&self) -> DescribeClustersInput
fn clone(&self) -> DescribeClustersInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeClustersInput
impl Debug for DescribeClustersInput
source§impl PartialEq for DescribeClustersInput
impl PartialEq for DescribeClustersInput
impl StructuralPartialEq for DescribeClustersInput
Auto Trait Implementations§
impl Freeze for DescribeClustersInput
impl RefUnwindSafe for DescribeClustersInput
impl Send for DescribeClustersInput
impl Sync for DescribeClustersInput
impl Unpin for DescribeClustersInput
impl UnwindSafe for DescribeClustersInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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