deleteSupportPermit method

Future<DeleteSupportPermitOutput> deleteSupportPermit({
  1. required String supportPermitIdentifier,
})

Deletes a support permit, revoking the authorization previously granted to the AWS support operator.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter supportPermitIdentifier : The Amazon Resource Name (ARN) or name of the support permit to delete.

Implementation

Future<DeleteSupportPermitOutput> deleteSupportPermit({
  required String supportPermitIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/support-permits/${Uri.encodeComponent(supportPermitIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteSupportPermitOutput.fromJson(response);
}