| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ECS.DescribeClusters
Description
Describes one or more of your clusters.
Synopsis
- data DescribeClusters = DescribeClusters' {}
- newDescribeClusters :: DescribeClusters
- describeClusters_clusters :: Lens' DescribeClusters (Maybe [Text])
- describeClusters_include :: Lens' DescribeClusters (Maybe [ClusterField])
- data DescribeClustersResponse = DescribeClustersResponse' {}
- newDescribeClustersResponse :: Int -> DescribeClustersResponse
- describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster])
- describeClustersResponse_failures :: Lens' DescribeClustersResponse (Maybe [Failure])
- describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int
Creating a Request
data DescribeClusters Source #
See: newDescribeClusters smart constructor.
Constructors
| DescribeClusters' | |
Fields
| |
Instances
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:
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.
$sel:include:DescribeClusters', describeClusters_include - 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.
Request Lenses
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.
describeClusters_include :: Lens' DescribeClusters (Maybe [ClusterField]) Source #
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.
Destructuring the Response
data DescribeClustersResponse Source #
See: newDescribeClustersResponse smart constructor.
Constructors
| DescribeClustersResponse' | |
Instances
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:
DescribeClusters, describeClustersResponse_clusters - The list of clusters.
$sel:failures:DescribeClustersResponse', describeClustersResponse_failures - Any failures associated with the call.
$sel:httpStatus:DescribeClustersResponse', describeClustersResponse_httpStatus - The response's http status code.
Response Lenses
describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster]) Source #
The list of clusters.
describeClustersResponse_failures :: Lens' DescribeClustersResponse (Maybe [Failure]) Source #
Any failures associated with the call.
describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int Source #
The response's http status code.