describe_node_configuration_options
async
¶
describe_node_configuration_options(
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = None,
action_type: Optional[ActionType] = None,
cluster_identifier: Optional[String] = None,
snapshot_identifier: Optional[String] = None,
snapshot_arn: Optional[String] = None,
owner_account: Optional[String] = None,
filters: Optional[NodeConfigurationOptionsFilterList] = None,
marker: Optional[String] = None,
max_records: Optional[IntegerOptional] = None,
) -> NodeConfigurationOptionsMessage
Returns properties of possible node configurations such as node type, number of nodes, and disk usage for the specified action type.
Parameters:
-
action_type(Optional[ActionType], default:None) –The action type to evaluate for possible node configurations. Specify "restore-cluster" to get configuration combinations based on an existing snapshot. Specify "recommend-node-config" to get configuration recommendations based on an existing cluster or snapshot. Specify "resize-cluster" to get configuration combinations for elastic resize based on an existing cluster.
-
cluster_identifier(Optional[String], default:None) –The identifier of the cluster to evaluate for possible node configurations.
-
snapshot_identifier(Optional[String], default:None) –The identifier of the snapshot to evaluate for possible node configurations.
-
snapshot_arn(Optional[String], default:None) –The Amazon Resource Name (ARN) of the snapshot associated with the message to describe node configuration.
-
owner_account(Optional[String], default:None) –The Amazon Web Services account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.
-
filters(Optional[NodeConfigurationOptionsFilterList], default:None) –A set of name, operator, and value items to filter the results.
-
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 DescribeNodeConfigurationOptions 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. -
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:
500Constraints: minimum 100, maximum 500.
Raises:
-
AccessToSnapshotDeniedFault–The owner of the specified snapshot has not authorized your account to access the snapshot.
-
ClusterNotFoundFault–The
ClusterIdentifierparameter does not refer to an existing cluster. -
ClusterSnapshotNotFoundFault–The snapshot identifier does not refer to an existing cluster snapshot.
-
InvalidClusterSnapshotStateFault–The specified cluster snapshot is not in the
availablestate, or other accounts are authorized to access the snapshot. -
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
6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 | |