Class: Aws::Bedrock::Types::GetModelInvocationJobResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::GetModelInvocationJobResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrock/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:message]
Instance Attribute Summary collapse
-
#client_request_token ⇒ String
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
-
#end_time ⇒ Time
The time at which the batch inference job ended.
-
#input_data_config ⇒ Types::ModelInvocationJobInputDataConfig
Details about the location of the input to the batch inference job.
-
#job_arn ⇒ String
The Amazon Resource Name (ARN) of the batch inference job.
-
#job_expiration_time ⇒ Time
The time at which the batch inference job times or timed out.
-
#job_name ⇒ String
The name of the batch inference job.
-
#last_modified_time ⇒ Time
The time at which the batch inference job was last modified.
-
#message ⇒ String
If the batch inference job failed, this field contains a message describing why the job failed.
-
#model_id ⇒ String
The unique identifier of the foundation model used for model inference.
-
#output_data_config ⇒ Types::ModelInvocationJobOutputDataConfig
Details about the location of the output of the batch inference job.
-
#role_arn ⇒ String
The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference.
-
#status ⇒ String
The status of the batch inference job.
-
#submit_time ⇒ Time
The time at which the batch inference job was submitted.
-
#timeout_duration_in_hours ⇒ Integer
The number of hours after which batch inference job was set to time out.
-
#vpc_config ⇒ Types::VpcConfig
The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job.
Instance Attribute Details
#client_request_token ⇒ String
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
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_time ⇒ Time
The time at which the batch inference job ended.
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_config ⇒ Types::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_arn ⇒ String
The Amazon Resource Name (ARN) 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 |
#job_expiration_time ⇒ Time
The time at which the batch inference job times or timed out.
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_name ⇒ String
The name 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 |
#last_modified_time ⇒ Time
The time at which the batch inference job was last modified.
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 |
#message ⇒ String
If the batch inference job failed, this field contains a message describing why the job failed.
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_id ⇒ String
The unique identifier of the foundation model used for model inference.
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_config ⇒ Types::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_arn ⇒ String
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
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 |
#status ⇒ String
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/
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_time ⇒ Time
The time at which the batch inference job was submitted.
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_hours ⇒ Integer
The number of hours after which batch inference job was set to time out.
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_config ⇒ Types::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].
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 |