Smaws_Client_RedshiftServerless.CreateWorkgroupCreates an workgroup in Amazon Redshift Serverless.
VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a workgroup is in an account with VPC BPA turned on, the following capabilities are blocked:
For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InsufficientCapacityException of Types.insufficient_capacity_exception
| `InternalServerException of Types.internal_server_exception
| `Ipv6CidrBlockNotFoundException of
Types.ipv6_cidr_block_not_found_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_workgroup_request ->
(Types.create_workgroup_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InsufficientCapacityException of Types.insufficient_capacity_exception
| `InternalServerException of Types.internal_server_exception
| `Ipv6CidrBlockNotFoundException of
Types.ipv6_cidr_block_not_found_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_workgroup_request ->
(Types.create_workgroup_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InsufficientCapacityException of Types.insufficient_capacity_exception
| `InternalServerException of Types.internal_server_exception
| `Ipv6CidrBlockNotFoundException of
Types.ipv6_cidr_block_not_found_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result