Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TagResourceRequest

import type { TagResourceRequest } from "https://aws-api.deno.dev/v0.4/services/organizations.ts?docs=full";
interface TagResourceRequest {
ResourceId: string;
Tags: Tag[];
}

§Properties

§
ResourceId: string
[src]

The ID of the resource to add a tag to.

You can specify any of the following taggable resources.

  • Amazon Web Services account – specify the account ID number.
  • Organizational unit – specify the OU ID that begins with ou- and looks similar to: ou-_1a2b-34uvwxyz_
  • Root – specify the root ID that begins with r- and looks similar to: r-_1a2b_
  • Policy – specify the policy ID that begins with p- andlooks similar to: p-_12abcdefg3_
§
Tags: Tag[]
[src]

A list of tags to add to the specified resource.

For each tag in the list, you must specify both a tag key and a value. The value can be an empty string, but you can't set it to null.

Note: If any one of the tags is invalid or if you exceed the maximum allowed number of tags for a resource, then the entire request fails.