Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The CopySnapshot action makes a copy of an existing snapshot.
See: AWS API Reference for CopySnapshot.
- copySnapshot :: Text -> Text -> CopySnapshot
- data CopySnapshot
- csSourceSnapshotName :: Lens' CopySnapshot Text
- csTargetSnapshotName :: Lens' CopySnapshot Text
- copySnapshotResponse :: Int -> CopySnapshotResponse
- data CopySnapshotResponse
- csrsSnapshot :: Lens' CopySnapshotResponse (Maybe Snapshot)
- csrsResponseStatus :: Lens' CopySnapshotResponse Int
Creating a Request
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:
data CopySnapshot Source
Represents the input of a CopySnapshotMessage action.
See: copySnapshot
smart constructor.
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
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:
data CopySnapshotResponse Source
See: copySnapshotResponse
smart constructor.
Response Lenses
csrsSnapshot :: Lens' CopySnapshotResponse (Maybe Snapshot) Source
Undocumented member.
csrsResponseStatus :: Lens' CopySnapshotResponse Int Source
The response status code.