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

Description

Returns a list of all the available maintenance tracks.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeClusterTracks Source #

See: newDescribeClusterTracks smart constructor.

Constructors

DescribeClusterTracks' 

Fields

  • maintenanceTrackName :: Maybe Text

    The name of the maintenance track.

  • marker :: Maybe Text

    An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterTracks 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.

  • maxRecords :: Maybe Int

    An integer value for the maximum number of maintenance tracks to return.

Instances

Instances details
Eq DescribeClusterTracks Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

Read DescribeClusterTracks Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

Show DescribeClusterTracks Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

Generic DescribeClusterTracks Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

Associated Types

type Rep DescribeClusterTracks :: Type -> Type #

NFData DescribeClusterTracks Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

Methods

rnf :: DescribeClusterTracks -> () #

Hashable DescribeClusterTracks Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

AWSPager DescribeClusterTracks Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

AWSRequest DescribeClusterTracks Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

Associated Types

type AWSResponse DescribeClusterTracks #

ToHeaders DescribeClusterTracks Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

ToPath DescribeClusterTracks Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

ToQuery DescribeClusterTracks Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

type Rep DescribeClusterTracks Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

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

Defined in Amazonka.Redshift.DescribeClusterTracks

newDescribeClusterTracks :: DescribeClusterTracks Source #

Create a value of DescribeClusterTracks 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:maintenanceTrackName:DescribeClusterTracks', describeClusterTracks_maintenanceTrackName - The name of the maintenance track.

$sel:marker:DescribeClusterTracks', describeClusterTracks_marker - An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterTracks 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.

$sel:maxRecords:DescribeClusterTracks', describeClusterTracks_maxRecords - An integer value for the maximum number of maintenance tracks to return.

Request Lenses

describeClusterTracks_marker :: Lens' DescribeClusterTracks (Maybe Text) Source #

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterTracks 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.

describeClusterTracks_maxRecords :: Lens' DescribeClusterTracks (Maybe Int) Source #

An integer value for the maximum number of maintenance tracks to return.

Destructuring the Response

data DescribeClusterTracksResponse Source #

See: newDescribeClusterTracksResponse smart constructor.

Constructors

DescribeClusterTracksResponse' 

Fields

  • maintenanceTracks :: Maybe [MaintenanceTrack]

    A list of maintenance tracks output by the DescribeClusterTracks operation.

  • marker :: Maybe Text

    The starting point to return a set of response tracklist records. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeClusterTracksResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

Read DescribeClusterTracksResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

Show DescribeClusterTracksResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

Generic DescribeClusterTracksResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

Associated Types

type Rep DescribeClusterTracksResponse :: Type -> Type #

NFData DescribeClusterTracksResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

type Rep DescribeClusterTracksResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeClusterTracks

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

newDescribeClusterTracksResponse Source #

Create a value of DescribeClusterTracksResponse 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:maintenanceTracks:DescribeClusterTracksResponse', describeClusterTracksResponse_maintenanceTracks - A list of maintenance tracks output by the DescribeClusterTracks operation.

$sel:marker:DescribeClusterTracks', describeClusterTracksResponse_marker - The starting point to return a set of response tracklist records. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

$sel:httpStatus:DescribeClusterTracksResponse', describeClusterTracksResponse_httpStatus - The response's http status code.

Response Lenses

describeClusterTracksResponse_maintenanceTracks :: Lens' DescribeClusterTracksResponse (Maybe [MaintenanceTrack]) Source #

A list of maintenance tracks output by the DescribeClusterTracks operation.

describeClusterTracksResponse_marker :: Lens' DescribeClusterTracksResponse (Maybe Text) Source #

The starting point to return a set of response tracklist records. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.