amazonka-elasticache-1.2.0.2: Amazon ElastiCache SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElastiCache.CopySnapshot

Contents

Description

The CopySnapshot action makes a copy of an existing snapshot.

See: AWS API Reference for CopySnapshot.

Synopsis

Creating a Request

copySnapshot Source

Creates a value of CopySnapshot with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

csSourceSnapshotName :: Lens' CopySnapshot Text Source

The name of an existing snapshot from which to copy.

csTargetSnapshotName :: Lens' CopySnapshot Text Source

A name for the copied snapshot.

Destructuring the Response

copySnapshotResponse Source

Creates a value of CopySnapshotResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

csrsStatus :: Lens' CopySnapshotResponse Int Source

The response status code.