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 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.
UpdateSmsChannel' | |
|
Instances
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:
$sel:applicationId: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.
UpdateSmsChannelResponse' | |
|
Instances
newUpdateSmsChannelResponse Source #
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.