describeConsumableResource method
Future<DescribeConsumableResourceResponse>
describeConsumableResource({
- required String consumableResource,
Returns a description of the specified consumable resource.
May throw ClientException.
May throw ServerException.
Parameter consumableResource :
The name or ARN of the consumable resource whose description will be
returned.
Implementation
Future<DescribeConsumableResourceResponse> describeConsumableResource({
required String consumableResource,
}) async {
final $payload = <String, dynamic>{
'consumableResource': consumableResource,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/v1/describeconsumableresource',
exceptionFnMap: _exceptionFns,
);
return DescribeConsumableResourceResponse.fromJson(response);
}