ApplicationDiscoveryService / Client / create_tags

create_tags#

ApplicationDiscoveryService.Client.create_tags(**kwargs)#

Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items.

Warning

Do not store sensitive information (like personal data) in tags.

See also: AWS API Documentation

Request Syntax

response = client.create_tags(
    configurationIds=[
        'string',
    ],
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
Parameters:
  • configurationIds (list) –

    [REQUIRED]

    A list of configuration items that you want to tag.

    • (string) –

  • tags (list) –

    [REQUIRED]

    Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

    {"key": "serverType", "value": "webServer"}

    • (dict) –

      Metadata that help you categorize IT assets.

      Warning

      Do not store sensitive information (like personal data) in tags.

      • key (string) – [REQUIRED]

        The type of tag on which to filter.

      • value (string) – [REQUIRED]

        A value for a tag key on which to filter.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions