amazonka-ecs-2.0: Amazon EC2 Container Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECS.Types.Session

Description

 
Synopsis

Documentation

data Session Source #

The details for the execute command session.

See: newSession smart constructor.

Constructors

Session' 

Fields

  • sessionId :: Maybe Text

    The ID of the execute command session.

  • streamUrl :: Maybe Text

    A URL to the 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. It's used to authenticate the connection to the container.

Instances

Instances details
FromJSON 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 #

Show Session Source # 
Instance details

Defined in Amazonka.ECS.Types.Session

NFData Session Source # 
Instance details

Defined in Amazonka.ECS.Types.Session

Methods

rnf :: Session -> () #

Eq Session Source # 
Instance details

Defined in Amazonka.ECS.Types.Session

Methods

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

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

Hashable Session Source # 
Instance details

Defined in Amazonka.ECS.Types.Session

Methods

hashWithSalt :: Int -> Session -> Int #

hash :: Session -> Int #

type Rep Session Source # 
Instance details

Defined in Amazonka.ECS.Types.Session

type Rep Session = D1 ('MetaData "Session" "Amazonka.ECS.Types.Session" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "Session'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "streamUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tokenValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive 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:sessionId:Session', session_sessionId - The ID of the execute command session.

$sel:streamUrl:Session', session_streamUrl - A URL to the 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. It's used to authenticate the connection to the container.

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

The ID of the execute command session.

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

A URL to the 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. It's used to authenticate the connection to the container.