libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECS.DescribeClusters

Description

Describes one or more of your clusters.

Synopsis

Creating a Request

data DescribeClusters Source #

See: newDescribeClusters smart constructor.

Constructors

DescribeClusters' 

Fields

  • include :: Maybe [ClusterField]

    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.

    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.

  • clusters :: Maybe [Text]

    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.

Instances

Instances details
Eq DescribeClusters Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

Read DescribeClusters Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

Show DescribeClusters Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

Generic DescribeClusters Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

Associated Types

type Rep DescribeClusters :: Type -> Type #

NFData DescribeClusters Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

Methods

rnf :: DescribeClusters -> () #

Hashable DescribeClusters Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

ToJSON DescribeClusters Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

AWSRequest DescribeClusters Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

Associated Types

type AWSResponse DescribeClusters #

ToHeaders DescribeClusters Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

ToPath DescribeClusters Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

ToQuery DescribeClusters Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

type Rep DescribeClusters Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

type Rep DescribeClusters = D1 ('MetaData "DescribeClusters" "Amazonka.ECS.DescribeClusters" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "DescribeClusters'" 'PrefixI 'True) (S1 ('MetaSel ('Just "include") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ClusterField])) :*: S1 ('MetaSel ('Just "clusters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))
type AWSResponse DescribeClusters Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

newDescribeClusters :: DescribeClusters Source #

Create a value of DescribeClusters with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:include:DescribeClusters', describeClusters_include - 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.

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.

$sel:clusters:DescribeClusters', describeClusters_clusters - 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.

Request Lenses

describeClusters_include :: Lens' DescribeClusters (Maybe [ClusterField]) Source #

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.

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.

describeClusters_clusters :: Lens' DescribeClusters (Maybe [Text]) Source #

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.

Destructuring the Response

data DescribeClustersResponse Source #

See: newDescribeClustersResponse smart constructor.

Constructors

DescribeClustersResponse' 

Fields

Instances

Instances details
Eq DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

Read DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

Show DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

Generic DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

Associated Types

type Rep DescribeClustersResponse :: Type -> Type #

NFData DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

type Rep DescribeClustersResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeClusters

type Rep DescribeClustersResponse = D1 ('MetaData "DescribeClustersResponse" "Amazonka.ECS.DescribeClusters" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "DescribeClustersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Failure])) :*: (S1 ('MetaSel ('Just "clusters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Cluster])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeClustersResponse Source #

Create a value of DescribeClustersResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:failures:DescribeClustersResponse', describeClustersResponse_failures - Any failures associated with the call.

$sel:clusters:DescribeClusters', describeClustersResponse_clusters - The list of clusters.

$sel:httpStatus:DescribeClustersResponse', describeClustersResponse_httpStatus - The response's http status code.

Response Lenses