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

Description

Exchanges a DC1 Reserved Node for a DC2 Reserved Node with no changes to the configuration (term, payment type, or number of nodes) and no additional costs.

Synopsis

Creating a Request

data AcceptReservedNodeExchange Source #

See: newAcceptReservedNodeExchange smart constructor.

Constructors

AcceptReservedNodeExchange' 

Fields

  • reservedNodeId :: Text

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

  • targetReservedNodeOfferingId :: Text

    The unique identifier of the DC2 Reserved Node offering to be used for the exchange. You can obtain the value for the parameter by calling GetReservedNodeExchangeOfferings

Instances

Instances details
Eq AcceptReservedNodeExchange Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

Read AcceptReservedNodeExchange Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

Show AcceptReservedNodeExchange Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

Generic AcceptReservedNodeExchange Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

Associated Types

type Rep AcceptReservedNodeExchange :: Type -> Type #

NFData AcceptReservedNodeExchange Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

Hashable AcceptReservedNodeExchange Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

AWSRequest AcceptReservedNodeExchange Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

ToHeaders AcceptReservedNodeExchange Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

ToPath AcceptReservedNodeExchange Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

ToQuery AcceptReservedNodeExchange Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

type Rep AcceptReservedNodeExchange Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

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

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

newAcceptReservedNodeExchange Source #

Create a value of AcceptReservedNodeExchange 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:reservedNodeId:AcceptReservedNodeExchange', acceptReservedNodeExchange_reservedNodeId - A string representing the node identifier of the DC1 Reserved Node to be exchanged.

$sel:targetReservedNodeOfferingId:AcceptReservedNodeExchange', acceptReservedNodeExchange_targetReservedNodeOfferingId - The unique identifier of the DC2 Reserved Node offering to be used for the exchange. You can obtain the value for the parameter by calling GetReservedNodeExchangeOfferings

Request Lenses

acceptReservedNodeExchange_reservedNodeId :: Lens' AcceptReservedNodeExchange Text Source #

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

acceptReservedNodeExchange_targetReservedNodeOfferingId :: Lens' AcceptReservedNodeExchange Text Source #

The unique identifier of the DC2 Reserved Node offering to be used for the exchange. You can obtain the value for the parameter by calling GetReservedNodeExchangeOfferings

Destructuring the Response

data AcceptReservedNodeExchangeResponse Source #

Constructors

AcceptReservedNodeExchangeResponse' 

Fields

Instances

Instances details
Eq AcceptReservedNodeExchangeResponse Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

Read AcceptReservedNodeExchangeResponse Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

Show AcceptReservedNodeExchangeResponse Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

Generic AcceptReservedNodeExchangeResponse Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

Associated Types

type Rep AcceptReservedNodeExchangeResponse :: Type -> Type #

NFData AcceptReservedNodeExchangeResponse Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

type Rep AcceptReservedNodeExchangeResponse Source # 
Instance details

Defined in Amazonka.Redshift.AcceptReservedNodeExchange

type Rep AcceptReservedNodeExchangeResponse = D1 ('MetaData "AcceptReservedNodeExchangeResponse" "Amazonka.Redshift.AcceptReservedNodeExchange" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "AcceptReservedNodeExchangeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "exchangedReservedNode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservedNode)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses