AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Returns session information for a specified bot, alias, and user ID.
For .NET Core this operation is only available in asynchronous form. Please refer to GetSessionAsync.
Namespace: Amazon.Lex
Assembly: AWSSDK.Lex.dll
Version: 3.x.y.z
public virtual GetSessionResponse GetSession( GetSessionRequest request )
Container for the necessary parameters to execute the GetSession service method.
Exception | Condition |
---|---|
BadRequestException | Request validation failed, there is no usable message in the context, or the bot build failed, is still in progress, or contains unbuilt changes. |
InternalFailureException | Internal service error. Retry the call. |
LimitExceededException | Exceeded a limit. |
NotFoundException | The resource (such as the Amazon Lex bot or an alias) that is referred to is not found. |
.NET Framework:
Supported in: 4.5 and newer, 3.5