| 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 |
Amazonka.Pinpoint.Types.ChannelResponse
Description
Synopsis
- data ChannelResponse = ChannelResponse' {
- applicationId :: Maybe Text
- creationDate :: Maybe Text
- enabled :: Maybe Bool
- hasCredential :: Maybe Bool
- id :: Maybe Text
- isArchived :: Maybe Bool
- lastModifiedBy :: Maybe Text
- lastModifiedDate :: Maybe Text
- version :: Maybe Int
- newChannelResponse :: ChannelResponse
- channelResponse_applicationId :: Lens' ChannelResponse (Maybe Text)
- channelResponse_creationDate :: Lens' ChannelResponse (Maybe Text)
- channelResponse_enabled :: Lens' ChannelResponse (Maybe Bool)
- channelResponse_hasCredential :: Lens' ChannelResponse (Maybe Bool)
- channelResponse_id :: Lens' ChannelResponse (Maybe Text)
- channelResponse_isArchived :: Lens' ChannelResponse (Maybe Bool)
- channelResponse_lastModifiedBy :: Lens' ChannelResponse (Maybe Text)
- channelResponse_lastModifiedDate :: Lens' ChannelResponse (Maybe Text)
- channelResponse_version :: Lens' ChannelResponse (Maybe Int)
Documentation
data ChannelResponse Source #
Provides information about the general settings and status of a channel for an application.
See: newChannelResponse smart constructor.
Constructors
| ChannelResponse' | |
Fields
| |
Instances
newChannelResponse :: ChannelResponse Source #
Create a value of ChannelResponse 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:ChannelResponse', channelResponse_applicationId - The unique identifier for the application.
$sel:creationDate:ChannelResponse', channelResponse_creationDate - The date and time, in ISO 8601 format, when the channel was enabled.
$sel:enabled:ChannelResponse', channelResponse_enabled - Specifies whether the channel is enabled for the application.
$sel:hasCredential:ChannelResponse', channelResponse_hasCredential - (Not used) This property is retained only for backward compatibility.
$sel:id:ChannelResponse', channelResponse_id - (Deprecated) An identifier for the channel. This property is retained
only for backward compatibility.
$sel:isArchived:ChannelResponse', channelResponse_isArchived - Specifies whether the channel is archived.
$sel:lastModifiedBy:ChannelResponse', channelResponse_lastModifiedBy - The user who last modified the channel.
$sel:lastModifiedDate:ChannelResponse', channelResponse_lastModifiedDate - The date and time, in ISO 8601 format, when the channel was last
modified.
$sel:version:ChannelResponse', channelResponse_version - The current version of the channel.
channelResponse_applicationId :: Lens' ChannelResponse (Maybe Text) Source #
The unique identifier for the application.
channelResponse_creationDate :: Lens' ChannelResponse (Maybe Text) Source #
The date and time, in ISO 8601 format, when the channel was enabled.
channelResponse_enabled :: Lens' ChannelResponse (Maybe Bool) Source #
Specifies whether the channel is enabled for the application.
channelResponse_hasCredential :: Lens' ChannelResponse (Maybe Bool) Source #
(Not used) This property is retained only for backward compatibility.
channelResponse_id :: Lens' ChannelResponse (Maybe Text) Source #
(Deprecated) An identifier for the channel. This property is retained only for backward compatibility.
channelResponse_isArchived :: Lens' ChannelResponse (Maybe Bool) Source #
Specifies whether the channel is archived.
channelResponse_lastModifiedBy :: Lens' ChannelResponse (Maybe Text) Source #
The user who last modified the channel.
channelResponse_lastModifiedDate :: Lens' ChannelResponse (Maybe Text) Source #
The date and time, in ISO 8601 format, when the channel was last modified.
channelResponse_version :: Lens' ChannelResponse (Maybe Int) Source #
The current version of the channel.