Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
The details of the execute command session.
See: newSession
smart constructor.
Session' | |
|
Instances
Eq Session Source # | |
Show Session Source # | |
Generic Session Source # | |
NFData Session Source # | |
Defined in Amazonka.ECS.Types.Session | |
Hashable Session Source # | |
Defined in Amazonka.ECS.Types.Session | |
FromJSON Session Source # | |
type Rep Session Source # | |
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.