Class: Aws::Bedrock::Types::GetModelInvocationJobResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrock/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:message]

Instance Attribute Summary collapse

Instance Attribute Details

#client_request_tokenString

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency].

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html

Returns:

  • (String)


2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#end_timeTime

The time at which the batch inference job ended.

Returns:

  • (Time)


2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#input_data_configTypes::ModelInvocationJobInputDataConfig

Details about the location of the input to the batch inference job.



2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#job_arnString

The Amazon Resource Name (ARN) of the batch inference job.

Returns:

  • (String)


2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#job_expiration_timeTime

The time at which the batch inference job times or timed out.

Returns:

  • (Time)


2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#job_nameString

The name of the batch inference job.

Returns:

  • (String)


2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#last_modified_timeTime

The time at which the batch inference job was last modified.

Returns:

  • (Time)


2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#messageString

If the batch inference job failed, this field contains a message describing why the job failed.

Returns:

  • (String)


2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#model_idString

The unique identifier of the foundation model used for model inference.

Returns:

  • (String)


2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#output_data_configTypes::ModelInvocationJobOutputDataConfig

Details about the location of the output of the batch inference job.



2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at [Create a service role for batch inference].

[1]: docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html

Returns:

  • (String)


2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#statusString

The status of the batch inference job.

The following statuses are possible:

  • Submitted – This job has been submitted to a queue for validation.

  • Validating – This job is being validated for the requirements described in [Format and upload your batch inference data]. The criteria include the following:

    • Your IAM service role has access to the Amazon S3 buckets containing your files.

    • Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn’t check if the ‘modelInput` value matches the request body for the model.

    • Your files fulfill the requirements for file size and number of records. For more information, see [Quotas for Amazon Bedrock].

  • Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn.

  • Expired – This job timed out because it was scheduled but didn’t begin before the set timeout duration. Submit a new job request.

  • InProgress – This job has begun. You can start viewing the results in the output S3 location.

  • Completed – This job has successfully completed. View the output files in the output S3 location.

  • PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location.

  • Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the [Amazon Web Services Support Center].

  • Stopped – This job was stopped by a user.

  • Stopping – This job is being stopped by a user.

[1]: docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html [2]: docs.aws.amazon.com/bedrock/latest/userguide/quotas.html [3]: console.aws.amazon.com/support/home/

Returns:

  • (String)


2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#submit_timeTime

The time at which the batch inference job was submitted.

Returns:

  • (Time)


2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#timeout_duration_in_hoursInteger

The number of hours after which batch inference job was set to time out.

Returns:

  • (Integer)


2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end

#vpc_configTypes::VpcConfig

The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see [Protect batch inference jobs using a VPC].

[1]: docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc

Returns:



2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
# File 'lib/aws-sdk-bedrock/types.rb', line 2856

class GetModelInvocationJobResponse < Struct.new(
  :job_arn,
  :job_name,
  :model_id,
  :client_request_token,
  :role_arn,
  :status,
  :message,
  :submit_time,
  :last_modified_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :vpc_config,
  :timeout_duration_in_hours,
  :job_expiration_time)
  SENSITIVE = [:message]
  include Aws::Structure
end