Class: Aws::SageMaker::Waiters::TransformJobCompletedOrStopped
- Inherits:
-
Object
- Object
- Aws::SageMaker::Waiters::TransformJobCompletedOrStopped
- Defined in:
- gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/waiters.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ TransformJobCompletedOrStopped
constructor
A new instance of TransformJobCompletedOrStopped.
-
#wait(params = {}) ⇒ Types::DescribeTransformJobResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ TransformJobCompletedOrStopped
Returns a new instance of TransformJobCompletedOrStopped.
672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/waiters.rb', line 672 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 60, delay: 60, poller: Aws::Waiters::Poller.new( operation_name: :describe_transform_job, acceptors: [ { "expected" => "Completed", "matcher" => "path", "state" => "success", "argument" => "transform_job_status" }, { "expected" => "Stopped", "matcher" => "path", "state" => "success", "argument" => "transform_job_status" }, { "expected" => "Failed", "matcher" => "path", "state" => "failure", "argument" => "transform_job_status" }, { "expected" => "ValidationException", "matcher" => "error", "state" => "failure" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::DescribeTransformJobResponse
Returns a response object which responds to the following methods:
- #transform_job_name => String
- #transform_job_arn => String
- #transform_job_status => String
- #failure_reason => String
- #model_name => String
- #max_concurrent_transforms => Integer
- #model_client_config => Types::ModelClientConfig
- #max_payload_in_mb => Integer
- #batch_strategy => String
- #environment => Hash<String,String>
- #transform_input => Types::TransformInput
- #transform_output => Types::TransformOutput
- #data_capture_config => Types::BatchDataCaptureConfig
- #transform_resources => Types::TransformResources
- #creation_time => Time
- #transform_start_time => Time
- #transform_end_time => Time
- #labeling_job_arn => String
- #auto_ml_job_arn => String
- #data_processing => Types::DataProcessing
- #experiment_config => Types::ExperimentConfig
710 711 712 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/waiters.rb', line 710 def wait(params = {}) @waiter.wait(client: @client, params: params) end |