| 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.WorkMail.Types.Domain
Description
Synopsis
- data Domain = Domain' {
- domainName :: Maybe Text
- hostedZoneId :: Maybe Text
- newDomain :: Domain
- domain_domainName :: Lens' Domain (Maybe Text)
- domain_hostedZoneId :: Lens' Domain (Maybe Text)
Documentation
The domain to associate with an WorkMail organization.
When you configure a domain hosted in Amazon Route 53 (Route 53), all recommended DNS records are added to the organization when you create it. For more information, see Adding a domain in the WorkMail Administrator Guide.
See: newDomain smart constructor.
Constructors
| Domain' | |
Fields
| |
Instances
| ToJSON Domain Source # | |
Defined in Amazonka.WorkMail.Types.Domain | |
| Generic Domain Source # | |
| Read Domain Source # | |
| Show Domain Source # | |
| NFData Domain Source # | |
Defined in Amazonka.WorkMail.Types.Domain | |
| Eq Domain Source # | |
| Hashable Domain Source # | |
Defined in Amazonka.WorkMail.Types.Domain | |
| type Rep Domain Source # | |
Defined in Amazonka.WorkMail.Types.Domain type Rep Domain = D1 ('MetaData "Domain" "Amazonka.WorkMail.Types.Domain" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "Domain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
Create a value of Domain 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:domainName:Domain', domain_domainName - The fully qualified domain name.
$sel:hostedZoneId:Domain', domain_hostedZoneId - The hosted zone ID for a domain hosted in Route 53. Required when
configuring a domain hosted in Route 53.