NAME

Paws::LexRuntime::GetSession - Arguments for method GetSession on Paws::LexRuntime

DESCRIPTION

This class represents the parameters used for calling the method GetSession on the Amazon Lex Runtime Service 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.lex = Paws->service('LexRuntime');
my $GetSessionResponse = $runtime . lex->GetSession(
  BotAlias              => 'MyBotAlias',
  BotName               => 'MyBotName',
  UserId                => 'MyUserId',
  CheckpointLabelFilter => 'MyIntentSummaryCheckpointLabel',    # OPTIONAL
);

# Results:
my $ActiveContexts          = $GetSessionResponse->ActiveContexts;
my $DialogAction            = $GetSessionResponse->DialogAction;
my $RecentIntentSummaryView = $GetSessionResponse->RecentIntentSummaryView;
my $SessionAttributes       = $GetSessionResponse->SessionAttributes;
my $SessionId               = $GetSessionResponse->SessionId;

# Returns a L<Paws::LexRuntime::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.lex/GetSession

ATTRIBUTES

REQUIRED BotAlias => Str

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

REQUIRED BotName => Str

The name of the bot that contains the session data.

CheckpointLabelFilter => Str

A string used to filter the intents returned in the recentIntentSummaryView structure.

When you specify a filter, only intents with their checkpointLabel field set to that string are returned.

REQUIRED UserId => Str

The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot.

SEE ALSO

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

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