Skip to content

List Tags For Resource

efs_list_tags_for_resource R Documentation

Lists all tags for a top-level EFS resource

Description

Lists all tags for a top-level EFS resource. You must provide the ID of the resource that you want to retrieve the tags for.

This operation requires permissions for the elasticfilesystem:DescribeAccessPoints action.

Usage

efs_list_tags_for_resource(ResourceId, MaxResults, NextToken)

Arguments

ResourceId

[required] Specifies the EFS resource you want to retrieve tags for. You can retrieve tags for EFS file systems and access points using this API endpoint.

MaxResults

(Optional) Specifies the maximum number of tag objects to return in the response. The default value is 100.

NextToken

(Optional) You can use NextToken in a subsequent request to fetch the next page of access point descriptions if the response payload was paginated.

Value

A list with the following syntax:

list(
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_tags_for_resource(
  ResourceId = "string",
  MaxResults = 123,
  NextToken = "string"
)