describe_reserved_nodes
async
¶
describe_reserved_nodes(
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = None,
reserved_node_id: Optional[String] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> ReservedNodesMessage
Returns the descriptions of the reserved nodes.
Parameters:
-
reserved_node_id(Optional[String], default:None) –Identifier for the node reservation.
-
max_records(Optional[IntegerOptional], default:None) –The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecordsvalue, a value is returned in amarkerfield of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100Constraints: minimum 20, maximum 100.
-
marker(Optional[String], default:None) –An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodes request exceed the value specified in
MaxRecords, Amazon Web Services returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.
Raises:
-
DependentServiceUnavailableFault–Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
-
ReservedNodeNotFoundFault–The specified reserved compute node not found.
-
UnknownServiceError–The service returned an error code this client does not model.