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

Contents

Description

Returns the descriptions of the reserved nodes.

This operation returns paginated results.

Synopsis

Creating a Request

describeReservedNodes :: DescribeReservedNodes #

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

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

  • drnReservedNodeId - Identifier for the node reservation.
  • drnMarker - An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodes 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.
  • drnMaxRecords - 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.

data DescribeReservedNodes #

See: describeReservedNodes smart constructor.

Instances

Eq DescribeReservedNodes # 
Data DescribeReservedNodes # 

Methods

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

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

toConstr :: DescribeReservedNodes -> Constr #

dataTypeOf :: DescribeReservedNodes -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeReservedNodes # 
Show DescribeReservedNodes # 
Generic DescribeReservedNodes # 
Hashable DescribeReservedNodes # 
NFData DescribeReservedNodes # 

Methods

rnf :: DescribeReservedNodes -> () #

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

Request Lenses

drnReservedNodeId :: Lens' DescribeReservedNodes (Maybe Text) #

Identifier for the node reservation.

drnMarker :: Lens' DescribeReservedNodes (Maybe Text) #

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

drnMaxRecords :: Lens' DescribeReservedNodes (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.

Destructuring the Response

describeReservedNodesResponse #

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

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

  • drnrsReservedNodes - The list of ReservedNode objects.
  • drnrsMarker - 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.
  • drnrsResponseStatus - -- | The response status code.

data DescribeReservedNodesResponse #

See: describeReservedNodesResponse smart constructor.

Instances

Eq DescribeReservedNodesResponse # 
Data DescribeReservedNodesResponse # 

Methods

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

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

toConstr :: DescribeReservedNodesResponse -> Constr #

dataTypeOf :: DescribeReservedNodesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeReservedNodesResponse # 
Show DescribeReservedNodesResponse # 
Generic DescribeReservedNodesResponse # 
NFData DescribeReservedNodesResponse # 
type Rep DescribeReservedNodesResponse # 
type Rep DescribeReservedNodesResponse = D1 (MetaData "DescribeReservedNodesResponse" "Network.AWS.Redshift.DescribeReservedNodes" "amazonka-redshift-1.4.5-5ygenDSSyjc71mxYPXWxi1" False) (C1 (MetaCons "DescribeReservedNodesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_drnrsReservedNodes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ReservedNode]))) ((:*:) (S1 (MetaSel (Just Symbol "_drnrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

drnrsMarker :: Lens' DescribeReservedNodesResponse (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.