ServiceQuotas / Client / list_requested_service_quota_change_history

list_requested_service_quota_change_history#

ServiceQuotas.Client.list_requested_service_quota_change_history(**kwargs)#

Retrieves the quota increase requests for the specified Amazon Web Service.

See also: AWS API Documentation

Request Syntax

response = client.list_requested_service_quota_change_history(
    ServiceCode='string',
    Status='PENDING'|'CASE_OPENED'|'APPROVED'|'DENIED'|'CASE_CLOSED'|'NOT_APPROVED'|'INVALID_REQUEST',
    NextToken='string',
    MaxResults=123,
    QuotaRequestedAtLevel='ACCOUNT'|'RESOURCE'|'ALL'
)
Parameters:
  • ServiceCode (string) – Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.

  • 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 NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call’s NextToken response 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 NextToken response element is present and has a value (is not null). Include that value as the NextToken request 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 NextToken after 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 NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

    • 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 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 is RESOURCE, 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