aws-sdk-bedrockagent 1.27.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 123930db1958fdc1ef554a7f6a5c199d48ebd53aa493124c76dde6747bdde2cf
4
- data.tar.gz: 5d98413d6c1b78f82cadae2ad4d6f324bc15d059e5e54f5a962068d2967f9c76
3
+ metadata.gz: 9d871867ec06b77383fb775823ce828fa32010851e1c1f59da3a78edcf6dc24f
4
+ data.tar.gz: e8e657baf61533d331c41068d5a83c4406fe5d7d3d8d80751e667cff4d994ca2
5
5
  SHA512:
6
- metadata.gz: fb3df45d383f6bdfa15830c242a4317ca09c2d04627e217f64f0e2902dea80da4f770025f72ee1f2de1111726cca49cdb10f062a3214acff7a55bd365a3d9a4d
7
- data.tar.gz: 5cc559c55e1d50074fde2c21d1c99a9b3d571b98af09ad39fa025e261f75ef8f2a3d3bb42a4eac588ac51377fbffb7744a525c5f8b74ef6e98f275f566999945
6
+ metadata.gz: 17571e080dac909f81c1c1dd7b7983d7f65d39f12c45864c117ce40d7de51082d65d87f543ad8551d3192309d1555c4b125222fb9be7fe6c3b66eec2008f68d3
7
+ data.tar.gz: cda09c3a4f02ca485ac5877d7fa418ec0d02209159be8c39edd03c179e08e6aac8aafd6ba8d3ff65023c77a5d385d87dfd96bd662a282bb682389aab17aad192
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.29.0 (2024-10-17)
5
+ ------------------
6
+
7
+ * Feature - Removing support for topK property in PromptModelInferenceConfiguration object, Making PromptTemplateConfiguration property as required, Limiting the maximum PromptVariant to 1
8
+
9
+ 1.28.0 (2024-10-01)
10
+ ------------------
11
+
12
+ * Feature - This release adds support to stop an ongoing ingestion job using the StopIngestionJob API in Agents for Amazon Bedrock.
13
+
4
14
  1.27.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
1
+ 1.29.0
@@ -1393,7 +1393,6 @@ module Aws::BedrockAgent
1393
1393
  # max_tokens: 1,
1394
1394
  # stop_sequences: ["String"],
1395
1395
  # temperature: 1.0,
1396
- # top_k: 1,
1397
1396
  # top_p: 1.0,
1398
1397
  # },
1399
1398
  # },
@@ -1483,7 +1482,6 @@ module Aws::BedrockAgent
1483
1482
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences #=> Array
1484
1483
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences[0] #=> String
1485
1484
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.temperature #=> Float
1486
- # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_k #=> Integer
1487
1485
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_p #=> Float
1488
1486
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
1489
1487
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
@@ -1684,7 +1682,6 @@ module Aws::BedrockAgent
1684
1682
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences #=> Array
1685
1683
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences[0] #=> String
1686
1684
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.temperature #=> Float
1687
- # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_k #=> Integer
1688
1685
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_p #=> Float
1689
1686
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
1690
1687
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
@@ -1719,11 +1716,11 @@ module Aws::BedrockAgent
1719
1716
  req.send_request(options)
1720
1717
  end
1721
1718
 
1722
- # Creates a knowledge base that contains data sources from which
1723
- # information can be queried and used by LLMs. To create a knowledge
1724
- # base, you must first set up your data sources and configure a
1725
- # supported vector store. For more information, see [Set up your data
1726
- # for ingestion][1].
1719
+ # Creates a knowledge base. A knowledge base contains your data sources
1720
+ # so that Large Language Models (LLMs) can use your data. To create a
1721
+ # knowledge base, you must first set up your data sources and configure
1722
+ # a supported vector store. For more information, see [Set up a
1723
+ # knowledge base][1].
1727
1724
  #
1728
1725
  # <note markdown="1"> If you prefer to let Amazon Bedrock create and manage a vector store
1729
1726
  # for you in Amazon OpenSearch Service, use the console. For more
@@ -1759,7 +1756,7 @@ module Aws::BedrockAgent
1759
1756
  #
1760
1757
  #
1761
1758
  #
1762
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup.html
1759
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowlege-base-prereq.html
1763
1760
  # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-create
1764
1761
  # [3]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html
1765
1762
  # [4]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html
@@ -2027,7 +2024,6 @@ module Aws::BedrockAgent
2027
2024
  # max_tokens: 1,
2028
2025
  # stop_sequences: ["String"],
2029
2026
  # temperature: 1.0,
2030
- # top_k: 1,
2031
2027
  # top_p: 1.0,
2032
2028
  # },
2033
2029
  # },
@@ -2039,7 +2035,7 @@ module Aws::BedrockAgent
2039
2035
  # ],
2040
2036
  # model_id: "PromptModelIdentifier",
2041
2037
  # name: "PromptVariantName", # required
2042
- # template_configuration: {
2038
+ # template_configuration: { # required
2043
2039
  # text: {
2044
2040
  # input_variables: [
2045
2041
  # {
@@ -2069,7 +2065,6 @@ module Aws::BedrockAgent
2069
2065
  # resp.variants[0].inference_configuration.text.stop_sequences #=> Array
2070
2066
  # resp.variants[0].inference_configuration.text.stop_sequences[0] #=> String
2071
2067
  # resp.variants[0].inference_configuration.text.temperature #=> Float
2072
- # resp.variants[0].inference_configuration.text.top_k #=> Integer
2073
2068
  # resp.variants[0].inference_configuration.text.top_p #=> Float
2074
2069
  # resp.variants[0].metadata #=> Array
2075
2070
  # resp.variants[0].metadata[0].key #=> String
@@ -2166,7 +2161,6 @@ module Aws::BedrockAgent
2166
2161
  # resp.variants[0].inference_configuration.text.stop_sequences #=> Array
2167
2162
  # resp.variants[0].inference_configuration.text.stop_sequences[0] #=> String
2168
2163
  # resp.variants[0].inference_configuration.text.temperature #=> Float
2169
- # resp.variants[0].inference_configuration.text.top_k #=> Integer
2170
2164
  # resp.variants[0].inference_configuration.text.top_p #=> Float
2171
2165
  # resp.variants[0].metadata #=> Array
2172
2166
  # resp.variants[0].metadata[0].key #=> String
@@ -2886,8 +2880,7 @@ module Aws::BedrockAgent
2886
2880
  # The unique identifier of the data source.
2887
2881
  #
2888
2882
  # @option params [required, String] :knowledge_base_id
2889
- # The unique identifier of the knowledge base that the data source was
2890
- # added to.
2883
+ # The unique identifier of the knowledge base for the data source.
2891
2884
  #
2892
2885
  # @return [Types::GetDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2893
2886
  #
@@ -3045,7 +3038,6 @@ module Aws::BedrockAgent
3045
3038
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences #=> Array
3046
3039
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences[0] #=> String
3047
3040
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.temperature #=> Float
3048
- # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_k #=> Integer
3049
3041
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_p #=> Float
3050
3042
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
3051
3043
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
@@ -3197,7 +3189,6 @@ module Aws::BedrockAgent
3197
3189
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences #=> Array
3198
3190
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences[0] #=> String
3199
3191
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.temperature #=> Float
3200
- # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_k #=> Integer
3201
3192
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_p #=> Float
3202
3193
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
3203
3194
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
@@ -3232,18 +3223,21 @@ module Aws::BedrockAgent
3232
3223
  req.send_request(options)
3233
3224
  end
3234
3225
 
3235
- # Gets information about a ingestion job, in which a data source is
3236
- # added to a knowledge base.
3226
+ # Gets information about a data ingestion job. Data sources are ingested
3227
+ # into your knowledge base so that Large Language Models (LLMs) can use
3228
+ # your data.
3237
3229
  #
3238
3230
  # @option params [required, String] :data_source_id
3239
- # The unique identifier of the data source in the ingestion job.
3231
+ # The unique identifier of the data source for the data ingestion job
3232
+ # you want to get information on.
3240
3233
  #
3241
3234
  # @option params [required, String] :ingestion_job_id
3242
- # The unique identifier of the ingestion job.
3235
+ # The unique identifier of the data ingestion job you want to get
3236
+ # information on.
3243
3237
  #
3244
3238
  # @option params [required, String] :knowledge_base_id
3245
- # The unique identifier of the knowledge base for which the ingestion
3246
- # job applies.
3239
+ # The unique identifier of the knowledge base for the data ingestion job
3240
+ # you want to get information on.
3247
3241
  #
3248
3242
  # @return [Types::GetIngestionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3249
3243
  #
@@ -3273,7 +3267,7 @@ module Aws::BedrockAgent
3273
3267
  # resp.ingestion_job.statistics.number_of_metadata_documents_scanned #=> Integer
3274
3268
  # resp.ingestion_job.statistics.number_of_modified_documents_indexed #=> Integer
3275
3269
  # resp.ingestion_job.statistics.number_of_new_documents_indexed #=> Integer
3276
- # resp.ingestion_job.status #=> String, one of "STARTING", "IN_PROGRESS", "COMPLETE", "FAILED"
3270
+ # resp.ingestion_job.status #=> String, one of "STARTING", "IN_PROGRESS", "COMPLETE", "FAILED", "STOPPING", "STOPPED"
3277
3271
  # resp.ingestion_job.updated_at #=> Time
3278
3272
  #
3279
3273
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetIngestionJob AWS API Documentation
@@ -3288,8 +3282,8 @@ module Aws::BedrockAgent
3288
3282
  # Gets information about a knoweldge base.
3289
3283
  #
3290
3284
  # @option params [required, String] :knowledge_base_id
3291
- # The unique identifier of the knowledge base for which to get
3292
- # information.
3285
+ # The unique identifier of the knowledge base you want to get
3286
+ # information on.
3293
3287
  #
3294
3288
  # @return [Types::GetKnowledgeBaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3295
3289
  #
@@ -3415,7 +3409,6 @@ module Aws::BedrockAgent
3415
3409
  # resp.variants[0].inference_configuration.text.stop_sequences #=> Array
3416
3410
  # resp.variants[0].inference_configuration.text.stop_sequences[0] #=> String
3417
3411
  # resp.variants[0].inference_configuration.text.temperature #=> Float
3418
- # resp.variants[0].inference_configuration.text.top_k #=> Integer
3419
3412
  # resp.variants[0].inference_configuration.text.top_p #=> Float
3420
3413
  # resp.variants[0].metadata #=> Array
3421
3414
  # resp.variants[0].metadata[0].key #=> String
@@ -3932,18 +3925,18 @@ module Aws::BedrockAgent
3932
3925
  req.send_request(options)
3933
3926
  end
3934
3927
 
3935
- # Lists the ingestion jobs for a data source and information about each
3936
- # of them.
3928
+ # Lists the data ingestion jobs for a data source. The list also
3929
+ # includes information about each job.
3937
3930
  #
3938
3931
  # @option params [required, String] :data_source_id
3939
- # The unique identifier of the data source for which to return ingestion
3940
- # jobs.
3932
+ # The unique identifier of the data source for the list of data
3933
+ # ingestion jobs.
3941
3934
  #
3942
3935
  # @option params [Array<Types::IngestionJobFilter>] :filters
3943
- # Contains a definition of a filter for which to filter the results.
3936
+ # Contains information about the filters for filtering the data.
3944
3937
  #
3945
3938
  # @option params [required, String] :knowledge_base_id
3946
- # The unique identifier of the knowledge base for which to return
3939
+ # The unique identifier of the knowledge base for the list of data
3947
3940
  # ingestion jobs.
3948
3941
  #
3949
3942
  # @option params [Integer] :max_results
@@ -3959,7 +3952,7 @@ module Aws::BedrockAgent
3959
3952
  # results.
3960
3953
  #
3961
3954
  # @option params [Types::IngestionJobSortBy] :sort_by
3962
- # Contains details about how to sort the results.
3955
+ # Contains details about how to sort the data.
3963
3956
  #
3964
3957
  # @return [Types::ListIngestionJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3965
3958
  #
@@ -4003,7 +3996,7 @@ module Aws::BedrockAgent
4003
3996
  # resp.ingestion_job_summaries[0].statistics.number_of_metadata_documents_scanned #=> Integer
4004
3997
  # resp.ingestion_job_summaries[0].statistics.number_of_modified_documents_indexed #=> Integer
4005
3998
  # resp.ingestion_job_summaries[0].statistics.number_of_new_documents_indexed #=> Integer
4006
- # resp.ingestion_job_summaries[0].status #=> String, one of "STARTING", "IN_PROGRESS", "COMPLETE", "FAILED"
3999
+ # resp.ingestion_job_summaries[0].status #=> String, one of "STARTING", "IN_PROGRESS", "COMPLETE", "FAILED", "STOPPING", "STOPPED"
4007
4000
  # resp.ingestion_job_summaries[0].updated_at #=> Time
4008
4001
  # resp.next_token #=> String
4009
4002
  #
@@ -4016,8 +4009,8 @@ module Aws::BedrockAgent
4016
4009
  req.send_request(options)
4017
4010
  end
4018
4011
 
4019
- # Lists the knowledge bases in an account and information about each of
4020
- # them.
4012
+ # Lists the knowledge bases in an account. The list also
4013
+ # includesinformation about each knowledge base.
4021
4014
  #
4022
4015
  # @option params [Integer] :max_results
4023
4016
  # The maximum number of results to return in the response. If the total
@@ -4228,8 +4221,8 @@ module Aws::BedrockAgent
4228
4221
  req.send_request(options)
4229
4222
  end
4230
4223
 
4231
- # Begins an ingestion job, in which a data source is added to a
4232
- # knowledge base.
4224
+ # Begins a data ingestion job. Data sources are ingested into your
4225
+ # knowledge base so that Large Language Models (LLMs) can use your data.
4233
4226
  #
4234
4227
  # @option params [String] :client_token
4235
4228
  # A unique, case-sensitive identifier to ensure that the API request
@@ -4245,14 +4238,15 @@ module Aws::BedrockAgent
4245
4238
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
4246
4239
  #
4247
4240
  # @option params [required, String] :data_source_id
4248
- # The unique identifier of the data source to ingest.
4241
+ # The unique identifier of the data source you want to ingest into your
4242
+ # knowledge base.
4249
4243
  #
4250
4244
  # @option params [String] :description
4251
- # A description of the ingestion job.
4245
+ # A description of the data ingestion job.
4252
4246
  #
4253
4247
  # @option params [required, String] :knowledge_base_id
4254
- # The unique identifier of the knowledge base to which to add the data
4255
- # source.
4248
+ # The unique identifier of the knowledge base for the data ingestion
4249
+ # job.
4256
4250
  #
4257
4251
  # @return [Types::StartIngestionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4258
4252
  #
@@ -4283,7 +4277,7 @@ module Aws::BedrockAgent
4283
4277
  # resp.ingestion_job.statistics.number_of_metadata_documents_scanned #=> Integer
4284
4278
  # resp.ingestion_job.statistics.number_of_modified_documents_indexed #=> Integer
4285
4279
  # resp.ingestion_job.statistics.number_of_new_documents_indexed #=> Integer
4286
- # resp.ingestion_job.status #=> String, one of "STARTING", "IN_PROGRESS", "COMPLETE", "FAILED"
4280
+ # resp.ingestion_job.status #=> String, one of "STARTING", "IN_PROGRESS", "COMPLETE", "FAILED", "STOPPING", "STOPPED"
4287
4281
  # resp.ingestion_job.updated_at #=> Time
4288
4282
  #
4289
4283
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/StartIngestionJob AWS API Documentation
@@ -4295,6 +4289,61 @@ module Aws::BedrockAgent
4295
4289
  req.send_request(options)
4296
4290
  end
4297
4291
 
4292
+ # Stops a currently running data ingestion job. You can send a
4293
+ # `StartIngestionJob` request again to ingest the rest of your data when
4294
+ # you are ready.
4295
+ #
4296
+ # @option params [required, String] :data_source_id
4297
+ # The unique identifier of the data source for the data ingestion job
4298
+ # you want to stop.
4299
+ #
4300
+ # @option params [required, String] :ingestion_job_id
4301
+ # The unique identifier of the data ingestion job you want to stop.
4302
+ #
4303
+ # @option params [required, String] :knowledge_base_id
4304
+ # The unique identifier of the knowledge base for the data ingestion job
4305
+ # you want to stop.
4306
+ #
4307
+ # @return [Types::StopIngestionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4308
+ #
4309
+ # * {Types::StopIngestionJobResponse#ingestion_job #ingestion_job} => Types::IngestionJob
4310
+ #
4311
+ # @example Request syntax with placeholder values
4312
+ #
4313
+ # resp = client.stop_ingestion_job({
4314
+ # data_source_id: "Id", # required
4315
+ # ingestion_job_id: "Id", # required
4316
+ # knowledge_base_id: "Id", # required
4317
+ # })
4318
+ #
4319
+ # @example Response structure
4320
+ #
4321
+ # resp.ingestion_job.data_source_id #=> String
4322
+ # resp.ingestion_job.description #=> String
4323
+ # resp.ingestion_job.failure_reasons #=> Array
4324
+ # resp.ingestion_job.failure_reasons[0] #=> String
4325
+ # resp.ingestion_job.ingestion_job_id #=> String
4326
+ # resp.ingestion_job.knowledge_base_id #=> String
4327
+ # resp.ingestion_job.started_at #=> Time
4328
+ # resp.ingestion_job.statistics.number_of_documents_deleted #=> Integer
4329
+ # resp.ingestion_job.statistics.number_of_documents_failed #=> Integer
4330
+ # resp.ingestion_job.statistics.number_of_documents_scanned #=> Integer
4331
+ # resp.ingestion_job.statistics.number_of_metadata_documents_modified #=> Integer
4332
+ # resp.ingestion_job.statistics.number_of_metadata_documents_scanned #=> Integer
4333
+ # resp.ingestion_job.statistics.number_of_modified_documents_indexed #=> Integer
4334
+ # resp.ingestion_job.statistics.number_of_new_documents_indexed #=> Integer
4335
+ # resp.ingestion_job.status #=> String, one of "STARTING", "IN_PROGRESS", "COMPLETE", "FAILED", "STOPPING", "STOPPED"
4336
+ # resp.ingestion_job.updated_at #=> Time
4337
+ #
4338
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/StopIngestionJob AWS API Documentation
4339
+ #
4340
+ # @overload stop_ingestion_job(params = {})
4341
+ # @param [Hash] params ({})
4342
+ def stop_ingestion_job(params = {}, options = {})
4343
+ req = build_request(:stop_ingestion_job, params)
4344
+ req.send_request(options)
4345
+ end
4346
+
4298
4347
  # Associate tags with a resource. For more information, see [Tagging
4299
4348
  # resources][1] in the Amazon Bedrock User Guide.
4300
4349
  #
@@ -5153,7 +5202,6 @@ module Aws::BedrockAgent
5153
5202
  # max_tokens: 1,
5154
5203
  # stop_sequences: ["String"],
5155
5204
  # temperature: 1.0,
5156
- # top_k: 1,
5157
5205
  # top_p: 1.0,
5158
5206
  # },
5159
5207
  # },
@@ -5241,7 +5289,6 @@ module Aws::BedrockAgent
5241
5289
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences #=> Array
5242
5290
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences[0] #=> String
5243
5291
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.temperature #=> Float
5244
- # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_k #=> Integer
5245
5292
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_p #=> Float
5246
5293
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
5247
5294
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
@@ -5591,7 +5638,6 @@ module Aws::BedrockAgent
5591
5638
  # max_tokens: 1,
5592
5639
  # stop_sequences: ["String"],
5593
5640
  # temperature: 1.0,
5594
- # top_k: 1,
5595
5641
  # top_p: 1.0,
5596
5642
  # },
5597
5643
  # },
@@ -5603,7 +5649,7 @@ module Aws::BedrockAgent
5603
5649
  # ],
5604
5650
  # model_id: "PromptModelIdentifier",
5605
5651
  # name: "PromptVariantName", # required
5606
- # template_configuration: {
5652
+ # template_configuration: { # required
5607
5653
  # text: {
5608
5654
  # input_variables: [
5609
5655
  # {
@@ -5633,7 +5679,6 @@ module Aws::BedrockAgent
5633
5679
  # resp.variants[0].inference_configuration.text.stop_sequences #=> Array
5634
5680
  # resp.variants[0].inference_configuration.text.stop_sequences[0] #=> String
5635
5681
  # resp.variants[0].inference_configuration.text.temperature #=> Float
5636
- # resp.variants[0].inference_configuration.text.top_k #=> Integer
5637
5682
  # resp.variants[0].inference_configuration.text.top_p #=> Float
5638
5683
  # resp.variants[0].metadata #=> Array
5639
5684
  # resp.variants[0].metadata[0].key #=> String
@@ -5673,7 +5718,7 @@ module Aws::BedrockAgent
5673
5718
  tracer: tracer
5674
5719
  )
5675
5720
  context[:gem_name] = 'aws-sdk-bedrockagent'
5676
- context[:gem_version] = '1.27.0'
5721
+ context[:gem_version] = '1.29.0'
5677
5722
  Seahorse::Client::Request.new(handlers, context)
5678
5723
  end
5679
5724
 
@@ -407,6 +407,8 @@ module Aws::BedrockAgent
407
407
  StartIngestionJobRequest = Shapes::StructureShape.new(name: 'StartIngestionJobRequest')
408
408
  StartIngestionJobResponse = Shapes::StructureShape.new(name: 'StartIngestionJobResponse')
409
409
  StepType = Shapes::StringShape.new(name: 'StepType')
410
+ StopIngestionJobRequest = Shapes::StructureShape.new(name: 'StopIngestionJobRequest')
411
+ StopIngestionJobResponse = Shapes::StructureShape.new(name: 'StopIngestionJobResponse')
410
412
  StopSequences = Shapes::ListShape.new(name: 'StopSequences')
411
413
  StorageConfiguration = Shapes::StructureShape.new(name: 'StorageConfiguration')
412
414
  StorageDays = Shapes::IntegerShape.new(name: 'StorageDays')
@@ -1604,7 +1606,6 @@ module Aws::BedrockAgent
1604
1606
  PromptModelInferenceConfiguration.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaximumLength, location_name: "maxTokens"))
1605
1607
  PromptModelInferenceConfiguration.add_member(:stop_sequences, Shapes::ShapeRef.new(shape: StopSequences, location_name: "stopSequences"))
1606
1608
  PromptModelInferenceConfiguration.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
1607
- PromptModelInferenceConfiguration.add_member(:top_k, Shapes::ShapeRef.new(shape: TopK, location_name: "topK"))
1608
1609
  PromptModelInferenceConfiguration.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
1609
1610
  PromptModelInferenceConfiguration.struct_class = Types::PromptModelInferenceConfiguration
1610
1611
 
@@ -1633,7 +1634,7 @@ module Aws::BedrockAgent
1633
1634
  PromptVariant.add_member(:metadata, Shapes::ShapeRef.new(shape: PromptMetadataList, location_name: "metadata"))
1634
1635
  PromptVariant.add_member(:model_id, Shapes::ShapeRef.new(shape: PromptModelIdentifier, location_name: "modelId"))
1635
1636
  PromptVariant.add_member(:name, Shapes::ShapeRef.new(shape: PromptVariantName, required: true, location_name: "name"))
1636
- PromptVariant.add_member(:template_configuration, Shapes::ShapeRef.new(shape: PromptTemplateConfiguration, location_name: "templateConfiguration"))
1637
+ PromptVariant.add_member(:template_configuration, Shapes::ShapeRef.new(shape: PromptTemplateConfiguration, required: true, location_name: "templateConfiguration"))
1637
1638
  PromptVariant.add_member(:template_type, Shapes::ShapeRef.new(shape: PromptTemplateType, required: true, location_name: "templateType"))
1638
1639
  PromptVariant.struct_class = Types::PromptVariant
1639
1640
 
@@ -1748,6 +1749,14 @@ module Aws::BedrockAgent
1748
1749
  StartIngestionJobResponse.add_member(:ingestion_job, Shapes::ShapeRef.new(shape: IngestionJob, required: true, location_name: "ingestionJob"))
1749
1750
  StartIngestionJobResponse.struct_class = Types::StartIngestionJobResponse
1750
1751
 
1752
+ StopIngestionJobRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "dataSourceId"))
1753
+ StopIngestionJobRequest.add_member(:ingestion_job_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ingestionJobId"))
1754
+ StopIngestionJobRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
1755
+ StopIngestionJobRequest.struct_class = Types::StopIngestionJobRequest
1756
+
1757
+ StopIngestionJobResponse.add_member(:ingestion_job, Shapes::ShapeRef.new(shape: IngestionJob, required: true, location_name: "ingestionJob"))
1758
+ StopIngestionJobResponse.struct_class = Types::StopIngestionJobResponse
1759
+
1751
1760
  StopSequences.member = Shapes::ShapeRef.new(shape: String)
1752
1761
 
1753
1762
  StorageConfiguration.add_member(:mongo_db_atlas_configuration, Shapes::ShapeRef.new(shape: MongoDbAtlasConfiguration, location_name: "mongoDbAtlasConfiguration"))
@@ -2748,6 +2757,20 @@ module Aws::BedrockAgent
2748
2757
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2749
2758
  end)
2750
2759
 
2760
+ api.add_operation(:stop_ingestion_job, Seahorse::Model::Operation.new.tap do |o|
2761
+ o.name = "StopIngestionJob"
2762
+ o.http_method = "POST"
2763
+ o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}/stop"
2764
+ o.input = Shapes::ShapeRef.new(shape: StopIngestionJobRequest)
2765
+ o.output = Shapes::ShapeRef.new(shape: StopIngestionJobResponse)
2766
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2767
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2768
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2769
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2770
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2771
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2772
+ end)
2773
+
2751
2774
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2752
2775
  o.name = "TagResource"
2753
2776
  o.http_method = "POST"
@@ -562,6 +562,17 @@ module Aws::BedrockAgent
562
562
  end
563
563
  end
564
564
 
565
+ class StopIngestionJob
566
+ def self.build(context)
567
+ Aws::BedrockAgent::EndpointParameters.new(
568
+ region: context.config.region,
569
+ use_dual_stack: context.config.use_dualstack_endpoint,
570
+ use_fips: context.config.use_fips_endpoint,
571
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
572
+ )
573
+ end
574
+ end
575
+
565
576
  class TagResource
566
577
  def self.build(context)
567
578
  Aws::BedrockAgent::EndpointParameters.new(
@@ -170,6 +170,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
170
170
  Aws::BedrockAgent::Endpoints::PrepareFlow.build(context)
171
171
  when :start_ingestion_job
172
172
  Aws::BedrockAgent::Endpoints::StartIngestionJob.build(context)
173
+ when :stop_ingestion_job
174
+ Aws::BedrockAgent::Endpoints::StopIngestionJob.build(context)
173
175
  when :tag_resource
174
176
  Aws::BedrockAgent::Endpoints::TagResource.build(context)
175
177
  when :untag_resource
@@ -3671,8 +3671,7 @@ module Aws::BedrockAgent
3671
3671
  # @return [String]
3672
3672
  #
3673
3673
  # @!attribute [rw] knowledge_base_id
3674
- # The unique identifier of the knowledge base that the data source was
3675
- # added to.
3674
+ # The unique identifier of the knowledge base for the data source.
3676
3675
  # @return [String]
3677
3676
  #
3678
3677
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetDataSourceRequest AWS API Documentation
@@ -3953,16 +3952,18 @@ module Aws::BedrockAgent
3953
3952
  end
3954
3953
 
3955
3954
  # @!attribute [rw] data_source_id
3956
- # The unique identifier of the data source in the ingestion job.
3955
+ # The unique identifier of the data source for the data ingestion job
3956
+ # you want to get information on.
3957
3957
  # @return [String]
3958
3958
  #
3959
3959
  # @!attribute [rw] ingestion_job_id
3960
- # The unique identifier of the ingestion job.
3960
+ # The unique identifier of the data ingestion job you want to get
3961
+ # information on.
3961
3962
  # @return [String]
3962
3963
  #
3963
3964
  # @!attribute [rw] knowledge_base_id
3964
- # The unique identifier of the knowledge base for which the ingestion
3965
- # job applies.
3965
+ # The unique identifier of the knowledge base for the data ingestion
3966
+ # job you want to get information on.
3966
3967
  # @return [String]
3967
3968
  #
3968
3969
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetIngestionJobRequest AWS API Documentation
@@ -3976,7 +3977,7 @@ module Aws::BedrockAgent
3976
3977
  end
3977
3978
 
3978
3979
  # @!attribute [rw] ingestion_job
3979
- # Contains details about the ingestion job.
3980
+ # Contains details about the data ingestion job.
3980
3981
  # @return [Types::IngestionJob]
3981
3982
  #
3982
3983
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetIngestionJobResponse AWS API Documentation
@@ -3988,8 +3989,8 @@ module Aws::BedrockAgent
3988
3989
  end
3989
3990
 
3990
3991
  # @!attribute [rw] knowledge_base_id
3991
- # The unique identifier of the knowledge base for which to get
3992
- # information.
3992
+ # The unique identifier of the knowledge base you want to get
3993
+ # information on.
3993
3994
  # @return [String]
3994
3995
  #
3995
3996
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetKnowledgeBaseRequest AWS API Documentation
@@ -4212,8 +4213,9 @@ module Aws::BedrockAgent
4212
4213
  include Aws::Structure
4213
4214
  end
4214
4215
 
4215
- # Contains details about an ingestion job, which converts a data source
4216
- # to embeddings for a vector store in knowledge base.
4216
+ # Contains details about a data ingestion job. Data sources are ingested
4217
+ # into a knowledge base so that Large Language Models (LLMs) can use
4218
+ # your data.
4217
4219
  #
4218
4220
  # This data type is used in the following API operations:
4219
4221
  #
@@ -4230,40 +4232,45 @@ module Aws::BedrockAgent
4230
4232
  # [3]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListIngestionJobs.html#API_agent_ListIngestionJobs_ResponseSyntax
4231
4233
  #
4232
4234
  # @!attribute [rw] data_source_id
4233
- # The unique identifier of the ingested data source.
4235
+ # The unique identifier of the data source for the data ingestion job.
4234
4236
  # @return [String]
4235
4237
  #
4236
4238
  # @!attribute [rw] description
4237
- # The description of the ingestion job.
4239
+ # The description of the data ingestion job.
4238
4240
  # @return [String]
4239
4241
  #
4240
4242
  # @!attribute [rw] failure_reasons
4241
- # A list of reasons that the ingestion job failed.
4243
+ # A list of reasons that the data ingestion job failed.
4242
4244
  # @return [Array<String>]
4243
4245
  #
4244
4246
  # @!attribute [rw] ingestion_job_id
4245
- # The unique identifier of the ingestion job.
4247
+ # The unique identifier of the data ingestion job.
4246
4248
  # @return [String]
4247
4249
  #
4248
4250
  # @!attribute [rw] knowledge_base_id
4249
- # The unique identifier of the knowledge base to which the data source
4250
- # is being added.
4251
+ # The unique identifier of the knowledge for the data ingestion job.
4251
4252
  # @return [String]
4252
4253
  #
4253
4254
  # @!attribute [rw] started_at
4254
- # The time at which the ingestion job started.
4255
+ # The time the data ingestion job started.
4256
+ #
4257
+ # If you stop a data ingestion job, the `startedAt` time is the time
4258
+ # the job was started before the job was stopped.
4255
4259
  # @return [Time]
4256
4260
  #
4257
4261
  # @!attribute [rw] statistics
4258
- # Contains statistics about the ingestion job.
4262
+ # Contains statistics about the data ingestion job.
4259
4263
  # @return [Types::IngestionJobStatistics]
4260
4264
  #
4261
4265
  # @!attribute [rw] status
4262
- # The status of the ingestion job.
4266
+ # The status of the data ingestion job.
4263
4267
  # @return [String]
4264
4268
  #
4265
4269
  # @!attribute [rw] updated_at
4266
- # The time at which the ingestion job was last updated.
4270
+ # The time the data ingestion job was last updated.
4271
+ #
4272
+ # If you stop a data ingestion job, the `updatedAt` time is the time
4273
+ # the job was stopped.
4267
4274
  # @return [Time]
4268
4275
  #
4269
4276
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/IngestionJob AWS API Documentation
@@ -4282,18 +4289,18 @@ module Aws::BedrockAgent
4282
4289
  include Aws::Structure
4283
4290
  end
4284
4291
 
4285
- # Defines a filter by which to filter the results.
4292
+ # The definition of a filter to filter the data.
4286
4293
  #
4287
4294
  # @!attribute [rw] attribute
4288
- # The attribute by which to filter the results.
4295
+ # The name of field or attribute to apply the filter.
4289
4296
  # @return [String]
4290
4297
  #
4291
4298
  # @!attribute [rw] operator
4292
- # The operation to carry out between the attribute and the values.
4299
+ # The operation to apply to the field or attribute.
4293
4300
  # @return [String]
4294
4301
  #
4295
4302
  # @!attribute [rw] values
4296
- # A list of values for the attribute.
4303
+ # A list of values that belong to the field or attribute.
4297
4304
  # @return [Array<String>]
4298
4305
  #
4299
4306
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/IngestionJobFilter AWS API Documentation
@@ -4306,14 +4313,14 @@ module Aws::BedrockAgent
4306
4313
  include Aws::Structure
4307
4314
  end
4308
4315
 
4309
- # Parameters by which to sort the results.
4316
+ # The parameters of sorting the data.
4310
4317
  #
4311
4318
  # @!attribute [rw] attribute
4312
- # The attribute by which to sort the results.
4319
+ # The name of field or attribute to apply sorting of data.
4313
4320
  # @return [String]
4314
4321
  #
4315
4322
  # @!attribute [rw] order
4316
- # The order by which to sort the results.
4323
+ # The order for sorting the data.
4317
4324
  # @return [String]
4318
4325
  #
4319
4326
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/IngestionJobSortBy AWS API Documentation
@@ -4325,10 +4332,10 @@ module Aws::BedrockAgent
4325
4332
  include Aws::Structure
4326
4333
  end
4327
4334
 
4328
- # Contains the statistics for the ingestion job.
4335
+ # Contains the statistics for the data ingestion job.
4329
4336
  #
4330
4337
  # @!attribute [rw] number_of_documents_deleted
4331
- # The number of source documents that was deleted.
4338
+ # The number of source documents that were deleted.
4332
4339
  # @return [Integer]
4333
4340
  #
4334
4341
  # @!attribute [rw] number_of_documents_failed
@@ -4373,39 +4380,39 @@ module Aws::BedrockAgent
4373
4380
  include Aws::Structure
4374
4381
  end
4375
4382
 
4376
- # Contains details about an ingestion job.
4383
+ # Contains details about a data ingestion job.
4377
4384
  #
4378
4385
  # @!attribute [rw] data_source_id
4379
- # The unique identifier of the data source in the ingestion job.
4386
+ # The unique identifier of the data source for the data ingestion job.
4380
4387
  # @return [String]
4381
4388
  #
4382
4389
  # @!attribute [rw] description
4383
- # The description of the ingestion job.
4390
+ # The description of the data ingestion job.
4384
4391
  # @return [String]
4385
4392
  #
4386
4393
  # @!attribute [rw] ingestion_job_id
4387
- # The unique identifier of the ingestion job.
4394
+ # The unique identifier of the data ingestion job.
4388
4395
  # @return [String]
4389
4396
  #
4390
4397
  # @!attribute [rw] knowledge_base_id
4391
- # The unique identifier of the knowledge base to which the data source
4392
- # is added.
4398
+ # The unique identifier of the knowledge base for the data ingestion
4399
+ # job.
4393
4400
  # @return [String]
4394
4401
  #
4395
4402
  # @!attribute [rw] started_at
4396
- # The time at which the ingestion job was started.
4403
+ # The time the data ingestion job started.
4397
4404
  # @return [Time]
4398
4405
  #
4399
4406
  # @!attribute [rw] statistics
4400
- # Contains statistics for the ingestion job.
4407
+ # Contains statistics for the data ingestion job.
4401
4408
  # @return [Types::IngestionJobStatistics]
4402
4409
  #
4403
4410
  # @!attribute [rw] status
4404
- # The status of the ingestion job.
4411
+ # The status of the data ingestion job.
4405
4412
  # @return [String]
4406
4413
  #
4407
4414
  # @!attribute [rw] updated_at
4408
- # The time at which the ingestion job was last updated.
4415
+ # The time the data ingestion job was last updated.
4409
4416
  # @return [Time]
4410
4417
  #
4411
4418
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/IngestionJobSummary AWS API Documentation
@@ -4479,7 +4486,7 @@ module Aws::BedrockAgent
4479
4486
  # Contains information about a knowledge base.
4480
4487
  #
4481
4488
  # @!attribute [rw] created_at
4482
- # The time at which the knowledge base was created.
4489
+ # The time the knowledge base was created.
4483
4490
  # @return [Time]
4484
4491
  #
4485
4492
  # @!attribute [rw] description
@@ -4534,7 +4541,7 @@ module Aws::BedrockAgent
4534
4541
  # @return [Types::StorageConfiguration]
4535
4542
  #
4536
4543
  # @!attribute [rw] updated_at
4537
- # The time at which the knowledge base was last updated.
4544
+ # The time the knowledge base was last updated.
4538
4545
  # @return [Time]
4539
4546
  #
4540
4547
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/KnowledgeBase AWS API Documentation
@@ -4555,8 +4562,8 @@ module Aws::BedrockAgent
4555
4562
  include Aws::Structure
4556
4563
  end
4557
4564
 
4558
- # Contains details about the embeddings configuration of the knowledge
4559
- # base.
4565
+ # Contains details about the vector embeddings configuration of the
4566
+ # knowledge base.
4560
4567
  #
4561
4568
  # @!attribute [rw] type
4562
4569
  # The type of data that the data source is converted into for the
@@ -4564,8 +4571,8 @@ module Aws::BedrockAgent
4564
4571
  # @return [String]
4565
4572
  #
4566
4573
  # @!attribute [rw] vector_knowledge_base_configuration
4567
- # Contains details about the embeddings model that'sused to convert
4568
- # the data source.
4574
+ # Contains details about the model that's used to convert the data
4575
+ # source into vector embeddings.
4569
4576
  # @return [Types::VectorKnowledgeBaseConfiguration]
4570
4577
  #
4571
4578
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/KnowledgeBaseConfiguration AWS API Documentation
@@ -4629,7 +4636,7 @@ module Aws::BedrockAgent
4629
4636
  # @return [String]
4630
4637
  #
4631
4638
  # @!attribute [rw] updated_at
4632
- # The time at which the knowledge base was last updated.
4639
+ # The time the knowledge base was last updated.
4633
4640
  # @return [Time]
4634
4641
  #
4635
4642
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/KnowledgeBaseSummary AWS API Documentation
@@ -5137,16 +5144,16 @@ module Aws::BedrockAgent
5137
5144
  end
5138
5145
 
5139
5146
  # @!attribute [rw] data_source_id
5140
- # The unique identifier of the data source for which to return
5147
+ # The unique identifier of the data source for the list of data
5141
5148
  # ingestion jobs.
5142
5149
  # @return [String]
5143
5150
  #
5144
5151
  # @!attribute [rw] filters
5145
- # Contains a definition of a filter for which to filter the results.
5152
+ # Contains information about the filters for filtering the data.
5146
5153
  # @return [Array<Types::IngestionJobFilter>]
5147
5154
  #
5148
5155
  # @!attribute [rw] knowledge_base_id
5149
- # The unique identifier of the knowledge base for which to return
5156
+ # The unique identifier of the knowledge base for the list of data
5150
5157
  # ingestion jobs.
5151
5158
  # @return [String]
5152
5159
  #
@@ -5165,7 +5172,7 @@ module Aws::BedrockAgent
5165
5172
  # @return [String]
5166
5173
  #
5167
5174
  # @!attribute [rw] sort_by
5168
- # Contains details about how to sort the results.
5175
+ # Contains details about how to sort the data.
5169
5176
  # @return [Types::IngestionJobSortBy]
5170
5177
  #
5171
5178
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListIngestionJobsRequest AWS API Documentation
@@ -5182,8 +5189,7 @@ module Aws::BedrockAgent
5182
5189
  end
5183
5190
 
5184
5191
  # @!attribute [rw] ingestion_job_summaries
5185
- # A list of objects, each of which contains information about an
5186
- # ingestion job.
5192
+ # A list of data ingestion jobs with information about each job.
5187
5193
  # @return [Array<Types::IngestionJobSummary>]
5188
5194
  #
5189
5195
  # @!attribute [rw] next_token
@@ -5226,8 +5232,8 @@ module Aws::BedrockAgent
5226
5232
  end
5227
5233
 
5228
5234
  # @!attribute [rw] knowledge_base_summaries
5229
- # A list of objects, each of which contains information about a
5230
- # knowledge base.
5235
+ # A list of knowledge bases with information about each knowledge
5236
+ # base.
5231
5237
  # @return [Array<Types::KnowledgeBaseSummary>]
5232
5238
  #
5233
5239
  # @!attribute [rw] next_token
@@ -6052,11 +6058,6 @@ module Aws::BedrockAgent
6052
6058
  # outputs.
6053
6059
  # @return [Float]
6054
6060
  #
6055
- # @!attribute [rw] top_k
6056
- # The number of most-likely candidates that the model considers for
6057
- # the next token during generation.
6058
- # @return [Integer]
6059
- #
6060
6061
  # @!attribute [rw] top_p
6061
6062
  # The percentage of most-likely candidates that the model considers
6062
6063
  # for the next token.
@@ -6068,7 +6069,6 @@ module Aws::BedrockAgent
6068
6069
  :max_tokens,
6069
6070
  :stop_sequences,
6070
6071
  :temperature,
6071
- :top_k,
6072
6072
  :top_p)
6073
6073
  SENSITIVE = []
6074
6074
  include Aws::Structure
@@ -6783,16 +6783,17 @@ module Aws::BedrockAgent
6783
6783
  # @return [String]
6784
6784
  #
6785
6785
  # @!attribute [rw] data_source_id
6786
- # The unique identifier of the data source to ingest.
6786
+ # The unique identifier of the data source you want to ingest into
6787
+ # your knowledge base.
6787
6788
  # @return [String]
6788
6789
  #
6789
6790
  # @!attribute [rw] description
6790
- # A description of the ingestion job.
6791
+ # A description of the data ingestion job.
6791
6792
  # @return [String]
6792
6793
  #
6793
6794
  # @!attribute [rw] knowledge_base_id
6794
- # The unique identifier of the knowledge base to which to add the data
6795
- # source.
6795
+ # The unique identifier of the knowledge base for the data ingestion
6796
+ # job.
6796
6797
  # @return [String]
6797
6798
  #
6798
6799
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/StartIngestionJobRequest AWS API Documentation
@@ -6807,7 +6808,7 @@ module Aws::BedrockAgent
6807
6808
  end
6808
6809
 
6809
6810
  # @!attribute [rw] ingestion_job
6810
- # An object containing information about the ingestion job.
6811
+ # Contains information about the data ingestion job.
6811
6812
  # @return [Types::IngestionJob]
6812
6813
  #
6813
6814
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/StartIngestionJobResponse AWS API Documentation
@@ -6818,6 +6819,42 @@ module Aws::BedrockAgent
6818
6819
  include Aws::Structure
6819
6820
  end
6820
6821
 
6822
+ # @!attribute [rw] data_source_id
6823
+ # The unique identifier of the data source for the data ingestion job
6824
+ # you want to stop.
6825
+ # @return [String]
6826
+ #
6827
+ # @!attribute [rw] ingestion_job_id
6828
+ # The unique identifier of the data ingestion job you want to stop.
6829
+ # @return [String]
6830
+ #
6831
+ # @!attribute [rw] knowledge_base_id
6832
+ # The unique identifier of the knowledge base for the data ingestion
6833
+ # job you want to stop.
6834
+ # @return [String]
6835
+ #
6836
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/StopIngestionJobRequest AWS API Documentation
6837
+ #
6838
+ class StopIngestionJobRequest < Struct.new(
6839
+ :data_source_id,
6840
+ :ingestion_job_id,
6841
+ :knowledge_base_id)
6842
+ SENSITIVE = []
6843
+ include Aws::Structure
6844
+ end
6845
+
6846
+ # @!attribute [rw] ingestion_job
6847
+ # Contains information about the stopped data ingestion job.
6848
+ # @return [Types::IngestionJob]
6849
+ #
6850
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/StopIngestionJobResponse AWS API Documentation
6851
+ #
6852
+ class StopIngestionJobResponse < Struct.new(
6853
+ :ingestion_job)
6854
+ SENSITIVE = []
6855
+ include Aws::Structure
6856
+ end
6857
+
6821
6858
  # Contains the storage configuration of the knowledge base.
6822
6859
  #
6823
6860
  # @!attribute [rw] mongo_db_atlas_configuration
@@ -54,7 +54,7 @@ module Aws::BedrockAgent
54
54
  autoload :EndpointProvider, 'aws-sdk-bedrockagent/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-bedrockagent/endpoints'
56
56
 
57
- GEM_VERSION = '1.27.0'
57
+ GEM_VERSION = '1.29.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -431,7 +431,6 @@ module Aws
431
431
  max_tokens: ::Integer?,
432
432
  stop_sequences: Array[::String]?,
433
433
  temperature: ::Float?,
434
- top_k: ::Integer?,
435
434
  top_p: ::Float?
436
435
  }?
437
436
  }?,
@@ -649,7 +648,6 @@ module Aws
649
648
  max_tokens: ::Integer?,
650
649
  stop_sequences: Array[::String]?,
651
650
  temperature: ::Float?,
652
- top_k: ::Integer?,
653
651
  top_p: ::Float?
654
652
  }?
655
653
  }?,
@@ -670,7 +668,7 @@ module Aws
670
668
  ]?,
671
669
  text: ::String
672
670
  }?
673
- }?,
671
+ },
674
672
  template_type: ("TEXT")
675
673
  },
676
674
  ]
@@ -1215,6 +1213,18 @@ module Aws
1215
1213
  ) -> _StartIngestionJobResponseSuccess
1216
1214
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartIngestionJobResponseSuccess
1217
1215
 
1216
+ interface _StopIngestionJobResponseSuccess
1217
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopIngestionJobResponse]
1218
+ def ingestion_job: () -> Types::IngestionJob
1219
+ end
1220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#stop_ingestion_job-instance_method
1221
+ def stop_ingestion_job: (
1222
+ data_source_id: ::String,
1223
+ ingestion_job_id: ::String,
1224
+ knowledge_base_id: ::String
1225
+ ) -> _StopIngestionJobResponseSuccess
1226
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopIngestionJobResponseSuccess
1227
+
1218
1228
  interface _TagResourceResponseSuccess
1219
1229
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
1220
1230
  end
@@ -1588,7 +1598,6 @@ module Aws
1588
1598
  max_tokens: ::Integer?,
1589
1599
  stop_sequences: Array[::String]?,
1590
1600
  temperature: ::Float?,
1591
- top_k: ::Integer?,
1592
1601
  top_p: ::Float?
1593
1602
  }?
1594
1603
  }?,
@@ -1782,7 +1791,6 @@ module Aws
1782
1791
  max_tokens: ::Integer?,
1783
1792
  stop_sequences: Array[::String]?,
1784
1793
  temperature: ::Float?,
1785
- top_k: ::Integer?,
1786
1794
  top_p: ::Float?
1787
1795
  }?
1788
1796
  }?,
@@ -1803,7 +1811,7 @@ module Aws
1803
1811
  ]?,
1804
1812
  text: ::String
1805
1813
  }?
1806
- }?,
1814
+ },
1807
1815
  template_type: ("TEXT")
1808
1816
  },
1809
1817
  ]
data/sig/types.rbs CHANGED
@@ -1036,7 +1036,7 @@ module Aws::BedrockAgent
1036
1036
  attr_accessor knowledge_base_id: ::String
1037
1037
  attr_accessor started_at: ::Time
1038
1038
  attr_accessor statistics: Types::IngestionJobStatistics
1039
- attr_accessor status: ("STARTING" | "IN_PROGRESS" | "COMPLETE" | "FAILED")
1039
+ attr_accessor status: ("STARTING" | "IN_PROGRESS" | "COMPLETE" | "FAILED" | "STOPPING" | "STOPPED")
1040
1040
  attr_accessor updated_at: ::Time
1041
1041
  SENSITIVE: []
1042
1042
  end
@@ -1072,7 +1072,7 @@ module Aws::BedrockAgent
1072
1072
  attr_accessor knowledge_base_id: ::String
1073
1073
  attr_accessor started_at: ::Time
1074
1074
  attr_accessor statistics: Types::IngestionJobStatistics
1075
- attr_accessor status: ("STARTING" | "IN_PROGRESS" | "COMPLETE" | "FAILED")
1075
+ attr_accessor status: ("STARTING" | "IN_PROGRESS" | "COMPLETE" | "FAILED" | "STOPPING" | "STOPPED")
1076
1076
  attr_accessor updated_at: ::Time
1077
1077
  SENSITIVE: []
1078
1078
  end
@@ -1485,7 +1485,6 @@ module Aws::BedrockAgent
1485
1485
  attr_accessor max_tokens: ::Integer
1486
1486
  attr_accessor stop_sequences: ::Array[::String]
1487
1487
  attr_accessor temperature: ::Float
1488
- attr_accessor top_k: ::Integer
1489
1488
  attr_accessor top_p: ::Float
1490
1489
  SENSITIVE: []
1491
1490
  end
@@ -1678,6 +1677,18 @@ module Aws::BedrockAgent
1678
1677
  SENSITIVE: []
1679
1678
  end
1680
1679
 
1680
+ class StopIngestionJobRequest
1681
+ attr_accessor data_source_id: ::String
1682
+ attr_accessor ingestion_job_id: ::String
1683
+ attr_accessor knowledge_base_id: ::String
1684
+ SENSITIVE: []
1685
+ end
1686
+
1687
+ class StopIngestionJobResponse
1688
+ attr_accessor ingestion_job: Types::IngestionJob
1689
+ SENSITIVE: []
1690
+ end
1691
+
1681
1692
  class StorageConfiguration
1682
1693
  attr_accessor mongo_db_atlas_configuration: Types::MongoDbAtlasConfiguration
1683
1694
  attr_accessor opensearch_serverless_configuration: Types::OpenSearchServerlessConfiguration
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.27.0
4
+ version: 1.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core