Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Session = Session' {}
- newSession :: Text -> Text -> Text -> Text -> SessionState -> Session
- session_networkAccessConfiguration :: Lens' Session (Maybe NetworkAccessConfiguration)
- session_maxExpirationTime :: Lens' Session (Maybe UTCTime)
- session_startTime :: Lens' Session (Maybe UTCTime)
- session_authenticationType :: Lens' Session (Maybe AuthenticationType)
- session_connectionState :: Lens' Session (Maybe SessionConnectionState)
- session_id :: Lens' Session Text
- session_userId :: Lens' Session Text
- session_stackName :: Lens' Session Text
- session_fleetName :: Lens' Session Text
- session_state :: Lens' Session SessionState
Documentation
Describes a streaming session.
See: newSession
smart constructor.
Session' | |
|
Instances
Create a value of Session
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:networkAccessConfiguration:Session'
, session_networkAccessConfiguration
- The network details for the streaming session.
$sel:maxExpirationTime:Session'
, session_maxExpirationTime
- 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.
$sel:startTime:Session'
, session_startTime
- The time when a streaming instance is dedicated for the user.
$sel:authenticationType:Session'
, session_authenticationType
- The authentication method. The user is authenticated using a streaming
URL (API
) or SAML 2.0 federation (SAML
).
$sel:connectionState:Session'
, session_connectionState
- Specifies whether a user is connected to the streaming session.
$sel:id:Session'
, session_id
- The identifier of the streaming session.
$sel:userId:Session'
, session_userId
- The identifier of the user for whom the session was created.
$sel:stackName:Session'
, session_stackName
- The name of the stack for the streaming session.
$sel:fleetName:Session'
, session_fleetName
- The name of the fleet for the streaming session.
$sel:state:Session'
, session_state
- The current state of the streaming session.
session_networkAccessConfiguration :: Lens' Session (Maybe NetworkAccessConfiguration) Source #
The network details for the streaming session.
session_maxExpirationTime :: Lens' Session (Maybe UTCTime) Source #
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.
session_startTime :: Lens' Session (Maybe UTCTime) Source #
The time when a streaming instance is dedicated for the user.
session_authenticationType :: Lens' Session (Maybe AuthenticationType) Source #
The authentication method. The user is authenticated using a streaming
URL (API
) or SAML 2.0 federation (SAML
).
session_connectionState :: Lens' Session (Maybe SessionConnectionState) Source #
Specifies whether a user is connected to the streaming session.
session_userId :: Lens' Session Text Source #
The identifier of the user for whom the session was created.
session_state :: Lens' Session SessionState Source #
The current state of the streaming session.