libZSservicesZSamazonka-workmailZSamazonka-workmail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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.

  • value :: Maybe Text

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

  • type' :: Maybe Text

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

Instances

Instances details
Eq DnsRecord Source # 
Instance details

Defined in Amazonka.WorkMail.Types.DnsRecord

Read DnsRecord Source # 
Instance details

Defined in Amazonka.WorkMail.Types.DnsRecord

Show 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 #

NFData DnsRecord Source # 
Instance details

Defined in Amazonka.WorkMail.Types.DnsRecord

Methods

rnf :: DnsRecord -> () #

Hashable DnsRecord Source # 
Instance details

Defined in Amazonka.WorkMail.Types.DnsRecord

FromJSON 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" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "DnsRecord'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hostname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") '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:value:DnsRecord', dnsRecord_value - The value returned by the DNS for a query to that hostname and record type.

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

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

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

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

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

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

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