Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListTagsForResourceCommand

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.

example

Use a bare-bones client and the command you need to make an API call.

import { EFSClient, ListTagsForResourceCommand } from "@aws-sdk/client-efs"; // ES Modules import
// const { EFSClient, ListTagsForResourceCommand } = require("@aws-sdk/client-efs"); // CommonJS import
const client = new EFSClient(config);
const command = new ListTagsForResourceCommand(input);
const response = await client.send(command);
see

ListTagsForResourceCommandInput for command's input shape.

see

ListTagsForResourceCommandOutput for command's response shape.

see

config for EFSClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ListTagsForResourceCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions