Protected
Returns information about a specific workgroup.
Use a bare-bones client and the command you need to make an API call.
import { RedshiftServerlessClient, GetWorkgroupCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import// const { RedshiftServerlessClient, GetWorkgroupCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS importconst client = new RedshiftServerlessClient(config);const input = { workgroupName: "STRING_VALUE", // required};const command = new GetWorkgroupCommand(input);const response = await client.send(command);
GetWorkgroupCommandInput
GetWorkgroupCommandOutput
input
response
config
InternalServerException (server fault)
The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException (client fault)
The resource could not be found.
ValidationException (client fault)
The input failed to satisfy the constraints specified by an AWS service.
Readonly
Static
Returns information about a specific workgroup.
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetWorkgroupCommandInput
Returns
GetWorkgroupCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalServerException (server fault)
The request processing has failed because of an unknown error, exception or failure.
Throws
ResourceNotFoundException (client fault)
The resource could not be found.
Throws
ValidationException (client fault)
The input failed to satisfy the constraints specified by an AWS service.