get_reserved_node_exchange_configuration_options
¶
get_reserved_node_exchange_configuration_options(
*,
config_overrides: Optional[RedshiftClientConfig] = 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/redshift.py
8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 | |