libZSservicesZSamazonka-ecsZSamazonka-ecs
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.ECS.Types.Session

Description

 
Synopsis

Documentation

data Session Source #

The details of the execute command session.

See: newSession smart constructor.

Constructors

Session' 

Fields

  • streamUrl :: Maybe Text

    A URL back to managed agent on the container that the SSM Session Manager client uses to send commands and receive output from the container.

  • tokenValue :: Maybe (Sensitive Text)

    An encrypted token value containing session and caller information. Used to authenticate the connection to the container.

  • sessionId :: Maybe Text

    The ID of the execute command session.

Instances

Instances details
Eq Session Source # 
Instance details

Defined in Amazonka.ECS.Types.Session

Methods

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

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

Show Session Source # 
Instance details

Defined in Amazonka.ECS.Types.Session

Generic Session Source # 
Instance details

Defined in Amazonka.ECS.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.ECS.Types.Session

Methods

rnf :: Session -> () #

Hashable Session Source # 
Instance details

Defined in Amazonka.ECS.Types.Session

Methods

hashWithSalt :: Int -> Session -> Int #

hash :: Session -> Int #

FromJSON Session Source # 
Instance details

Defined in Amazonka.ECS.Types.Session

type Rep Session Source # 
Instance details

Defined in Amazonka.ECS.Types.Session

type Rep Session = D1 ('MetaData "Session" "Amazonka.ECS.Types.Session" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "Session'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tokenValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:streamUrl:Session', session_streamUrl - A URL back to managed agent on the container that the SSM Session Manager client uses to send commands and receive output from the container.

$sel:tokenValue:Session', session_tokenValue - An encrypted token value containing session and caller information. Used to authenticate the connection to the container.

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

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

A URL back to managed agent on the container that the SSM Session Manager client uses to send commands and receive output from the container.

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

An encrypted token value containing session and caller information. Used to authenticate the connection to the container.

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

The ID of the execute command session.