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 |
Synopsis
- data Websocket = Websocket' {}
- newWebsocket :: Websocket
- websocket_url :: Lens' Websocket (Maybe Text)
- websocket_connectionExpiry :: Lens' Websocket (Maybe Text)
Documentation
The websocket for the participant's connection.
See: newWebsocket
smart constructor.
Instances
Eq Websocket Source # | |
Read Websocket Source # | |
Show Websocket Source # | |
Generic Websocket Source # | |
NFData Websocket Source # | |
Defined in Amazonka.ConnectParticipant.Types.Websocket | |
Hashable Websocket Source # | |
Defined in Amazonka.ConnectParticipant.Types.Websocket | |
FromJSON Websocket Source # | |
type Rep Websocket Source # | |
Defined in Amazonka.ConnectParticipant.Types.Websocket type Rep Websocket = D1 ('MetaData "Websocket" "Amazonka.ConnectParticipant.Types.Websocket" "libZSservicesZSamazonka-connectparticipantZSamazonka-connectparticipant" 'False) (C1 ('MetaCons "Websocket'" 'PrefixI 'True) (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "connectionExpiry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newWebsocket :: Websocket Source #
Create a value of Websocket
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:url:Websocket'
, websocket_url
- The URL of the websocket.
$sel:connectionExpiry:Websocket'
, websocket_connectionExpiry
- The URL expiration timestamp in ISO date format.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.