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 |
Documentation
A DNS record uploaded to your DNS provider.
See: newDnsRecord
smart constructor.
Instances
FromJSON DnsRecord Source # | |
Generic DnsRecord Source # | |
Read DnsRecord Source # | |
Show DnsRecord Source # | |
NFData DnsRecord Source # | |
Defined in Amazonka.WorkMail.Types.DnsRecord | |
Eq DnsRecord Source # | |
Hashable DnsRecord Source # | |
Defined in Amazonka.WorkMail.Types.DnsRecord | |
type Rep DnsRecord Source # | |
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
.