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.UpdateDefaultMailDomain

Description

Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.

Synopsis

Creating a Request

data UpdateDefaultMailDomain Source #

See: newUpdateDefaultMailDomain smart constructor.

Constructors

UpdateDefaultMailDomain' 

Fields

Instances

Instances details
Eq UpdateDefaultMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

Read UpdateDefaultMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

Show UpdateDefaultMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

Generic UpdateDefaultMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

Associated Types

type Rep UpdateDefaultMailDomain :: Type -> Type #

NFData UpdateDefaultMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

Methods

rnf :: UpdateDefaultMailDomain -> () #

Hashable UpdateDefaultMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

ToJSON UpdateDefaultMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

AWSRequest UpdateDefaultMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

ToHeaders UpdateDefaultMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

ToPath UpdateDefaultMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

ToQuery UpdateDefaultMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

type Rep UpdateDefaultMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

type Rep UpdateDefaultMailDomain = D1 ('MetaData "UpdateDefaultMailDomain" "Amazonka.WorkMail.UpdateDefaultMailDomain" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "UpdateDefaultMailDomain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateDefaultMailDomain Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

newUpdateDefaultMailDomain Source #

Create a value of UpdateDefaultMailDomain 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:organizationId:UpdateDefaultMailDomain', updateDefaultMailDomain_organizationId - The Amazon WorkMail organization for which to list domains.

$sel:domainName:UpdateDefaultMailDomain', updateDefaultMailDomain_domainName - The domain name that will become the default domain.

Request Lenses

updateDefaultMailDomain_organizationId :: Lens' UpdateDefaultMailDomain Text Source #

The Amazon WorkMail organization for which to list domains.

updateDefaultMailDomain_domainName :: Lens' UpdateDefaultMailDomain Text Source #

The domain name that will become the default domain.

Destructuring the Response

data UpdateDefaultMailDomainResponse Source #

See: newUpdateDefaultMailDomainResponse smart constructor.

Constructors

UpdateDefaultMailDomainResponse' 

Fields

Instances

Instances details
Eq UpdateDefaultMailDomainResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

Read UpdateDefaultMailDomainResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

Show UpdateDefaultMailDomainResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

Generic UpdateDefaultMailDomainResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

Associated Types

type Rep UpdateDefaultMailDomainResponse :: Type -> Type #

NFData UpdateDefaultMailDomainResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

type Rep UpdateDefaultMailDomainResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateDefaultMailDomain

type Rep UpdateDefaultMailDomainResponse = D1 ('MetaData "UpdateDefaultMailDomainResponse" "Amazonka.WorkMail.UpdateDefaultMailDomain" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "UpdateDefaultMailDomainResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateDefaultMailDomainResponse Source #

Create a value of UpdateDefaultMailDomainResponse 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:httpStatus:UpdateDefaultMailDomainResponse', updateDefaultMailDomainResponse_httpStatus - The response's http status code.

Response Lenses