GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::Lightsail::CopySnapshot(3) User Contributed Perl Documentation Paws::Lightsail::CopySnapshot(3)

Paws::Lightsail::CopySnapshot - Arguments for method CopySnapshot on Paws::Lightsail

This class represents the parameters used for calling the method CopySnapshot on the Amazon Lightsail service. Use the attributes of this class as arguments to method CopySnapshot.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CopySnapshot.

    my $lightsail = Paws->service('Lightsail');
    my $CopySnapshotResult = $lightsail->CopySnapshot(
      SourceRegion                    => 'us-east-1',
      TargetSnapshotName              => 'MyResourceName',
      RestoreDate                     => 'Mystring',          # OPTIONAL
      SourceResourceName              => 'Mystring',          # OPTIONAL
      SourceSnapshotName              => 'MyResourceName',    # OPTIONAL
      UseLatestRestorableAutoSnapshot => 1,                   # OPTIONAL
    );
    # Results:
    my $Operations = $CopySnapshotResult->Operations;
    # Returns a L<Paws::Lightsail::CopySnapshotResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/lightsail/CopySnapshot>

The date of the source automatic snapshot to copy. Use the "get auto snapshots" operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in "YYYY-MM-DD" format.
  • This parameter cannot be defined together with the "use latest restorable auto snapshot" parameter. The "restore date" and "use latest restorable auto snapshot" parameters are mutually exclusive.
  • Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots).

REQUIRED SourceRegion => Str

The AWS Region where the source manual or automatic snapshot is located.

Valid values are: "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"

The name of the source instance or disk from which the source automatic snapshot was created.

Constraint:

Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots).

The name of the source manual snapshot to copy.

Constraint:

Define this parameter only when copying a manual snapshot as another manual snapshot.

REQUIRED TargetSnapshotName => Str

The name of the new manual snapshot to be created as a copy.

A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source instance or disk.

Constraints:

  • This parameter cannot be defined together with the "restore date" parameter. The "use latest restorable auto snapshot" and "restore date" parameters are mutually exclusive.
  • Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots).

This class forms part of Paws, documenting arguments for method CopySnapshot in Paws::Lightsail

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.