LambdaWeb / Client / tag_resource

tag_resource

LambdaWeb.Client.tag_resource(**kwargs)

Adds tags to a web function. If a tag key already exists, the existing value is overwritten with the new value.

Note

This API is experimental and for internal AWS use only. It is not yet available to external customers.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    resource='string',
    tags={
        'string': 'string'
    }
)
Parameters:
  • resource (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the web function.

  • tags (dict) –

    [REQUIRED]

    A map of tag keys and values to add to the web function.

    • (string) –

      • (string) –

Returns:

None

Exceptions

  • LambdaWeb.Client.exceptions.AccessDeniedException

  • LambdaWeb.Client.exceptions.ConflictException

  • LambdaWeb.Client.exceptions.InternalServerException

  • LambdaWeb.Client.exceptions.ValidationException

  • LambdaWeb.Client.exceptions.ResourceNotFoundException

  • LambdaWeb.Client.exceptions.ThrottlingException

  • LambdaWeb.Client.exceptions.ServiceQuotaExceededException