| 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.UpdateApnsChannel
Description
Enables the APNs channel for an application or updates the status and settings of the APNs channel for an application.
Synopsis
- data UpdateApnsChannel = UpdateApnsChannel' {}
- newUpdateApnsChannel :: Text -> APNSChannelRequest -> UpdateApnsChannel
- updateApnsChannel_applicationId :: Lens' UpdateApnsChannel Text
- updateApnsChannel_aPNSChannelRequest :: Lens' UpdateApnsChannel APNSChannelRequest
- data UpdateApnsChannelResponse = UpdateApnsChannelResponse' {}
- newUpdateApnsChannelResponse :: Int -> APNSChannelResponse -> UpdateApnsChannelResponse
- updateApnsChannelResponse_httpStatus :: Lens' UpdateApnsChannelResponse Int
- updateApnsChannelResponse_aPNSChannelResponse :: Lens' UpdateApnsChannelResponse APNSChannelResponse
Creating a Request
data UpdateApnsChannel Source #
See: newUpdateApnsChannel smart constructor.
Constructors
| UpdateApnsChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> APNSChannelRequest | |
| -> UpdateApnsChannel |
Create a value of UpdateApnsChannel 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:
UpdateApnsChannel, updateApnsChannel_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:aPNSChannelRequest:UpdateApnsChannel', updateApnsChannel_aPNSChannelRequest - Undocumented member.
Request Lenses
updateApnsChannel_applicationId :: Lens' UpdateApnsChannel Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
updateApnsChannel_aPNSChannelRequest :: Lens' UpdateApnsChannel APNSChannelRequest Source #
Undocumented member.
Destructuring the Response
data UpdateApnsChannelResponse Source #
See: newUpdateApnsChannelResponse smart constructor.
Constructors
| UpdateApnsChannelResponse' | |
Fields
| |
Instances
newUpdateApnsChannelResponse Source #
Arguments
| :: Int | |
| -> APNSChannelResponse | |
| -> UpdateApnsChannelResponse |
Create a value of UpdateApnsChannelResponse 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:UpdateApnsChannelResponse', updateApnsChannelResponse_httpStatus - The response's http status code.
$sel:aPNSChannelResponse:UpdateApnsChannelResponse', updateApnsChannelResponse_aPNSChannelResponse - Undocumented member.
Response Lenses
updateApnsChannelResponse_httpStatus :: Lens' UpdateApnsChannelResponse Int Source #
The response's http status code.
updateApnsChannelResponse_aPNSChannelResponse :: Lens' UpdateApnsChannelResponse APNSChannelResponse Source #
Undocumented member.