Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Session = Session' {}
- newSession :: Session
- session_details :: Lens' Session (Maybe Text)
- session_documentName :: Lens' Session (Maybe Text)
- session_endDate :: Lens' Session (Maybe UTCTime)
- session_maxSessionDuration :: Lens' Session (Maybe Text)
- session_outputUrl :: Lens' Session (Maybe SessionManagerOutputUrl)
- session_owner :: Lens' Session (Maybe Text)
- session_reason :: Lens' Session (Maybe Text)
- session_sessionId :: Lens' Session (Maybe Text)
- session_startDate :: Lens' Session (Maybe UTCTime)
- session_status :: Lens' Session (Maybe SessionStatus)
- session_target :: Lens' Session (Maybe Text)
Documentation
Information about a Session Manager connection to a managed node.
See: newSession
smart constructor.
Session' | |
|
Instances
newSession :: Session Source #
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:details:Session'
, session_details
- Reserved for future use.
$sel:documentName:Session'
, session_documentName
- The name of the Session Manager SSM document used to define the
parameters and plugin settings for the session. For example,
SSM-SessionManagerRunShell
.
$sel:endDate:Session'
, session_endDate
- The date and time, in ISO-8601 Extended format, when the session was
terminated.
$sel:maxSessionDuration:Session'
, session_maxSessionDuration
- The maximum duration of a session before it terminates.
$sel:outputUrl:Session'
, session_outputUrl
- Reserved for future use.
$sel:owner:Session'
, session_owner
- The ID of the Amazon Web Services user account that started the session.
$sel:reason:Session'
, session_reason
- The reason for connecting to the instance.
$sel:sessionId:Session'
, session_sessionId
- The ID of the session.
$sel:startDate:Session'
, session_startDate
- The date and time, in ISO-8601 Extended format, when the session began.
$sel:status:Session'
, session_status
- The status of the session. For example, "Connected" or "Terminated".
$sel:target:Session'
, session_target
- The managed node that the Session Manager session connected to.
session_documentName :: Lens' Session (Maybe Text) Source #
The name of the Session Manager SSM document used to define the
parameters and plugin settings for the session. For example,
SSM-SessionManagerRunShell
.
session_endDate :: Lens' Session (Maybe UTCTime) Source #
The date and time, in ISO-8601 Extended format, when the session was terminated.
session_maxSessionDuration :: Lens' Session (Maybe Text) Source #
The maximum duration of a session before it terminates.
session_outputUrl :: Lens' Session (Maybe SessionManagerOutputUrl) Source #
Reserved for future use.
session_owner :: Lens' Session (Maybe Text) Source #
The ID of the Amazon Web Services user account that started the session.
session_startDate :: Lens' Session (Maybe UTCTime) Source #
The date and time, in ISO-8601 Extended format, when the session began.
session_status :: Lens' Session (Maybe SessionStatus) Source #
The status of the session. For example, "Connected" or "Terminated".