| 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.UpdateApnsSandboxChannel
Description
Enables the APNs sandbox channel for an application or updates the status and settings of the APNs sandbox channel for an application.
Synopsis
- data UpdateApnsSandboxChannel = UpdateApnsSandboxChannel' {}
- newUpdateApnsSandboxChannel :: Text -> APNSSandboxChannelRequest -> UpdateApnsSandboxChannel
- updateApnsSandboxChannel_applicationId :: Lens' UpdateApnsSandboxChannel Text
- updateApnsSandboxChannel_aPNSSandboxChannelRequest :: Lens' UpdateApnsSandboxChannel APNSSandboxChannelRequest
- data UpdateApnsSandboxChannelResponse = UpdateApnsSandboxChannelResponse' {}
- newUpdateApnsSandboxChannelResponse :: Int -> APNSSandboxChannelResponse -> UpdateApnsSandboxChannelResponse
- updateApnsSandboxChannelResponse_httpStatus :: Lens' UpdateApnsSandboxChannelResponse Int
- updateApnsSandboxChannelResponse_aPNSSandboxChannelResponse :: Lens' UpdateApnsSandboxChannelResponse APNSSandboxChannelResponse
Creating a Request
data UpdateApnsSandboxChannel Source #
See: newUpdateApnsSandboxChannel smart constructor.
Constructors
| UpdateApnsSandboxChannel' | |
Fields
| |
Instances
newUpdateApnsSandboxChannel Source #
Arguments
| :: Text | |
| -> APNSSandboxChannelRequest | |
| -> UpdateApnsSandboxChannel |
Create a value of UpdateApnsSandboxChannel 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:
UpdateApnsSandboxChannel, updateApnsSandboxChannel_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:aPNSSandboxChannelRequest:UpdateApnsSandboxChannel', updateApnsSandboxChannel_aPNSSandboxChannelRequest - Undocumented member.
Request Lenses
updateApnsSandboxChannel_applicationId :: Lens' UpdateApnsSandboxChannel Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
updateApnsSandboxChannel_aPNSSandboxChannelRequest :: Lens' UpdateApnsSandboxChannel APNSSandboxChannelRequest Source #
Undocumented member.
Destructuring the Response
data UpdateApnsSandboxChannelResponse Source #
See: newUpdateApnsSandboxChannelResponse smart constructor.
Constructors
| UpdateApnsSandboxChannelResponse' | |
Fields
| |
Instances
newUpdateApnsSandboxChannelResponse Source #
Arguments
| :: Int | |
| -> APNSSandboxChannelResponse |
|
| -> UpdateApnsSandboxChannelResponse |
Create a value of UpdateApnsSandboxChannelResponse 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:UpdateApnsSandboxChannelResponse', updateApnsSandboxChannelResponse_httpStatus - The response's http status code.
$sel:aPNSSandboxChannelResponse:UpdateApnsSandboxChannelResponse', updateApnsSandboxChannelResponse_aPNSSandboxChannelResponse - Undocumented member.
Response Lenses
updateApnsSandboxChannelResponse_httpStatus :: Lens' UpdateApnsSandboxChannelResponse Int Source #
The response's http status code.