describe_replace_root_volume_tasks
¶
describe_replace_root_volume_tasks(
*,
config_overrides: Optional[EC2ClientConfig] = None,
replace_root_volume_task_ids: Optional[ReplaceRootVolumeTaskIds] = None,
filters: Optional[FilterList] = None,
max_results: Optional[DescribeReplaceRootVolumeTasksMaxResults] = None,
next_token: Optional[NextToken] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeReplaceRootVolumeTasksResult
Describes a root volume replacement task. For more information, see Replace a root volume in the Amazon EC2 User Guide.
Parameters:
-
replace_root_volume_task_ids(Optional[ReplaceRootVolumeTaskIds], default:None) –The ID of the root volume replacement task to view.
-
filters(Optional[FilterList], default:None) –Filter to use:
-
instance-id- The ID of the instance for which the root volume replacement task was created.
-
-
max_results(Optional[DescribeReplaceRootVolumeTasksMaxResults], default:None) –The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
-
next_token(Optional[NextToken], default:None) –The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
31346 31347 31348 31349 31350 31351 31352 31353 31354 31355 31356 31357 31358 31359 31360 31361 31362 31363 31364 31365 31366 31367 31368 31369 31370 31371 31372 31373 31374 31375 31376 31377 31378 31379 31380 31381 31382 31383 31384 31385 31386 31387 31388 31389 31390 31391 31392 31393 31394 31395 31396 31397 31398 31399 31400 31401 31402 31403 31404 31405 31406 31407 31408 | |