amazonka-workmail-2.0: Amazon WorkMail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WorkMail.GetMailDomain

Description

Gets details for a mail domain, including domain records required to configure your domain with recommended security.

Synopsis

Creating a Request

data GetMailDomain Source #

See: newGetMailDomain smart constructor.

Constructors

GetMailDomain' 

Fields

Instances

Instances details
ToJSON GetMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

ToHeaders GetMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

ToPath GetMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

ToQuery GetMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

AWSRequest GetMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

Associated Types

type AWSResponse GetMailDomain #

Generic GetMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

Associated Types

type Rep GetMailDomain :: Type -> Type #

Read GetMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

Show GetMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

NFData GetMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

Methods

rnf :: GetMailDomain -> () #

Eq GetMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

Hashable GetMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

type AWSResponse GetMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

type Rep GetMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

type Rep GetMailDomain = D1 ('MetaData "GetMailDomain" "Amazonka.WorkMail.GetMailDomain" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "GetMailDomain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetMailDomain Source #

Create a value of GetMailDomain 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:

GetMailDomain, getMailDomain_organizationId - The WorkMail organization for which the domain is retrieved.

GetMailDomain, getMailDomain_domainName - The domain from which you want to retrieve details.

Request Lenses

getMailDomain_organizationId :: Lens' GetMailDomain Text Source #

The WorkMail organization for which the domain is retrieved.

getMailDomain_domainName :: Lens' GetMailDomain Text Source #

The domain from which you want to retrieve details.

Destructuring the Response

data GetMailDomainResponse Source #

See: newGetMailDomainResponse smart constructor.

Constructors

GetMailDomainResponse' 

Fields

Instances

Instances details
Generic GetMailDomainResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

Associated Types

type Rep GetMailDomainResponse :: Type -> Type #

Read GetMailDomainResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

Show GetMailDomainResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

NFData GetMailDomainResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

Methods

rnf :: GetMailDomainResponse -> () #

Eq GetMailDomainResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

type Rep GetMailDomainResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailDomain

type Rep GetMailDomainResponse = D1 ('MetaData "GetMailDomainResponse" "Amazonka.WorkMail.GetMailDomain" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "GetMailDomainResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dkimVerificationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DnsRecordVerificationStatus)) :*: (S1 ('MetaSel ('Just "isDefault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isTestDomain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "ownershipVerificationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DnsRecordVerificationStatus)) :*: (S1 ('MetaSel ('Just "records") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DnsRecord])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetMailDomainResponse Source #

Create a value of GetMailDomainResponse 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:dkimVerificationStatus:GetMailDomainResponse', getMailDomainResponse_dkimVerificationStatus - Indicates the status of a DKIM verification.

$sel:isDefault:GetMailDomainResponse', getMailDomainResponse_isDefault - Specifies whether the domain is the default domain for your organization.

$sel:isTestDomain:GetMailDomainResponse', getMailDomainResponse_isTestDomain - Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.

$sel:ownershipVerificationStatus:GetMailDomainResponse', getMailDomainResponse_ownershipVerificationStatus - Indicates the status of the domain ownership verification.

$sel:records:GetMailDomainResponse', getMailDomainResponse_records - A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.

$sel:httpStatus:GetMailDomainResponse', getMailDomainResponse_httpStatus - The response's http status code.

Response Lenses

getMailDomainResponse_isDefault :: Lens' GetMailDomainResponse (Maybe Bool) Source #

Specifies whether the domain is the default domain for your organization.

getMailDomainResponse_isTestDomain :: Lens' GetMailDomainResponse (Maybe Bool) Source #

Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.

getMailDomainResponse_records :: Lens' GetMailDomainResponse (Maybe [DnsRecord]) Source #

A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.