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
Documentation
The receipt for the message delivered to the recipient.
See: newReceipt
smart constructor.
Receipt' | |
|
Instances
FromJSON Receipt Source # | |
Generic Receipt Source # | |
Read Receipt Source # | |
Show Receipt Source # | |
NFData Receipt Source # | |
Defined in Amazonka.ConnectParticipant.Types.Receipt | |
Eq Receipt Source # | |
Hashable Receipt Source # | |
Defined in Amazonka.ConnectParticipant.Types.Receipt | |
type Rep Receipt Source # | |
Defined in Amazonka.ConnectParticipant.Types.Receipt type Rep Receipt = D1 ('MetaData "Receipt" "Amazonka.ConnectParticipant.Types.Receipt" "amazonka-connectparticipant-2.0-I4GmkIlwxQUGg1dW7eNFQJ" 'False) (C1 ('MetaCons "Receipt'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deliveredTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "readTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recipientParticipantId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newReceipt :: Receipt Source #
Create a value of Receipt
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:deliveredTimestamp:Receipt'
, receipt_deliveredTimestamp
- The time when the message was delivered to the recipient.
$sel:readTimestamp:Receipt'
, receipt_readTimestamp
- The time when the message was read by the recipient.
$sel:recipientParticipantId:Receipt'
, receipt_recipientParticipantId
- The identifier of the recipient of the message.
receipt_deliveredTimestamp :: Lens' Receipt (Maybe Text) Source #
The time when the message was delivered to the recipient.