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.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

  • lastModifiedDate :: Maybe Text

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

  • enabled :: Maybe Bool

    Specifies whether the APNs channel is enabled for the application.

  • 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.

  • defaultAuthenticationMethod :: Maybe Text

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

  • isArchived :: Maybe Bool

    Specifies whether the APNs channel is archived.

  • applicationId :: Maybe Text

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

  • version :: Maybe Int

    The current version of the APNs channel.

  • id :: Maybe Text

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

  • creationDate :: Maybe Text

    The date and time when the APNs channel was enabled.

  • lastModifiedBy :: Maybe Text

    The user who last modified the APNs channel.

  • hasCredential :: Maybe Bool

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

  • platform :: Text

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

Instances

Instances details
Eq APNSChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelResponse

Read APNSChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelResponse

Show 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 #

NFData APNSChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelResponse

Methods

rnf :: APNSChannelResponse -> () #

Hashable APNSChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSChannelResponse

FromJSON 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" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "APNSChannelResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "hasTokenKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "defaultAuthenticationMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "isArchived") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "lastModifiedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hasCredential") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: 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:lastModifiedDate:APNSChannelResponse', aPNSChannelResponse_lastModifiedDate - The date and time when the APNs channel was last modified.

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

$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:defaultAuthenticationMethod:APNSChannelResponse', aPNSChannelResponse_defaultAuthenticationMethod - The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.

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

$sel:applicationId:APNSChannelResponse', aPNSChannelResponse_applicationId - The unique identifier for the application that the APNs channel applies to.

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

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

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

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

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

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

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

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

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

Specifies whether the APNs channel is enabled for the application.

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_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_isArchived :: Lens' APNSChannelResponse (Maybe Bool) Source #

Specifies whether the APNs channel is archived.

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

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

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

The current version of the APNs channel.

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

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

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

The date and time when the APNs channel was enabled.

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

The user who last modified the APNs channel.

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

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

aPNSChannelResponse_platform :: Lens' APNSChannelResponse Text Source #

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