libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.Types.Session

Description

 
Synopsis

Documentation

data Session Source #

Information about a Session Manager connection to an instance.

See: newSession smart constructor.

Constructors

Session' 

Fields

Instances

Instances details
Eq Session Source # 
Instance details

Defined in Amazonka.SSM.Types.Session

Methods

(==) :: Session -> Session -> Bool #

(/=) :: Session -> Session -> Bool #

Read Session Source # 
Instance details

Defined in Amazonka.SSM.Types.Session

Show Session Source # 
Instance details

Defined in Amazonka.SSM.Types.Session

Generic Session Source # 
Instance details

Defined in Amazonka.SSM.Types.Session

Associated Types

type Rep Session :: Type -> Type #

Methods

from :: Session -> Rep Session x #

to :: Rep Session x -> Session #

NFData Session Source # 
Instance details

Defined in Amazonka.SSM.Types.Session

Methods

rnf :: Session -> () #

Hashable Session Source # 
Instance details

Defined in Amazonka.SSM.Types.Session

Methods

hashWithSalt :: Int -> Session -> Int #

hash :: Session -> Int #

FromJSON Session Source # 
Instance details

Defined in Amazonka.SSM.Types.Session

type Rep Session Source # 
Instance details

Defined in Amazonka.SSM.Types.Session

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:status:Session', session_status - The status of the session. For example, "Connected" or "Terminated".

$sel:outputUrl:Session', session_outputUrl - 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:owner:Session', session_owner - The ID of the Amazon Web Services user account that started the session.

$sel:startDate:Session', session_startDate - The date and time, in ISO-8601 Extended format, when the session began.

$sel:details:Session', session_details - Reserved for future use.

$sel:sessionId:Session', session_sessionId - The ID of the session.

$sel:target:Session', session_target - The instance that the Session Manager session connected to.

session_status :: Lens' Session (Maybe SessionStatus) Source #

The status of the session. For example, "Connected" or "Terminated".

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_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_details :: Lens' Session (Maybe Text) Source #

Reserved for future use.

session_sessionId :: Lens' Session (Maybe Text) Source #

The ID of the session.

session_target :: Lens' Session (Maybe Text) Source #

The instance that the Session Manager session connected to.