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 |
Obtains the manual snapshot limits for a directory.
Synopsis
- data GetSnapshotLimits = GetSnapshotLimits' {
- directoryId :: Text
- newGetSnapshotLimits :: Text -> GetSnapshotLimits
- getSnapshotLimits_directoryId :: Lens' GetSnapshotLimits Text
- data GetSnapshotLimitsResponse = GetSnapshotLimitsResponse' {}
- newGetSnapshotLimitsResponse :: Int -> GetSnapshotLimitsResponse
- getSnapshotLimitsResponse_snapshotLimits :: Lens' GetSnapshotLimitsResponse (Maybe SnapshotLimits)
- getSnapshotLimitsResponse_httpStatus :: Lens' GetSnapshotLimitsResponse Int
Creating a Request
data GetSnapshotLimits Source #
Contains the inputs for the GetSnapshotLimits operation.
See: newGetSnapshotLimits
smart constructor.
GetSnapshotLimits' | |
|
Instances
Create a value of GetSnapshotLimits
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:directoryId:GetSnapshotLimits'
, getSnapshotLimits_directoryId
- Contains the identifier of the directory to obtain the limits for.
Request Lenses
getSnapshotLimits_directoryId :: Lens' GetSnapshotLimits Text Source #
Contains the identifier of the directory to obtain the limits for.
Destructuring the Response
data GetSnapshotLimitsResponse Source #
Contains the results of the GetSnapshotLimits operation.
See: newGetSnapshotLimitsResponse
smart constructor.
GetSnapshotLimitsResponse' | |
|
Instances
newGetSnapshotLimitsResponse Source #
Create a value of GetSnapshotLimitsResponse
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:snapshotLimits:GetSnapshotLimitsResponse'
, getSnapshotLimitsResponse_snapshotLimits
- A SnapshotLimits object that contains the manual snapshot limits for the
specified directory.
$sel:httpStatus:GetSnapshotLimitsResponse'
, getSnapshotLimitsResponse_httpStatus
- The response's http status code.
Response Lenses
getSnapshotLimitsResponse_snapshotLimits :: Lens' GetSnapshotLimitsResponse (Maybe SnapshotLimits) Source #
A SnapshotLimits object that contains the manual snapshot limits for the specified directory.
getSnapshotLimitsResponse_httpStatus :: Lens' GetSnapshotLimitsResponse Int Source #
The response's http status code.