libZSservicesZSamazonka-redshiftZSamazonka-redshift
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.Redshift.DescribeSnapshotSchedules

Description

Returns a list of snapshot schedules.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeSnapshotSchedules Source #

See: newDescribeSnapshotSchedules smart constructor.

Constructors

DescribeSnapshotSchedules' 

Fields

  • tagValues :: Maybe [Text]

    The value corresponding to the key of the snapshot schedule tag.

  • tagKeys :: Maybe [Text]

    The key value for a snapshot schedule tag.

  • clusterIdentifier :: Maybe Text

    The unique identifier for the cluster whose snapshot schedules you want to view.

  • marker :: Maybe Text

    A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the marker parameter and retrying the command. If the marker field is empty, all response records have been retrieved for the request.

  • maxRecords :: Maybe Int

    The maximum number or response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

  • scheduleIdentifier :: Maybe Text

    A unique identifier for a snapshot schedule.

Instances

Instances details
Eq DescribeSnapshotSchedules Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

Read DescribeSnapshotSchedules Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

Show DescribeSnapshotSchedules Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

Generic DescribeSnapshotSchedules Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

Associated Types

type Rep DescribeSnapshotSchedules :: Type -> Type #

NFData DescribeSnapshotSchedules Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

Hashable DescribeSnapshotSchedules Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

AWSPager DescribeSnapshotSchedules Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

AWSRequest DescribeSnapshotSchedules Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

ToHeaders DescribeSnapshotSchedules Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

ToPath DescribeSnapshotSchedules Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

ToQuery DescribeSnapshotSchedules Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

type Rep DescribeSnapshotSchedules Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

type Rep DescribeSnapshotSchedules = D1 ('MetaData "DescribeSnapshotSchedules" "Amazonka.Redshift.DescribeSnapshotSchedules" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DescribeSnapshotSchedules'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tagValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "scheduleIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))
type AWSResponse DescribeSnapshotSchedules Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

newDescribeSnapshotSchedules :: DescribeSnapshotSchedules Source #

Create a value of DescribeSnapshotSchedules 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:tagValues:DescribeSnapshotSchedules', describeSnapshotSchedules_tagValues - The value corresponding to the key of the snapshot schedule tag.

$sel:tagKeys:DescribeSnapshotSchedules', describeSnapshotSchedules_tagKeys - The key value for a snapshot schedule tag.

$sel:clusterIdentifier:DescribeSnapshotSchedules', describeSnapshotSchedules_clusterIdentifier - The unique identifier for the cluster whose snapshot schedules you want to view.

$sel:marker:DescribeSnapshotSchedules', describeSnapshotSchedules_marker - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the marker parameter and retrying the command. If the marker field is empty, all response records have been retrieved for the request.

$sel:maxRecords:DescribeSnapshotSchedules', describeSnapshotSchedules_maxRecords - The maximum number or response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

$sel:scheduleIdentifier:DescribeSnapshotSchedules', describeSnapshotSchedules_scheduleIdentifier - A unique identifier for a snapshot schedule.

Request Lenses

describeSnapshotSchedules_tagValues :: Lens' DescribeSnapshotSchedules (Maybe [Text]) Source #

The value corresponding to the key of the snapshot schedule tag.

describeSnapshotSchedules_tagKeys :: Lens' DescribeSnapshotSchedules (Maybe [Text]) Source #

The key value for a snapshot schedule tag.

describeSnapshotSchedules_clusterIdentifier :: Lens' DescribeSnapshotSchedules (Maybe Text) Source #

The unique identifier for the cluster whose snapshot schedules you want to view.

describeSnapshotSchedules_marker :: Lens' DescribeSnapshotSchedules (Maybe Text) Source #

A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the marker parameter and retrying the command. If the marker field is empty, all response records have been retrieved for the request.

describeSnapshotSchedules_maxRecords :: Lens' DescribeSnapshotSchedules (Maybe Int) Source #

The maximum number or response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Destructuring the Response

data DescribeSnapshotSchedulesResponse Source #

See: newDescribeSnapshotSchedulesResponse smart constructor.

Constructors

DescribeSnapshotSchedulesResponse' 

Fields

  • snapshotSchedules :: Maybe [SnapshotSchedule]

    A list of SnapshotSchedules.

  • marker :: Maybe Text

    A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the marker parameter and retrying the command. If the marker field is empty, all response records have been retrieved for the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeSnapshotSchedulesResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

Read DescribeSnapshotSchedulesResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

Show DescribeSnapshotSchedulesResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

Generic DescribeSnapshotSchedulesResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

Associated Types

type Rep DescribeSnapshotSchedulesResponse :: Type -> Type #

NFData DescribeSnapshotSchedulesResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

type Rep DescribeSnapshotSchedulesResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeSnapshotSchedules

type Rep DescribeSnapshotSchedulesResponse = D1 ('MetaData "DescribeSnapshotSchedulesResponse" "Amazonka.Redshift.DescribeSnapshotSchedules" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DescribeSnapshotSchedulesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "snapshotSchedules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SnapshotSchedule])) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeSnapshotSchedulesResponse Source #

Create a value of DescribeSnapshotSchedulesResponse 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:snapshotSchedules:DescribeSnapshotSchedulesResponse', describeSnapshotSchedulesResponse_snapshotSchedules - A list of SnapshotSchedules.

$sel:marker:DescribeSnapshotSchedules', describeSnapshotSchedulesResponse_marker - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the marker parameter and retrying the command. If the marker field is empty, all response records have been retrieved for the request.

$sel:httpStatus:DescribeSnapshotSchedulesResponse', describeSnapshotSchedulesResponse_httpStatus - The response's http status code.

Response Lenses

describeSnapshotSchedulesResponse_marker :: Lens' DescribeSnapshotSchedulesResponse (Maybe Text) Source #

A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the marker parameter and retrying the command. If the marker field is empty, all response records have been retrieved for the request.