getRequestedServiceQuotaChange method
Future<GetRequestedServiceQuotaChangeResponse>
getRequestedServiceQuotaChange({
- required String requestId,
Retrieves information about the specified quota increase request.
May throw AccessDeniedException. May throw NoSuchResourceException. May throw IllegalArgumentException. May throw ServiceException. May throw TooManyRequestsException.
Parameter requestId
:
The ID of the quota increase request.
Implementation
Future<GetRequestedServiceQuotaChangeResponse>
getRequestedServiceQuotaChange({
required String requestId,
}) async {
ArgumentError.checkNotNull(requestId, 'requestId');
_s.validateStringLength(
'requestId',
requestId,
1,
128,
isRequired: true,
);
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);
}