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::LexRuntimeV2::GetSession - Arguments for method GetSession on Paws::LexRuntimeV2

DESCRIPTION

This class represents the parameters used for calling the method GetSession on the Amazon Lex Runtime V2 service. Use the attributes of this class as arguments to method GetSession.

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

SYNOPSIS

my $runtime-v2-lex = Paws->service('LexRuntimeV2');
my $GetSessionResponse = $runtime - v2 -lex->GetSession(
  BotAliasId => 'MyBotAliasIdentifier',
  BotId      => 'MyBotIdentifier',
  LocaleId   => 'MyLocaleId',
  SessionId  => 'MySessionId',

);

# Results:
my $Interpretations = $GetSessionResponse->Interpretations;
my $Messages        = $GetSessionResponse->Messages;
my $SessionId       = $GetSessionResponse->SessionId;
my $SessionState    = $GetSessionResponse->SessionState;

# Returns a L<Paws::LexRuntimeV2::GetSessionResponse> 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/runtime-v2-lex/GetSession

ATTRIBUTES

REQUIRED BotAliasId => Str

The alias identifier in use for the bot that contains the session data.

REQUIRED BotId => Str

The identifier of the bot that contains the session data.

REQUIRED LocaleId => Str

The locale where the session is in use.

REQUIRED SessionId => Str

The identifier of the session to return.

SEE ALSO

This class forms part of Paws, documenting arguments for method GetSession in Paws::LexRuntimeV2

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