Struct aws_sdk_ecs::operation::describe_container_instances::DescribeContainerInstancesInput
source · #[non_exhaustive]pub struct DescribeContainerInstancesInput {
pub cluster: Option<String>,
pub container_instances: Option<Vec<String>>,
pub include: Option<Vec<ContainerInstanceField>>,
}
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.cluster: Option<String>
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the container instance or container instances you are describing were launched in any cluster other than the default cluster.
container_instances: Option<Vec<String>>
A list of up to 100 container instance IDs or full Amazon Resource Name (ARN) entries.
include: Option<Vec<ContainerInstanceField>>
Specifies whether you want to see the resource tags for the container instance. If TAGS
is specified, the tags are included in the response. If CONTAINER_INSTANCE_HEALTH
is specified, the container instance health is included in the response. If this field is omitted, tags and container instance health status aren't included in the response.
Implementations§
source§impl DescribeContainerInstancesInput
impl DescribeContainerInstancesInput
sourcepub fn cluster(&self) -> Option<&str>
pub fn cluster(&self) -> Option<&str>
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the container instance or container instances you are describing were launched in any cluster other than the default cluster.
sourcepub fn container_instances(&self) -> &[String]
pub fn container_instances(&self) -> &[String]
A list of up to 100 container instance IDs or full Amazon Resource Name (ARN) entries.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .container_instances.is_none()
.
sourcepub fn include(&self) -> &[ContainerInstanceField]
pub fn include(&self) -> &[ContainerInstanceField]
Specifies whether you want to see the resource tags for the container instance. If TAGS
is specified, the tags are included in the response. If CONTAINER_INSTANCE_HEALTH
is specified, the container instance health is included in the response. If this field is omitted, tags and container instance health status aren't included in the response.
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 DescribeContainerInstancesInput
impl DescribeContainerInstancesInput
sourcepub fn builder() -> DescribeContainerInstancesInputBuilder
pub fn builder() -> DescribeContainerInstancesInputBuilder
Creates a new builder-style object to manufacture DescribeContainerInstancesInput
.
Trait Implementations§
source§impl Clone for DescribeContainerInstancesInput
impl Clone for DescribeContainerInstancesInput
source§fn clone(&self) -> DescribeContainerInstancesInput
fn clone(&self) -> DescribeContainerInstancesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeContainerInstancesInput
impl PartialEq for DescribeContainerInstancesInput
source§fn eq(&self, other: &DescribeContainerInstancesInput) -> bool
fn eq(&self, other: &DescribeContainerInstancesInput) -> bool
self
and other
values to be equal, and is used
by ==
.