amazonka-storagegateway-2.0: Amazon Storage Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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

AWSRequest 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 #

Read DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Show DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

NFData DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Eq DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Hashable DescribeSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

type AWSResponse 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" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DescribeSnapshotSchedule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "volumeARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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

  • description :: Maybe Text

    The snapshot description.

  • recurrenceInHours :: Maybe Natural

    The number of hours between snapshots.

  • 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.

  • 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.

  • timezone :: Maybe Text

    A value that indicates the time zone of the gateway.

  • volumeARN :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Associated Types

type Rep DescribeSnapshotScheduleResponse :: Type -> Type #

Read DescribeSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Show DescribeSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

NFData DescribeSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSnapshotSchedule

Eq 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" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DescribeSnapshotScheduleResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "recurrenceInHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "startAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "timezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "volumeARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:description:DescribeSnapshotScheduleResponse', describeSnapshotScheduleResponse_description - The snapshot description.

$sel:recurrenceInHours:DescribeSnapshotScheduleResponse', describeSnapshotScheduleResponse_recurrenceInHours - The number of hours between snapshots.

$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.

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:timezone:DescribeSnapshotScheduleResponse', describeSnapshotScheduleResponse_timezone - A value that indicates the time zone of the gateway.

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

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

A value that indicates 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.