The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $models.lex = Paws->service('LexModels');
# To get a list of bots
# This example shows how to get a list of all of the bots in your account.
my $GetBotsResponse = $models
  . lex->GetBots(
  'MaxResults' => 5,
  'NextToken'  => ''
  );

# Results:
my $bots = $GetBotsResponse->bots;

# Returns a L<Paws::LexModels::GetBotsResponse> 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 https://docs.aws.amazon.com/goto/WebAPI/models.lex/GetBots

ATTRIBUTES

MaxResults => Int

The maximum number of bots to return in the response that the request will return. The default is 10.

NameContains => Str

Substring to match in bot names. A bot 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 that fetches the next page of bots. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of bots, specify the pagination token in the next request.

SEE ALSO

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

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues