Class: Aws::SageMaker::Waiters::TrainingJobCompletedOrStopped

Inherits:
Object
  • Object
show all
Defined in:
sig/waiters.rbs,
lib/aws-sdk-sagemaker/waiters.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ TrainingJobCompletedOrStopped

Returns a new instance of TrainingJobCompletedOrStopped.

Parameters:

  • options (Hash)

Options Hash (options):

  • :client (required, Client)
  • :max_attempts (Integer) — default: 180
  • :delay (Integer) — default: 120
  • :before_attempt (Proc)
  • :before_wait (Proc)


617
618
# File 'lib/aws-sdk-sagemaker/waiters.rb', line 617

def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
| (?Hash[Symbol, untyped]) -> void

Instance Attribute Details

#waiterObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



660
661
662
# File 'lib/aws-sdk-sagemaker/waiters.rb', line 660

def waiter
  @waiter
end

Instance Method Details

#wait(params = {}) ⇒ Types::DescribeTrainingJobResponse

Returns a response object which responds to the following methods:

Options Hash (params):

  • :training_job_name (required, String)

    The name of the training job.

Returns:



655
# File 'lib/aws-sdk-sagemaker/waiters.rb', line 655

def wait: (