getAssociationForServiceQuotaTemplate method
Retrieves the status of the association for the quota request template.
May throw AccessDeniedException.
May throw AWSServiceAccessNotEnabledException.
May throw DependencyAccessDeniedException.
May throw NoAvailableOrganizationException.
May throw ServiceException.
May throw ServiceQuotaTemplateNotInUseException.
May throw TemplatesNotAvailableInRegionException.
May throw TooManyRequestsException.
Implementation
Future<GetAssociationForServiceQuotaTemplateResponse>
getAssociationForServiceQuotaTemplate() async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target':
'ServiceQuotasV20190624.GetAssociationForServiceQuotaTemplate'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
);
return GetAssociationForServiceQuotaTemplateResponse.fromJson(
jsonResponse.body);
}