amazonka-workspaces-web-2.0: Amazon WorkSpaces Web SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WorkSpacesWeb.ListPortals

Description

Retrieves a list or web portals.

Synopsis

Creating a Request

data ListPortals Source #

See: newListPortals smart constructor.

Constructors

ListPortals' 

Fields

Instances

Instances details
ToHeaders ListPortals Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

Methods

toHeaders :: ListPortals -> [Header] #

ToPath ListPortals Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

ToQuery ListPortals Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

AWSRequest ListPortals Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

Associated Types

type AWSResponse ListPortals #

Generic ListPortals Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

Associated Types

type Rep ListPortals :: Type -> Type #

Read ListPortals Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

Show ListPortals Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

NFData ListPortals Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

Methods

rnf :: ListPortals -> () #

Eq ListPortals Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

Hashable ListPortals Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

type AWSResponse ListPortals Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

type Rep ListPortals Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

type Rep ListPortals = D1 ('MetaData "ListPortals" "Amazonka.WorkSpacesWeb.ListPortals" "amazonka-workspaces-web-2.0-7elUOg7oNE07CClY3TuUcU" 'False) (C1 ('MetaCons "ListPortals'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListPortals :: ListPortals Source #

Create a value of ListPortals 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:maxResults:ListPortals', listPortals_maxResults - The maximum number of results to be included in the next page.

ListPortals, listPortals_nextToken - The pagination token used to retrieve the next page of results for this operation.

Request Lenses

listPortals_maxResults :: Lens' ListPortals (Maybe Natural) Source #

The maximum number of results to be included in the next page.

listPortals_nextToken :: Lens' ListPortals (Maybe Text) Source #

The pagination token used to retrieve the next page of results for this operation.

Destructuring the Response

data ListPortalsResponse Source #

See: newListPortalsResponse smart constructor.

Constructors

ListPortalsResponse' 

Fields

Instances

Instances details
Generic ListPortalsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

Associated Types

type Rep ListPortalsResponse :: Type -> Type #

Show ListPortalsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

NFData ListPortalsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

Methods

rnf :: ListPortalsResponse -> () #

Eq ListPortalsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

type Rep ListPortalsResponse Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.ListPortals

type Rep ListPortalsResponse = D1 ('MetaData "ListPortalsResponse" "Amazonka.WorkSpacesWeb.ListPortals" "amazonka-workspaces-web-2.0-7elUOg7oNE07CClY3TuUcU" 'False) (C1 ('MetaCons "ListPortalsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "portals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PortalSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPortalsResponse Source #

Create a value of ListPortalsResponse 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:

ListPortals, listPortalsResponse_nextToken - The pagination token used to retrieve the next page of results for this operation.

$sel:portals:ListPortalsResponse', listPortalsResponse_portals - The portals in the list.

$sel:httpStatus:ListPortalsResponse', listPortalsResponse_httpStatus - The response's http status code.

Response Lenses

listPortalsResponse_nextToken :: Lens' ListPortalsResponse (Maybe Text) Source #

The pagination token used to retrieve the next page of results for this operation.