Module Smaws_Client_Redshift.RestoreFromClusterSnapshot

Creates a new cluster from a snapshot. By default, Amazon Redshift creates the resulting cluster with the same configuration as the original cluster from which the snapshot was created, except that the new cluster is created with the default cluster security and parameter groups. After Amazon Redshift creates the cluster, you can use the ModifyCluster API to associate a different security group and different parameter group with the restored cluster. If you are using a DS node type, you can also choose to change to another DS node type of the same size during restore.

If you restore a cluster into a VPC, you must provide a cluster subnet group where you want the cluster restored.

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.

For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `AccessToSnapshotDeniedFault of Types.access_to_snapshot_denied_fault | `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 | `ClusterSnapshotNotFoundFault of Types.cluster_snapshot_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 | `InvalidClusterSnapshotStateFault of Types.invalid_cluster_snapshot_state_fault | `InvalidClusterSubnetGroupStateFault of Types.invalid_cluster_subnet_group_state_fault | `InvalidClusterTrackFault of Types.invalid_cluster_track_fault | `InvalidElasticIpFault of Types.invalid_elastic_ip_fault | `InvalidReservedNodeStateFault of Types.invalid_reserved_node_state_fault | `InvalidRestoreFault of Types.invalid_restore_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 | `ReservedNodeAlreadyExistsFault of Types.reserved_node_already_exists_fault | `ReservedNodeAlreadyMigratedFault of Types.reserved_node_already_migrated_fault | `ReservedNodeNotFoundFault of Types.reserved_node_not_found_fault | `ReservedNodeOfferingNotFoundFault of Types.reserved_node_offering_not_found_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 ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.restore_from_cluster_snapshot_message -> (Types.restore_from_cluster_snapshot_result, [> Smaws_Lib.Protocols.AwsQuery.error | `AccessToSnapshotDeniedFault of Types.access_to_snapshot_denied_fault | `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 | `ClusterSnapshotNotFoundFault of Types.cluster_snapshot_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 | `InvalidClusterSnapshotStateFault of Types.invalid_cluster_snapshot_state_fault | `InvalidClusterSubnetGroupStateFault of Types.invalid_cluster_subnet_group_state_fault | `InvalidClusterTrackFault of Types.invalid_cluster_track_fault | `InvalidElasticIpFault of Types.invalid_elastic_ip_fault | `InvalidReservedNodeStateFault of Types.invalid_reserved_node_state_fault | `InvalidRestoreFault of Types.invalid_restore_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 | `ReservedNodeAlreadyExistsFault of Types.reserved_node_already_exists_fault | `ReservedNodeAlreadyMigratedFault of Types.reserved_node_already_migrated_fault | `ReservedNodeNotFoundFault of Types.reserved_node_not_found_fault | `ReservedNodeOfferingNotFoundFault of Types.reserved_node_offering_not_found_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.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.restore_from_cluster_snapshot_message -> (Types.restore_from_cluster_snapshot_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `AccessToSnapshotDeniedFault of Types.access_to_snapshot_denied_fault | `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 | `ClusterSnapshotNotFoundFault of Types.cluster_snapshot_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 | `InvalidClusterSnapshotStateFault of Types.invalid_cluster_snapshot_state_fault | `InvalidClusterSubnetGroupStateFault of Types.invalid_cluster_subnet_group_state_fault | `InvalidClusterTrackFault of Types.invalid_cluster_track_fault | `InvalidElasticIpFault of Types.invalid_elastic_ip_fault | `InvalidReservedNodeStateFault of Types.invalid_reserved_node_state_fault | `InvalidRestoreFault of Types.invalid_restore_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 | `ReservedNodeAlreadyExistsFault of Types.reserved_node_already_exists_fault | `ReservedNodeAlreadyMigratedFault of Types.reserved_node_already_migrated_fault | `ReservedNodeNotFoundFault of Types.reserved_node_not_found_fault | `ReservedNodeOfferingNotFoundFault of Types.reserved_node_offering_not_found_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