Module Smaws_Client_Lightsail.CopySnapshot

val request : Smaws_Lib.Context.t -> copy_snapshot_request -> (copy_snapshot_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of access_denied_exception | `AccountSetupInProgressException of account_setup_in_progress_exception | `InvalidInputException of invalid_input_exception | `NotFoundException of not_found_exception | `OperationFailureException of operation_failure_exception | `ServiceException of service_exception | `UnauthenticatedException of unauthenticated_exception ]) Stdlib.result

Copies a manual snapshot of an instance or disk as another manual snapshot, or copies an automatic snapshot of an instance or disk as a manual snapshot. This operation can also be used to copy a manual or automatic snapshot of an instance or a disk from one Amazon Web Services Region to another in Amazon Lightsail.

When copying a manual snapshot, be sure to define the source region, source snapshot name, and target snapshot name parameters.

When copying an automatic snapshot, be sure to define the source region, source resource name, target snapshot name, and either the restore date or the use latest restorable auto snapshot parameters.