| 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.Pinpoint.UpdateVoiceChannel
Description
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.
Constructors
| UpdateVoiceChannel' | |
Fields
| |
Instances
newUpdateVoiceChannel Source #
Arguments
| :: Text | |
| -> VoiceChannelRequest | |
| -> UpdateVoiceChannel |
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:
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.
Constructors
| UpdateVoiceChannelResponse' | |
Fields
| |
Instances
newUpdateVoiceChannelResponse Source #
Arguments
| :: Int | |
| -> VoiceChannelResponse | |
| -> UpdateVoiceChannelResponse |
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.