| 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.SES.GetIdentityMailFromDomainAttributes
Description
Returns the custom MAIL FROM attributes for a list of identities (email addresses : domains).
This operation is throttled at one request per second and can only get custom MAIL FROM attributes for up to 100 identities at a time.
Synopsis
- data GetIdentityMailFromDomainAttributes = GetIdentityMailFromDomainAttributes' {
- identities :: [Text]
- newGetIdentityMailFromDomainAttributes :: GetIdentityMailFromDomainAttributes
- getIdentityMailFromDomainAttributes_identities :: Lens' GetIdentityMailFromDomainAttributes [Text]
- data GetIdentityMailFromDomainAttributesResponse = GetIdentityMailFromDomainAttributesResponse' {}
- newGetIdentityMailFromDomainAttributesResponse :: Int -> GetIdentityMailFromDomainAttributesResponse
- getIdentityMailFromDomainAttributesResponse_httpStatus :: Lens' GetIdentityMailFromDomainAttributesResponse Int
- getIdentityMailFromDomainAttributesResponse_mailFromDomainAttributes :: Lens' GetIdentityMailFromDomainAttributesResponse (HashMap Text IdentityMailFromDomainAttributes)
Creating a Request
data GetIdentityMailFromDomainAttributes Source #
Represents a request to return the Amazon SES custom MAIL FROM attributes for a list of identities. For information about using a custom MAIL FROM domain, see the Amazon SES Developer Guide.
See: newGetIdentityMailFromDomainAttributes smart constructor.
Constructors
| GetIdentityMailFromDomainAttributes' | |
Fields
| |
Instances
newGetIdentityMailFromDomainAttributes :: GetIdentityMailFromDomainAttributes Source #
Create a value of GetIdentityMailFromDomainAttributes 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:identities:GetIdentityMailFromDomainAttributes', getIdentityMailFromDomainAttributes_identities - A list of one or more identities.
Request Lenses
getIdentityMailFromDomainAttributes_identities :: Lens' GetIdentityMailFromDomainAttributes [Text] Source #
A list of one or more identities.
Destructuring the Response
data GetIdentityMailFromDomainAttributesResponse Source #
Represents the custom MAIL FROM attributes for a list of identities.
See: newGetIdentityMailFromDomainAttributesResponse smart constructor.
Constructors
| GetIdentityMailFromDomainAttributesResponse' | |
Fields
| |
Instances
newGetIdentityMailFromDomainAttributesResponse Source #
Arguments
| :: Int |
|
| -> GetIdentityMailFromDomainAttributesResponse |
Create a value of GetIdentityMailFromDomainAttributesResponse 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:GetIdentityMailFromDomainAttributesResponse', getIdentityMailFromDomainAttributesResponse_httpStatus - The response's http status code.
$sel:mailFromDomainAttributes:GetIdentityMailFromDomainAttributesResponse', getIdentityMailFromDomainAttributesResponse_mailFromDomainAttributes - A map of identities to custom MAIL FROM attributes.
Response Lenses
getIdentityMailFromDomainAttributesResponse_httpStatus :: Lens' GetIdentityMailFromDomainAttributesResponse Int Source #
The response's http status code.
getIdentityMailFromDomainAttributesResponse_mailFromDomainAttributes :: Lens' GetIdentityMailFromDomainAttributesResponse (HashMap Text IdentityMailFromDomainAttributes) Source #
A map of identities to custom MAIL FROM attributes.