| 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.DeleteSmsChannel
Description
Disables the SMS channel for an application and deletes any existing settings for the channel.
Synopsis
- data DeleteSmsChannel = DeleteSmsChannel' {}
 - newDeleteSmsChannel :: Text -> DeleteSmsChannel
 - deleteSmsChannel_applicationId :: Lens' DeleteSmsChannel Text
 - data DeleteSmsChannelResponse = DeleteSmsChannelResponse' {}
 - newDeleteSmsChannelResponse :: Int -> SMSChannelResponse -> DeleteSmsChannelResponse
 - deleteSmsChannelResponse_httpStatus :: Lens' DeleteSmsChannelResponse Int
 - deleteSmsChannelResponse_sMSChannelResponse :: Lens' DeleteSmsChannelResponse SMSChannelResponse
 
Creating a Request
data DeleteSmsChannel Source #
See: newDeleteSmsChannel smart constructor.
Constructors
| DeleteSmsChannel' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> DeleteSmsChannel | 
Create a value of DeleteSmsChannel 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:
DeleteSmsChannel, deleteSmsChannel_applicationId - The unique identifier for the application. This identifier is displayed
 as the Project ID on the Amazon Pinpoint console.
Request Lenses
deleteSmsChannel_applicationId :: Lens' DeleteSmsChannel 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 DeleteSmsChannelResponse Source #
See: newDeleteSmsChannelResponse smart constructor.
Constructors
| DeleteSmsChannelResponse' | |
Fields 
  | |
Instances
newDeleteSmsChannelResponse Source #
Arguments
| :: Int | |
| -> SMSChannelResponse | |
| -> DeleteSmsChannelResponse | 
Create a value of DeleteSmsChannelResponse 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:DeleteSmsChannelResponse', deleteSmsChannelResponse_httpStatus - The response's http status code.
$sel:sMSChannelResponse:DeleteSmsChannelResponse', deleteSmsChannelResponse_sMSChannelResponse - Undocumented member.
Response Lenses
deleteSmsChannelResponse_httpStatus :: Lens' DeleteSmsChannelResponse Int Source #
The response's http status code.
deleteSmsChannelResponse_sMSChannelResponse :: Lens' DeleteSmsChannelResponse SMSChannelResponse Source #
Undocumented member.