@Override
    public CopySnapshotResult copySnapshot(CopySnapshotRequest request) {
        request = beforeClientExecution(request);
        return executeCopySnapshot(request);
    }
<p>
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.
</p>
<p>
When copying a <i>manual snapshot</i>, be sure to define the <code>source region</code>,
<code>source snapshot name</code>, and <code>target snapshot name</code> parameters.
</p>
<p>
When copying an <i>automatic snapshot</i>, be sure to define the <code>source region</code>,
<code>source resource name</code>, <code>target snapshot name</code>, and either the <code>restore date</code> or
the <code>use latest restorable auto snapshot</code> parameters.
</p>

@param copySnapshotRequest
@return Result of the CopySnapshot operation returned by the service.
@throws ServiceException
        A general service exception.
@throws InvalidInputException
        Lightsail throws this exception when user input does not conform to the validation rules of an input
        field.</p> <note>
        <p>
        Domain and distribution APIs are only available in the N. Virginia (<code>us-east-1</code>) Amazon Web
        Services Region. Please set your Amazon Web Services Region configuration to <code>us-east-1</code> to
        create, view, or edit these resources.
        </p>
@throws NotFoundException
        Lightsail throws this exception when it cannot find a resource.
@throws OperationFailureException
        Lightsail throws this exception when an operation fails to execute.
@throws AccessDeniedException
        Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
        access a resource.
@throws AccountSetupInProgressException
        Lightsail throws this exception when an account is still in the setup in progress state.
@throws UnauthenticatedException
        Lightsail throws this exception when the user has not been authenticated.
@sample AmazonLightsail.CopySnapshot
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CopySnapshot" target="_top">AWS API
     Documentation</a>
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/AmazonLightsailClient.java