getAssociationForServiceQuotaTemplate method

Future<GetAssociationForServiceQuotaTemplateResponse> getAssociationForServiceQuotaTemplate()

Retrieves the status of the association for the quota request template.

May throw DependencyAccessDeniedException. May throw ServiceQuotaTemplateNotInUseException. May throw AccessDeniedException. May throw ServiceException. May throw TooManyRequestsException. May throw AWSServiceAccessNotEnabledException. May throw TemplatesNotAvailableInRegionException. May throw NoAvailableOrganizationException.

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);
}