Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Describes one or more of your clusters.
Synopsis
- data DescribeClusters = DescribeClusters' {}
- newDescribeClusters :: DescribeClusters
- describeClusters_include :: Lens' DescribeClusters (Maybe [ClusterField])
- describeClusters_clusters :: Lens' DescribeClusters (Maybe [Text])
- data DescribeClustersResponse = DescribeClustersResponse' {}
- newDescribeClustersResponse :: Int -> DescribeClustersResponse
- describeClustersResponse_failures :: Lens' DescribeClustersResponse (Maybe [Failure])
- describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster])
- describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int
Creating a Request
data DescribeClusters Source #
See: newDescribeClusters
smart constructor.
DescribeClusters' | |
|
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:
$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.
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:
$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
describeClustersResponse_failures :: Lens' DescribeClustersResponse (Maybe [Failure]) Source #
Any failures associated with the call.
describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster]) Source #
The list of clusters.
describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int Source #
The response's http status code.