ServiceCatalog / Client / update_tag_option

update_tag_option#

ServiceCatalog.Client.update_tag_option(**kwargs)#

Updates the specified TagOption.

See also: AWS API Documentation

Request Syntax

response = client.update_tag_option(
    Id='string',
    Value='string',
    Active=True|False
)
Parameters:
  • Id (string) –

    [REQUIRED]

    The TagOption identifier.

  • Value (string) – The updated value.

  • Active (boolean) – The updated active state.

Return type:

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

  • ServiceCatalog.Client.exceptions.TagOptionNotMigratedException

  • ServiceCatalog.Client.exceptions.ResourceNotFoundException

  • ServiceCatalog.Client.exceptions.DuplicateResourceException

  • ServiceCatalog.Client.exceptions.InvalidParametersException