libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.StorageGateway.DescribeSnapshotSchedule

Description

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

Creating a Request

data DescribeSnapshotSchedule Source #

A JSON object containing the DescribeSnapshotScheduleInput$VolumeARN of the volume.

See: newDescribeSnapshotSchedule smart constructor.

Constructors

DescribeSnapshotSchedule' 

Fields

  • volumeARN :: Text

    The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

Instances

Instances details
Eq DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Read DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Show DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Generic DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Associated Types

type Rep DescribeSnapshotSchedule :: Type -> Type #

NFData DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Hashable DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

ToJSON DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

AWSRequest DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

ToHeaders DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

ToPath DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

ToQuery DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

type Rep DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

type Rep DescribeSnapshotSchedule = D1 ('MetaData "DescribeSnapshotSchedule" "Amazonka.StorageGateway.DescribeSnapshotSchedule" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DescribeSnapshotSchedule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "volumeARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

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.

Constructors

DescribeSnapshotScheduleResponse' 

Fields

  • startAt :: Maybe Natural

    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.

  • volumeARN :: Maybe Text

    The Amazon Resource Name (ARN) of the volume that was specified in the request.

  • recurrenceInHours :: Maybe Natural

    The number of hours between snapshots.

  • timezone :: Maybe Text

    A value that indicates the time zone of the gateway.

  • description :: Maybe Text

    The snapshot description.

  • tags :: Maybe [Tag]

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Read DescribeSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Show DescribeSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Generic DescribeSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Associated Types

type Rep DescribeSnapshotScheduleResponse :: Type -> Type #

NFData DescribeSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

type Rep DescribeSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

type Rep DescribeSnapshotScheduleResponse = D1 ('MetaData "DescribeSnapshotScheduleResponse" "Amazonka.StorageGateway.DescribeSnapshotSchedule" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DescribeSnapshotScheduleResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "startAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "volumeARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recurrenceInHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: ((S1 ('MetaSel ('Just "timezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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_timezone :: Lens' DescribeSnapshotScheduleResponse (Maybe Text) Source #

A value that indicates the time zone of the gateway.

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.