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

Description

Creates a paginated call to list the aliases associated with a given entity.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAliases Source #

See: newListAliases smart constructor.

Constructors

ListAliases' 

Fields

  • nextToken :: Maybe Text

    The token to use to retrieve the next page of results. The first call does not contain any tokens.

  • maxResults :: Maybe Natural

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

  • organizationId :: Text

    The identifier for the organization under which the entity exists.

  • entityId :: Text

    The identifier for the entity for which to list the aliases.

Instances

Instances details
Eq ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

Read ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

Show ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

Generic ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

Associated Types

type Rep ListAliases :: Type -> Type #

NFData ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

Methods

rnf :: ListAliases -> () #

Hashable ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

ToJSON ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

AWSPager ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

AWSRequest ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

Associated Types

type AWSResponse ListAliases #

ToHeaders ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

Methods

toHeaders :: ListAliases -> [Header] #

ToPath ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

ToQuery ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

type Rep ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

type Rep ListAliases = D1 ('MetaData "ListAliases" "Amazonka.WorkMail.ListAliases" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "ListAliases'" '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) :*: S1 ('MetaSel ('Just "entityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListAliases Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

newListAliases Source #

Create a value of ListAliases 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:ListAliases', listAliases_nextToken - The token to use to retrieve the next page of results. The first call does not contain any tokens.

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

$sel:organizationId:ListAliases', listAliases_organizationId - The identifier for the organization under which the entity exists.

$sel:entityId:ListAliases', listAliases_entityId - The identifier for the entity for which to list the aliases.

Request Lenses

listAliases_nextToken :: Lens' ListAliases (Maybe Text) Source #

The token to use to retrieve the next page of results. The first call does not contain any tokens.

listAliases_maxResults :: Lens' ListAliases (Maybe Natural) Source #

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

listAliases_organizationId :: Lens' ListAliases Text Source #

The identifier for the organization under which the entity exists.

listAliases_entityId :: Lens' ListAliases Text Source #

The identifier for the entity for which to list the aliases.

Destructuring the Response

data ListAliasesResponse Source #

See: newListAliasesResponse smart constructor.

Constructors

ListAliasesResponse' 

Fields

  • aliases :: Maybe [Text]

    The entity's paginated aliases.

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListAliasesResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

Read ListAliasesResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

Show ListAliasesResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

Generic ListAliasesResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

Associated Types

type Rep ListAliasesResponse :: Type -> Type #

NFData ListAliasesResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

Methods

rnf :: ListAliasesResponse -> () #

type Rep ListAliasesResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListAliases

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

newListAliasesResponse Source #

Create a value of ListAliasesResponse 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:aliases:ListAliasesResponse', listAliasesResponse_aliases - The entity's paginated aliases.

$sel:nextToken:ListAliases', listAliasesResponse_nextToken - The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.

$sel:httpStatus:ListAliasesResponse', listAliasesResponse_httpStatus - The response's http status code.

Response Lenses

listAliasesResponse_nextToken :: Lens' ListAliasesResponse (Maybe Text) Source #

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