Smaws_Client_Redshift.ModifyClusterSubnetGroupModifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets.
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 subnet group for a provisioned cluster 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.AwsQuery.error
| `ClusterSubnetGroupNotFoundFault of
Types.cluster_subnet_group_not_found_fault
| `ClusterSubnetQuotaExceededFault of
Types.cluster_subnet_quota_exceeded_fault
| `DependentServiceRequestThrottlingFault of
Types.dependent_service_request_throttling_fault
| `InvalidSubnet of Types.invalid_subnet
| `SubnetAlreadyInUse of Types.subnet_already_in_use
| `UnauthorizedOperation of Types.unauthorized_operation ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.modify_cluster_subnet_group_message ->
(Types.modify_cluster_subnet_group_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterSubnetGroupNotFoundFault of
Types.cluster_subnet_group_not_found_fault
| `ClusterSubnetQuotaExceededFault of
Types.cluster_subnet_quota_exceeded_fault
| `DependentServiceRequestThrottlingFault of
Types.dependent_service_request_throttling_fault
| `InvalidSubnet of Types.invalid_subnet
| `SubnetAlreadyInUse of Types.subnet_already_in_use
| `UnauthorizedOperation of Types.unauthorized_operation ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.modify_cluster_subnet_group_message ->
(Types.modify_cluster_subnet_group_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterSubnetGroupNotFoundFault of
Types.cluster_subnet_group_not_found_fault
| `ClusterSubnetQuotaExceededFault of
Types.cluster_subnet_quota_exceeded_fault
| `DependentServiceRequestThrottlingFault of
Types.dependent_service_request_throttling_fault
| `InvalidSubnet of Types.invalid_subnet
| `SubnetAlreadyInUse of Types.subnet_already_in_use
| `UnauthorizedOperation of Types.unauthorized_operation ]
* Smaws_Lib.Response.metadata)
Stdlib.result