Paws::SageMaker::ListTags - Arguments for method ListTags on Paws::SageMaker


This class represents the parameters used for calling the method ListTags on the Amazon SageMaker Service service. Use the attributes of this class as arguments to method ListTags.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListTags.


    my $api.sagemaker = Paws->service('SageMaker');
    my $ListTagsOutput = $api . sagemaker->ListTags(
      ResourceArn => 'MyResourceArn',
      MaxResults  => 1,                 # OPTIONAL
      NextToken   => 'MyNextToken',     # OPTIONAL

    # Results:
    my $NextToken = $ListTagsOutput->NextToken;
    my $Tags      = $ListTagsOutput->Tags;

    # Returns a L<Paws::SageMaker::ListTagsOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


MaxResults => Int

Maximum number of tags to return.

NextToken => Str

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

REQUIRED ResourceArn => Str

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


This class forms part of Paws, documenting arguments for method ListTags in Paws::SageMaker


The source code is located here:

Please report bugs to: