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

Description

Returns an array of ClusterDbRevision objects.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeClusterDbRevisions Source #

See: newDescribeClusterDbRevisions smart constructor.

Constructors

DescribeClusterDbRevisions' 

Fields

  • clusterIdentifier :: Maybe Text

    A unique identifier for a cluster whose ClusterDbRevisions you are requesting. This parameter is case sensitive. All clusters defined for an account are returned by default.

  • marker :: Maybe Text

    An optional parameter that specifies the starting point for returning a set of response records. When the results of a DescribeClusterDbRevisions request exceed the value specified in MaxRecords, Amazon Redshift returns a value in the marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the marker parameter and retrying the request.

    Constraints: You can specify either the ClusterIdentifier parameter, or the marker parameter, but not both.

  • maxRecords :: Maybe Int

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

    Default: 100

    Constraints: minimum 20, maximum 100.

Instances

Instances details
Eq DescribeClusterDbRevisions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

Read DescribeClusterDbRevisions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

Show DescribeClusterDbRevisions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

Generic DescribeClusterDbRevisions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

Associated Types

type Rep DescribeClusterDbRevisions :: Type -> Type #

NFData DescribeClusterDbRevisions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

Hashable DescribeClusterDbRevisions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

AWSPager DescribeClusterDbRevisions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

AWSRequest DescribeClusterDbRevisions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

ToHeaders DescribeClusterDbRevisions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

ToPath DescribeClusterDbRevisions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

ToQuery DescribeClusterDbRevisions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

type Rep DescribeClusterDbRevisions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

type Rep DescribeClusterDbRevisions = D1 ('MetaData "DescribeClusterDbRevisions" "Amazonka.Redshift.DescribeClusterDbRevisions" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DescribeClusterDbRevisions'" 'PrefixI 'True) (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)))))
type AWSResponse DescribeClusterDbRevisions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

newDescribeClusterDbRevisions :: DescribeClusterDbRevisions Source #

Create a value of DescribeClusterDbRevisions 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:clusterIdentifier:DescribeClusterDbRevisions', describeClusterDbRevisions_clusterIdentifier - A unique identifier for a cluster whose ClusterDbRevisions you are requesting. This parameter is case sensitive. All clusters defined for an account are returned by default.

$sel:marker:DescribeClusterDbRevisions', describeClusterDbRevisions_marker - An optional parameter that specifies the starting point for returning a set of response records. When the results of a DescribeClusterDbRevisions request exceed the value specified in MaxRecords, Amazon Redshift returns a value in the marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the marker parameter and retrying the request.

Constraints: You can specify either the ClusterIdentifier parameter, or the marker parameter, but not both.

$sel:maxRecords:DescribeClusterDbRevisions', describeClusterDbRevisions_maxRecords - The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in the marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the marker parameter and retrying the request.

Default: 100

Constraints: minimum 20, maximum 100.

Request Lenses

describeClusterDbRevisions_clusterIdentifier :: Lens' DescribeClusterDbRevisions (Maybe Text) Source #

A unique identifier for a cluster whose ClusterDbRevisions you are requesting. This parameter is case sensitive. All clusters defined for an account are returned by default.

describeClusterDbRevisions_marker :: Lens' DescribeClusterDbRevisions (Maybe Text) Source #

An optional parameter that specifies the starting point for returning a set of response records. When the results of a DescribeClusterDbRevisions request exceed the value specified in MaxRecords, Amazon Redshift returns a value in the marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the marker parameter and retrying the request.

Constraints: You can specify either the ClusterIdentifier parameter, or the marker parameter, but not both.

describeClusterDbRevisions_maxRecords :: Lens' DescribeClusterDbRevisions (Maybe Int) Source #

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

Default: 100

Constraints: minimum 20, maximum 100.

Destructuring the Response

data DescribeClusterDbRevisionsResponse Source #

Constructors

DescribeClusterDbRevisionsResponse' 

Fields

  • clusterDbRevisions :: Maybe [ClusterDbRevision]

    A list of revisions.

  • marker :: Maybe Text

    A string representing the starting point for the next set of revisions. If a value is returned in a response, you can retrieve the next set of revisions by providing the value in the marker parameter and retrying the command. If the marker field is empty, all revisions have already been returned.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeClusterDbRevisionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

Read DescribeClusterDbRevisionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

Show DescribeClusterDbRevisionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

Generic DescribeClusterDbRevisionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

Associated Types

type Rep DescribeClusterDbRevisionsResponse :: Type -> Type #

NFData DescribeClusterDbRevisionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

type Rep DescribeClusterDbRevisionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterDbRevisions

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

newDescribeClusterDbRevisionsResponse Source #

Create a value of DescribeClusterDbRevisionsResponse 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:clusterDbRevisions:DescribeClusterDbRevisionsResponse', describeClusterDbRevisionsResponse_clusterDbRevisions - A list of revisions.

$sel:marker:DescribeClusterDbRevisions', describeClusterDbRevisionsResponse_marker - A string representing the starting point for the next set of revisions. If a value is returned in a response, you can retrieve the next set of revisions by providing the value in the marker parameter and retrying the command. If the marker field is empty, all revisions have already been returned.

$sel:httpStatus:DescribeClusterDbRevisionsResponse', describeClusterDbRevisionsResponse_httpStatus - The response's http status code.

Response Lenses

describeClusterDbRevisionsResponse_marker :: Lens' DescribeClusterDbRevisionsResponse (Maybe Text) Source #

A string representing the starting point for the next set of revisions. If a value is returned in a response, you can retrieve the next set of revisions by providing the value in the marker parameter and retrying the command. If the marker field is empty, all revisions have already been returned.