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 |
Returns information about reserved nodes for this account, or about a specified reserved node.
This operation returns paginated results.
Synopsis
- data DescribeReservedNodes = DescribeReservedNodes' {}
- newDescribeReservedNodes :: DescribeReservedNodes
- describeReservedNodes_duration :: Lens' DescribeReservedNodes (Maybe Text)
- describeReservedNodes_maxResults :: Lens' DescribeReservedNodes (Maybe Int)
- describeReservedNodes_nextToken :: Lens' DescribeReservedNodes (Maybe Text)
- describeReservedNodes_nodeType :: Lens' DescribeReservedNodes (Maybe Text)
- describeReservedNodes_offeringType :: Lens' DescribeReservedNodes (Maybe Text)
- describeReservedNodes_reservationId :: Lens' DescribeReservedNodes (Maybe Text)
- describeReservedNodes_reservedNodesOfferingId :: Lens' DescribeReservedNodes (Maybe Text)
- data DescribeReservedNodesResponse = DescribeReservedNodesResponse' {
- nextToken :: Maybe Text
- reservedNodes :: Maybe [ReservedNode]
- httpStatus :: Int
- newDescribeReservedNodesResponse :: Int -> DescribeReservedNodesResponse
- describeReservedNodesResponse_nextToken :: Lens' DescribeReservedNodesResponse (Maybe Text)
- describeReservedNodesResponse_reservedNodes :: Lens' DescribeReservedNodesResponse (Maybe [ReservedNode])
- describeReservedNodesResponse_httpStatus :: Lens' DescribeReservedNodesResponse Int
Creating a Request
data DescribeReservedNodes Source #
See: newDescribeReservedNodes
smart constructor.
DescribeReservedNodes' | |
|
Instances
newDescribeReservedNodes :: DescribeReservedNodes Source #
Create a value of DescribeReservedNodes
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:
DescribeReservedNodes
, describeReservedNodes_duration
- The duration filter value, specified in years or seconds. Use this
parameter to show only reservations for this duration.
$sel:maxResults:DescribeReservedNodes'
, describeReservedNodes_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.
DescribeReservedNodes
, describeReservedNodes_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.
DescribeReservedNodes
, describeReservedNodes_nodeType
- The node type filter value. Use this parameter to show only those
reservations matching the specified node type. For more information, see
Supported node types.
DescribeReservedNodes
, describeReservedNodes_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"
DescribeReservedNodes
, describeReservedNodes_reservationId
- The reserved node identifier filter value. Use this parameter to show
only the reservation that matches the specified reservation ID.
DescribeReservedNodes
, describeReservedNodes_reservedNodesOfferingId
- The offering identifier filter value. Use this parameter to show only
purchased reservations matching the specified offering identifier.
Request Lenses
describeReservedNodes_duration :: Lens' DescribeReservedNodes (Maybe Text) Source #
The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this duration.
describeReservedNodes_maxResults :: Lens' DescribeReservedNodes (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.
describeReservedNodes_nextToken :: Lens' DescribeReservedNodes (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.
describeReservedNodes_nodeType :: Lens' DescribeReservedNodes (Maybe Text) Source #
The node type filter value. Use this parameter to show only those reservations matching the specified node type. For more information, see Supported node types.
describeReservedNodes_offeringType :: Lens' DescribeReservedNodes (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"
describeReservedNodes_reservationId :: Lens' DescribeReservedNodes (Maybe Text) Source #
The reserved node identifier filter value. Use this parameter to show only the reservation that matches the specified reservation ID.
describeReservedNodes_reservedNodesOfferingId :: Lens' DescribeReservedNodes (Maybe Text) Source #
The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier.
Destructuring the Response
data DescribeReservedNodesResponse Source #
See: newDescribeReservedNodesResponse
smart constructor.
DescribeReservedNodesResponse' | |
|
Instances
newDescribeReservedNodesResponse Source #
Create a value of DescribeReservedNodesResponse
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:
DescribeReservedNodes
, describeReservedNodesResponse_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:reservedNodes:DescribeReservedNodesResponse'
, describeReservedNodesResponse_reservedNodes
- Returns information about reserved nodes for this account, or about a
specified reserved node.
$sel:httpStatus:DescribeReservedNodesResponse'
, describeReservedNodesResponse_httpStatus
- The response's http status code.
Response Lenses
describeReservedNodesResponse_nextToken :: Lens' DescribeReservedNodesResponse (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.
describeReservedNodesResponse_reservedNodes :: Lens' DescribeReservedNodesResponse (Maybe [ReservedNode]) Source #
Returns information about reserved nodes for this account, or about a specified reserved node.
describeReservedNodesResponse_httpStatus :: Lens' DescribeReservedNodesResponse Int Source #
The response's http status code.