Skip to content

List Tags

sagemaker_list_tags R Documentation

Returns the tags for the specified SageMaker resource

Description

Returns the tags for the specified SageMaker resource.

Usage

sagemaker_list_tags(ResourceArn, NextToken, MaxResults)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.

NextToken

If the response to the previous list_tags request is truncated, SageMaker returns this token. To retrieve the next set of tags, use it in the subsequent request.

MaxResults

Maximum number of tags to return.

Value

A list with the following syntax:

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

Request syntax

svc$list_tags(
  ResourceArn = "string",
  NextToken = "string",
  MaxResults = 123
)