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 |
Enables the voice channel for an application or updates the status and settings of the voice channel for an application.
Synopsis
- data UpdateVoiceChannel = UpdateVoiceChannel' {}
- newUpdateVoiceChannel :: Text -> VoiceChannelRequest -> UpdateVoiceChannel
- updateVoiceChannel_applicationId :: Lens' UpdateVoiceChannel Text
- updateVoiceChannel_voiceChannelRequest :: Lens' UpdateVoiceChannel VoiceChannelRequest
- data UpdateVoiceChannelResponse = UpdateVoiceChannelResponse' {}
- newUpdateVoiceChannelResponse :: Int -> VoiceChannelResponse -> UpdateVoiceChannelResponse
- updateVoiceChannelResponse_httpStatus :: Lens' UpdateVoiceChannelResponse Int
- updateVoiceChannelResponse_voiceChannelResponse :: Lens' UpdateVoiceChannelResponse VoiceChannelResponse
Creating a Request
data UpdateVoiceChannel Source #
See: newUpdateVoiceChannel
smart constructor.
UpdateVoiceChannel' | |
|
Instances
newUpdateVoiceChannel Source #
Create a value of UpdateVoiceChannel
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:applicationId:UpdateVoiceChannel'
, updateVoiceChannel_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:voiceChannelRequest:UpdateVoiceChannel'
, updateVoiceChannel_voiceChannelRequest
- Undocumented member.
Request Lenses
updateVoiceChannel_applicationId :: Lens' UpdateVoiceChannel Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
updateVoiceChannel_voiceChannelRequest :: Lens' UpdateVoiceChannel VoiceChannelRequest Source #
Undocumented member.
Destructuring the Response
data UpdateVoiceChannelResponse Source #
See: newUpdateVoiceChannelResponse
smart constructor.
UpdateVoiceChannelResponse' | |
|
Instances
newUpdateVoiceChannelResponse Source #
Create a value of UpdateVoiceChannelResponse
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:httpStatus:UpdateVoiceChannelResponse'
, updateVoiceChannelResponse_httpStatus
- The response's http status code.
$sel:voiceChannelResponse:UpdateVoiceChannelResponse'
, updateVoiceChannelResponse_voiceChannelResponse
- Undocumented member.
Response Lenses
updateVoiceChannelResponse_httpStatus :: Lens' UpdateVoiceChannelResponse Int Source #
The response's http status code.
updateVoiceChannelResponse_voiceChannelResponse :: Lens' UpdateVoiceChannelResponse VoiceChannelResponse Source #
Undocumented member.