2, 'waiters' => [ 'NotebookInstanceInService' => [ 'delay' => 30, 'maxAttempts' => 60, 'operation' => 'DescribeNotebookInstance', 'acceptors' => [ [ 'expected' => 'InService', 'matcher' => 'path', 'state' => 'success', 'argument' => 'NotebookInstanceStatus', ], [ 'expected' => 'Failed', 'matcher' => 'path', 'state' => 'failure', 'argument' => 'NotebookInstanceStatus', ], ], ], 'NotebookInstanceStopped' => [ 'delay' => 30, 'operation' => 'DescribeNotebookInstance', 'maxAttempts' => 60, 'acceptors' => [ [ 'expected' => 'Stopped', 'matcher' => 'path', 'state' => 'success', 'argument' => 'NotebookInstanceStatus', ], [ 'expected' => 'Failed', 'matcher' => 'path', 'state' => 'failure', 'argument' => 'NotebookInstanceStatus', ], ], ], 'NotebookInstanceDeleted' => [ 'delay' => 30, 'maxAttempts' => 60, 'operation' => 'DescribeNotebookInstance', 'acceptors' => [ [ 'expected' => 'ValidationException', 'matcher' => 'error', 'state' => 'success', ], [ 'expected' => 'Failed', 'matcher' => 'path', 'state' => 'failure', 'argument' => 'NotebookInstanceStatus', ], ], ], 'TrainingJobCompletedOrStopped' => [ 'delay' => 120, 'maxAttempts' => 180, 'operation' => 'DescribeTrainingJob', 'acceptors' => [ [ 'expected' => 'Completed', 'matcher' => 'path', 'state' => 'success', 'argument' => 'TrainingJobStatus', ], [ 'expected' => 'Stopped', 'matcher' => 'path', 'state' => 'success', 'argument' => 'TrainingJobStatus', ], [ 'expected' => 'Failed', 'matcher' => 'path', 'state' => 'failure', 'argument' => 'TrainingJobStatus', ], [ 'expected' => 'ValidationException', 'matcher' => 'error', 'state' => 'failure', ], ], ], 'EndpointInService' => [ 'delay' => 30, 'maxAttempts' => 120, 'operation' => 'DescribeEndpoint', 'acceptors' => [ [ 'expected' => 'InService', 'matcher' => 'path', 'state' => 'success', 'argument' => 'EndpointStatus', ], [ 'expected' => 'Failed', 'matcher' => 'path', 'state' => 'failure', 'argument' => 'EndpointStatus', ], [ 'expected' => 'ValidationException', 'matcher' => 'error', 'state' => 'failure', ], ], ], 'EndpointDeleted' => [ 'delay' => 30, 'maxAttempts' => 60, 'operation' => 'DescribeEndpoint', 'acceptors' => [ [ 'expected' => 'ValidationException', 'matcher' => 'error', 'state' => 'success', ], [ 'expected' => 'Failed', 'matcher' => 'path', 'state' => 'failure', 'argument' => 'EndpointStatus', ], ], ], 'TransformJobCompletedOrStopped' => [ 'delay' => 60, 'maxAttempts' => 60, 'operation' => 'DescribeTransformJob', 'acceptors' => [ [ 'expected' => 'Completed', 'matcher' => 'path', 'state' => 'success', 'argument' => 'TransformJobStatus', ], [ 'expected' => 'Stopped', 'matcher' => 'path', 'state' => 'success', 'argument' => 'TransformJobStatus', ], [ 'expected' => 'Failed', 'matcher' => 'path', 'state' => 'failure', 'argument' => 'TransformJobStatus', ], [ 'expected' => 'ValidationException', 'matcher' => 'error', 'state' => 'failure', ], ], ], 'ProcessingJobCompletedOrStopped' => [ 'delay' => 60, 'maxAttempts' => 60, 'operation' => 'DescribeProcessingJob', 'acceptors' => [ [ 'expected' => 'Completed', 'matcher' => 'path', 'state' => 'success', 'argument' => 'ProcessingJobStatus', ], [ 'expected' => 'Stopped', 'matcher' => 'path', 'state' => 'success', 'argument' => 'ProcessingJobStatus', ], [ 'expected' => 'Failed', 'matcher' => 'path', 'state' => 'failure', 'argument' => 'ProcessingJobStatus', ], [ 'expected' => 'ValidationException', 'matcher' => 'error', 'state' => 'failure', ], ], ], 'ImageCreated' => [ 'delay' => 60, 'maxAttempts' => 60, 'operation' => 'DescribeImage', 'acceptors' => [ [ 'expected' => 'CREATED', 'matcher' => 'path', 'state' => 'success', 'argument' => 'ImageStatus', ], [ 'expected' => 'CREATE_FAILED', 'matcher' => 'path', 'state' => 'failure', 'argument' => 'ImageStatus', ], [ 'expected' => 'ValidationException', 'matcher' => 'error', 'state' => 'failure', ], ], ], 'ImageUpdated' => [ 'delay' => 60, 'maxAttempts' => 60, 'operation' => 'DescribeImage', 'acceptors' => [ [ 'expected' => 'CREATED', 'matcher' => 'path', 'state' => 'success', 'argument' => 'ImageStatus', ], [ 'expected' => 'UPDATE_FAILED', 'matcher' => 'path', 'state' => 'failure', 'argument' => 'ImageStatus', ], [ 'expected' => 'ValidationException', 'matcher' => 'error', 'state' => 'failure', ], ], ], 'ImageDeleted' => [ 'delay' => 60, 'maxAttempts' => 60, 'operation' => 'DescribeImage', 'acceptors' => [ [ 'expected' => 'ResourceNotFoundException', 'matcher' => 'error', 'state' => 'success', ], [ 'expected' => 'DELETE_FAILED', 'matcher' => 'path', 'state' => 'failure', 'argument' => 'ImageStatus', ], [ 'expected' => 'ValidationException', 'matcher' => 'error', 'state' => 'failure', ], ], ], 'ImageVersionCreated' => [ 'delay' => 60, 'maxAttempts' => 60, 'operation' => 'DescribeImageVersion', 'acceptors' => [ [ 'expected' => 'CREATED', 'matcher' => 'path', 'state' => 'success', 'argument' => 'ImageVersionStatus', ], [ 'expected' => 'CREATE_FAILED', 'matcher' => 'path', 'state' => 'failure', 'argument' => 'ImageVersionStatus', ], [ 'expected' => 'ValidationException', 'matcher' => 'error', 'state' => 'failure', ], ], ], 'ImageVersionDeleted' => [ 'delay' => 60, 'maxAttempts' => 60, 'operation' => 'DescribeImageVersion', 'acceptors' => [ [ 'expected' => 'ResourceNotFoundException', 'matcher' => 'error', 'state' => 'success', ], [ 'expected' => 'DELETE_FAILED', 'matcher' => 'path', 'state' => 'failure', 'argument' => 'ImageVersionStatus', ], [ 'expected' => 'ValidationException', 'matcher' => 'error', 'state' => 'failure', ], ], ], ],];