Paws::LexModels::GetBotAliases - Arguments for method GetBotAliases on Paws::LexModels


This class represents the parameters used for calling the method GetBotAliases on the Amazon Lex Model Building Service service. Use the attributes of this class as arguments to method GetBotAliases.

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


    my $models.lex = Paws->service('LexModels');
    my $GetBotAliasesResponse = $models . lex->GetBotAliases(
      BotName      => 'MyBotName',
      MaxResults   => 1,                # OPTIONAL
      NameContains => 'MyAliasName',    # OPTIONAL
      NextToken    => 'MyNextToken',    # OPTIONAL

    # Results:
    my $BotAliases = $GetBotAliasesResponse->BotAliases;
    my $NextToken  = $GetBotAliasesResponse->NextToken;

    # Returns a L<Paws::LexModels::GetBotAliasesResponse> 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


REQUIRED BotName => Str

The name of the bot.

MaxResults => Int

The maximum number of aliases to return in the response. The default is 50. .

NameContains => Str

Substring to match in bot alias names. An alias will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

NextToken => Str

A pagination token for fetching the next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request.


This class forms part of Paws, documenting arguments for method GetBotAliases in Paws::LexModels


The source code is located here:

Please report bugs to: