| 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.GetSmsChannel
Description
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.
Constructors
| GetSmsChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetSmsChannel |
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:
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.
Constructors
| GetSmsChannelResponse' | |
Fields
| |
Instances
newGetSmsChannelResponse Source #
Arguments
| :: Int | |
| -> SMSChannelResponse | |
| -> GetSmsChannelResponse |
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.