getRequestedServiceQuotaChange method

Future<GetRequestedServiceQuotaChangeResponse> getRequestedServiceQuotaChange({
  1. required String requestId,
})

Retrieves information about the specified quota increase request.

May throw AccessDeniedException. May throw IllegalArgumentException. May throw NoSuchResourceException. May throw ServiceException. May throw TooManyRequestsException.

Parameter requestId : Specifies the ID of the quota increase request.

Implementation

Future<GetRequestedServiceQuotaChangeResponse>
    getRequestedServiceQuotaChange({
  required String requestId,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'ServiceQuotasV20190624.GetRequestedServiceQuotaChange'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'RequestId': requestId,
    },
  );

  return GetRequestedServiceQuotaChangeResponse.fromJson(jsonResponse.body);
}