amazonka-redshift-2.0: Amazon Redshift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

Description

Gets the configuration options for the reserved-node exchange. These options include information about the source reserved node and target reserved node offering. Details include the node type, the price, the node count, and the offering type.

This operation returns paginated results.

Synopsis

Creating a Request

data GetReservedNodeExchangeConfigurationOptions Source #

Constructors

GetReservedNodeExchangeConfigurationOptions' 

Fields

  • clusterIdentifier :: Maybe Text

    The identifier for the cluster that is the source for a reserved-node exchange.

  • marker :: Maybe Text

    An optional pagination token provided by a previous GetReservedNodeExchangeConfigurationOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter. 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

    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.

  • snapshotIdentifier :: Maybe Text

    The identifier for the snapshot that is the source for the reserved-node exchange.

  • actionType :: ReservedNodeExchangeActionType

    The action type of the reserved-node configuration. The action type can be an exchange initiated from either a snapshot or a resize.

Instances

Instances details
ToHeaders GetReservedNodeExchangeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

ToPath GetReservedNodeExchangeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

ToQuery GetReservedNodeExchangeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

AWSPager GetReservedNodeExchangeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

AWSRequest GetReservedNodeExchangeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

Generic GetReservedNodeExchangeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

Read GetReservedNodeExchangeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

Show GetReservedNodeExchangeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

NFData GetReservedNodeExchangeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

Eq GetReservedNodeExchangeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

Hashable GetReservedNodeExchangeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

type AWSResponse GetReservedNodeExchangeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

type Rep GetReservedNodeExchangeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

type Rep GetReservedNodeExchangeConfigurationOptions = D1 ('MetaData "GetReservedNodeExchangeConfigurationOptions" "Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "GetReservedNodeExchangeConfigurationOptions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clusterIdentifier") '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)) :*: (S1 ('MetaSel ('Just "snapshotIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "actionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReservedNodeExchangeActionType)))))

newGetReservedNodeExchangeConfigurationOptions Source #

Create a value of GetReservedNodeExchangeConfigurationOptions 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:

GetReservedNodeExchangeConfigurationOptions, getReservedNodeExchangeConfigurationOptions_clusterIdentifier - The identifier for the cluster that is the source for a reserved-node exchange.

GetReservedNodeExchangeConfigurationOptions, getReservedNodeExchangeConfigurationOptions_marker - An optional pagination token provided by a previous GetReservedNodeExchangeConfigurationOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter. 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:GetReservedNodeExchangeConfigurationOptions', getReservedNodeExchangeConfigurationOptions_maxRecords - 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.

GetReservedNodeExchangeConfigurationOptions, getReservedNodeExchangeConfigurationOptions_snapshotIdentifier - The identifier for the snapshot that is the source for the reserved-node exchange.

$sel:actionType:GetReservedNodeExchangeConfigurationOptions', getReservedNodeExchangeConfigurationOptions_actionType - The action type of the reserved-node configuration. The action type can be an exchange initiated from either a snapshot or a resize.

Request Lenses

getReservedNodeExchangeConfigurationOptions_clusterIdentifier :: Lens' GetReservedNodeExchangeConfigurationOptions (Maybe Text) Source #

The identifier for the cluster that is the source for a reserved-node exchange.

getReservedNodeExchangeConfigurationOptions_marker :: Lens' GetReservedNodeExchangeConfigurationOptions (Maybe Text) Source #

An optional pagination token provided by a previous GetReservedNodeExchangeConfigurationOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

getReservedNodeExchangeConfigurationOptions_maxRecords :: Lens' GetReservedNodeExchangeConfigurationOptions (Maybe Int) Source #

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.

getReservedNodeExchangeConfigurationOptions_snapshotIdentifier :: Lens' GetReservedNodeExchangeConfigurationOptions (Maybe Text) Source #

The identifier for the snapshot that is the source for the reserved-node exchange.

getReservedNodeExchangeConfigurationOptions_actionType :: Lens' GetReservedNodeExchangeConfigurationOptions ReservedNodeExchangeActionType Source #

The action type of the reserved-node configuration. The action type can be an exchange initiated from either a snapshot or a resize.

Destructuring the Response

data GetReservedNodeExchangeConfigurationOptionsResponse Source #

Constructors

GetReservedNodeExchangeConfigurationOptionsResponse' 

Fields

Instances

Instances details
Generic GetReservedNodeExchangeConfigurationOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

Read GetReservedNodeExchangeConfigurationOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

Show GetReservedNodeExchangeConfigurationOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

NFData GetReservedNodeExchangeConfigurationOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

Eq GetReservedNodeExchangeConfigurationOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

type Rep GetReservedNodeExchangeConfigurationOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions

type Rep GetReservedNodeExchangeConfigurationOptionsResponse = D1 ('MetaData "GetReservedNodeExchangeConfigurationOptionsResponse" "Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "GetReservedNodeExchangeConfigurationOptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "reservedNodeConfigurationOptionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReservedNodeConfigurationOption])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetReservedNodeExchangeConfigurationOptionsResponse Source #

Create a value of GetReservedNodeExchangeConfigurationOptionsResponse 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:

GetReservedNodeExchangeConfigurationOptions, getReservedNodeExchangeConfigurationOptionsResponse_marker - A pagination token provided by a previous GetReservedNodeExchangeConfigurationOptions request.

$sel:reservedNodeConfigurationOptionList:GetReservedNodeExchangeConfigurationOptionsResponse', getReservedNodeExchangeConfigurationOptionsResponse_reservedNodeConfigurationOptionList - the configuration options for the reserved-node exchange. These options include information about the source reserved node and target reserved node. Details include the node type, the price, the node count, and the offering type.

$sel:httpStatus:GetReservedNodeExchangeConfigurationOptionsResponse', getReservedNodeExchangeConfigurationOptionsResponse_httpStatus - The response's http status code.

Response Lenses

getReservedNodeExchangeConfigurationOptionsResponse_marker :: Lens' GetReservedNodeExchangeConfigurationOptionsResponse (Maybe Text) Source #

A pagination token provided by a previous GetReservedNodeExchangeConfigurationOptions request.

getReservedNodeExchangeConfigurationOptionsResponse_reservedNodeConfigurationOptionList :: Lens' GetReservedNodeExchangeConfigurationOptionsResponse (Maybe [ReservedNodeConfigurationOption]) Source #

the configuration options for the reserved-node exchange. These options include information about the source reserved node and target reserved node. Details include the node type, the price, the node count, and the offering type.