Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a snapshot of a specific virtual private server, or instance . You can use a snapshot to create a new instance that is based on that snapshot.
Synopsis
- createInstanceSnapshot :: Text -> Text -> CreateInstanceSnapshot
- data CreateInstanceSnapshot
- cisInstanceSnapshotName :: Lens' CreateInstanceSnapshot Text
- cisInstanceName :: Lens' CreateInstanceSnapshot Text
- createInstanceSnapshotResponse :: Int -> CreateInstanceSnapshotResponse
- data CreateInstanceSnapshotResponse
- cisrsOperations :: Lens' CreateInstanceSnapshotResponse [Operation]
- cisrsResponseStatus :: Lens' CreateInstanceSnapshotResponse Int
Creating a Request
createInstanceSnapshot Source #
Creates a value of CreateInstanceSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cisInstanceSnapshotName
- The name for your new snapshot.cisInstanceName
- The Lightsail instance on which to base your snapshot.
data CreateInstanceSnapshot Source #
See: createInstanceSnapshot
smart constructor.
Instances
Request Lenses
cisInstanceSnapshotName :: Lens' CreateInstanceSnapshot Text Source #
The name for your new snapshot.
cisInstanceName :: Lens' CreateInstanceSnapshot Text Source #
The Lightsail instance on which to base your snapshot.
Destructuring the Response
createInstanceSnapshotResponse Source #
Creates a value of CreateInstanceSnapshotResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cisrsOperations
- An array of key-value pairs containing information about the results of your create instances snapshot request.cisrsResponseStatus
- -- | The response status code.
data CreateInstanceSnapshotResponse Source #
See: createInstanceSnapshotResponse
smart constructor.
Instances
Response Lenses
cisrsOperations :: Lens' CreateInstanceSnapshotResponse [Operation] Source #
An array of key-value pairs containing information about the results of your create instances snapshot request.
cisrsResponseStatus :: Lens' CreateInstanceSnapshotResponse Int Source #
- - | The response status code.