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
- defaultService :: Service
- _InvalidArgumentException :: AsError a => Getting (First ServiceError) a ServiceError
- _NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ClientLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _SessionExpiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidClientException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype Service where
- Service' {
- fromService :: Text
- pattern Service_TURN :: Service
- Service' {
- data IceServer = IceServer' {}
- newIceServer :: IceServer
- iceServer_ttl :: Lens' IceServer (Maybe Natural)
- iceServer_uris :: Lens' IceServer (Maybe [Text])
- iceServer_username :: Lens' IceServer (Maybe Text)
- iceServer_password :: Lens' IceServer (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2019-12-04
of the Amazon Kinesis Video Signaling Channels SDK configuration.
Errors
_InvalidArgumentException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The value for this input parameter is invalid.
_NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The caller is not authorized to perform this operation.
_ClientLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request was throttled because you have exceeded the limit of allowed client calls. Try making the call later.
_SessionExpiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
If the client session is expired. Once the client is connected, the session is valid for 45 minutes. Client should reconnect to the channel to continue sending/receiving messages.
_InvalidClientException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified client is invalid.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified resource is not found.
Service
pattern Service_TURN :: Service |
Instances
IceServer
A structure for the ICE server connection data.
See: newIceServer
smart constructor.
IceServer' | |
|
Instances
Eq IceServer Source # | |
Read IceServer Source # | |
Show IceServer Source # | |
Generic IceServer Source # | |
NFData IceServer Source # | |
Hashable IceServer Source # | |
FromJSON IceServer Source # | |
type Rep IceServer Source # | |
Defined in Amazonka.KinesisVideoSignaling.Types.IceServer type Rep IceServer = D1 ('MetaData "IceServer" "Amazonka.KinesisVideoSignaling.Types.IceServer" "libZSservicesZSamazonka-kinesis-video-signalingZSamazonka-kinesis-video-signaling" 'False) (C1 ('MetaCons "IceServer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ttl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "uris") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newIceServer :: IceServer Source #
Create a value of IceServer
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:ttl:IceServer'
, iceServer_ttl
- The period of time, in seconds, during which the username and password
are valid.
$sel:uris:IceServer'
, iceServer_uris
- An array of URIs, in the form specified in the
I-D.petithuguenin-behave-turn-uris
spec. These URIs provide the different addresses and/or protocols that
can be used to reach the TURN server.
$sel:username:IceServer'
, iceServer_username
- A username to login to the ICE server.
$sel:password:IceServer'
, iceServer_password
- A password to login to the ICE server.
iceServer_ttl :: Lens' IceServer (Maybe Natural) Source #
The period of time, in seconds, during which the username and password are valid.
iceServer_uris :: Lens' IceServer (Maybe [Text]) Source #
An array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris spec. These URIs provide the different addresses and/or protocols that can be used to reach the TURN server.