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


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

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


    my $api.sagemaker = Paws->service('SageMaker');
    my $ListWorkteamsResponse = $api . sagemaker->ListWorkteams(
      MaxResults   => 1,                   # OPTIONAL
      NameContains => 'MyWorkteamName',    # OPTIONAL
      NextToken    => 'MyNextToken',       # OPTIONAL
      SortBy       => 'Name',              # OPTIONAL
      SortOrder    => 'Ascending',         # OPTIONAL

    # Results:
    my $NextToken = $ListWorkteamsResponse->NextToken;
    my $Workteams = $ListWorkteamsResponse->Workteams;

    # Returns a L<Paws::SageMaker::ListWorkteamsResponse> 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

The maximum number of work teams to return in each page of the response.

NameContains => Str

A string in the work team's name. This filter returns only work teams whose name contains the specified string.

NextToken => Str

If the result of the previous ListWorkteams request was truncated, the response includes a NextToken. To retrieve the next set of labeling jobs, use the token in the next request.

SortBy => Str

The field to sort results by. The default is CreationTime.

Valid values are: "Name", "CreateDate"

SortOrder => Str

The sort order for results. The default is Ascending.

Valid values are: "Ascending", "Descending"


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


The source code is located here:

Please report bugs to: