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

Description

 
Synopsis

Documentation

data APNSVoipChannelResponse Source #

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

See: newAPNSVoipChannelResponse smart constructor.

Constructors

APNSVoipChannelResponse' 

Fields

  • applicationId :: Maybe Text

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

  • creationDate :: Maybe Text

    The date and time when the APNs VoIP 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 VoIP 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 VoIP 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 VoIP channel. This property is retained only for backward compatibility.

  • isArchived :: Maybe Bool

    Specifies whether the APNs VoIP channel is archived.

  • lastModifiedBy :: Maybe Text

    The user who last modified the APNs VoIP channel.

  • lastModifiedDate :: Maybe Text

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

  • version :: Maybe Int

    The current version of the APNs VoIP channel.

  • platform :: Text

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

Instances

Instances details
FromJSON APNSVoipChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSVoipChannelResponse

Generic APNSVoipChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSVoipChannelResponse

Associated Types

type Rep APNSVoipChannelResponse :: Type -> Type #

Read APNSVoipChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSVoipChannelResponse

Show APNSVoipChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSVoipChannelResponse

NFData APNSVoipChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSVoipChannelResponse

Methods

rnf :: APNSVoipChannelResponse -> () #

Eq APNSVoipChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSVoipChannelResponse

Hashable APNSVoipChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSVoipChannelResponse

type Rep APNSVoipChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.APNSVoipChannelResponse

type Rep APNSVoipChannelResponse = D1 ('MetaData "APNSVoipChannelResponse" "Amazonka.Pinpoint.Types.APNSVoipChannelResponse" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "APNSVoipChannelResponse'" '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))))))

newAPNSVoipChannelResponse Source #

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

$sel:creationDate:APNSVoipChannelResponse', aPNSVoipChannelResponse_creationDate - The date and time when the APNs VoIP channel was enabled.

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

$sel:enabled:APNSVoipChannelResponse', aPNSVoipChannelResponse_enabled - Specifies whether the APNs VoIP channel is enabled for the application.

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

$sel:hasTokenKey:APNSVoipChannelResponse', aPNSVoipChannelResponse_hasTokenKey - Specifies whether the APNs VoIP 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:APNSVoipChannelResponse', aPNSVoipChannelResponse_id - (Deprecated) An identifier for the APNs VoIP channel. This property is retained only for backward compatibility.

$sel:isArchived:APNSVoipChannelResponse', aPNSVoipChannelResponse_isArchived - Specifies whether the APNs VoIP channel is archived.

$sel:lastModifiedBy:APNSVoipChannelResponse', aPNSVoipChannelResponse_lastModifiedBy - The user who last modified the APNs VoIP channel.

$sel:lastModifiedDate:APNSVoipChannelResponse', aPNSVoipChannelResponse_lastModifiedDate - The date and time when the APNs VoIP channel was last modified.

$sel:version:APNSVoipChannelResponse', aPNSVoipChannelResponse_version - The current version of the APNs VoIP channel.

$sel:platform:APNSVoipChannelResponse', aPNSVoipChannelResponse_platform - The type of messaging or notification platform for the channel. For the APNs VoIP channel, this value is APNS_VOIP.

aPNSVoipChannelResponse_applicationId :: Lens' APNSVoipChannelResponse (Maybe Text) Source #

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

aPNSVoipChannelResponse_creationDate :: Lens' APNSVoipChannelResponse (Maybe Text) Source #

The date and time when the APNs VoIP channel was enabled.

aPNSVoipChannelResponse_defaultAuthenticationMethod :: Lens' APNSVoipChannelResponse (Maybe Text) Source #

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

aPNSVoipChannelResponse_enabled :: Lens' APNSVoipChannelResponse (Maybe Bool) Source #

Specifies whether the APNs VoIP channel is enabled for the application.

aPNSVoipChannelResponse_hasCredential :: Lens' APNSVoipChannelResponse (Maybe Bool) Source #

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

aPNSVoipChannelResponse_hasTokenKey :: Lens' APNSVoipChannelResponse (Maybe Bool) Source #

Specifies whether the APNs VoIP 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.

aPNSVoipChannelResponse_id :: Lens' APNSVoipChannelResponse (Maybe Text) Source #

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

aPNSVoipChannelResponse_isArchived :: Lens' APNSVoipChannelResponse (Maybe Bool) Source #

Specifies whether the APNs VoIP channel is archived.

aPNSVoipChannelResponse_lastModifiedBy :: Lens' APNSVoipChannelResponse (Maybe Text) Source #

The user who last modified the APNs VoIP channel.

aPNSVoipChannelResponse_lastModifiedDate :: Lens' APNSVoipChannelResponse (Maybe Text) Source #

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

aPNSVoipChannelResponse_version :: Lens' APNSVoipChannelResponse (Maybe Int) Source #

The current version of the APNs VoIP channel.

aPNSVoipChannelResponse_platform :: Lens' APNSVoipChannelResponse Text Source #

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