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 the available CloudWatch metrics for Amazon EC2 Auto Scaling.
The GroupStandbyInstances
metric is not returned by default. You must
explicitly request this metric when calling the EnableMetricsCollection
API.
Synopsis
- data DescribeMetricCollectionTypes = DescribeMetricCollectionTypes' {
- newDescribeMetricCollectionTypes :: DescribeMetricCollectionTypes
- data DescribeMetricCollectionTypesResponse = DescribeMetricCollectionTypesResponse' {}
- newDescribeMetricCollectionTypesResponse :: Int -> DescribeMetricCollectionTypesResponse
- describeMetricCollectionTypesResponse_metrics :: Lens' DescribeMetricCollectionTypesResponse (Maybe [MetricCollectionType])
- describeMetricCollectionTypesResponse_granularities :: Lens' DescribeMetricCollectionTypesResponse (Maybe [MetricGranularityType])
- describeMetricCollectionTypesResponse_httpStatus :: Lens' DescribeMetricCollectionTypesResponse Int
Creating a Request
data DescribeMetricCollectionTypes Source #
See: newDescribeMetricCollectionTypes
smart constructor.
Instances
newDescribeMetricCollectionTypes :: DescribeMetricCollectionTypes Source #
Create a value of DescribeMetricCollectionTypes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeMetricCollectionTypesResponse Source #
See: newDescribeMetricCollectionTypesResponse
smart constructor.
DescribeMetricCollectionTypesResponse' | |
|
Instances
newDescribeMetricCollectionTypesResponse Source #
Create a value of DescribeMetricCollectionTypesResponse
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:metrics:DescribeMetricCollectionTypesResponse'
, describeMetricCollectionTypesResponse_metrics
- One or more metrics.
$sel:granularities:DescribeMetricCollectionTypesResponse'
, describeMetricCollectionTypesResponse_granularities
- The granularities for the metrics.
$sel:httpStatus:DescribeMetricCollectionTypesResponse'
, describeMetricCollectionTypesResponse_httpStatus
- The response's http status code.
Response Lenses
describeMetricCollectionTypesResponse_metrics :: Lens' DescribeMetricCollectionTypesResponse (Maybe [MetricCollectionType]) Source #
One or more metrics.
describeMetricCollectionTypesResponse_granularities :: Lens' DescribeMetricCollectionTypesResponse (Maybe [MetricGranularityType]) Source #
The granularities for the metrics.
describeMetricCollectionTypesResponse_httpStatus :: Lens' DescribeMetricCollectionTypesResponse Int Source #
The response's http status code.