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 |
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.
UpdateApnsSandboxChannel' | |
|
Instances
newUpdateApnsSandboxChannel Source #
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:
$sel:applicationId: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.
UpdateApnsSandboxChannelResponse' | |
|
Instances
Eq UpdateApnsSandboxChannelResponse Source # | |
Read UpdateApnsSandboxChannelResponse Source # | |
Show UpdateApnsSandboxChannelResponse Source # | |
Generic UpdateApnsSandboxChannelResponse Source # | |
NFData UpdateApnsSandboxChannelResponse Source # | |
Defined in Amazonka.Pinpoint.UpdateApnsSandboxChannel rnf :: UpdateApnsSandboxChannelResponse -> () # | |
type Rep UpdateApnsSandboxChannelResponse Source # | |
Defined in Amazonka.Pinpoint.UpdateApnsSandboxChannel type Rep UpdateApnsSandboxChannelResponse = D1 ('MetaData "UpdateApnsSandboxChannelResponse" "Amazonka.Pinpoint.UpdateApnsSandboxChannel" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "UpdateApnsSandboxChannelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "aPNSSandboxChannelResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 APNSSandboxChannelResponse))) |
newUpdateApnsSandboxChannelResponse Source #
:: 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.