Amazon MediaStore · Schema
TagResourceInput
TagResourceInput schema from Amazon MediaStore API
BroadcastingMedia ProcessingMedia
Properties
| Name | Type | Description |
|---|---|---|
| Resource | object | |
| Tags | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mediastore/refs/heads/main/json-schema/mediastore-api-tag-resource-input-schema.json",
"title": "TagResourceInput",
"description": "TagResourceInput schema from Amazon MediaStore API",
"type": "object",
"properties": {
"Resource": {
"allOf": [
{
"$ref": "#/components/schemas/ContainerARN"
},
{
"description": "The Amazon Resource Name (ARN) for the container. "
}
]
},
"Tags": {
"allOf": [
{
"$ref": "#/components/schemas/TagList"
},
{
"description": "An array of key:value pairs that you want to add to the container. You need to specify only the tags that you want to add or update. For example, suppose a container already has two tags (customer:CompanyA and priority:High). You want to change the priority tag and also add a third tag (type:Contract). For TagResource, you specify the following tags: priority:Medium, type:Contract. The result is that your container has three tags: customer:CompanyA, priority:Medium, and type:Contract."
}
]
}
},
"required": [
"Resource",
"Tags"
]
}