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

*****************
create_tag_option
*****************



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

  

  Creates a TagOption.

  

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


  **Request Syntax**
  ::

    response = client.create_tag_option(
        Key='string',
        Value='string'
    )
    
  :type Key: string
  :param Key: **[REQUIRED]** 

    The TagOption key.

    

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

    The TagOption value.

    

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

    
    ::

      {
          'TagOptionDetail': {
              'Key': 'string',
              'Value': 'string',
              'Active': True|False,
              'Id': 'string',
              'Owner': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **TagOptionDetail** *(dict) --* 

        Information about the 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.

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

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

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

  