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

Description

Returns an array of DC2 ReservedNodeOfferings that matches the payment type, term, and usage price of the given DC1 reserved node.

This operation returns paginated results.

Synopsis

Creating a Request

data GetReservedNodeExchangeOfferings Source #

See: newGetReservedNodeExchangeOfferings smart constructor.

Constructors

GetReservedNodeExchangeOfferings' 

Fields

  • marker :: Maybe Text

    A value that indicates the starting point for the next set of ReservedNodeOfferings.

  • maxRecords :: Maybe Int

    An integer setting the maximum number of ReservedNodeOfferings to retrieve.

  • reservedNodeId :: Text

    A string representing the node identifier for the DC1 Reserved Node to be exchanged.

Instances

Instances details
Eq GetReservedNodeExchangeOfferings Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

Read GetReservedNodeExchangeOfferings Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

Show GetReservedNodeExchangeOfferings Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

Generic GetReservedNodeExchangeOfferings Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

Associated Types

type Rep GetReservedNodeExchangeOfferings :: Type -> Type #

NFData GetReservedNodeExchangeOfferings Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

Hashable GetReservedNodeExchangeOfferings Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

AWSPager GetReservedNodeExchangeOfferings Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

AWSRequest GetReservedNodeExchangeOfferings Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

ToHeaders GetReservedNodeExchangeOfferings Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

ToPath GetReservedNodeExchangeOfferings Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

ToQuery GetReservedNodeExchangeOfferings Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

type Rep GetReservedNodeExchangeOfferings Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

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

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

newGetReservedNodeExchangeOfferings Source #

Create a value of GetReservedNodeExchangeOfferings 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:marker:GetReservedNodeExchangeOfferings', getReservedNodeExchangeOfferings_marker - A value that indicates the starting point for the next set of ReservedNodeOfferings.

$sel:maxRecords:GetReservedNodeExchangeOfferings', getReservedNodeExchangeOfferings_maxRecords - An integer setting the maximum number of ReservedNodeOfferings to retrieve.

$sel:reservedNodeId:GetReservedNodeExchangeOfferings', getReservedNodeExchangeOfferings_reservedNodeId - A string representing the node identifier for the DC1 Reserved Node to be exchanged.

Request Lenses

getReservedNodeExchangeOfferings_marker :: Lens' GetReservedNodeExchangeOfferings (Maybe Text) Source #

A value that indicates the starting point for the next set of ReservedNodeOfferings.

getReservedNodeExchangeOfferings_maxRecords :: Lens' GetReservedNodeExchangeOfferings (Maybe Int) Source #

An integer setting the maximum number of ReservedNodeOfferings to retrieve.

getReservedNodeExchangeOfferings_reservedNodeId :: Lens' GetReservedNodeExchangeOfferings Text Source #

A string representing the node identifier for the DC1 Reserved Node to be exchanged.

Destructuring the Response

data GetReservedNodeExchangeOfferingsResponse Source #

Constructors

GetReservedNodeExchangeOfferingsResponse' 

Fields

  • reservedNodeOfferings :: Maybe [ReservedNodeOffering]

    Returns an array of ReservedNodeOffering objects.

  • marker :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetReservedNodeExchangeOfferingsResponse Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

Read GetReservedNodeExchangeOfferingsResponse Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

Show GetReservedNodeExchangeOfferingsResponse Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

Generic GetReservedNodeExchangeOfferingsResponse Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

NFData GetReservedNodeExchangeOfferingsResponse Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

type Rep GetReservedNodeExchangeOfferingsResponse Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeOfferings

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

newGetReservedNodeExchangeOfferingsResponse Source #

Create a value of GetReservedNodeExchangeOfferingsResponse 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:reservedNodeOfferings:GetReservedNodeExchangeOfferingsResponse', getReservedNodeExchangeOfferingsResponse_reservedNodeOfferings - Returns an array of ReservedNodeOffering objects.

$sel:marker:GetReservedNodeExchangeOfferings', getReservedNodeExchangeOfferingsResponse_marker - An optional parameter that specifies the starting point for returning a set of response records. When the results of a GetReservedNodeExchangeOfferings 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:httpStatus:GetReservedNodeExchangeOfferingsResponse', getReservedNodeExchangeOfferingsResponse_httpStatus - The response's http status code.

Response Lenses

getReservedNodeExchangeOfferingsResponse_marker :: Lens' GetReservedNodeExchangeOfferingsResponse (Maybe Text) Source #

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