#[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
source§fn eq(&self, other: &DescribeClustersInput) -> bool
fn eq(&self, other: &DescribeClustersInput) -> bool
self
and other
values to be equal, and is used
by ==
.