| 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.DeleteVoiceChannel
Description
Disables the voice channel for an application and deletes any existing settings for the channel.
Synopsis
- data DeleteVoiceChannel = DeleteVoiceChannel' {}
 - newDeleteVoiceChannel :: Text -> DeleteVoiceChannel
 - deleteVoiceChannel_applicationId :: Lens' DeleteVoiceChannel Text
 - data DeleteVoiceChannelResponse = DeleteVoiceChannelResponse' {}
 - newDeleteVoiceChannelResponse :: Int -> VoiceChannelResponse -> DeleteVoiceChannelResponse
 - deleteVoiceChannelResponse_httpStatus :: Lens' DeleteVoiceChannelResponse Int
 - deleteVoiceChannelResponse_voiceChannelResponse :: Lens' DeleteVoiceChannelResponse VoiceChannelResponse
 
Creating a Request
data DeleteVoiceChannel Source #
See: newDeleteVoiceChannel smart constructor.
Constructors
| DeleteVoiceChannel' | |
Fields 
  | |
Instances
newDeleteVoiceChannel Source #
Arguments
| :: Text | |
| -> DeleteVoiceChannel | 
Create a value of DeleteVoiceChannel 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:
DeleteVoiceChannel, deleteVoiceChannel_applicationId - The unique identifier for the application. This identifier is displayed
 as the Project ID on the Amazon Pinpoint console.
Request Lenses
deleteVoiceChannel_applicationId :: Lens' DeleteVoiceChannel Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
Destructuring the Response
data DeleteVoiceChannelResponse Source #
See: newDeleteVoiceChannelResponse smart constructor.
Constructors
| DeleteVoiceChannelResponse' | |
Fields 
  | |
Instances
newDeleteVoiceChannelResponse Source #
Arguments
| :: Int | |
| -> VoiceChannelResponse | |
| -> DeleteVoiceChannelResponse | 
Create a value of DeleteVoiceChannelResponse 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:DeleteVoiceChannelResponse', deleteVoiceChannelResponse_httpStatus - The response's http status code.
$sel:voiceChannelResponse:DeleteVoiceChannelResponse', deleteVoiceChannelResponse_voiceChannelResponse - Undocumented member.
Response Lenses
deleteVoiceChannelResponse_httpStatus :: Lens' DeleteVoiceChannelResponse Int Source #
The response's http status code.
deleteVoiceChannelResponse_voiceChannelResponse :: Lens' DeleteVoiceChannelResponse VoiceChannelResponse Source #
Undocumented member.