get_reserved_node_exchange_configuration_options
async
¶
get_reserved_node_exchange_configuration_options(
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = None,
action_type: Optional[ReservedNodeExchangeActionType] = None,
cluster_identifier: Optional[String] = None,
snapshot_identifier: Optional[String] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> GetReservedNodeExchangeConfigurationOptionsOutputMessage
Gets the configuration options for the reserved-node exchange. These options include information about the source reserved node and target reserved node offering. Details include the node type, the price, the node count, and the offering type.
Parameters:
-
action_type(Optional[ReservedNodeExchangeActionType], default:None) –The action type of the reserved-node configuration. The action type can be an exchange initiated from either a snapshot or a resize.
-
cluster_identifier(Optional[String], default:None) –The identifier for the cluster that is the source for a reserved-node exchange.
-
snapshot_identifier(Optional[String], default:None) –The identifier for the snapshot that is the source for the reserved-node exchange.
-
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. -
marker(Optional[String], default:None) –An optional pagination token provided by a previous
GetReservedNodeExchangeConfigurationOptionsrequest. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecordsparameter. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.
Raises:
-
ClusterNotFoundFault–The
ClusterIdentifierparameter does not refer to an existing cluster. -
ClusterSnapshotNotFoundFault–The snapshot identifier does not refer to an existing cluster snapshot.
-
DependentServiceUnavailableFault–Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.
-
InvalidReservedNodeStateFault–Indicates that the Reserved Node being exchanged is not in an active state.
-
ReservedNodeAlreadyMigratedFault–Indicates that the reserved node has already been exchanged.
-
ReservedNodeNotFoundFault–The specified reserved compute node not found.
-
ReservedNodeOfferingNotFoundFault–Specified offering does not exist.
-
UnsupportedOperationFault–The requested operation isn't supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift/_services/async_redshift.py
8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 | |