| 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 |
Amazonka.ConnectParticipant.Types.Websocket
Description
Synopsis
- data Websocket = Websocket' {}
- newWebsocket :: Websocket
- websocket_connectionExpiry :: Lens' Websocket (Maybe Text)
- websocket_url :: Lens' Websocket (Maybe Text)
Documentation
The websocket for the participant's connection.
See: newWebsocket smart constructor.
Constructors
| Websocket' | |
Instances
| FromJSON Websocket Source # | |
| Generic Websocket Source # | |
| Read Websocket Source # | |
| Show Websocket Source # | |
| NFData Websocket Source # | |
Defined in Amazonka.ConnectParticipant.Types.Websocket | |
| Eq Websocket Source # | |
| Hashable Websocket Source # | |
Defined in Amazonka.ConnectParticipant.Types.Websocket | |
| type Rep Websocket Source # | |
Defined in Amazonka.ConnectParticipant.Types.Websocket type Rep Websocket = D1 ('MetaData "Websocket" "Amazonka.ConnectParticipant.Types.Websocket" "amazonka-connectparticipant-2.0-I4GmkIlwxQUGg1dW7eNFQJ" 'False) (C1 ('MetaCons "Websocket'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectionExpiry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "url") '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: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.
$sel:url:Websocket', websocket_url - The URL of the websocket.