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 |
Lists available reserved node offerings.
This operation returns paginated results.
Synopsis
- data DescribeReservedNodesOfferings = DescribeReservedNodesOfferings' {}
- newDescribeReservedNodesOfferings :: DescribeReservedNodesOfferings
- describeReservedNodesOfferings_duration :: Lens' DescribeReservedNodesOfferings (Maybe Text)
- describeReservedNodesOfferings_maxResults :: Lens' DescribeReservedNodesOfferings (Maybe Int)
- describeReservedNodesOfferings_nextToken :: Lens' DescribeReservedNodesOfferings (Maybe Text)
- describeReservedNodesOfferings_nodeType :: Lens' DescribeReservedNodesOfferings (Maybe Text)
- describeReservedNodesOfferings_offeringType :: Lens' DescribeReservedNodesOfferings (Maybe Text)
- describeReservedNodesOfferings_reservedNodesOfferingId :: Lens' DescribeReservedNodesOfferings (Maybe Text)
- data DescribeReservedNodesOfferingsResponse = DescribeReservedNodesOfferingsResponse' {}
- newDescribeReservedNodesOfferingsResponse :: Int -> DescribeReservedNodesOfferingsResponse
- describeReservedNodesOfferingsResponse_nextToken :: Lens' DescribeReservedNodesOfferingsResponse (Maybe Text)
- describeReservedNodesOfferingsResponse_reservedNodesOfferings :: Lens' DescribeReservedNodesOfferingsResponse (Maybe [ReservedNodesOffering])
- describeReservedNodesOfferingsResponse_httpStatus :: Lens' DescribeReservedNodesOfferingsResponse Int
Creating a Request
data DescribeReservedNodesOfferings Source #
See: newDescribeReservedNodesOfferings
smart constructor.
DescribeReservedNodesOfferings' | |
|
Instances
newDescribeReservedNodesOfferings :: DescribeReservedNodesOfferings Source #
Create a value of DescribeReservedNodesOfferings
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:
DescribeReservedNodesOfferings
, describeReservedNodesOfferings_duration
- Duration filter value, specified in years or seconds. Use this parameter
to show only reservations for a given duration.
$sel:maxResults:DescribeReservedNodesOfferings'
, describeReservedNodesOfferings_maxResults
- The maximum number of records to include in the response. If more
records exist than the specified MaxRecords value, a marker is included
in the response so that the remaining results can be retrieved.
DescribeReservedNodesOfferings
, describeReservedNodesOfferings_nextToken
- An optional marker returned from a prior request. Use this marker for
pagination of results from this operation. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords.
DescribeReservedNodesOfferings
, describeReservedNodesOfferings_nodeType
- The node type for the reserved nodes. For more information, see
Supported node types.
DescribeReservedNodesOfferings
, describeReservedNodesOfferings_offeringType
- The offering type filter value. Use this parameter to show only the
available offerings matching the specified offering type. Valid values:
"All Upfront"|"Partial Upfront"| "No Upfront"
DescribeReservedNodesOfferings
, describeReservedNodesOfferings_reservedNodesOfferingId
- The offering identifier filter value. Use this parameter to show only
the available offering that matches the specified reservation
identifier.
Request Lenses
describeReservedNodesOfferings_duration :: Lens' DescribeReservedNodesOfferings (Maybe Text) Source #
Duration filter value, specified in years or seconds. Use this parameter to show only reservations for a given duration.
describeReservedNodesOfferings_maxResults :: Lens' DescribeReservedNodesOfferings (Maybe Int) Source #
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.
describeReservedNodesOfferings_nextToken :: Lens' DescribeReservedNodesOfferings (Maybe Text) Source #
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
describeReservedNodesOfferings_nodeType :: Lens' DescribeReservedNodesOfferings (Maybe Text) Source #
The node type for the reserved nodes. For more information, see Supported node types.
describeReservedNodesOfferings_offeringType :: Lens' DescribeReservedNodesOfferings (Maybe Text) Source #
The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
describeReservedNodesOfferings_reservedNodesOfferingId :: Lens' DescribeReservedNodesOfferings (Maybe Text) Source #
The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.
Destructuring the Response
data DescribeReservedNodesOfferingsResponse Source #
See: newDescribeReservedNodesOfferingsResponse
smart constructor.
DescribeReservedNodesOfferingsResponse' | |
|
Instances
newDescribeReservedNodesOfferingsResponse Source #
Create a value of DescribeReservedNodesOfferingsResponse
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:
DescribeReservedNodesOfferings
, describeReservedNodesOfferingsResponse_nextToken
- An optional marker returned from a prior request. Use this marker for
pagination of results from this operation. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords.
$sel:reservedNodesOfferings:DescribeReservedNodesOfferingsResponse'
, describeReservedNodesOfferingsResponse_reservedNodesOfferings
- Lists available reserved node offerings.
$sel:httpStatus:DescribeReservedNodesOfferingsResponse'
, describeReservedNodesOfferingsResponse_httpStatus
- The response's http status code.
Response Lenses
describeReservedNodesOfferingsResponse_nextToken :: Lens' DescribeReservedNodesOfferingsResponse (Maybe Text) Source #
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
describeReservedNodesOfferingsResponse_reservedNodesOfferings :: Lens' DescribeReservedNodesOfferingsResponse (Maybe [ReservedNodesOffering]) Source #
Lists available reserved node offerings.
describeReservedNodesOfferingsResponse_httpStatus :: Lens' DescribeReservedNodesOfferingsResponse Int Source #
The response's http status code.