describeDimension method

Future<DescribeDimensionResponse> describeDimension({
  1. required String name,
})

Provides details about a dimension that is defined in your Amazon Web Services accounts.

Requires permission to access the DescribeDimension action.

May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter name : The unique identifier for the dimension.

Implementation

Future<DescribeDimensionResponse> describeDimension({
  required String name,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/dimensions/${Uri.encodeComponent(name)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeDimensionResponse.fromJson(response);
}