tag_resource

GlueDataBrew.Client.tag_resource(**kwargs)

Adds metadata tags to a DataBrew resource, such as a dataset, project, recipe, job, or schedule.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The DataBrew resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN). For DataBrew, you can tag a dataset, a job, a project, or a recipe.

  • Tags (dict) --

    [REQUIRED]

    One or more tags to be assigned to the resource.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • GlueDataBrew.Client.exceptions.InternalServerException
  • GlueDataBrew.Client.exceptions.ResourceNotFoundException
  • GlueDataBrew.Client.exceptions.ValidationException