| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Redshift.DescribeReservedNodeOfferings
Description
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_marker :: Lens' DescribeReservedNodeOfferings (Maybe Text)
- describeReservedNodeOfferings_maxRecords :: Lens' DescribeReservedNodeOfferings (Maybe Int)
- describeReservedNodeOfferings_reservedNodeOfferingId :: Lens' DescribeReservedNodeOfferings (Maybe Text)
- data DescribeReservedNodeOfferingsResponse = DescribeReservedNodeOfferingsResponse' {}
- newDescribeReservedNodeOfferingsResponse :: Int -> DescribeReservedNodeOfferingsResponse
- describeReservedNodeOfferingsResponse_marker :: Lens' DescribeReservedNodeOfferingsResponse (Maybe Text)
- describeReservedNodeOfferingsResponse_reservedNodeOfferings :: Lens' DescribeReservedNodeOfferingsResponse (Maybe [ReservedNodeOffering])
- describeReservedNodeOfferingsResponse_httpStatus :: Lens' DescribeReservedNodeOfferingsResponse Int
Creating a Request
data DescribeReservedNodeOfferings Source #
See: newDescribeReservedNodeOfferings smart constructor.
Constructors
| DescribeReservedNodeOfferings' | |
Fields
| |
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:
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.
DescribeReservedNodeOfferings, describeReservedNodeOfferings_reservedNodeOfferingId - The unique identifier for the offering.
Request Lenses
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.
describeReservedNodeOfferings_reservedNodeOfferingId :: Lens' DescribeReservedNodeOfferings (Maybe Text) Source #
The unique identifier for the offering.
Destructuring the Response
data DescribeReservedNodeOfferingsResponse Source #
See: newDescribeReservedNodeOfferingsResponse smart constructor.
Constructors
| DescribeReservedNodeOfferingsResponse' | |
Fields
| |
Instances
newDescribeReservedNodeOfferingsResponse Source #
Arguments
| :: Int | |
| -> DescribeReservedNodeOfferingsResponse |
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:
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:reservedNodeOfferings:DescribeReservedNodeOfferingsResponse', describeReservedNodeOfferingsResponse_reservedNodeOfferings - A list of ReservedNodeOffering objects.
$sel:httpStatus:DescribeReservedNodeOfferingsResponse', describeReservedNodeOfferingsResponse_httpStatus - The response's http status code.
Response Lenses
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_reservedNodeOfferings :: Lens' DescribeReservedNodeOfferingsResponse (Maybe [ReservedNodeOffering]) Source #
A list of ReservedNodeOffering objects.
describeReservedNodeOfferingsResponse_httpStatus :: Lens' DescribeReservedNodeOfferingsResponse Int Source #
The response's http status code.