Copyright | (c) 2013-2021 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 |
Returns information about a specific instance snapshot.
Synopsis
- data GetInstanceSnapshot = GetInstanceSnapshot' {}
- newGetInstanceSnapshot :: Text -> GetInstanceSnapshot
- getInstanceSnapshot_instanceSnapshotName :: Lens' GetInstanceSnapshot Text
- data GetInstanceSnapshotResponse = GetInstanceSnapshotResponse' {}
- newGetInstanceSnapshotResponse :: Int -> GetInstanceSnapshotResponse
- getInstanceSnapshotResponse_instanceSnapshot :: Lens' GetInstanceSnapshotResponse (Maybe InstanceSnapshot)
- getInstanceSnapshotResponse_httpStatus :: Lens' GetInstanceSnapshotResponse Int
Creating a Request
data GetInstanceSnapshot Source #
See: newGetInstanceSnapshot
smart constructor.
GetInstanceSnapshot' | |
|
Instances
newGetInstanceSnapshot Source #
Create a value of GetInstanceSnapshot
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceSnapshotName:GetInstanceSnapshot'
, getInstanceSnapshot_instanceSnapshotName
- The name of the snapshot for which you are requesting information.
Request Lenses
getInstanceSnapshot_instanceSnapshotName :: Lens' GetInstanceSnapshot Text Source #
The name of the snapshot for which you are requesting information.
Destructuring the Response
data GetInstanceSnapshotResponse Source #
See: newGetInstanceSnapshotResponse
smart constructor.
GetInstanceSnapshotResponse' | |
|
Instances
newGetInstanceSnapshotResponse Source #
Create a value of GetInstanceSnapshotResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceSnapshot:GetInstanceSnapshotResponse'
, getInstanceSnapshotResponse_instanceSnapshot
- An array of key-value pairs containing information about the results of
your get instance snapshot request.
$sel:httpStatus:GetInstanceSnapshotResponse'
, getInstanceSnapshotResponse_httpStatus
- The response's http status code.
Response Lenses
getInstanceSnapshotResponse_instanceSnapshot :: Lens' GetInstanceSnapshotResponse (Maybe InstanceSnapshot) Source #
An array of key-value pairs containing information about the results of your get instance snapshot request.
getInstanceSnapshotResponse_httpStatus :: Lens' GetInstanceSnapshotResponse Int Source #
The response's http status code.