deleteUsagePlan method
Deletes a usage plan of a given plan Id.
May throw BadRequestException.
May throw ConflictException.
May throw NotFoundException.
May throw TooManyRequestsException.
May throw UnauthorizedException.
Parameter usagePlanId :
The Id of the to-be-deleted usage plan.
Implementation
Future<void> deleteUsagePlan({
required String usagePlanId,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/usageplans/${Uri.encodeComponent(usagePlanId)}',
exceptionFnMap: _exceptionFns,
);
}