:doc:`ServiceCatalog <../../servicecatalog>` / Client / list_tag_options

****************
list_tag_options
****************



.. py:method:: ServiceCatalog.Client.list_tag_options(**kwargs)

  

  Lists the specified TagOptions or all TagOptions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptions>`_  


  **Request Syntax**
  ::

    response = client.list_tag_options(
        Filters={
            'Key': 'string',
            'Value': 'string',
            'Active': True|False
        },
        PageSize=123,
        PageToken='string'
    )
    
  :type Filters: dict
  :param Filters: 

    The search filters. If no search filters are specified, the output includes all TagOptions.

    

  
    - **Key** *(string) --* 

      The TagOption key.

      

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

      The TagOption value.

      

    
    - **Active** *(boolean) --* 

      The active state.

      

    
  
  :type PageSize: integer
  :param PageSize: 

    The maximum number of items to return with this call.

    

  
  :type PageToken: string
  :param PageToken: 

    The page token for the next set of results. To retrieve the first set of results, use null.

    

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

    
    ::

      {
          'TagOptionDetails': [
              {
                  'Key': 'string',
                  'Value': 'string',
                  'Active': True|False,
                  'Id': 'string',
                  'Owner': 'string'
              },
          ],
          'PageToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **TagOptionDetails** *(list) --* 

        Information about the TagOptions.

        
        

        - *(dict) --* 

          Information about a TagOption.

          
          

          - **Key** *(string) --* 

            The TagOption key.

            
          

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

            The TagOption value.

            
          

          - **Active** *(boolean) --* 

            The TagOption active state.

            
          

          - **Id** *(string) --* 

            The TagOption identifier.

            
          

          - **Owner** *(string) --* 

            The Amazon Web Services account Id of the owner account that created the TagOption.

            
      
    
      

      - **PageToken** *(string) --* 

        The page token for the next set of results. To retrieve the first set of results, use null.

        
  
  **Exceptions**
  
  *   :py:class:`ServiceCatalog.Client.exceptions.TagOptionNotMigratedException`

  
  *   :py:class:`ServiceCatalog.Client.exceptions.InvalidParametersException`

  