ListWorkspaces
Source:
src/AWS/AMP/ListWorkspaces.ts
Runtime binding for aps:ListWorkspaces.
An account-level binding — call it with no arguments to get a callable that
lists AMP workspaces in the region. Provide the ListWorkspacesHttp layer
on the Function to satisfy the binding.
Workspace Metadata
Section titled “Workspace Metadata”const listWorkspaces = yield* AMP.ListWorkspaces();
const response = yield* listWorkspaces();const ids = response.workspaces.map((workspace) => workspace.workspaceId);