AWS SDK Version 3 for .NET
API Reference

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.

Gets a session.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetSessionAsync.

Namespace: Amazon.Deadline
Assembly: AWSSDK.Deadline.dll
Version: 3.x.y.z

Syntax

C#
public virtual GetSessionResponse GetSession(
         GetSessionRequest request
)

Parameters

request
Type: Amazon.Deadline.Model.GetSessionRequest

Container for the necessary parameters to execute the GetSession service method.

Return Value


The response from the GetSession service method, as returned by Deadline.

Exceptions

ExceptionCondition
AccessDeniedException You don't have permission to perform the action.
InternalServerErrorException Deadline Cloud can't process your request right now. Try again later.
ResourceNotFoundException The requested resource can't be found.
ThrottlingException Your request exceeded a request rate quota.
ValidationException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also