Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data GetReservedNodeExchangeOfferings = GetReservedNodeExchangeOfferings' {
- marker :: Maybe Text
- maxRecords :: Maybe Int
- reservedNodeId :: Text
- newGetReservedNodeExchangeOfferings :: Text -> GetReservedNodeExchangeOfferings
- getReservedNodeExchangeOfferings_marker :: Lens' GetReservedNodeExchangeOfferings (Maybe Text)
- getReservedNodeExchangeOfferings_maxRecords :: Lens' GetReservedNodeExchangeOfferings (Maybe Int)
- getReservedNodeExchangeOfferings_reservedNodeId :: Lens' GetReservedNodeExchangeOfferings Text
- data GetReservedNodeExchangeOfferingsResponse = GetReservedNodeExchangeOfferingsResponse' {}
- newGetReservedNodeExchangeOfferingsResponse :: Int -> GetReservedNodeExchangeOfferingsResponse
- getReservedNodeExchangeOfferingsResponse_reservedNodeOfferings :: Lens' GetReservedNodeExchangeOfferingsResponse (Maybe [ReservedNodeOffering])
- getReservedNodeExchangeOfferingsResponse_marker :: Lens' GetReservedNodeExchangeOfferingsResponse (Maybe Text)
- getReservedNodeExchangeOfferingsResponse_httpStatus :: Lens' GetReservedNodeExchangeOfferingsResponse Int
Creating a Request
data GetReservedNodeExchangeOfferings Source #
See: newGetReservedNodeExchangeOfferings
smart constructor.
GetReservedNodeExchangeOfferings' | |
|
Instances
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 #
See: newGetReservedNodeExchangeOfferingsResponse
smart constructor.
GetReservedNodeExchangeOfferingsResponse' | |
|
Instances
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_reservedNodeOfferings :: Lens' GetReservedNodeExchangeOfferingsResponse (Maybe [ReservedNodeOffering]) Source #
Returns an array of ReservedNodeOffering objects.
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.
getReservedNodeExchangeOfferingsResponse_httpStatus :: Lens' GetReservedNodeExchangeOfferingsResponse Int Source #
The response's http status code.