TagResource#

Description#

Request to assign tags to an EFS file system.

Request Parameters#

  • ResourceId — The ID of the EFS file system.

    • Type: String

    • Required: Yes

  • Tags — The list of tags assigned to the specified file system.

    • Type: List of Tag objects

    • Required: Yes

Response Elements#

Response body is empty.

Examples#

POST /2015-02-01/resource-tags/fs-B23564AF HTTP/1.1
Content-Type: application/json

{
    "Tags": [
        {
            "Key": "key1",
            "Value": "value1"
        },
        {

            "Key": "key2",
            "Value": "value2"

        }
    ]
}
aws efs tag-resource --resource-id fs-B23564AF --tags Key=key1,Value=value1 Key=key2,Value=value2
c2-efs TagResource ResourceId fs-B23564AF Tags.1.Key key1 Tags.1.Value value1 Tags.2.Key key2 Tags.2.Value value2