associate_tag_option_with_resource

ServiceCatalog.Client.associate_tag_option_with_resource(**kwargs)

Associate the specified TagOption with the specified portfolio or product.

See also: AWS API Documentation

Request Syntax

response = client.associate_tag_option_with_resource(
    ResourceId='string',
    TagOptionId='string'
)
Parameters
  • ResourceId (string) --

    [REQUIRED]

    The resource identifier.

  • TagOptionId (string) --

    [REQUIRED]

    The TagOption identifier.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • ServiceCatalog.Client.exceptions.TagOptionNotMigratedException
  • ServiceCatalog.Client.exceptions.ResourceNotFoundException
  • ServiceCatalog.Client.exceptions.InvalidParametersException
  • ServiceCatalog.Client.exceptions.LimitExceededException
  • ServiceCatalog.Client.exceptions.DuplicateResourceException
  • ServiceCatalog.Client.exceptions.InvalidStateException