deleteConsumableResource method

Future<void> deleteConsumableResource({
  1. required String consumableResource,
})

Deletes the specified consumable resource.

May throw ClientException. May throw ServerException.

Parameter consumableResource : The name or ARN of the consumable resource that will be deleted.

Implementation

Future<void> deleteConsumableResource({
  required String consumableResource,
}) async {
  final $payload = <String, dynamic>{
    'consumableResource': consumableResource,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/v1/deleteconsumableresource',
    exceptionFnMap: _exceptionFns,
  );
}