Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data APNSChannelResponse = APNSChannelResponse' {
- applicationId :: Maybe Text
- creationDate :: Maybe Text
- defaultAuthenticationMethod :: Maybe Text
- enabled :: Maybe Bool
- hasCredential :: Maybe Bool
- hasTokenKey :: Maybe Bool
- id :: Maybe Text
- isArchived :: Maybe Bool
- lastModifiedBy :: Maybe Text
- lastModifiedDate :: Maybe Text
- version :: Maybe Int
- platform :: Text
- newAPNSChannelResponse :: Text -> APNSChannelResponse
- aPNSChannelResponse_applicationId :: Lens' APNSChannelResponse (Maybe Text)
- aPNSChannelResponse_creationDate :: Lens' APNSChannelResponse (Maybe Text)
- aPNSChannelResponse_defaultAuthenticationMethod :: Lens' APNSChannelResponse (Maybe Text)
- aPNSChannelResponse_enabled :: Lens' APNSChannelResponse (Maybe Bool)
- aPNSChannelResponse_hasCredential :: Lens' APNSChannelResponse (Maybe Bool)
- aPNSChannelResponse_hasTokenKey :: Lens' APNSChannelResponse (Maybe Bool)
- aPNSChannelResponse_id :: Lens' APNSChannelResponse (Maybe Text)
- aPNSChannelResponse_isArchived :: Lens' APNSChannelResponse (Maybe Bool)
- aPNSChannelResponse_lastModifiedBy :: Lens' APNSChannelResponse (Maybe Text)
- aPNSChannelResponse_lastModifiedDate :: Lens' APNSChannelResponse (Maybe Text)
- aPNSChannelResponse_version :: Lens' APNSChannelResponse (Maybe Int)
- aPNSChannelResponse_platform :: Lens' APNSChannelResponse Text
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.
APNSChannelResponse' | |
|
Instances
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.