drs / Paginator / ListRecoveryPlanExecutionSteps
ListRecoveryPlanExecutionSteps¶
- class drs.Paginator.ListRecoveryPlanExecutionSteps¶
paginator = client.get_paginator('list_recovery_plan_execution_steps')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
drs.Client.list_recovery_plan_execution_steps().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( recoveryPlanExecutionArn='string', filter={ 'status': 'NOT_STARTED'|'EXECUTING'|'WAITING'|'COMPLETED'|'FAILED'|'TIMED_OUT'|'SKIPPED' }, PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
recoveryPlanExecutionArn (string) –
[REQUIRED]
The ARN of the Recovery Plan execution.
filter (dict) –
Filters for listing execution steps.
status (string) –
Filter by execution step status.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'recoveryPlanExecutionSteps': [ { 'recoveryPlanExecutionStepArn': 'string', 'stepName': 'string', 'stepIndex': 123, 'status': 'NOT_STARTED'|'EXECUTING'|'WAITING'|'COMPLETED'|'FAILED'|'TIMED_OUT'|'SKIPPED', 'configuration': { 'executionServerStepConfiguration': { 'servers': [ { 'serverArn': 'string', 'impactLevel': 'CRITICAL'|'OPTIONAL', 'jobID': 'string' }, ] }, 'waitStepConfiguration': { 'waitDurationMinutes': 123 } }, 'errorDetail': { 'message': 'string', 'code': 'string' } }, ], 'NextToken': 'string' }
Response Structure
(dict) –
recoveryPlanExecutionSteps (list) –
The list of execution steps.
(dict) –
Summary information about a Recovery Plan execution step.
recoveryPlanExecutionStepArn (string) –
The ARN of the execution step.
stepName (string) –
The name of a Recovery Plan Step.
stepIndex (integer) –
The order of a step within a Recovery Plan (1-based).
status (string) –
The status of the execution step.
configuration (dict) –
Type-specific configuration for an execution step response. Mirrors RecoveryPlanStepConfiguration but uses execution-enriched server shapes.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
executionServerStepConfiguration,waitStepConfiguration. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
executionServerStepConfiguration (dict) –
Configuration for a SERVER type step (with execution state like jobID).
servers (list) –
The list of servers in this execution step.
(dict) –
A server within a recovery plan execution step, enriched with execution state.
serverArn (string) –
The ARN of the source server.
impactLevel (string) –
Defaults to CRITICAL if not specified.
jobID (string) –
The DRS recovery job ID. Populated when recovery is initiated for this server.
waitStepConfiguration (dict) –
Configuration for a WAIT type step.
waitDurationMinutes (integer) –
The wait duration in minutes for a Wait type step.
errorDetail (dict) –
Error details if the step failed.
message (string) –
The error message.
code (string) –
The error code.
NextToken (string) –
A token to resume pagination.