ServiceQuotas / Client / list_requested_service_quota_change_history_by_quota
list_requested_service_quota_change_history_by_quota¶
- ServiceQuotas.Client.list_requested_service_quota_change_history_by_quota(**kwargs)¶
Retrieves the quota increase requests for the specified quota.
See also: AWS API Documentation
Request Syntax
response = client.list_requested_service_quota_change_history_by_quota( ServiceCode='string', QuotaCode='string', Status='PENDING'|'CASE_OPENED'|'APPROVED'|'DENIED'|'CASE_CLOSED'|'NOT_APPROVED'|'INVALID_REQUEST', NextToken='string', MaxResults=123, QuotaRequestedAtLevel='ACCOUNT'|'RESOURCE'|'ALL' )
- 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
QuotaCoderesponse in the output for the quota you want.Status (string) – Specifies that you want to filter the results to only the requests with the matching status.
NextToken (string) – Specifies a value for receiving additional results after you receive a
NextTokenresponse in a previous request. ANextTokenresponse indicates that more output is available. Set this parameter to the value of the previous call’sNextTokenresponse to indicate where the output should continue from.MaxResults (integer) –
Specifies the maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the
NextTokenresponse element is present and has a value (is not null). Include that value as theNextTokenrequest parameter in the next call to the operation to get the next part of the results.Note
An API operation can return fewer results than the maximum even when there are more results available. You should check
NextTokenafter every operation to ensure that you receive all of the results.QuotaRequestedAtLevel (string) – Specifies at which level within the Amazon Web Services account the quota request applies to.
- Return type:
dict
- Returns:
Response Syntax
{ 'NextToken': 'string', 'RequestedQuotas': [ { '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) –
NextToken (string) –
If present, indicates that more output is available than is included in the current response. Use this value in the
NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull.RequestedQuotas (list) –
Information about the quota increase requests.
(dict) –
Information about a 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
QuotaCoderesponse 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
ContextScopeisRESOURCE, 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