Module Values.RestoreFromClusterSnapshotResultSource

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: Creating a public cluster Restoring a public cluster Modifying a private cluster to be public Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group 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.

Sourcetype restoreFromClusterSnapshotResult = {
  1. cluster : Cluster.t option;
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. restoreFromClusterSnapshotResult : restoreFromClusterSnapshotResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `AccessToSnapshotDeniedFault of AccessToSnapshotDeniedFault.t
  2. | `ClusterAlreadyExistsFault of ClusterAlreadyExistsFault.t
  3. | `ClusterParameterGroupNotFoundFault of ClusterParameterGroupNotFoundFault.t
  4. | `ClusterQuotaExceededFault of ClusterQuotaExceededFault.t
  5. | `ClusterSecurityGroupNotFoundFault of ClusterSecurityGroupNotFoundFault.t
  6. | `ClusterSnapshotNotFoundFault of ClusterSnapshotNotFoundFault.t
  7. | `ClusterSubnetGroupNotFoundFault of ClusterSubnetGroupNotFoundFault.t
  8. | `DependentServiceAccessDeniedFault of DependentServiceAccessDeniedFault.t
  9. | `DependentServiceRequestThrottlingFault of DependentServiceRequestThrottlingFault.t
  10. | `DependentServiceUnavailableFault of DependentServiceUnavailableFault.t
  11. | `HsmClientCertificateNotFoundFault of HsmClientCertificateNotFoundFault.t
  12. | `HsmConfigurationNotFoundFault of HsmConfigurationNotFoundFault.t
  13. | `InsufficientClusterCapacityFault of InsufficientClusterCapacityFault.t
  14. | `InvalidClusterSnapshotStateFault of InvalidClusterSnapshotStateFault.t
  15. | `InvalidClusterSubnetGroupStateFault of InvalidClusterSubnetGroupStateFault.t
  16. | `InvalidClusterTrackFault of InvalidClusterTrackFault.t
  17. | `InvalidElasticIpFault of InvalidElasticIpFault.t
  18. | `InvalidReservedNodeStateFault of InvalidReservedNodeStateFault.t
  19. | `InvalidRestoreFault of InvalidRestoreFault.t
  20. | `InvalidSubnet of InvalidSubnet.t
  21. | `InvalidTagFault of InvalidTagFault.t
  22. | `InvalidVPCNetworkStateFault of InvalidVPCNetworkStateFault.t
  23. | `Ipv6CidrBlockNotFoundFault of Ipv6CidrBlockNotFoundFault.t
  24. | `LimitExceededFault of LimitExceededFault.t
  25. | `NumberOfNodesPerClusterLimitExceededFault of NumberOfNodesPerClusterLimitExceededFault.t
  26. | `NumberOfNodesQuotaExceededFault of NumberOfNodesQuotaExceededFault.t
  27. | `RedshiftIdcApplicationNotExistsFault of RedshiftIdcApplicationNotExistsFault.t
  28. | `ReservedNodeAlreadyExistsFault of ReservedNodeAlreadyExistsFault.t
  29. | `ReservedNodeAlreadyMigratedFault of ReservedNodeAlreadyMigratedFault.t
  30. | `ReservedNodeNotFoundFault of ReservedNodeNotFoundFault.t
  31. | `ReservedNodeOfferingNotFoundFault of ReservedNodeOfferingNotFoundFault.t
  32. | `SnapshotScheduleNotFoundFault of SnapshotScheduleNotFoundFault.t
  33. | `TagLimitExceededFault of TagLimitExceededFault.t
  34. | `UnauthorizedOperation of UnauthorizedOperation.t
  35. | `UnsupportedOperationFault of UnsupportedOperationFault.t
  36. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?cluster:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessToSnapshotDeniedFault of unit | `ClusterAlreadyExistsFault of unit | `ClusterParameterGroupNotFoundFault of unit | `ClusterQuotaExceededFault of unit | `ClusterSecurityGroupNotFoundFault of unit | `ClusterSnapshotNotFoundFault of unit | `ClusterSubnetGroupNotFoundFault of unit | `DependentServiceAccessDeniedFault of unit | `DependentServiceRequestThrottlingFault of unit | `DependentServiceUnavailableFault of unit | `HsmClientCertificateNotFoundFault of unit | `HsmConfigurationNotFoundFault of unit | `InsufficientClusterCapacityFault of unit | `InvalidClusterSnapshotStateFault of unit | `InvalidClusterSubnetGroupStateFault of unit | `InvalidClusterTrackFault of unit | `InvalidElasticIpFault of unit | `InvalidReservedNodeStateFault of unit | `InvalidRestoreFault of unit | `InvalidSubnet of unit | `InvalidTagFault of unit | `InvalidVPCNetworkStateFault of unit | `Ipv6CidrBlockNotFoundFault of unit | `LimitExceededFault of unit | `NumberOfNodesPerClusterLimitExceededFault of unit | `NumberOfNodesQuotaExceededFault of unit | `RedshiftIdcApplicationNotExistsFault of unit | `ReservedNodeAlreadyExistsFault of unit | `ReservedNodeAlreadyMigratedFault of unit | `ReservedNodeNotFoundFault of unit | `ReservedNodeOfferingNotFoundFault of unit | `SnapshotScheduleNotFoundFault of unit | `TagLimitExceededFault of unit | `UnauthorizedOperation of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationFault of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessToSnapshotDeniedFault of unit | `ClusterAlreadyExistsFault of unit | `ClusterParameterGroupNotFoundFault of unit | `ClusterQuotaExceededFault of unit | `ClusterSecurityGroupNotFoundFault of unit | `ClusterSnapshotNotFoundFault of unit | `ClusterSubnetGroupNotFoundFault of unit | `DependentServiceAccessDeniedFault of unit | `DependentServiceRequestThrottlingFault of unit | `DependentServiceUnavailableFault of unit | `HsmClientCertificateNotFoundFault of unit | `HsmConfigurationNotFoundFault of unit | `InsufficientClusterCapacityFault of unit | `InvalidClusterSnapshotStateFault of unit | `InvalidClusterSubnetGroupStateFault of unit | `InvalidClusterTrackFault of unit | `InvalidElasticIpFault of unit | `InvalidReservedNodeStateFault of unit | `InvalidRestoreFault of unit | `InvalidSubnet of unit | `InvalidTagFault of unit | `InvalidVPCNetworkStateFault of unit | `Ipv6CidrBlockNotFoundFault of unit | `LimitExceededFault of unit | `NumberOfNodesPerClusterLimitExceededFault of unit | `NumberOfNodesQuotaExceededFault of unit | `RedshiftIdcApplicationNotExistsFault of unit | `ReservedNodeAlreadyExistsFault of unit | `ReservedNodeAlreadyMigratedFault of unit | `ReservedNodeNotFoundFault of unit | `ReservedNodeOfferingNotFoundFault of unit | `SnapshotScheduleNotFoundFault of unit | `TagLimitExceededFault of unit | `UnauthorizedOperation of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationFault of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `String of String_.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t | `Timestamp of TStamp.t ]) list ] list | `Long of LongOptional.t | `String of String_.t | `Structure of (string * [> `Boolean of BooleanOptional.t | `Double of Double.t | `Enum of string | `Integer of Integer.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t ]) list ] list | `Long of Long.t | `String of String_.t | `Timestamp of TStamp.t ]) list | `Timestamp of TStamp.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t