describeMetricCollectionTypes method

Future<DescribeMetricCollectionTypesAnswer> describeMetricCollectionTypes()

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.

May throw ResourceContentionFault.

Implementation

Future<DescribeMetricCollectionTypesAnswer>
    describeMetricCollectionTypes() async {
  final $request = <String, dynamic>{};
  final $result = await _protocol.send(
    $request,
    action: 'DescribeMetricCollectionTypes',
    version: '2011-01-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shapes: shapes,
    resultWrapper: 'DescribeMetricCollectionTypesResult',
  );
  return DescribeMetricCollectionTypesAnswer.fromXml($result);
}