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 |
Describes the snapshot schedule for the specified gateway volume. The snapshot schedule information includes intervals at which snapshots are automatically initiated on the volume. This operation is only supported in the cached volume and stored volume architectures.
- describeSnapshotSchedule :: Text -> DescribeSnapshotSchedule
- data DescribeSnapshotSchedule
- dssVolumeARN :: Lens' DescribeSnapshotSchedule Text
- describeSnapshotScheduleResponse :: Int -> DescribeSnapshotScheduleResponse
- data DescribeSnapshotScheduleResponse
- dssrsStartAt :: Lens' DescribeSnapshotScheduleResponse (Maybe Natural)
- dssrsVolumeARN :: Lens' DescribeSnapshotScheduleResponse (Maybe Text)
- dssrsRecurrenceInHours :: Lens' DescribeSnapshotScheduleResponse (Maybe Natural)
- dssrsTimezone :: Lens' DescribeSnapshotScheduleResponse (Maybe Text)
- dssrsDescription :: Lens' DescribeSnapshotScheduleResponse (Maybe Text)
- dssrsResponseStatus :: Lens' DescribeSnapshotScheduleResponse Int
Creating a Request
describeSnapshotSchedule Source #
Creates a value of DescribeSnapshotSchedule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dssVolumeARN
- The Amazon Resource Name (ARN) of the volume. Use theListVolumes
operation to return a list of gateway volumes.
data DescribeSnapshotSchedule Source #
A JSON object containing the 'DescribeSnapshotScheduleInput$VolumeARN' of the volume.
See: describeSnapshotSchedule
smart constructor.
Request Lenses
dssVolumeARN :: Lens' DescribeSnapshotSchedule Text Source #
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes
operation to return a list of gateway volumes.
Destructuring the Response
describeSnapshotScheduleResponse Source #
Creates a value of DescribeSnapshotScheduleResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dssrsStartAt
- Undocumented member.dssrsVolumeARN
- Undocumented member.dssrsRecurrenceInHours
- Undocumented member.dssrsTimezone
- Undocumented member.dssrsDescription
- Undocumented member.dssrsResponseStatus
- -- | The response status code.
data DescribeSnapshotScheduleResponse Source #
See: describeSnapshotScheduleResponse
smart constructor.
Response Lenses
dssrsStartAt :: Lens' DescribeSnapshotScheduleResponse (Maybe Natural) Source #
Undocumented member.
dssrsVolumeARN :: Lens' DescribeSnapshotScheduleResponse (Maybe Text) Source #
Undocumented member.
dssrsRecurrenceInHours :: Lens' DescribeSnapshotScheduleResponse (Maybe Natural) Source #
Undocumented member.
dssrsTimezone :: Lens' DescribeSnapshotScheduleResponse (Maybe Text) Source #
Undocumented member.
dssrsDescription :: Lens' DescribeSnapshotScheduleResponse (Maybe Text) Source #
Undocumented member.
dssrsResponseStatus :: Lens' DescribeSnapshotScheduleResponse Int Source #
- - | The response status code.