![]() |
![]()
| ![]() |
![]()
NAMEPaws::Lightsail::CopySnapshot - Arguments for method CopySnapshot on Paws::Lightsail DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESRestoreDate => StrThe date of the source automatic snapshot to copy. Use the "get auto snapshots" operation to identify the dates of the available automatic snapshots. Constraints:
REQUIRED SourceRegion => StrThe 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" SourceResourceName => StrThe name of the source instance or disk from which the source automatic snapshot was created. Constraint:
SourceSnapshotName => StrThe name of the source manual snapshot to copy. Constraint:
REQUIRED TargetSnapshotName => StrThe name of the new manual snapshot to be created as a copy. UseLatestRestorableAutoSnapshot => BoolA Boolean value to indicate whether to use the latest available automatic snapshot of the specified source instance or disk. Constraints:
SEE ALSOThis class forms part of Paws, documenting arguments for method CopySnapshot in Paws::Lightsail BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|