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

*****************
update_tag_option
*****************



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

  

  Updates the specified TagOption.

  

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


  **Request Syntax**
  ::

    response = client.update_tag_option(
        Id='string',
        Value='string',
        Active=True|False
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The TagOption identifier.

    

  
  :type Value: string
  :param Value: 

    The updated value.

    

  
  :type Active: boolean
  :param Active: 

    The updated active state.

    

  
  
  :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.ResourceNotFoundException`

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

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

  