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 a list of the available reserved node offerings by Amazon Redshift with their descriptions including the node type, the fixed and recurring costs of reserving the node and duration the node will be reserved for you. These descriptions help you determine which reserve node offering you want to purchase. You then use the unique offering ID in you call to PurchaseReservedNodeOffering to reserve one or more nodes for your Amazon Redshift cluster.
For more information about reserved node offerings, go to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management Guide.
This operation returns paginated results.
Synopsis
- data DescribeReservedNodeOfferings = DescribeReservedNodeOfferings' {}
- newDescribeReservedNodeOfferings :: DescribeReservedNodeOfferings
- describeReservedNodeOfferings_reservedNodeOfferingId :: Lens' DescribeReservedNodeOfferings (Maybe Text)
- describeReservedNodeOfferings_marker :: Lens' DescribeReservedNodeOfferings (Maybe Text)
- describeReservedNodeOfferings_maxRecords :: Lens' DescribeReservedNodeOfferings (Maybe Int)
- data DescribeReservedNodeOfferingsResponse = DescribeReservedNodeOfferingsResponse' {}
- newDescribeReservedNodeOfferingsResponse :: Int -> DescribeReservedNodeOfferingsResponse
- describeReservedNodeOfferingsResponse_reservedNodeOfferings :: Lens' DescribeReservedNodeOfferingsResponse (Maybe [ReservedNodeOffering])
- describeReservedNodeOfferingsResponse_marker :: Lens' DescribeReservedNodeOfferingsResponse (Maybe Text)
- describeReservedNodeOfferingsResponse_httpStatus :: Lens' DescribeReservedNodeOfferingsResponse Int
Creating a Request
data DescribeReservedNodeOfferings Source #
See: newDescribeReservedNodeOfferings
smart constructor.
DescribeReservedNodeOfferings' | |
|
Instances
newDescribeReservedNodeOfferings :: DescribeReservedNodeOfferings Source #
Create a value of DescribeReservedNodeOfferings
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:reservedNodeOfferingId:DescribeReservedNodeOfferings'
, describeReservedNodeOfferings_reservedNodeOfferingId
- The unique identifier for the offering.
$sel:marker:DescribeReservedNodeOfferings'
, describeReservedNodeOfferings_marker
- An optional parameter that specifies the starting point to return a set
of response records. When the results of a DescribeReservedNodeOfferings
request exceed the value specified in MaxRecords
, Amazon Web Services
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:maxRecords:DescribeReservedNodeOfferings'
, describeReservedNodeOfferings_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.
Default: 100
Constraints: minimum 20, maximum 100.
Request Lenses
describeReservedNodeOfferings_reservedNodeOfferingId :: Lens' DescribeReservedNodeOfferings (Maybe Text) Source #
The unique identifier for the offering.
describeReservedNodeOfferings_marker :: Lens' DescribeReservedNodeOfferings (Maybe Text) Source #
An optional parameter that specifies the starting point to return a set
of response records. When the results of a DescribeReservedNodeOfferings
request exceed the value specified in MaxRecords
, Amazon Web Services
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.
describeReservedNodeOfferings_maxRecords :: Lens' DescribeReservedNodeOfferings (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.
Default: 100
Constraints: minimum 20, maximum 100.
Destructuring the Response
data DescribeReservedNodeOfferingsResponse Source #
See: newDescribeReservedNodeOfferingsResponse
smart constructor.
DescribeReservedNodeOfferingsResponse' | |
|
Instances
newDescribeReservedNodeOfferingsResponse Source #
Create a value of DescribeReservedNodeOfferingsResponse
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:DescribeReservedNodeOfferingsResponse'
, describeReservedNodeOfferingsResponse_reservedNodeOfferings
- A list of ReservedNodeOffering
objects.
$sel:marker:DescribeReservedNodeOfferings'
, describeReservedNodeOfferingsResponse_marker
- 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.
$sel:httpStatus:DescribeReservedNodeOfferingsResponse'
, describeReservedNodeOfferingsResponse_httpStatus
- The response's http status code.
Response Lenses
describeReservedNodeOfferingsResponse_reservedNodeOfferings :: Lens' DescribeReservedNodeOfferingsResponse (Maybe [ReservedNodeOffering]) Source #
A list of ReservedNodeOffering
objects.
describeReservedNodeOfferingsResponse_marker :: Lens' DescribeReservedNodeOfferingsResponse (Maybe Text) Source #
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.
describeReservedNodeOfferingsResponse_httpStatus :: Lens' DescribeReservedNodeOfferingsResponse Int Source #
The response's http status code.