| 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.GetGcmChannel
Description
Retrieves information about the status and settings of the GCM channel for an application.
Synopsis
- data GetGcmChannel = GetGcmChannel' {}
- newGetGcmChannel :: Text -> GetGcmChannel
- getGcmChannel_applicationId :: Lens' GetGcmChannel Text
- data GetGcmChannelResponse = GetGcmChannelResponse' {}
- newGetGcmChannelResponse :: Int -> GCMChannelResponse -> GetGcmChannelResponse
- getGcmChannelResponse_httpStatus :: Lens' GetGcmChannelResponse Int
- getGcmChannelResponse_gCMChannelResponse :: Lens' GetGcmChannelResponse GCMChannelResponse
Creating a Request
data GetGcmChannel Source #
See: newGetGcmChannel smart constructor.
Constructors
| GetGcmChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetGcmChannel |
Create a value of GetGcmChannel 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:
GetGcmChannel, getGcmChannel_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getGcmChannel_applicationId :: Lens' GetGcmChannel 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 GetGcmChannelResponse Source #
See: newGetGcmChannelResponse smart constructor.
Constructors
| GetGcmChannelResponse' | |
Fields
| |
Instances
newGetGcmChannelResponse Source #
Arguments
| :: Int | |
| -> GCMChannelResponse | |
| -> GetGcmChannelResponse |
Create a value of GetGcmChannelResponse 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:GetGcmChannelResponse', getGcmChannelResponse_httpStatus - The response's http status code.
$sel:gCMChannelResponse:GetGcmChannelResponse', getGcmChannelResponse_gCMChannelResponse - Undocumented member.
Response Lenses
getGcmChannelResponse_httpStatus :: Lens' GetGcmChannelResponse Int Source #
The response's http status code.
getGcmChannelResponse_gCMChannelResponse :: Lens' GetGcmChannelResponse GCMChannelResponse Source #
Undocumented member.