describeFleetMetric method
Gets information about the specified fleet metric.
Requires permission to access the DescribeFleetMetric action.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
May throw UnauthorizedException.
Parameter metricName :
The name of the fleet metric to describe.
Implementation
Future<DescribeFleetMetricResponse> describeFleetMetric({
required String metricName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/fleet-metric/${Uri.encodeComponent(metricName)}',
exceptionFnMap: _exceptionFns,
);
return DescribeFleetMetricResponse.fromJson(response);
}