| Copyright | (c) 2013-2017 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 |
Network.AWS.DirectoryService.CreateSnapshot
Description
Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.
- createSnapshot :: Text -> CreateSnapshot
- data CreateSnapshot
- csName :: Lens' CreateSnapshot (Maybe Text)
- csDirectoryId :: Lens' CreateSnapshot Text
- createSnapshotResponse :: Int -> CreateSnapshotResponse
- data CreateSnapshotResponse
- csrsSnapshotId :: Lens' CreateSnapshotResponse (Maybe Text)
- csrsResponseStatus :: Lens' CreateSnapshotResponse Int
Creating a Request
Arguments
| :: Text | |
| -> CreateSnapshot |
Creates a value of CreateSnapshot with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csName- The descriptive name to apply to the snapshot.csDirectoryId- The identifier of the directory of which to take a snapshot.
data CreateSnapshot Source #
Contains the inputs for the CreateSnapshot operation.
See: createSnapshot smart constructor.
Instances
Request Lenses
csDirectoryId :: Lens' CreateSnapshot Text Source #
The identifier of the directory of which to take a snapshot.
Destructuring the Response
createSnapshotResponse Source #
Arguments
| :: Int | |
| -> CreateSnapshotResponse |
Creates a value of CreateSnapshotResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csrsSnapshotId- The identifier of the snapshot that was created.csrsResponseStatus- -- | The response status code.
data CreateSnapshotResponse Source #
Contains the results of the CreateSnapshot operation.
See: createSnapshotResponse smart constructor.
Response Lenses
csrsSnapshotId :: Lens' CreateSnapshotResponse (Maybe Text) Source #
The identifier of the snapshot that was created.
csrsResponseStatus :: Lens' CreateSnapshotResponse Int Source #
- - | The response status code.