amazonka-redshift-1.4.5: Amazon Redshift SDK.

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

Network.AWS.Redshift.DescribeClusterVersions

Contents

Description

Returns descriptions of the available Amazon Redshift cluster versions. You can call this operation even before creating any clusters to learn more about the Amazon Redshift versions. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide .

This operation returns paginated results.

Synopsis

Creating a Request

describeClusterVersions :: DescribeClusterVersions #

Creates a value of DescribeClusterVersions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dcvClusterParameterGroupFamily - The name of a specific cluster parameter group family to return details for. Constraints: * Must be 1 to 255 alphanumeric characters * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens
  • dcvMarker - An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions request exceed the value specified in MaxRecords , AWS 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.
  • dcvMaxRecords - 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 a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100.
  • dcvClusterVersion - The specific cluster version to return. Example: 1.0

data DescribeClusterVersions #

See: describeClusterVersions smart constructor.

Instances

Eq DescribeClusterVersions # 
Data DescribeClusterVersions # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeClusterVersions -> c DescribeClusterVersions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeClusterVersions #

toConstr :: DescribeClusterVersions -> Constr #

dataTypeOf :: DescribeClusterVersions -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeClusterVersions) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeClusterVersions) #

gmapT :: (forall b. Data b => b -> b) -> DescribeClusterVersions -> DescribeClusterVersions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeClusterVersions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeClusterVersions -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeClusterVersions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeClusterVersions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeClusterVersions -> m DescribeClusterVersions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeClusterVersions -> m DescribeClusterVersions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeClusterVersions -> m DescribeClusterVersions #

Read DescribeClusterVersions # 
Show DescribeClusterVersions # 
Generic DescribeClusterVersions # 
Hashable DescribeClusterVersions # 
NFData DescribeClusterVersions # 

Methods

rnf :: DescribeClusterVersions -> () #

AWSPager DescribeClusterVersions # 
AWSRequest DescribeClusterVersions # 
ToQuery DescribeClusterVersions # 
ToPath DescribeClusterVersions # 
ToHeaders DescribeClusterVersions # 
type Rep DescribeClusterVersions # 
type Rep DescribeClusterVersions = D1 (MetaData "DescribeClusterVersions" "Network.AWS.Redshift.DescribeClusterVersions" "amazonka-redshift-1.4.5-5ygenDSSyjc71mxYPXWxi1" False) (C1 (MetaCons "DescribeClusterVersions'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dcvClusterParameterGroupFamily") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dcvMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dcvMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_dcvClusterVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Rs DescribeClusterVersions # 

Request Lenses

dcvClusterParameterGroupFamily :: Lens' DescribeClusterVersions (Maybe Text) #

The name of a specific cluster parameter group family to return details for. Constraints: * Must be 1 to 255 alphanumeric characters * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens

dcvMarker :: Lens' DescribeClusterVersions (Maybe Text) #

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions request exceed the value specified in MaxRecords , AWS 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.

dcvMaxRecords :: Lens' DescribeClusterVersions (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 a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100.

dcvClusterVersion :: Lens' DescribeClusterVersions (Maybe Text) #

The specific cluster version to return. Example: 1.0

Destructuring the Response

describeClusterVersionsResponse #

Creates a value of DescribeClusterVersionsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dcvrsClusterVersions - A list of Version elements.
  • dcvrsMarker - 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.
  • dcvrsResponseStatus - -- | The response status code.

data DescribeClusterVersionsResponse #

Contains the output from the DescribeClusterVersions action.

See: describeClusterVersionsResponse smart constructor.

Instances

Eq DescribeClusterVersionsResponse # 
Data DescribeClusterVersionsResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeClusterVersionsResponse -> c DescribeClusterVersionsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeClusterVersionsResponse #

toConstr :: DescribeClusterVersionsResponse -> Constr #

dataTypeOf :: DescribeClusterVersionsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeClusterVersionsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeClusterVersionsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeClusterVersionsResponse -> DescribeClusterVersionsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeClusterVersionsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeClusterVersionsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeClusterVersionsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeClusterVersionsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeClusterVersionsResponse -> m DescribeClusterVersionsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeClusterVersionsResponse -> m DescribeClusterVersionsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeClusterVersionsResponse -> m DescribeClusterVersionsResponse #

Read DescribeClusterVersionsResponse # 
Show DescribeClusterVersionsResponse # 
Generic DescribeClusterVersionsResponse # 
NFData DescribeClusterVersionsResponse # 
type Rep DescribeClusterVersionsResponse # 
type Rep DescribeClusterVersionsResponse = D1 (MetaData "DescribeClusterVersionsResponse" "Network.AWS.Redshift.DescribeClusterVersions" "amazonka-redshift-1.4.5-5ygenDSSyjc71mxYPXWxi1" False) (C1 (MetaCons "DescribeClusterVersionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcvrsClusterVersions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ClusterVersion]))) ((:*:) (S1 (MetaSel (Just Symbol "_dcvrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dcvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

dcvrsMarker :: Lens' DescribeClusterVersionsResponse (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.