aws.appstream.describe_sessions
Example SQL Queries
SELECT * FROMaws.appstream.describe_sessionsWHERE"stack_name" = 'VALUE'AND "fleet_name" = 'VALUE';Description
Retrieves a list that describes the streaming sessions for a specified stack and fleet. If a UserId is provided for the stack and fleet, only streaming sessions for that user are described. If an authentication type is not provided, the default is to authenticate users using a streaming URL.
Table Definition
| Column Name | Column Data Type |
|---|---|
| fleet_name Required Input Column The name of the fleet for the streaming session. | VARCHAR |
| stack_name Required Input Column The name of the stack for the streaming session. | VARCHAR |
| authentication_type Input Column The authentication method. The user is authenticated using a streaming URL (API) or SAML 2.0 federation (SAML). | VARCHAR |
| instance_id Input Column The identifier for the instance hosting the session. | VARCHAR |
| user_id Input Column The identifier of the user for whom the session was created. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| connection_state Specifies whether a user is connected to the streaming session. | VARCHAR |
| id The identifier of the streaming session. | VARCHAR |
| max_expiration_time The time when the streaming session is set to expire. This time is based on the MaxUserDurationinSeconds value, which determines the maximum length of time that a streaming session can run. A streaming session might end earlier than the time specified in SessionMaxExpirationTime, when the DisconnectTimeOutInSeconds elapses or the user chooses to end his or her session. If the DisconnectTimeOutInSeconds elapses, or the user chooses to end his or her session, the streaming instance is terminated and the streaming session ends. | TIMESTAMP_S |
| network_access_configuration The network details for the streaming session. | STRUCT( |
Show child fields
| |
| start_time The time when a streaming instance is dedicated for the user. | TIMESTAMP_S |
| state The current state of the streaming session. | VARCHAR |