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.Types.DnsRecord

Description

 
Synopsis

Documentation

data DnsRecord Source #

A DNS record uploaded to your DNS provider.

See: newDnsRecord smart constructor.

Constructors

DnsRecord' 

Fields

  • hostname :: Maybe Text

    The DNS hostname.- For example, domain.example.com.

  • type' :: Maybe Text

    The RFC 1035 record type. Possible values: CNAME, A, MX.

  • value :: Maybe Text

    The value returned by the DNS for a query to that hostname and record type.

Instances

Instances details
FromJSON DnsRecord Source # 
Instance details

Defined in Amazonka.WorkMail.Types.DnsRecord

Generic DnsRecord Source # 
Instance details

Defined in Amazonka.WorkMail.Types.DnsRecord

Associated Types

type Rep DnsRecord :: Type -> Type #

Read DnsRecord Source # 
Instance details

Defined in Amazonka.WorkMail.Types.DnsRecord

Show DnsRecord Source # 
Instance details

Defined in Amazonka.WorkMail.Types.DnsRecord

NFData DnsRecord Source # 
Instance details

Defined in Amazonka.WorkMail.Types.DnsRecord

Methods

rnf :: DnsRecord -> () #

Eq DnsRecord Source # 
Instance details

Defined in Amazonka.WorkMail.Types.DnsRecord

Hashable DnsRecord Source # 
Instance details

Defined in Amazonka.WorkMail.Types.DnsRecord

type Rep DnsRecord Source # 
Instance details

Defined in Amazonka.WorkMail.Types.DnsRecord

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

newDnsRecord :: DnsRecord Source #

Create a value of DnsRecord 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:hostname:DnsRecord', dnsRecord_hostname - The DNS hostname.- For example, domain.example.com.

$sel:type':DnsRecord', dnsRecord_type - The RFC 1035 record type. Possible values: CNAME, A, MX.

$sel:value:DnsRecord', dnsRecord_value - The value returned by the DNS for a query to that hostname and record type.

dnsRecord_hostname :: Lens' DnsRecord (Maybe Text) Source #

The DNS hostname.- For example, domain.example.com.

dnsRecord_type :: Lens' DnsRecord (Maybe Text) Source #

The RFC 1035 record type. Possible values: CNAME, A, MX.

dnsRecord_value :: Lens' DnsRecord (Maybe Text) Source #

The value returned by the DNS for a query to that hostname and record type.