:doc:`Pricing <../../pricing>` / Paginator / GetAttributeValues

******************
GetAttributeValues
******************



.. py:class:: Pricing.Paginator.GetAttributeValues

  ::

    
    paginator = client.get_paginator('get_attribute_values')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`Pricing.Client.get_attribute_values`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetAttributeValues>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          ServiceCode='string',
          AttributeName='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type ServiceCode: string
    :param ServiceCode: **[REQUIRED]** 

      The service code for the service whose attributes you want to retrieve. For example, if you want the retrieve an EC2 attribute, use ``AmazonEC2``.

      

    
    :type AttributeName: string
    :param AttributeName: **[REQUIRED]** 

      The name of the attribute that you want to retrieve the values for, such as ``volumeType``.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

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

      
      ::

        {
            'AttributeValues': [
                {
                    'Value': 'string'
                },
            ],
            
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **AttributeValues** *(list) --* 

          The list of values for an attribute. For example, ``Throughput Optimized HDD`` and ``Provisioned IOPS`` are two available values for the ``AmazonEC2`` ``volumeType``.

          
          

          - *(dict) --* 

            The values of a given attribute, such as ``Throughput Optimized HDD`` or ``Provisioned IOPS`` for the ``Amazon EC2`` ``volumeType`` attribute.

            
            

            - **Value** *(string) --* 

              The specific value of an ``attributeName``.

              
        
      
    