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 |
Adds a streaming configuration for the specified Amazon Chime Voice Connector. The streaming configuration specifies whether media streaming is enabled for sending to Indonesians. It also sets the retention period, in hours, for the Amazon Kinesis data.
Synopsis
- data PutVoiceConnectorStreamingConfiguration = PutVoiceConnectorStreamingConfiguration' {}
- newPutVoiceConnectorStreamingConfiguration :: Text -> StreamingConfiguration -> PutVoiceConnectorStreamingConfiguration
- putVoiceConnectorStreamingConfiguration_voiceConnectorId :: Lens' PutVoiceConnectorStreamingConfiguration Text
- putVoiceConnectorStreamingConfiguration_streamingConfiguration :: Lens' PutVoiceConnectorStreamingConfiguration StreamingConfiguration
- data PutVoiceConnectorStreamingConfigurationResponse = PutVoiceConnectorStreamingConfigurationResponse' {}
- newPutVoiceConnectorStreamingConfigurationResponse :: Int -> PutVoiceConnectorStreamingConfigurationResponse
- putVoiceConnectorStreamingConfigurationResponse_streamingConfiguration :: Lens' PutVoiceConnectorStreamingConfigurationResponse (Maybe StreamingConfiguration)
- putVoiceConnectorStreamingConfigurationResponse_httpStatus :: Lens' PutVoiceConnectorStreamingConfigurationResponse Int
Creating a Request
data PutVoiceConnectorStreamingConfiguration Source #
See: newPutVoiceConnectorStreamingConfiguration
smart constructor.
PutVoiceConnectorStreamingConfiguration' | |
|
Instances
newPutVoiceConnectorStreamingConfiguration Source #
Create a value of PutVoiceConnectorStreamingConfiguration
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:voiceConnectorId:PutVoiceConnectorStreamingConfiguration'
, putVoiceConnectorStreamingConfiguration_voiceConnectorId
- The Amazon Chime Voice Connector ID.
$sel:streamingConfiguration:PutVoiceConnectorStreamingConfiguration'
, putVoiceConnectorStreamingConfiguration_streamingConfiguration
- The streaming configuration details to add.
Request Lenses
putVoiceConnectorStreamingConfiguration_voiceConnectorId :: Lens' PutVoiceConnectorStreamingConfiguration Text Source #
The Amazon Chime Voice Connector ID.
putVoiceConnectorStreamingConfiguration_streamingConfiguration :: Lens' PutVoiceConnectorStreamingConfiguration StreamingConfiguration Source #
The streaming configuration details to add.
Destructuring the Response
data PutVoiceConnectorStreamingConfigurationResponse Source #
See: newPutVoiceConnectorStreamingConfigurationResponse
smart constructor.
PutVoiceConnectorStreamingConfigurationResponse' | |
|
Instances
newPutVoiceConnectorStreamingConfigurationResponse Source #
:: Int |
|
-> PutVoiceConnectorStreamingConfigurationResponse |
Create a value of PutVoiceConnectorStreamingConfigurationResponse
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:streamingConfiguration:PutVoiceConnectorStreamingConfiguration'
, putVoiceConnectorStreamingConfigurationResponse_streamingConfiguration
- The updated streaming configuration details.
$sel:httpStatus:PutVoiceConnectorStreamingConfigurationResponse'
, putVoiceConnectorStreamingConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
putVoiceConnectorStreamingConfigurationResponse_streamingConfiguration :: Lens' PutVoiceConnectorStreamingConfigurationResponse (Maybe StreamingConfiguration) Source #
The updated streaming configuration details.
putVoiceConnectorStreamingConfigurationResponse_httpStatus :: Lens' PutVoiceConnectorStreamingConfigurationResponse Int Source #
The response's http status code.