aws-sdk-bedrock 1.14.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -82,6 +82,20 @@ module Aws::Bedrock
82
82
  end
83
83
  end
84
84
 
85
+ class CreateModelInvocationJob
86
+ def self.build(context)
87
+ unless context.config.regional_endpoint
88
+ endpoint = context.config.endpoint.to_s
89
+ end
90
+ Aws::Bedrock::EndpointParameters.new(
91
+ region: context.config.region,
92
+ use_dual_stack: context.config.use_dualstack_endpoint,
93
+ use_fips: context.config.use_fips_endpoint,
94
+ endpoint: endpoint,
95
+ )
96
+ end
97
+ end
98
+
85
99
  class CreateProvisionedModelThroughput
86
100
  def self.build(context)
87
101
  unless context.config.regional_endpoint
@@ -236,6 +250,20 @@ module Aws::Bedrock
236
250
  end
237
251
  end
238
252
 
253
+ class GetModelInvocationJob
254
+ def self.build(context)
255
+ unless context.config.regional_endpoint
256
+ endpoint = context.config.endpoint.to_s
257
+ end
258
+ Aws::Bedrock::EndpointParameters.new(
259
+ region: context.config.region,
260
+ use_dual_stack: context.config.use_dualstack_endpoint,
261
+ use_fips: context.config.use_fips_endpoint,
262
+ endpoint: endpoint,
263
+ )
264
+ end
265
+ end
266
+
239
267
  class GetModelInvocationLoggingConfiguration
240
268
  def self.build(context)
241
269
  unless context.config.regional_endpoint
@@ -348,6 +376,20 @@ module Aws::Bedrock
348
376
  end
349
377
  end
350
378
 
379
+ class ListModelInvocationJobs
380
+ def self.build(context)
381
+ unless context.config.regional_endpoint
382
+ endpoint = context.config.endpoint.to_s
383
+ end
384
+ Aws::Bedrock::EndpointParameters.new(
385
+ region: context.config.region,
386
+ use_dual_stack: context.config.use_dualstack_endpoint,
387
+ use_fips: context.config.use_fips_endpoint,
388
+ endpoint: endpoint,
389
+ )
390
+ end
391
+ end
392
+
351
393
  class ListProvisionedModelThroughputs
352
394
  def self.build(context)
353
395
  unless context.config.regional_endpoint
@@ -418,6 +460,20 @@ module Aws::Bedrock
418
460
  end
419
461
  end
420
462
 
463
+ class StopModelInvocationJob
464
+ def self.build(context)
465
+ unless context.config.regional_endpoint
466
+ endpoint = context.config.endpoint.to_s
467
+ end
468
+ Aws::Bedrock::EndpointParameters.new(
469
+ region: context.config.region,
470
+ use_dual_stack: context.config.use_dualstack_endpoint,
471
+ use_fips: context.config.use_fips_endpoint,
472
+ endpoint: endpoint,
473
+ )
474
+ end
475
+ end
476
+
421
477
  class TagResource
422
478
  def self.build(context)
423
479
  unless context.config.regional_endpoint
@@ -68,6 +68,8 @@ module Aws::Bedrock
68
68
  Aws::Bedrock::Endpoints::CreateModelCopyJob.build(context)
69
69
  when :create_model_customization_job
70
70
  Aws::Bedrock::Endpoints::CreateModelCustomizationJob.build(context)
71
+ when :create_model_invocation_job
72
+ Aws::Bedrock::Endpoints::CreateModelInvocationJob.build(context)
71
73
  when :create_provisioned_model_throughput
72
74
  Aws::Bedrock::Endpoints::CreateProvisionedModelThroughput.build(context)
73
75
  when :delete_custom_model
@@ -90,6 +92,8 @@ module Aws::Bedrock
90
92
  Aws::Bedrock::Endpoints::GetModelCopyJob.build(context)
91
93
  when :get_model_customization_job
92
94
  Aws::Bedrock::Endpoints::GetModelCustomizationJob.build(context)
95
+ when :get_model_invocation_job
96
+ Aws::Bedrock::Endpoints::GetModelInvocationJob.build(context)
93
97
  when :get_model_invocation_logging_configuration
94
98
  Aws::Bedrock::Endpoints::GetModelInvocationLoggingConfiguration.build(context)
95
99
  when :get_provisioned_model_throughput
@@ -106,6 +110,8 @@ module Aws::Bedrock
106
110
  Aws::Bedrock::Endpoints::ListModelCopyJobs.build(context)
107
111
  when :list_model_customization_jobs
108
112
  Aws::Bedrock::Endpoints::ListModelCustomizationJobs.build(context)
113
+ when :list_model_invocation_jobs
114
+ Aws::Bedrock::Endpoints::ListModelInvocationJobs.build(context)
109
115
  when :list_provisioned_model_throughputs
110
116
  Aws::Bedrock::Endpoints::ListProvisionedModelThroughputs.build(context)
111
117
  when :list_tags_for_resource
@@ -116,6 +122,8 @@ module Aws::Bedrock
116
122
  Aws::Bedrock::Endpoints::StopEvaluationJob.build(context)
117
123
  when :stop_model_customization_job
118
124
  Aws::Bedrock::Endpoints::StopModelCustomizationJob.build(context)
125
+ when :stop_model_invocation_job
126
+ Aws::Bedrock::Endpoints::StopModelInvocationJob.build(context)
119
127
  when :tag_resource
120
128
  Aws::Bedrock::Endpoints::TagResource.build(context)
121
129
  when :untag_resource
@@ -496,6 +496,89 @@ module Aws::Bedrock
496
496
  include Aws::Structure
497
497
  end
498
498
 
499
+ # @!attribute [rw] job_name
500
+ # A name to give the batch inference job.
501
+ # @return [String]
502
+ #
503
+ # @!attribute [rw] role_arn
504
+ # The Amazon Resource Name (ARN) of the service role with permissions
505
+ # to carry out and manage batch inference. You can use the console to
506
+ # create a default service role or follow the steps at [Create a
507
+ # service role for batch inference][1].
508
+ #
509
+ #
510
+ #
511
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html
512
+ # @return [String]
513
+ #
514
+ # @!attribute [rw] client_request_token
515
+ # A unique, case-sensitive identifier to ensure that the API request
516
+ # completes no more than one time. If this token matches a previous
517
+ # request, Amazon Bedrock ignores the request, but does not return an
518
+ # error. For more information, see [Ensuring idempotency][1].
519
+ #
520
+ # **A suitable default value is auto-generated.** You should normally
521
+ # not need to pass this option.
522
+ #
523
+ #
524
+ #
525
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
526
+ # @return [String]
527
+ #
528
+ # @!attribute [rw] model_id
529
+ # The unique identifier of the foundation model to use for the batch
530
+ # inference job.
531
+ # @return [String]
532
+ #
533
+ # @!attribute [rw] input_data_config
534
+ # Details about the location of the input to the batch inference job.
535
+ # @return [Types::ModelInvocationJobInputDataConfig]
536
+ #
537
+ # @!attribute [rw] output_data_config
538
+ # Details about the location of the output of the batch inference job.
539
+ # @return [Types::ModelInvocationJobOutputDataConfig]
540
+ #
541
+ # @!attribute [rw] timeout_duration_in_hours
542
+ # The number of hours after which to force the batch inference job to
543
+ # time out.
544
+ # @return [Integer]
545
+ #
546
+ # @!attribute [rw] tags
547
+ # Any tags to associate with the batch inference job. For more
548
+ # information, see [Tagging Amazon Bedrock resources][1].
549
+ #
550
+ #
551
+ #
552
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html
553
+ # @return [Array<Types::Tag>]
554
+ #
555
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelInvocationJobRequest AWS API Documentation
556
+ #
557
+ class CreateModelInvocationJobRequest < Struct.new(
558
+ :job_name,
559
+ :role_arn,
560
+ :client_request_token,
561
+ :model_id,
562
+ :input_data_config,
563
+ :output_data_config,
564
+ :timeout_duration_in_hours,
565
+ :tags)
566
+ SENSITIVE = []
567
+ include Aws::Structure
568
+ end
569
+
570
+ # @!attribute [rw] job_arn
571
+ # The Amazon Resource Name (ARN) of the batch inference job.
572
+ # @return [String]
573
+ #
574
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelInvocationJobResponse AWS API Documentation
575
+ #
576
+ class CreateModelInvocationJobResponse < Struct.new(
577
+ :job_arn)
578
+ SENSITIVE = []
579
+ include Aws::Structure
580
+ end
581
+
499
582
  # @!attribute [rw] client_request_token
500
583
  # A unique, case-sensitive identifier to ensure that the API request
501
584
  # completes no more than one time. If this token matches a previous
@@ -1636,6 +1719,112 @@ module Aws::Bedrock
1636
1719
  include Aws::Structure
1637
1720
  end
1638
1721
 
1722
+ # @!attribute [rw] job_identifier
1723
+ # The Amazon Resource Name (ARN) of the batch inference job.
1724
+ # @return [String]
1725
+ #
1726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelInvocationJobRequest AWS API Documentation
1727
+ #
1728
+ class GetModelInvocationJobRequest < Struct.new(
1729
+ :job_identifier)
1730
+ SENSITIVE = []
1731
+ include Aws::Structure
1732
+ end
1733
+
1734
+ # @!attribute [rw] job_arn
1735
+ # The Amazon Resource Name (ARN) of the batch inference job.
1736
+ # @return [String]
1737
+ #
1738
+ # @!attribute [rw] job_name
1739
+ # The name of the batch inference job.
1740
+ # @return [String]
1741
+ #
1742
+ # @!attribute [rw] model_id
1743
+ # The unique identifier of the foundation model used for model
1744
+ # inference.
1745
+ # @return [String]
1746
+ #
1747
+ # @!attribute [rw] client_request_token
1748
+ # A unique, case-sensitive identifier to ensure that the API request
1749
+ # completes no more than one time. If this token matches a previous
1750
+ # request, Amazon Bedrock ignores the request, but does not return an
1751
+ # error. For more information, see [Ensuring idempotency][1].
1752
+ #
1753
+ #
1754
+ #
1755
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1756
+ # @return [String]
1757
+ #
1758
+ # @!attribute [rw] role_arn
1759
+ # The Amazon Resource Name (ARN) of the service role with permissions
1760
+ # to carry out and manage batch inference. You can use the console to
1761
+ # create a default service role or follow the steps at [Create a
1762
+ # service role for batch inference][1].
1763
+ #
1764
+ #
1765
+ #
1766
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html
1767
+ # @return [String]
1768
+ #
1769
+ # @!attribute [rw] status
1770
+ # The status of the batch inference job.
1771
+ # @return [String]
1772
+ #
1773
+ # @!attribute [rw] message
1774
+ # If the batch inference job failed, this field contains a message
1775
+ # describing why the job failed.
1776
+ # @return [String]
1777
+ #
1778
+ # @!attribute [rw] submit_time
1779
+ # The time at which the batch inference job was submitted.
1780
+ # @return [Time]
1781
+ #
1782
+ # @!attribute [rw] last_modified_time
1783
+ # The time at which the batch inference job was last modified.
1784
+ # @return [Time]
1785
+ #
1786
+ # @!attribute [rw] end_time
1787
+ # The time at which the batch inference job ended.
1788
+ # @return [Time]
1789
+ #
1790
+ # @!attribute [rw] input_data_config
1791
+ # Details about the location of the input to the batch inference job.
1792
+ # @return [Types::ModelInvocationJobInputDataConfig]
1793
+ #
1794
+ # @!attribute [rw] output_data_config
1795
+ # Details about the location of the output of the batch inference job.
1796
+ # @return [Types::ModelInvocationJobOutputDataConfig]
1797
+ #
1798
+ # @!attribute [rw] timeout_duration_in_hours
1799
+ # The number of hours after which batch inference job was set to time
1800
+ # out.
1801
+ # @return [Integer]
1802
+ #
1803
+ # @!attribute [rw] job_expiration_time
1804
+ # The time at which the batch inference job times or timed out.
1805
+ # @return [Time]
1806
+ #
1807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelInvocationJobResponse AWS API Documentation
1808
+ #
1809
+ class GetModelInvocationJobResponse < Struct.new(
1810
+ :job_arn,
1811
+ :job_name,
1812
+ :model_id,
1813
+ :client_request_token,
1814
+ :role_arn,
1815
+ :status,
1816
+ :message,
1817
+ :submit_time,
1818
+ :last_modified_time,
1819
+ :end_time,
1820
+ :input_data_config,
1821
+ :output_data_config,
1822
+ :timeout_duration_in_hours,
1823
+ :job_expiration_time)
1824
+ SENSITIVE = [:message]
1825
+ include Aws::Structure
1826
+ end
1827
+
1639
1828
  # @api private
1640
1829
  #
1641
1830
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelInvocationLoggingConfigurationRequest AWS API Documentation
@@ -3153,6 +3342,85 @@ module Aws::Bedrock
3153
3342
  include Aws::Structure
3154
3343
  end
3155
3344
 
3345
+ # @!attribute [rw] submit_time_after
3346
+ # Specify a time to filter for batch inference jobs that were
3347
+ # submitted after the time you specify.
3348
+ # @return [Time]
3349
+ #
3350
+ # @!attribute [rw] submit_time_before
3351
+ # Specify a time to filter for batch inference jobs that were
3352
+ # submitted before the time you specify.
3353
+ # @return [Time]
3354
+ #
3355
+ # @!attribute [rw] status_equals
3356
+ # Specify a status to filter for batch inference jobs whose statuses
3357
+ # match the string you specify.
3358
+ # @return [String]
3359
+ #
3360
+ # @!attribute [rw] name_contains
3361
+ # Specify a string to filter for batch inference jobs whose names
3362
+ # contain the string.
3363
+ # @return [String]
3364
+ #
3365
+ # @!attribute [rw] max_results
3366
+ # The maximum number of results to return. If there are more results
3367
+ # than the number that you specify, a `nextToken` value is returned.
3368
+ # Use the `nextToken` in a request to return the next batch of
3369
+ # results.
3370
+ # @return [Integer]
3371
+ #
3372
+ # @!attribute [rw] next_token
3373
+ # If there were more results than the value you specified in the
3374
+ # `maxResults` field in a previous `ListModelInvocationJobs` request,
3375
+ # the response would have returned a `nextToken` value. To see the
3376
+ # next batch of results, send the `nextToken` value in another
3377
+ # request.
3378
+ # @return [String]
3379
+ #
3380
+ # @!attribute [rw] sort_by
3381
+ # An attribute by which to sort the results.
3382
+ # @return [String]
3383
+ #
3384
+ # @!attribute [rw] sort_order
3385
+ # Specifies whether to sort the results by ascending or descending
3386
+ # order.
3387
+ # @return [String]
3388
+ #
3389
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelInvocationJobsRequest AWS API Documentation
3390
+ #
3391
+ class ListModelInvocationJobsRequest < Struct.new(
3392
+ :submit_time_after,
3393
+ :submit_time_before,
3394
+ :status_equals,
3395
+ :name_contains,
3396
+ :max_results,
3397
+ :next_token,
3398
+ :sort_by,
3399
+ :sort_order)
3400
+ SENSITIVE = []
3401
+ include Aws::Structure
3402
+ end
3403
+
3404
+ # @!attribute [rw] next_token
3405
+ # If there are more results than can fit in the response, a
3406
+ # `nextToken` is returned. Use the `nextToken` in a request to return
3407
+ # the next batch of results.
3408
+ # @return [String]
3409
+ #
3410
+ # @!attribute [rw] invocation_job_summaries
3411
+ # A list of items, each of which contains a summary about a batch
3412
+ # inference job.
3413
+ # @return [Array<Types::ModelInvocationJobSummary>]
3414
+ #
3415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelInvocationJobsResponse AWS API Documentation
3416
+ #
3417
+ class ListModelInvocationJobsResponse < Struct.new(
3418
+ :next_token,
3419
+ :invocation_job_summaries)
3420
+ SENSITIVE = []
3421
+ include Aws::Structure
3422
+ end
3423
+
3156
3424
  # @!attribute [rw] creation_time_after
3157
3425
  # A filter that returns Provisioned Throughputs created after the
3158
3426
  # specified time.
@@ -3438,6 +3706,187 @@ module Aws::Bedrock
3438
3706
  include Aws::Structure
3439
3707
  end
3440
3708
 
3709
+ # Details about the location of the input to the batch inference job.
3710
+ #
3711
+ # @note ModelInvocationJobInputDataConfig is a union - when making an API calls you must set exactly one of the members.
3712
+ #
3713
+ # @note ModelInvocationJobInputDataConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ModelInvocationJobInputDataConfig corresponding to the set member.
3714
+ #
3715
+ # @!attribute [rw] s3_input_data_config
3716
+ # Contains the configuration of the S3 location of the input data.
3717
+ # @return [Types::ModelInvocationJobS3InputDataConfig]
3718
+ #
3719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelInvocationJobInputDataConfig AWS API Documentation
3720
+ #
3721
+ class ModelInvocationJobInputDataConfig < Struct.new(
3722
+ :s3_input_data_config,
3723
+ :unknown)
3724
+ SENSITIVE = []
3725
+ include Aws::Structure
3726
+ include Aws::Structure::Union
3727
+
3728
+ class S3InputDataConfig < ModelInvocationJobInputDataConfig; end
3729
+ class Unknown < ModelInvocationJobInputDataConfig; end
3730
+ end
3731
+
3732
+ # Contains the configuration of the S3 location of the output data.
3733
+ #
3734
+ # @note ModelInvocationJobOutputDataConfig is a union - when making an API calls you must set exactly one of the members.
3735
+ #
3736
+ # @note ModelInvocationJobOutputDataConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ModelInvocationJobOutputDataConfig corresponding to the set member.
3737
+ #
3738
+ # @!attribute [rw] s3_output_data_config
3739
+ # Contains the configuration of the S3 location of the output data.
3740
+ # @return [Types::ModelInvocationJobS3OutputDataConfig]
3741
+ #
3742
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelInvocationJobOutputDataConfig AWS API Documentation
3743
+ #
3744
+ class ModelInvocationJobOutputDataConfig < Struct.new(
3745
+ :s3_output_data_config,
3746
+ :unknown)
3747
+ SENSITIVE = []
3748
+ include Aws::Structure
3749
+ include Aws::Structure::Union
3750
+
3751
+ class S3OutputDataConfig < ModelInvocationJobOutputDataConfig; end
3752
+ class Unknown < ModelInvocationJobOutputDataConfig; end
3753
+ end
3754
+
3755
+ # Contains the configuration of the S3 location of the output data.
3756
+ #
3757
+ # @!attribute [rw] s3_input_format
3758
+ # The format of the input data.
3759
+ # @return [String]
3760
+ #
3761
+ # @!attribute [rw] s3_uri
3762
+ # The S3 location of the input data.
3763
+ # @return [String]
3764
+ #
3765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelInvocationJobS3InputDataConfig AWS API Documentation
3766
+ #
3767
+ class ModelInvocationJobS3InputDataConfig < Struct.new(
3768
+ :s3_input_format,
3769
+ :s3_uri)
3770
+ SENSITIVE = []
3771
+ include Aws::Structure
3772
+ end
3773
+
3774
+ # Contains the configuration of the S3 location of the output data.
3775
+ #
3776
+ # @!attribute [rw] s3_uri
3777
+ # The S3 location of the output data.
3778
+ # @return [String]
3779
+ #
3780
+ # @!attribute [rw] s3_encryption_key_id
3781
+ # The unique identifier of the key that encrypts the S3 location of
3782
+ # the output data.
3783
+ # @return [String]
3784
+ #
3785
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelInvocationJobS3OutputDataConfig AWS API Documentation
3786
+ #
3787
+ class ModelInvocationJobS3OutputDataConfig < Struct.new(
3788
+ :s3_uri,
3789
+ :s3_encryption_key_id)
3790
+ SENSITIVE = []
3791
+ include Aws::Structure
3792
+ end
3793
+
3794
+ # A summary of a batch inference job.
3795
+ #
3796
+ # @!attribute [rw] job_arn
3797
+ # The Amazon Resource Name (ARN) of the batch inference job.
3798
+ # @return [String]
3799
+ #
3800
+ # @!attribute [rw] job_name
3801
+ # The name of the batch inference job.
3802
+ # @return [String]
3803
+ #
3804
+ # @!attribute [rw] model_id
3805
+ # The unique identifier of the foundation model used for model
3806
+ # inference.
3807
+ # @return [String]
3808
+ #
3809
+ # @!attribute [rw] client_request_token
3810
+ # A unique, case-sensitive identifier to ensure that the API request
3811
+ # completes no more than one time. If this token matches a previous
3812
+ # request, Amazon Bedrock ignores the request, but does not return an
3813
+ # error. For more information, see [Ensuring idempotency][1].
3814
+ #
3815
+ #
3816
+ #
3817
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
3818
+ # @return [String]
3819
+ #
3820
+ # @!attribute [rw] role_arn
3821
+ # The Amazon Resource Name (ARN) of the service role with permissions
3822
+ # to carry out and manage batch inference. You can use the console to
3823
+ # create a default service role or follow the steps at [Create a
3824
+ # service role for batch inference][1].
3825
+ #
3826
+ #
3827
+ #
3828
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html
3829
+ # @return [String]
3830
+ #
3831
+ # @!attribute [rw] status
3832
+ # The status of the batch inference job.
3833
+ # @return [String]
3834
+ #
3835
+ # @!attribute [rw] message
3836
+ # If the batch inference job failed, this field contains a message
3837
+ # describing why the job failed.
3838
+ # @return [String]
3839
+ #
3840
+ # @!attribute [rw] submit_time
3841
+ # The time at which the batch inference job was submitted.
3842
+ # @return [Time]
3843
+ #
3844
+ # @!attribute [rw] last_modified_time
3845
+ # The time at which the batch inference job was last modified.
3846
+ # @return [Time]
3847
+ #
3848
+ # @!attribute [rw] end_time
3849
+ # The time at which the batch inference job ended.
3850
+ # @return [Time]
3851
+ #
3852
+ # @!attribute [rw] input_data_config
3853
+ # Details about the location of the input to the batch inference job.
3854
+ # @return [Types::ModelInvocationJobInputDataConfig]
3855
+ #
3856
+ # @!attribute [rw] output_data_config
3857
+ # Details about the location of the output of the batch inference job.
3858
+ # @return [Types::ModelInvocationJobOutputDataConfig]
3859
+ #
3860
+ # @!attribute [rw] timeout_duration_in_hours
3861
+ # The number of hours after which the batch inference job was set to
3862
+ # time out.
3863
+ # @return [Integer]
3864
+ #
3865
+ # @!attribute [rw] job_expiration_time
3866
+ # The time at which the batch inference job times or timed out.
3867
+ # @return [Time]
3868
+ #
3869
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelInvocationJobSummary AWS API Documentation
3870
+ #
3871
+ class ModelInvocationJobSummary < Struct.new(
3872
+ :job_arn,
3873
+ :job_name,
3874
+ :model_id,
3875
+ :client_request_token,
3876
+ :role_arn,
3877
+ :status,
3878
+ :message,
3879
+ :submit_time,
3880
+ :last_modified_time,
3881
+ :end_time,
3882
+ :input_data_config,
3883
+ :output_data_config,
3884
+ :timeout_duration_in_hours,
3885
+ :job_expiration_time)
3886
+ SENSITIVE = [:message]
3887
+ include Aws::Structure
3888
+ end
3889
+
3441
3890
  # S3 Location of the output data.
3442
3891
  #
3443
3892
  # @!attribute [rw] s3_uri
@@ -3634,6 +4083,22 @@ module Aws::Bedrock
3634
4083
  #
3635
4084
  class StopModelCustomizationJobResponse < Aws::EmptyStructure; end
3636
4085
 
4086
+ # @!attribute [rw] job_identifier
4087
+ # The Amazon Resource Name (ARN) of the batch inference job to stop.
4088
+ # @return [String]
4089
+ #
4090
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/StopModelInvocationJobRequest AWS API Documentation
4091
+ #
4092
+ class StopModelInvocationJobRequest < Struct.new(
4093
+ :job_identifier)
4094
+ SENSITIVE = []
4095
+ include Aws::Structure
4096
+ end
4097
+
4098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/StopModelInvocationJobResponse AWS API Documentation
4099
+ #
4100
+ class StopModelInvocationJobResponse < Aws::EmptyStructure; end
4101
+
3637
4102
  # Definition of the key/value pair for a tag.
3638
4103
  #
3639
4104
  # @!attribute [rw] key
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-bedrock/customizations'
53
53
  # @!group service
54
54
  module Aws::Bedrock
55
55
 
56
- GEM_VERSION = '1.14.0'
56
+ GEM_VERSION = '1.15.0'
57
57
 
58
58
  end