Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves information about a specific email address that's on the suppression list for your account.
Synopsis
- data GetSuppressedDestination = GetSuppressedDestination' {
- emailAddress :: Text
- newGetSuppressedDestination :: Text -> GetSuppressedDestination
- getSuppressedDestination_emailAddress :: Lens' GetSuppressedDestination Text
- data GetSuppressedDestinationResponse = GetSuppressedDestinationResponse' {}
- newGetSuppressedDestinationResponse :: Int -> SuppressedDestination -> GetSuppressedDestinationResponse
- getSuppressedDestinationResponse_httpStatus :: Lens' GetSuppressedDestinationResponse Int
- getSuppressedDestinationResponse_suppressedDestination :: Lens' GetSuppressedDestinationResponse SuppressedDestination
Creating a Request
data GetSuppressedDestination Source #
A request to retrieve information about an email address that's on the suppression list for your account.
See: newGetSuppressedDestination
smart constructor.
GetSuppressedDestination' | |
|
Instances
newGetSuppressedDestination Source #
Create a value of GetSuppressedDestination
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:emailAddress:GetSuppressedDestination'
, getSuppressedDestination_emailAddress
- The email address that's on the account suppression list.
Request Lenses
getSuppressedDestination_emailAddress :: Lens' GetSuppressedDestination Text Source #
The email address that's on the account suppression list.
Destructuring the Response
data GetSuppressedDestinationResponse Source #
Information about the suppressed email address.
See: newGetSuppressedDestinationResponse
smart constructor.
GetSuppressedDestinationResponse' | |
|
Instances
Eq GetSuppressedDestinationResponse Source # | |
Read GetSuppressedDestinationResponse Source # | |
Show GetSuppressedDestinationResponse Source # | |
Defined in Amazonka.SESV2.GetSuppressedDestination | |
Generic GetSuppressedDestinationResponse Source # | |
NFData GetSuppressedDestinationResponse Source # | |
Defined in Amazonka.SESV2.GetSuppressedDestination rnf :: GetSuppressedDestinationResponse -> () # | |
type Rep GetSuppressedDestinationResponse Source # | |
Defined in Amazonka.SESV2.GetSuppressedDestination type Rep GetSuppressedDestinationResponse = D1 ('MetaData "GetSuppressedDestinationResponse" "Amazonka.SESV2.GetSuppressedDestination" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "GetSuppressedDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "suppressedDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SuppressedDestination))) |
newGetSuppressedDestinationResponse Source #
:: Int | |
-> SuppressedDestination |
|
-> GetSuppressedDestinationResponse |
Create a value of GetSuppressedDestinationResponse
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:httpStatus:GetSuppressedDestinationResponse'
, getSuppressedDestinationResponse_httpStatus
- The response's http status code.
$sel:suppressedDestination:GetSuppressedDestinationResponse'
, getSuppressedDestinationResponse_suppressedDestination
- An object containing information about the suppressed email address.
Response Lenses
getSuppressedDestinationResponse_httpStatus :: Lens' GetSuppressedDestinationResponse Int Source #
The response's http status code.
getSuppressedDestinationResponse_suppressedDestination :: Lens' GetSuppressedDestinationResponse SuppressedDestination Source #
An object containing information about the suppressed email address.