:doc:`ServiceQuotas <../../service-quotas>` / Client / list_requested_service_quota_change_history_by_quota

****************************************************
list_requested_service_quota_change_history_by_quota
****************************************************



.. py:method:: ServiceQuotas.Client.list_requested_service_quota_change_history_by_quota(**kwargs)

  

  Retrieves the quota increase requests for the specified quota. Filter responses to return quota requests at either the account level, resource level, or all levels.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuota>`_  


  **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'
    )
    
  :type ServiceCode: string
  :param ServiceCode: **[REQUIRED]** 

    Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the  ListServices operation.

    

  
  :type QuotaCode: string
  :param QuotaCode: **[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.

    

  
  :type Status: string
  :param Status: 

    Specifies that you want to filter the results to only the requests with the matching status.

    

  
  :type NextToken: string
  :param NextToken: 

    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.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    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.

      

    

  
  :type QuotaRequestedAtLevel: string
  :param QuotaRequestedAtLevel: 

    Filters the response to return quota requests for the ``ACCOUNT``, ``RESOURCE``, or ``ALL`` levels. ``ACCOUNT`` is the default.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'NextToken': 'string',
          'RequestedQuotas': [
              {
                  'Id': 'string',
                  'RequestType': 'AutomaticManagement',
                  '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.

            
          

          - **RequestType** *(string) --* 

            The type of quota increase request. Possible values include:

             

            
            * ``AutomaticManagement`` - The request was automatically created by Service Quotas Automatic Management when quota utilization approached the limit.
            

             

            If this field is not present, the request was manually created by a user.

            
          

          - **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.

             

            
            * ``PENDING``: The quota increase request is under review by Amazon Web Services.
             
            * ``CASE_OPENED``: Service Quotas opened a support case to process the quota increase request. Follow-up on the support case for more information.
             
            * ``APPROVED``: The quota increase request is approved.
             
            * ``DENIED``: The quota increase request can't be approved by Service Quotas. Contact Amazon Web Services Support for more details.
             
            * ``NOT APPROVED``: The quota increase request can't be approved by Service Quotas. Contact Amazon Web Services Support for more details.
             
            * ``CASE_CLOSED``: The support case associated with this quota increase request was closed. Check the support case correspondence for the outcome of your quota request.
             
            * ``INVALID_REQUEST``: Service Quotas couldn't process your resource-level quota increase request because the Amazon Resource Name (ARN) specified as part of the ``ContextId`` is invalid.
            

            
          

          - **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) --* 

            Filters the response to return quota requests for the ``ACCOUNT``, ``RESOURCE``, or ``ALL`` levels. ``ACCOUNT`` is the default.

            
          

          - **QuotaContext** *(dict) --* 

            The context for this service quota.

            
            

            - **ContextScope** *(string) --* 

              Specifies the scope to which the quota value is applied. If the scope is ``RESOURCE``, the quota value is applied to each resource in the Amazon Web Services account. If the scope is ``ACCOUNT``, the quota value is applied to the Amazon Web Services account.

              
            

            - **ContextScopeType** *(string) --* 

              Specifies the resource type to which the quota can be applied.

              
            

            - **ContextId** *(string) --* 

              Specifies the resource, or resources, to which the quota applies. The value for this field is either an Amazon Resource Name (ARN) or *. If the value is an ARN, the quota value applies to that resource. If the value is *, then the quota value applies to all resources listed in the ``ContextScopeType`` field. The quota value applies to all resources for which you haven’t previously applied a quota value, and any new resources you create in your Amazon Web Services account.

              
        
      
    
  
  **Exceptions**
  
  *   :py:class:`ServiceQuotas.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`ServiceQuotas.Client.exceptions.NoSuchResourceException`

  
  *   :py:class:`ServiceQuotas.Client.exceptions.IllegalArgumentException`

  
  *   :py:class:`ServiceQuotas.Client.exceptions.InvalidPaginationTokenException`

  
  *   :py:class:`ServiceQuotas.Client.exceptions.ServiceException`

  
  *   :py:class:`ServiceQuotas.Client.exceptions.TooManyRequestsException`

  