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 |
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 types.
Synopsis
- data DescribeSnapshotSchedule = DescribeSnapshotSchedule' {}
- newDescribeSnapshotSchedule :: Text -> DescribeSnapshotSchedule
- describeSnapshotSchedule_volumeARN :: Lens' DescribeSnapshotSchedule Text
- data DescribeSnapshotScheduleResponse = DescribeSnapshotScheduleResponse' {}
- newDescribeSnapshotScheduleResponse :: Int -> DescribeSnapshotScheduleResponse
- describeSnapshotScheduleResponse_startAt :: Lens' DescribeSnapshotScheduleResponse (Maybe Natural)
- describeSnapshotScheduleResponse_volumeARN :: Lens' DescribeSnapshotScheduleResponse (Maybe Text)
- describeSnapshotScheduleResponse_recurrenceInHours :: Lens' DescribeSnapshotScheduleResponse (Maybe Natural)
- describeSnapshotScheduleResponse_timezone :: Lens' DescribeSnapshotScheduleResponse (Maybe Text)
- describeSnapshotScheduleResponse_description :: Lens' DescribeSnapshotScheduleResponse (Maybe Text)
- describeSnapshotScheduleResponse_tags :: Lens' DescribeSnapshotScheduleResponse (Maybe [Tag])
- describeSnapshotScheduleResponse_httpStatus :: Lens' DescribeSnapshotScheduleResponse Int
Creating a Request
data DescribeSnapshotSchedule Source #
A JSON object containing the DescribeSnapshotScheduleInput$VolumeARN of the volume.
See: newDescribeSnapshotSchedule
smart constructor.
Instances
newDescribeSnapshotSchedule Source #
Create a value of DescribeSnapshotSchedule
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:volumeARN:DescribeSnapshotSchedule'
, describeSnapshotSchedule_volumeARN
- The Amazon Resource Name (ARN) of the volume. Use the ListVolumes
operation to return a list of gateway volumes.
Request Lenses
describeSnapshotSchedule_volumeARN :: 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
data DescribeSnapshotScheduleResponse Source #
See: newDescribeSnapshotScheduleResponse
smart constructor.
DescribeSnapshotScheduleResponse' | |
|
Instances
newDescribeSnapshotScheduleResponse Source #
Create a value of DescribeSnapshotScheduleResponse
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:startAt:DescribeSnapshotScheduleResponse'
, describeSnapshotScheduleResponse_startAt
- The hour of the day at which the snapshot schedule begins represented as
hh, where hh is the hour (0 to 23). The hour of the day is in the
time zone of the gateway.
$sel:volumeARN:DescribeSnapshotSchedule'
, describeSnapshotScheduleResponse_volumeARN
- The Amazon Resource Name (ARN) of the volume that was specified in the
request.
$sel:recurrenceInHours:DescribeSnapshotScheduleResponse'
, describeSnapshotScheduleResponse_recurrenceInHours
- The number of hours between snapshots.
$sel:timezone:DescribeSnapshotScheduleResponse'
, describeSnapshotScheduleResponse_timezone
- A value that indicates the time zone of the gateway.
$sel:description:DescribeSnapshotScheduleResponse'
, describeSnapshotScheduleResponse_description
- The snapshot description.
$sel:tags:DescribeSnapshotScheduleResponse'
, describeSnapshotScheduleResponse_tags
- A list of up to 50 tags assigned to the snapshot schedule, sorted
alphabetically by key name. Each tag is a key-value pair. For a gateway
with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.
$sel:httpStatus:DescribeSnapshotScheduleResponse'
, describeSnapshotScheduleResponse_httpStatus
- The response's http status code.
Response Lenses
describeSnapshotScheduleResponse_startAt :: Lens' DescribeSnapshotScheduleResponse (Maybe Natural) Source #
The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
describeSnapshotScheduleResponse_volumeARN :: Lens' DescribeSnapshotScheduleResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the volume that was specified in the request.
describeSnapshotScheduleResponse_recurrenceInHours :: Lens' DescribeSnapshotScheduleResponse (Maybe Natural) Source #
The number of hours between snapshots.
describeSnapshotScheduleResponse_timezone :: Lens' DescribeSnapshotScheduleResponse (Maybe Text) Source #
A value that indicates the time zone of the gateway.
describeSnapshotScheduleResponse_description :: Lens' DescribeSnapshotScheduleResponse (Maybe Text) Source #
The snapshot description.
describeSnapshotScheduleResponse_tags :: Lens' DescribeSnapshotScheduleResponse (Maybe [Tag]) Source #
A list of up to 50 tags assigned to the snapshot schedule, sorted
alphabetically by key name. Each tag is a key-value pair. For a gateway
with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.
describeSnapshotScheduleResponse_httpStatus :: Lens' DescribeSnapshotScheduleResponse Int Source #
The response's http status code.