amazonka-pinpoint-2.0: Amazon Pinpoint SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Pinpoint.Types.APNSChannelResponse

Description

 
Synopsis

Documentation

data APNSChannelResponse Source #

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

See: newAPNSChannelResponse smart constructor.

Constructors

APNSChannelResponse' 

Fields

  • applicationId :: Maybe Text

    The unique identifier for the application that the APNs channel applies to.

  • creationDate :: Maybe Text

    The date and time when the APNs channel was enabled.

  • defaultAuthenticationMethod :: Maybe Text

    The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.

  • enabled :: Maybe Bool

    Specifies whether the APNs channel is enabled for the application.

  • hasCredential :: Maybe Bool

    (Not used) This property is retained only for backward compatibility.

  • hasTokenKey :: Maybe Bool

    Specifies whether the APNs channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.

  • id :: Maybe Text

    (Deprecated) An identifier for the APNs channel. This property is retained only for backward compatibility.

  • isArchived :: Maybe Bool

    Specifies whether the APNs channel is archived.

  • lastModifiedBy :: Maybe Text

    The user who last modified the APNs channel.

  • lastModifiedDate :: Maybe Text

    The date and time when the APNs channel was last modified.

  • version :: Maybe Int

    The current version of the APNs channel.

  • platform :: Text

    The type of messaging or notification platform for the channel. For the APNs channel, this value is APNS.

Instances

Instances details
FromJSON APNSChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelResponse

Generic APNSChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelResponse

Associated Types

type Rep APNSChannelResponse :: Type -> Type #

Read APNSChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelResponse

Show APNSChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelResponse

NFData APNSChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelResponse

Methods

rnf :: APNSChannelResponse -> () #

Eq APNSChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelResponse

Hashable APNSChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelResponse

type Rep APNSChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelResponse

type Rep APNSChannelResponse = D1 ('MetaData "APNSChannelResponse" "Amazonka.Pinpoint.Types.APNSChannelResponse" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "APNSChannelResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "defaultAuthenticationMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "hasCredential") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "hasTokenKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "isArchived") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "lastModifiedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newAPNSChannelResponse Source #

Create a value of APNSChannelResponse 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:APNSChannelResponse', aPNSChannelResponse_applicationId - The unique identifier for the application that the APNs channel applies to.

$sel:creationDate:APNSChannelResponse', aPNSChannelResponse_creationDate - The date and time when the APNs channel was enabled.

$sel:defaultAuthenticationMethod:APNSChannelResponse', aPNSChannelResponse_defaultAuthenticationMethod - The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.

$sel:enabled:APNSChannelResponse', aPNSChannelResponse_enabled - Specifies whether the APNs channel is enabled for the application.

$sel:hasCredential:APNSChannelResponse', aPNSChannelResponse_hasCredential - (Not used) This property is retained only for backward compatibility.

$sel:hasTokenKey:APNSChannelResponse', aPNSChannelResponse_hasTokenKey - Specifies whether the APNs channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.

$sel:id:APNSChannelResponse', aPNSChannelResponse_id - (Deprecated) An identifier for the APNs channel. This property is retained only for backward compatibility.

$sel:isArchived:APNSChannelResponse', aPNSChannelResponse_isArchived - Specifies whether the APNs channel is archived.

$sel:lastModifiedBy:APNSChannelResponse', aPNSChannelResponse_lastModifiedBy - The user who last modified the APNs channel.

$sel:lastModifiedDate:APNSChannelResponse', aPNSChannelResponse_lastModifiedDate - The date and time when the APNs channel was last modified.

$sel:version:APNSChannelResponse', aPNSChannelResponse_version - The current version of the APNs channel.

$sel:platform:APNSChannelResponse', aPNSChannelResponse_platform - The type of messaging or notification platform for the channel. For the APNs channel, this value is APNS.

aPNSChannelResponse_applicationId :: Lens' APNSChannelResponse (Maybe Text) Source #

The unique identifier for the application that the APNs channel applies to.

aPNSChannelResponse_creationDate :: Lens' APNSChannelResponse (Maybe Text) Source #

The date and time when the APNs channel was enabled.

aPNSChannelResponse_defaultAuthenticationMethod :: Lens' APNSChannelResponse (Maybe Text) Source #

The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.

aPNSChannelResponse_enabled :: Lens' APNSChannelResponse (Maybe Bool) Source #

Specifies whether the APNs channel is enabled for the application.

aPNSChannelResponse_hasCredential :: Lens' APNSChannelResponse (Maybe Bool) Source #

(Not used) This property is retained only for backward compatibility.

aPNSChannelResponse_hasTokenKey :: Lens' APNSChannelResponse (Maybe Bool) Source #

Specifies whether the APNs channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.

aPNSChannelResponse_id :: Lens' APNSChannelResponse (Maybe Text) Source #

(Deprecated) An identifier for the APNs channel. This property is retained only for backward compatibility.

aPNSChannelResponse_isArchived :: Lens' APNSChannelResponse (Maybe Bool) Source #

Specifies whether the APNs channel is archived.

aPNSChannelResponse_lastModifiedBy :: Lens' APNSChannelResponse (Maybe Text) Source #

The user who last modified the APNs channel.

aPNSChannelResponse_lastModifiedDate :: Lens' APNSChannelResponse (Maybe Text) Source #

The date and time when the APNs channel was last modified.

aPNSChannelResponse_version :: Lens' APNSChannelResponse (Maybe Int) Source #

The current version of the APNs channel.

aPNSChannelResponse_platform :: Lens' APNSChannelResponse Text Source #

The type of messaging or notification platform for the channel. For the APNs channel, this value is APNS.