| 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.DescribeReservedNodeExchangeStatus
Description
Returns exchange status details and associated metadata for a reserved-node exchange. Statuses include such values as in progress and requested.
This operation returns paginated results.
Synopsis
- data DescribeReservedNodeExchangeStatus = DescribeReservedNodeExchangeStatus' {}
- newDescribeReservedNodeExchangeStatus :: DescribeReservedNodeExchangeStatus
- describeReservedNodeExchangeStatus_marker :: Lens' DescribeReservedNodeExchangeStatus (Maybe Text)
- describeReservedNodeExchangeStatus_maxRecords :: Lens' DescribeReservedNodeExchangeStatus (Maybe Int)
- describeReservedNodeExchangeStatus_reservedNodeExchangeRequestId :: Lens' DescribeReservedNodeExchangeStatus (Maybe Text)
- describeReservedNodeExchangeStatus_reservedNodeId :: Lens' DescribeReservedNodeExchangeStatus (Maybe Text)
- data DescribeReservedNodeExchangeStatusResponse = DescribeReservedNodeExchangeStatusResponse' {}
- newDescribeReservedNodeExchangeStatusResponse :: Int -> DescribeReservedNodeExchangeStatusResponse
- describeReservedNodeExchangeStatusResponse_marker :: Lens' DescribeReservedNodeExchangeStatusResponse (Maybe Text)
- describeReservedNodeExchangeStatusResponse_reservedNodeExchangeStatusDetails :: Lens' DescribeReservedNodeExchangeStatusResponse (Maybe [ReservedNodeExchangeStatus])
- describeReservedNodeExchangeStatusResponse_httpStatus :: Lens' DescribeReservedNodeExchangeStatusResponse Int
Creating a Request
data DescribeReservedNodeExchangeStatus Source #
See: newDescribeReservedNodeExchangeStatus smart constructor.
Constructors
| DescribeReservedNodeExchangeStatus' | |
Fields
| |
Instances
newDescribeReservedNodeExchangeStatus :: DescribeReservedNodeExchangeStatus Source #
Create a value of DescribeReservedNodeExchangeStatus 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:
DescribeReservedNodeExchangeStatus, describeReservedNodeExchangeStatus_marker - An optional pagination token provided by a previous
DescribeReservedNodeExchangeStatus request. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by the MaxRecords parameter. 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:DescribeReservedNodeExchangeStatus', describeReservedNodeExchangeStatus_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.
DescribeReservedNodeExchangeStatus, describeReservedNodeExchangeStatus_reservedNodeExchangeRequestId - The identifier of the reserved-node exchange request.
DescribeReservedNodeExchangeStatus, describeReservedNodeExchangeStatus_reservedNodeId - The identifier of the source reserved node in a reserved-node exchange
request.
Request Lenses
describeReservedNodeExchangeStatus_marker :: Lens' DescribeReservedNodeExchangeStatus (Maybe Text) Source #
An optional pagination token provided by a previous
DescribeReservedNodeExchangeStatus request. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by the MaxRecords parameter. You can retrieve the
next set of response records by providing the returned marker value in
the Marker parameter and retrying the request.
describeReservedNodeExchangeStatus_maxRecords :: Lens' DescribeReservedNodeExchangeStatus (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.
describeReservedNodeExchangeStatus_reservedNodeExchangeRequestId :: Lens' DescribeReservedNodeExchangeStatus (Maybe Text) Source #
The identifier of the reserved-node exchange request.
describeReservedNodeExchangeStatus_reservedNodeId :: Lens' DescribeReservedNodeExchangeStatus (Maybe Text) Source #
The identifier of the source reserved node in a reserved-node exchange request.
Destructuring the Response
data DescribeReservedNodeExchangeStatusResponse Source #
See: newDescribeReservedNodeExchangeStatusResponse smart constructor.
Constructors
| DescribeReservedNodeExchangeStatusResponse' | |
Fields
| |
Instances
newDescribeReservedNodeExchangeStatusResponse Source #
Arguments
| :: Int | |
| -> DescribeReservedNodeExchangeStatusResponse |
Create a value of DescribeReservedNodeExchangeStatusResponse 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:
DescribeReservedNodeExchangeStatus, describeReservedNodeExchangeStatusResponse_marker - A pagination token provided by a previous
DescribeReservedNodeExchangeStatus request.
$sel:reservedNodeExchangeStatusDetails:DescribeReservedNodeExchangeStatusResponse', describeReservedNodeExchangeStatusResponse_reservedNodeExchangeStatusDetails - The details of the reserved-node exchange request, including the status,
request time, source reserved-node identifier, and additional details.
$sel:httpStatus:DescribeReservedNodeExchangeStatusResponse', describeReservedNodeExchangeStatusResponse_httpStatus - The response's http status code.
Response Lenses
describeReservedNodeExchangeStatusResponse_marker :: Lens' DescribeReservedNodeExchangeStatusResponse (Maybe Text) Source #
A pagination token provided by a previous
DescribeReservedNodeExchangeStatus request.
describeReservedNodeExchangeStatusResponse_reservedNodeExchangeStatusDetails :: Lens' DescribeReservedNodeExchangeStatusResponse (Maybe [ReservedNodeExchangeStatus]) Source #
The details of the reserved-node exchange request, including the status, request time, source reserved-node identifier, and additional details.
describeReservedNodeExchangeStatusResponse_httpStatus :: Lens' DescribeReservedNodeExchangeStatusResponse Int Source #
The response's http status code.