LambdaMicroVMs / Client / tag_resource

tag_resource

LambdaMicroVMs.Client.tag_resource(**kwargs)

Adds tags to a Lambda MicroVM resource.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ARN of the resource to tag.

  • Tags (dict) –

    [REQUIRED]

    The key-value pairs of tags to add to the resource.

    • (string) –

      • (string) –

Returns:

None

Exceptions

  • LambdaMicroVMs.Client.exceptions.TooManyRequestsException

  • LambdaMicroVMs.Client.exceptions.ResourceNotFoundException

  • LambdaMicroVMs.Client.exceptions.ServiceException

  • LambdaMicroVMs.Client.exceptions.InvalidParameterValueException

  • LambdaMicroVMs.Client.exceptions.ResourceConflictException