deleteServiceQuotaIncreaseRequestFromTemplate method

Future<void> deleteServiceQuotaIncreaseRequestFromTemplate({
  1. required String awsRegion,
  2. required String quotaCode,
  3. required String serviceCode,
})

Deletes the quota increase request for the specified quota from your quota request template.

May throw AccessDeniedException. May throw ServiceException. May throw DependencyAccessDeniedException. May throw TooManyRequestsException. May throw NoSuchResourceException. May throw IllegalArgumentException. May throw AWSServiceAccessNotEnabledException. May throw TemplatesNotAvailableInRegionException. May throw NoAvailableOrganizationException.

Parameter awsRegion : The AWS Region.

Parameter quotaCode : The quota identifier.

Parameter serviceCode : The service identifier.

Implementation

Future<void> deleteServiceQuotaIncreaseRequestFromTemplate({
  required String awsRegion,
  required String quotaCode,
  required String serviceCode,
}) async {
  ArgumentError.checkNotNull(awsRegion, 'awsRegion');
  _s.validateStringLength(
    'awsRegion',
    awsRegion,
    1,
    64,
    isRequired: true,
  );
  ArgumentError.checkNotNull(quotaCode, 'quotaCode');
  _s.validateStringLength(
    'quotaCode',
    quotaCode,
    1,
    128,
    isRequired: true,
  );
  ArgumentError.checkNotNull(serviceCode, 'serviceCode');
  _s.validateStringLength(
    'serviceCode',
    serviceCode,
    1,
    63,
    isRequired: true,
  );
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target':
        'ServiceQuotasV20190624.DeleteServiceQuotaIncreaseRequestFromTemplate'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'AwsRegion': awsRegion,
      'QuotaCode': quotaCode,
      'ServiceCode': serviceCode,
    },
  );
}