DescribeWorkspace
Source:
src/AWS/AMP/DescribeWorkspace.ts
Runtime binding for aps:DescribeWorkspace.
Bind this operation to a Workspace inside a function runtime to get
a callable that reads the workspace’s control-plane metadata (status,
alias, endpoint). Provide the DescribeWorkspaceHttp layer on the Function
to satisfy the binding.
Workspace Metadata
Section titled “Workspace Metadata”const describeWorkspace = yield* AMP.DescribeWorkspace(workspace);
const response = yield* describeWorkspace();const status = response.workspace.status.statusCode;