libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Pinpoint.Types.APNSChannelRequest

Description

 
Synopsis

Documentation

data APNSChannelRequest Source #

Specifies the status and settings of the APNs (Apple Push Notification service) channel for an application.

See: newAPNSChannelRequest smart constructor.

Constructors

APNSChannelRequest' 

Fields

  • tokenKey :: Maybe Text

    The authentication key to use for APNs tokens.

  • privateKey :: Maybe Text

    The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.

  • enabled :: Maybe Bool

    Specifies whether to enable the APNs channel for the application.

  • teamId :: Maybe Text

    The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.

  • bundleId :: Maybe Text

    The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.

  • defaultAuthenticationMethod :: Maybe Text

    The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or certificate.

  • certificate :: Maybe Text

    The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.

  • tokenKeyId :: Maybe Text

    The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.

Instances

Instances details
Eq APNSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelRequest

Read APNSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelRequest

Show APNSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelRequest

Generic APNSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelRequest

Associated Types

type Rep APNSChannelRequest :: Type -> Type #

NFData APNSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelRequest

Methods

rnf :: APNSChannelRequest -> () #

Hashable APNSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelRequest

ToJSON APNSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelRequest

type Rep APNSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelRequest

type Rep APNSChannelRequest = D1 ('MetaData "APNSChannelRequest" "Amazonka.Pinpoint.Types.APNSChannelRequest" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "APNSChannelRequest'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "tokenKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "privateKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "teamId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "bundleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "defaultAuthenticationMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "certificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tokenKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newAPNSChannelRequest :: APNSChannelRequest Source #

Create a value of APNSChannelRequest 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:tokenKey:APNSChannelRequest', aPNSChannelRequest_tokenKey - The authentication key to use for APNs tokens.

$sel:privateKey:APNSChannelRequest', aPNSChannelRequest_privateKey - The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.

$sel:enabled:APNSChannelRequest', aPNSChannelRequest_enabled - Specifies whether to enable the APNs channel for the application.

$sel:teamId:APNSChannelRequest', aPNSChannelRequest_teamId - The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.

$sel:bundleId:APNSChannelRequest', aPNSChannelRequest_bundleId - The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.

$sel:defaultAuthenticationMethod:APNSChannelRequest', aPNSChannelRequest_defaultAuthenticationMethod - The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or certificate.

$sel:certificate:APNSChannelRequest', aPNSChannelRequest_certificate - The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.

$sel:tokenKeyId:APNSChannelRequest', aPNSChannelRequest_tokenKeyId - The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.

aPNSChannelRequest_tokenKey :: Lens' APNSChannelRequest (Maybe Text) Source #

The authentication key to use for APNs tokens.

aPNSChannelRequest_privateKey :: Lens' APNSChannelRequest (Maybe Text) Source #

The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.

aPNSChannelRequest_enabled :: Lens' APNSChannelRequest (Maybe Bool) Source #

Specifies whether to enable the APNs channel for the application.

aPNSChannelRequest_teamId :: Lens' APNSChannelRequest (Maybe Text) Source #

The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.

aPNSChannelRequest_bundleId :: Lens' APNSChannelRequest (Maybe Text) Source #

The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.

aPNSChannelRequest_defaultAuthenticationMethod :: Lens' APNSChannelRequest (Maybe Text) Source #

The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or certificate.

aPNSChannelRequest_certificate :: Lens' APNSChannelRequest (Maybe Text) Source #

The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.

aPNSChannelRequest_tokenKeyId :: Lens' APNSChannelRequest (Maybe Text) Source #

The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.