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 |
Retrieves information about the status and settings of the SMS channel for an application.
Synopsis
- data GetSmsChannel = GetSmsChannel' {}
- newGetSmsChannel :: Text -> GetSmsChannel
- getSmsChannel_applicationId :: Lens' GetSmsChannel Text
- data GetSmsChannelResponse = GetSmsChannelResponse' {}
- newGetSmsChannelResponse :: Int -> SMSChannelResponse -> GetSmsChannelResponse
- getSmsChannelResponse_httpStatus :: Lens' GetSmsChannelResponse Int
- getSmsChannelResponse_sMSChannelResponse :: Lens' GetSmsChannelResponse SMSChannelResponse
Creating a Request
data GetSmsChannel Source #
See: newGetSmsChannel
smart constructor.
GetSmsChannel' | |
|
Instances
Create a value of GetSmsChannel
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:GetSmsChannel'
, getSmsChannel_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getSmsChannel_applicationId :: Lens' GetSmsChannel 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 GetSmsChannelResponse Source #
See: newGetSmsChannelResponse
smart constructor.
GetSmsChannelResponse' | |
|
Instances
newGetSmsChannelResponse Source #
Create a value of GetSmsChannelResponse
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:GetSmsChannelResponse'
, getSmsChannelResponse_httpStatus
- The response's http status code.
$sel:sMSChannelResponse:GetSmsChannelResponse'
, getSmsChannelResponse_sMSChannelResponse
- Undocumented member.
Response Lenses
getSmsChannelResponse_httpStatus :: Lens' GetSmsChannelResponse Int Source #
The response's http status code.
getSmsChannelResponse_sMSChannelResponse :: Lens' GetSmsChannelResponse SMSChannelResponse Source #
Undocumented member.