| 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.UpdateSmsChannel
Description
Enables the SMS channel for an application or updates the status and settings of the SMS channel for an application.
Synopsis
- data UpdateSmsChannel = UpdateSmsChannel' {}
- newUpdateSmsChannel :: Text -> SMSChannelRequest -> UpdateSmsChannel
- updateSmsChannel_applicationId :: Lens' UpdateSmsChannel Text
- updateSmsChannel_sMSChannelRequest :: Lens' UpdateSmsChannel SMSChannelRequest
- data UpdateSmsChannelResponse = UpdateSmsChannelResponse' {}
- newUpdateSmsChannelResponse :: Int -> SMSChannelResponse -> UpdateSmsChannelResponse
- updateSmsChannelResponse_httpStatus :: Lens' UpdateSmsChannelResponse Int
- updateSmsChannelResponse_sMSChannelResponse :: Lens' UpdateSmsChannelResponse SMSChannelResponse
Creating a Request
data UpdateSmsChannel Source #
See: newUpdateSmsChannel smart constructor.
Constructors
| UpdateSmsChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> SMSChannelRequest | |
| -> UpdateSmsChannel |
Create a value of UpdateSmsChannel 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:
UpdateSmsChannel, updateSmsChannel_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:sMSChannelRequest:UpdateSmsChannel', updateSmsChannel_sMSChannelRequest - Undocumented member.
Request Lenses
updateSmsChannel_applicationId :: Lens' UpdateSmsChannel Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
updateSmsChannel_sMSChannelRequest :: Lens' UpdateSmsChannel SMSChannelRequest Source #
Undocumented member.
Destructuring the Response
data UpdateSmsChannelResponse Source #
See: newUpdateSmsChannelResponse smart constructor.
Constructors
| UpdateSmsChannelResponse' | |
Fields
| |
Instances
newUpdateSmsChannelResponse Source #
Arguments
| :: Int | |
| -> SMSChannelResponse | |
| -> UpdateSmsChannelResponse |
Create a value of UpdateSmsChannelResponse 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:UpdateSmsChannelResponse', updateSmsChannelResponse_httpStatus - The response's http status code.
$sel:sMSChannelResponse:UpdateSmsChannelResponse', updateSmsChannelResponse_sMSChannelResponse - Undocumented member.
Response Lenses
updateSmsChannelResponse_httpStatus :: Lens' UpdateSmsChannelResponse Int Source #
The response's http status code.
updateSmsChannelResponse_sMSChannelResponse :: Lens' UpdateSmsChannelResponse SMSChannelResponse Source #
Undocumented member.