| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DirectoryService.GetSnapshotLimits
Description
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.
Constructors
| GetSnapshotLimits' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetSnapshotLimits |
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:
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.
Constructors
| GetSnapshotLimitsResponse' | |
Fields
| |
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.