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

Description

Lists the mail domains in a given Amazon WorkMail organization.

Synopsis

Creating a Request

data ListMailDomains Source #

See: newListMailDomains smart constructor.

Constructors

ListMailDomains' 

Fields

Instances

Instances details
Eq ListMailDomains Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

Read ListMailDomains Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

Show ListMailDomains Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

Generic ListMailDomains Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

Associated Types

type Rep ListMailDomains :: Type -> Type #

NFData ListMailDomains Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

Methods

rnf :: ListMailDomains -> () #

Hashable ListMailDomains Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

ToJSON ListMailDomains Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

AWSRequest ListMailDomains Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

Associated Types

type AWSResponse ListMailDomains #

ToHeaders ListMailDomains Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

ToPath ListMailDomains Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

ToQuery ListMailDomains Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

type Rep ListMailDomains Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

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

Defined in Amazonka.WorkMail.ListMailDomains

newListMailDomains Source #

Create a value of ListMailDomains 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:nextToken:ListMailDomains', listMailDomains_nextToken - The token to use to retrieve the next page of results. The first call does not require a token.

$sel:maxResults:ListMailDomains', listMailDomains_maxResults - The maximum number of results to return in a single call.

$sel:organizationId:ListMailDomains', listMailDomains_organizationId - The Amazon WorkMail organization for which to list domains.

Request Lenses

listMailDomains_nextToken :: Lens' ListMailDomains (Maybe Text) Source #

The token to use to retrieve the next page of results. The first call does not require a token.

listMailDomains_maxResults :: Lens' ListMailDomains (Maybe Natural) Source #

The maximum number of results to return in a single call.

listMailDomains_organizationId :: Lens' ListMailDomains Text Source #

The Amazon WorkMail organization for which to list domains.

Destructuring the Response

data ListMailDomainsResponse Source #

See: newListMailDomainsResponse smart constructor.

Constructors

ListMailDomainsResponse' 

Fields

  • nextToken :: Maybe Text

    The token to use to retrieve the next page of results. The value becomes null when there are no more results to return.

  • mailDomains :: Maybe [MailDomainSummary]

    The list of mail domain summaries, specifying domains that exist in the specified Amazon WorkMail organization, along with the information about whether the domain is or isn't the default.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListMailDomainsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

Read ListMailDomainsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

Show ListMailDomainsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

Generic ListMailDomainsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

Associated Types

type Rep ListMailDomainsResponse :: Type -> Type #

NFData ListMailDomainsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

Methods

rnf :: ListMailDomainsResponse -> () #

type Rep ListMailDomainsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListMailDomains

type Rep ListMailDomainsResponse = D1 ('MetaData "ListMailDomainsResponse" "Amazonka.WorkMail.ListMailDomains" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "ListMailDomainsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mailDomains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MailDomainSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListMailDomainsResponse Source #

Create a value of ListMailDomainsResponse 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:nextToken:ListMailDomains', listMailDomainsResponse_nextToken - The token to use to retrieve the next page of results. The value becomes null when there are no more results to return.

$sel:mailDomains:ListMailDomainsResponse', listMailDomainsResponse_mailDomains - The list of mail domain summaries, specifying domains that exist in the specified Amazon WorkMail organization, along with the information about whether the domain is or isn't the default.

$sel:httpStatus:ListMailDomainsResponse', listMailDomainsResponse_httpStatus - The response's http status code.

Response Lenses

listMailDomainsResponse_nextToken :: Lens' ListMailDomainsResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. The value becomes null when there are no more results to return.

listMailDomainsResponse_mailDomains :: Lens' ListMailDomainsResponse (Maybe [MailDomainSummary]) Source #

The list of mail domain summaries, specifying domains that exist in the specified Amazon WorkMail organization, along with the information about whether the domain is or isn't the default.