rejectSupportPermitRequest method

Future<RejectSupportPermitRequestOutput> rejectSupportPermitRequest({
  1. required String requestArn,
})

Rejects a permit request from an AWS support operator. The operator cannot proceed with the requested action.

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

Parameter requestArn : The ARN of the permit request to reject.

Implementation

Future<RejectSupportPermitRequestOutput> rejectSupportPermitRequest({
  required String requestArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'PUT',
    requestUri:
        '/support-permit-requests/${Uri.encodeComponent(requestArn)}/reject',
    exceptionFnMap: _exceptionFns,
  );
  return RejectSupportPermitRequestOutput.fromJson(response);
}