Smaws_Client_Redshift.CreateClusterCreates a new cluster with the specified parameters.
To create a cluster in Virtual Private Cloud (VPC), you must provide a cluster subnet group name. The cluster subnet group identifies the subnets of your VPC that Amazon Redshift uses when creating the cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
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
| `ClusterAlreadyExistsFault of Types.cluster_already_exists_fault
| `ClusterParameterGroupNotFoundFault of
Types.cluster_parameter_group_not_found_fault
| `ClusterQuotaExceededFault of Types.cluster_quota_exceeded_fault
| `ClusterSecurityGroupNotFoundFault of
Types.cluster_security_group_not_found_fault
| `ClusterSubnetGroupNotFoundFault of
Types.cluster_subnet_group_not_found_fault
| `DependentServiceAccessDeniedFault of
Types.dependent_service_access_denied_fault
| `DependentServiceRequestThrottlingFault of
Types.dependent_service_request_throttling_fault
| `DependentServiceUnavailableFault of
Types.dependent_service_unavailable_fault
| `HsmClientCertificateNotFoundFault of
Types.hsm_client_certificate_not_found_fault
| `HsmConfigurationNotFoundFault of Types.hsm_configuration_not_found_fault
| `InsufficientClusterCapacityFault of
Types.insufficient_cluster_capacity_fault
| `InvalidClusterSubnetGroupStateFault of
Types.invalid_cluster_subnet_group_state_fault
| `InvalidClusterTrackFault of Types.invalid_cluster_track_fault
| `InvalidElasticIpFault of Types.invalid_elastic_ip_fault
| `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault
| `InvalidSubnet of Types.invalid_subnet
| `InvalidTagFault of Types.invalid_tag_fault
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `Ipv6CidrBlockNotFoundFault of Types.ipv6_cidr_block_not_found_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `NumberOfNodesPerClusterLimitExceededFault of
Types.number_of_nodes_per_cluster_limit_exceeded_fault
| `NumberOfNodesQuotaExceededFault of
Types.number_of_nodes_quota_exceeded_fault
| `RedshiftIdcApplicationNotExistsFault of
Types.redshift_idc_application_not_exists_fault
| `SnapshotScheduleNotFoundFault of Types.snapshot_schedule_not_found_fault
| `TagLimitExceededFault of Types.tag_limit_exceeded_fault
| `UnauthorizedOperation of Types.unauthorized_operation
| `UnsupportedOperationFault of Types.unsupported_operation_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_cluster_message ->
(Types.create_cluster_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterAlreadyExistsFault of Types.cluster_already_exists_fault
| `ClusterParameterGroupNotFoundFault of
Types.cluster_parameter_group_not_found_fault
| `ClusterQuotaExceededFault of Types.cluster_quota_exceeded_fault
| `ClusterSecurityGroupNotFoundFault of
Types.cluster_security_group_not_found_fault
| `ClusterSubnetGroupNotFoundFault of
Types.cluster_subnet_group_not_found_fault
| `DependentServiceAccessDeniedFault of
Types.dependent_service_access_denied_fault
| `DependentServiceRequestThrottlingFault of
Types.dependent_service_request_throttling_fault
| `DependentServiceUnavailableFault of
Types.dependent_service_unavailable_fault
| `HsmClientCertificateNotFoundFault of
Types.hsm_client_certificate_not_found_fault
| `HsmConfigurationNotFoundFault of Types.hsm_configuration_not_found_fault
| `InsufficientClusterCapacityFault of
Types.insufficient_cluster_capacity_fault
| `InvalidClusterSubnetGroupStateFault of
Types.invalid_cluster_subnet_group_state_fault
| `InvalidClusterTrackFault of Types.invalid_cluster_track_fault
| `InvalidElasticIpFault of Types.invalid_elastic_ip_fault
| `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault
| `InvalidSubnet of Types.invalid_subnet
| `InvalidTagFault of Types.invalid_tag_fault
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `Ipv6CidrBlockNotFoundFault of Types.ipv6_cidr_block_not_found_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `NumberOfNodesPerClusterLimitExceededFault of
Types.number_of_nodes_per_cluster_limit_exceeded_fault
| `NumberOfNodesQuotaExceededFault of
Types.number_of_nodes_quota_exceeded_fault
| `RedshiftIdcApplicationNotExistsFault of
Types.redshift_idc_application_not_exists_fault
| `SnapshotScheduleNotFoundFault of Types.snapshot_schedule_not_found_fault
| `TagLimitExceededFault of Types.tag_limit_exceeded_fault
| `UnauthorizedOperation of Types.unauthorized_operation
| `UnsupportedOperationFault of Types.unsupported_operation_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_cluster_message ->
(Types.create_cluster_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterAlreadyExistsFault of Types.cluster_already_exists_fault
| `ClusterParameterGroupNotFoundFault of
Types.cluster_parameter_group_not_found_fault
| `ClusterQuotaExceededFault of Types.cluster_quota_exceeded_fault
| `ClusterSecurityGroupNotFoundFault of
Types.cluster_security_group_not_found_fault
| `ClusterSubnetGroupNotFoundFault of
Types.cluster_subnet_group_not_found_fault
| `DependentServiceAccessDeniedFault of
Types.dependent_service_access_denied_fault
| `DependentServiceRequestThrottlingFault of
Types.dependent_service_request_throttling_fault
| `DependentServiceUnavailableFault of
Types.dependent_service_unavailable_fault
| `HsmClientCertificateNotFoundFault of
Types.hsm_client_certificate_not_found_fault
| `HsmConfigurationNotFoundFault of Types.hsm_configuration_not_found_fault
| `InsufficientClusterCapacityFault of
Types.insufficient_cluster_capacity_fault
| `InvalidClusterSubnetGroupStateFault of
Types.invalid_cluster_subnet_group_state_fault
| `InvalidClusterTrackFault of Types.invalid_cluster_track_fault
| `InvalidElasticIpFault of Types.invalid_elastic_ip_fault
| `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault
| `InvalidSubnet of Types.invalid_subnet
| `InvalidTagFault of Types.invalid_tag_fault
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `Ipv6CidrBlockNotFoundFault of Types.ipv6_cidr_block_not_found_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `NumberOfNodesPerClusterLimitExceededFault of
Types.number_of_nodes_per_cluster_limit_exceeded_fault
| `NumberOfNodesQuotaExceededFault of
Types.number_of_nodes_quota_exceeded_fault
| `RedshiftIdcApplicationNotExistsFault of
Types.redshift_idc_application_not_exists_fault
| `SnapshotScheduleNotFoundFault of Types.snapshot_schedule_not_found_fault
| `TagLimitExceededFault of Types.tag_limit_exceeded_fault
| `UnauthorizedOperation of Types.unauthorized_operation
| `UnsupportedOperationFault of Types.unsupported_operation_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result