Protected
Retrieves a list or web portals.
Use a bare-bones client and the command you need to make an API call.
import { WorkSpacesWebClient, ListPortalsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import// const { WorkSpacesWebClient, ListPortalsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS importconst client = new WorkSpacesWebClient(config);const command = new ListPortalsCommand(input);const response = await client.send(command);
ListPortalsCommandInput
ListPortalsCommandOutput
input
response
config
AccessDeniedException (client fault)
Access is denied.
InternalServerException (server fault)
There is an internal server error.
ThrottlingException (client fault)
There is a throttling error.
ValidationException (client fault)
There is a validation error.
Readonly
Static
Retrieves a list or web portals.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListPortalsCommandInput
Returns
ListPortalsCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
Access is denied.
Throws
InternalServerException (server fault)
There is an internal server error.
Throws
ThrottlingException (client fault)
There is a throttling error.
Throws
ValidationException (client fault)
There is a validation error.