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 OptedOutNumberInformation = OptedOutNumberInformation' {}
- newOptedOutNumberInformation :: Text -> UTCTime -> Bool -> OptedOutNumberInformation
- optedOutNumberInformation_optedOutNumber :: Lens' OptedOutNumberInformation Text
- optedOutNumberInformation_optedOutTimestamp :: Lens' OptedOutNumberInformation UTCTime
- optedOutNumberInformation_endUserOptedOut :: Lens' OptedOutNumberInformation Bool
Documentation
data OptedOutNumberInformation Source #
The information for an opted out number in an Amazon Web Services account.
See: newOptedOutNumberInformation
smart constructor.
OptedOutNumberInformation' | |
|
Instances
newOptedOutNumberInformation Source #
:: Text | |
-> UTCTime | |
-> Bool | |
-> OptedOutNumberInformation |
Create a value of OptedOutNumberInformation
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:optedOutNumber:OptedOutNumberInformation'
, optedOutNumberInformation_optedOutNumber
- The phone number that is opted out.
$sel:optedOutTimestamp:OptedOutNumberInformation'
, optedOutNumberInformation_optedOutTimestamp
- The time that the op tout occurred, in
UNIX epoch time format.
$sel:endUserOptedOut:OptedOutNumberInformation'
, optedOutNumberInformation_endUserOptedOut
- This is set to true if it was the end recipient that opted out.
optedOutNumberInformation_optedOutNumber :: Lens' OptedOutNumberInformation Text Source #
The phone number that is opted out.
optedOutNumberInformation_optedOutTimestamp :: Lens' OptedOutNumberInformation UTCTime Source #
The time that the op tout occurred, in UNIX epoch time format.
optedOutNumberInformation_endUserOptedOut :: Lens' OptedOutNumberInformation Bool Source #
This is set to true if it was the end recipient that opted out.