ServiceQuotas / Client / request_service_quota_increase
request_service_quota_increase#
- ServiceQuotas.Client.request_service_quota_increase(**kwargs)#
Submits a quota increase request for the specified quota.
See also: AWS API Documentation
Request Syntax
response = client.request_service_quota_increase( ServiceCode='string', QuotaCode='string', DesiredValue=123.0, ContextId='string' )
- Parameters:
ServiceCode (string) –
[REQUIRED]
Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.
QuotaCode (string) –
[REQUIRED]
Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the
QuotaCode
response in the output for the quota you want.DesiredValue (float) –
[REQUIRED]
Specifies the new, increased value for the quota.
ContextId (string) – Specifies the Amazon Web Services account or resource to which the quota applies. The value in this field depends on the context scope associated with the specified service quota.
- Return type:
dict
- Returns:
Response Syntax
{ 'RequestedQuota': { 'Id': 'string', 'CaseId': 'string', 'ServiceCode': 'string', 'ServiceName': 'string', 'QuotaCode': 'string', 'QuotaName': 'string', 'DesiredValue': 123.0, 'Status': 'PENDING'|'CASE_OPENED'|'APPROVED'|'DENIED'|'CASE_CLOSED'|'NOT_APPROVED'|'INVALID_REQUEST', 'Created': datetime(2015, 1, 1), 'LastUpdated': datetime(2015, 1, 1), 'Requester': 'string', 'QuotaArn': 'string', 'GlobalQuota': True|False, 'Unit': 'string', 'QuotaRequestedAtLevel': 'ACCOUNT'|'RESOURCE'|'ALL', 'QuotaContext': { 'ContextScope': 'RESOURCE'|'ACCOUNT', 'ContextScopeType': 'string', 'ContextId': 'string' } } }
Response Structure
(dict) –
RequestedQuota (dict) –
Information about the quota increase request.
Id (string) –
The unique identifier.
CaseId (string) –
The case ID.
ServiceCode (string) –
Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.
ServiceName (string) –
Specifies the service name.
QuotaCode (string) –
Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the
QuotaCode
response in the output for the quota you want.QuotaName (string) –
Specifies the quota name.
DesiredValue (float) –
The new, increased value for the quota.
Status (string) –
The state of the quota increase request.
Created (datetime) –
The date and time when the quota increase request was received and the case ID was created.
LastUpdated (datetime) –
The date and time of the most recent change.
Requester (string) –
The IAM identity of the requester.
QuotaArn (string) –
The Amazon Resource Name (ARN) of the quota.
GlobalQuota (boolean) –
Indicates whether the quota is global.
Unit (string) –
The unit of measurement.
QuotaRequestedAtLevel (string) –
Specifies at which level within the Amazon Web Services account the quota request applies to.
QuotaContext (dict) –
The context for this service quota.
ContextScope (string) –
Specifies whether the quota applies to an Amazon Web Services account, or to a resource.
ContextScopeType (string) –
When the
ContextScope
isRESOURCE
, then this specifies the resource type of the specified resource.ContextId (string) –
Specifies the Amazon Web Services account or resource to which the quota applies. The value in this field depends on the context scope associated with the specified service quota.
Exceptions
ServiceQuotas.Client.exceptions.DependencyAccessDeniedException
ServiceQuotas.Client.exceptions.QuotaExceededException
ServiceQuotas.Client.exceptions.ResourceAlreadyExistsException
ServiceQuotas.Client.exceptions.AccessDeniedException
ServiceQuotas.Client.exceptions.NoSuchResourceException
ServiceQuotas.Client.exceptions.IllegalArgumentException
ServiceQuotas.Client.exceptions.InvalidResourceStateException
ServiceQuotas.Client.exceptions.ServiceException
ServiceQuotas.Client.exceptions.TooManyRequestsException