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 |
Documentation
The details for the execute command session.
See: newSession
smart constructor.
Session' | |
|
Instances
FromJSON Session Source # | |
Generic Session Source # | |
Show Session Source # | |
NFData Session Source # | |
Defined in Amazonka.ECS.Types.Session | |
Eq Session Source # | |
Hashable Session Source # | |
Defined in Amazonka.ECS.Types.Session | |
type Rep Session Source # | |
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.