aws-sdk-bedrockagent 1.19.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +58 -26
- data/lib/aws-sdk-bedrockagent/client_api.rb +2 -0
- data/lib/aws-sdk-bedrockagent/types.rb +45 -32
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +5 -2
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2721f4d09bda31c0e5fd576ad591a4c03c7dd552599898c95e7106f0e5be2f4
|
4
|
+
data.tar.gz: e46f96d2bb853db13d431793e62427fcf7f3dadb7383526439ed4a5e6b676918
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18c06c3e2e50c238eabc210d540fe7507d4260b78f097ce77adeca4850faa5f4ce7b4c2c85fd8a89010070cb1a64a4f534ca0a4c5c4a98e9f31dd3afb6835097
|
7
|
+
data.tar.gz: 35c0d06522f4da9beb693df413cd207794366907bbeefb5fe319cfb36f805c66e34e7f846a685662ee2406410f5f6efa3a817dd012d21c512c58a42928afd94a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.21.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.20.0 (2024-08-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Releasing the support for Action User Confirmation.
|
13
|
+
|
4
14
|
1.19.0 (2024-07-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.21.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::BedrockAgent
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
88
90
|
add_plugin(Aws::BedrockAgent::Plugins::Endpoints)
|
@@ -330,6 +332,16 @@ module Aws::BedrockAgent
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
333
|
# requests are made, and retries are disabled.
|
332
334
|
#
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
339
|
+
# following telemetry providers:
|
340
|
+
#
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
344
|
+
#
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
347
|
# following classes:
|
@@ -810,6 +822,7 @@ module Aws::BedrockAgent
|
|
810
822
|
# type: "string", # required, accepts string, number, integer, boolean, array
|
811
823
|
# },
|
812
824
|
# },
|
825
|
+
# require_confirmation: "ENABLED", # accepts ENABLED, DISABLED
|
813
826
|
# },
|
814
827
|
# ],
|
815
828
|
# },
|
@@ -838,6 +851,7 @@ module Aws::BedrockAgent
|
|
838
851
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].description #=> String
|
839
852
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].required #=> Boolean
|
840
853
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].type #=> String, one of "string", "number", "integer", "boolean", "array"
|
854
|
+
# resp.agent_action_group.function_schema.functions[0].require_confirmation #=> String, one of "ENABLED", "DISABLED"
|
841
855
|
# resp.agent_action_group.parent_action_signature #=> String, one of "AMAZON.UserInput", "AMAZON.CodeInterpreter"
|
842
856
|
# resp.agent_action_group.updated_at #=> Time
|
843
857
|
#
|
@@ -957,14 +971,16 @@ module Aws::BedrockAgent
|
|
957
971
|
#
|
958
972
|
# You can set the data deletion policy to:
|
959
973
|
#
|
960
|
-
# * DELETE: Deletes all
|
961
|
-
#
|
962
|
-
#
|
963
|
-
#
|
964
|
-
#
|
974
|
+
# * DELETE: Deletes all data from your data source that’s converted into
|
975
|
+
# vector embeddings upon deletion of a knowledge base or data source
|
976
|
+
# resource. Note that the **vector store itself is not deleted**, only
|
977
|
+
# the data. This flag is ignored if an Amazon Web Services account is
|
978
|
+
# deleted.
|
965
979
|
#
|
966
|
-
# * RETAIN: Retains all
|
967
|
-
# deletion of a knowledge base or data source
|
980
|
+
# * RETAIN: Retains all data from your data source that’s converted into
|
981
|
+
# vector embeddings upon deletion of a knowledge base or data source
|
982
|
+
# resource. Note that the **vector store itself is not deleted** if
|
983
|
+
# you delete a knowledge base or data source resource.
|
968
984
|
#
|
969
985
|
# @option params [required, Types::DataSourceConfiguration] :data_source_configuration
|
970
986
|
# The connection configuration for the data source.
|
@@ -2478,10 +2494,11 @@ module Aws::BedrockAgent
|
|
2478
2494
|
req.send_request(options)
|
2479
2495
|
end
|
2480
2496
|
|
2481
|
-
# Deletes a prompt or a
|
2482
|
-
# For more information, see [Delete
|
2483
|
-
# tool][1] and [Delete a version of a
|
2484
|
-
# tool][2] in the Amazon Bedrock User
|
2497
|
+
# Deletes a prompt or a version of it, depending on whether you include
|
2498
|
+
# the `promptVersion` field or not. For more information, see [Delete
|
2499
|
+
# prompts from the Prompt management tool][1] and [Delete a version of a
|
2500
|
+
# prompt from the Prompt management tool][2] in the Amazon Bedrock User
|
2501
|
+
# Guide.
|
2485
2502
|
#
|
2486
2503
|
#
|
2487
2504
|
#
|
@@ -2492,7 +2509,8 @@ module Aws::BedrockAgent
|
|
2492
2509
|
# The unique identifier of the prompt.
|
2493
2510
|
#
|
2494
2511
|
# @option params [String] :prompt_version
|
2495
|
-
# The version of the prompt to delete.
|
2512
|
+
# The version of the prompt to delete. To delete the prompt, omit this
|
2513
|
+
# field.
|
2496
2514
|
#
|
2497
2515
|
# @return [Types::DeletePromptResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2498
2516
|
#
|
@@ -2662,6 +2680,7 @@ module Aws::BedrockAgent
|
|
2662
2680
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].description #=> String
|
2663
2681
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].required #=> Boolean
|
2664
2682
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].type #=> String, one of "string", "number", "integer", "boolean", "array"
|
2683
|
+
# resp.agent_action_group.function_schema.functions[0].require_confirmation #=> String, one of "ENABLED", "DISABLED"
|
2665
2684
|
# resp.agent_action_group.parent_action_signature #=> String, one of "AMAZON.UserInput", "AMAZON.CodeInterpreter"
|
2666
2685
|
# resp.agent_action_group.updated_at #=> Time
|
2667
2686
|
#
|
@@ -3315,10 +3334,12 @@ module Aws::BedrockAgent
|
|
3315
3334
|
req.send_request(options)
|
3316
3335
|
end
|
3317
3336
|
|
3318
|
-
# Retrieves information about
|
3319
|
-
#
|
3320
|
-
#
|
3321
|
-
#
|
3337
|
+
# Retrieves information about the working draft (`DRAFT` version) of a
|
3338
|
+
# prompt or a version of it, depending on whether you include the
|
3339
|
+
# `promptVersion` field or not. For more information, see [View
|
3340
|
+
# information about prompts using Prompt management][1] and [View
|
3341
|
+
# information about a version of your prompt][2] in the Amazon Bedrock
|
3342
|
+
# User Guide.
|
3322
3343
|
#
|
3323
3344
|
#
|
3324
3345
|
#
|
@@ -3330,7 +3351,8 @@ module Aws::BedrockAgent
|
|
3330
3351
|
#
|
3331
3352
|
# @option params [String] :prompt_version
|
3332
3353
|
# The version of the prompt about which you want to retrieve
|
3333
|
-
# information.
|
3354
|
+
# information. Omit this field to return information about the working
|
3355
|
+
# draft of the prompt.
|
3334
3356
|
#
|
3335
3357
|
# @return [Types::GetPromptResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3336
3358
|
#
|
@@ -4013,10 +4035,11 @@ module Aws::BedrockAgent
|
|
4013
4035
|
req.send_request(options)
|
4014
4036
|
end
|
4015
4037
|
|
4016
|
-
# Returns
|
4017
|
-
#
|
4018
|
-
#
|
4019
|
-
#
|
4038
|
+
# Returns either information about the working draft (`DRAFT` version)
|
4039
|
+
# of each prompt in an account, or information about of all versions of
|
4040
|
+
# a prompt, depending on whether you include the `promptIdentifier`
|
4041
|
+
# field or not. For more information, see [View information about
|
4042
|
+
# prompts using Prompt management][1] in the Amazon Bedrock User Guide.
|
4020
4043
|
#
|
4021
4044
|
#
|
4022
4045
|
#
|
@@ -4035,7 +4058,9 @@ module Aws::BedrockAgent
|
|
4035
4058
|
# results.
|
4036
4059
|
#
|
4037
4060
|
# @option params [String] :prompt_identifier
|
4038
|
-
# The unique identifier of the prompt
|
4061
|
+
# The unique identifier of the prompt for whose versions you want to
|
4062
|
+
# return information. Omit this field to list information about all
|
4063
|
+
# prompts in an account.
|
4039
4064
|
#
|
4040
4065
|
# @return [Types::ListPromptsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4041
4066
|
#
|
@@ -4541,6 +4566,7 @@ module Aws::BedrockAgent
|
|
4541
4566
|
# type: "string", # required, accepts string, number, integer, boolean, array
|
4542
4567
|
# },
|
4543
4568
|
# },
|
4569
|
+
# require_confirmation: "ENABLED", # accepts ENABLED, DISABLED
|
4544
4570
|
# },
|
4545
4571
|
# ],
|
4546
4572
|
# },
|
@@ -4569,6 +4595,7 @@ module Aws::BedrockAgent
|
|
4569
4595
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].description #=> String
|
4570
4596
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].required #=> Boolean
|
4571
4597
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].type #=> String, one of "string", "number", "integer", "boolean", "array"
|
4598
|
+
# resp.agent_action_group.function_schema.functions[0].require_confirmation #=> String, one of "ENABLED", "DISABLED"
|
4572
4599
|
# resp.agent_action_group.parent_action_signature #=> String, one of "AMAZON.UserInput", "AMAZON.CodeInterpreter"
|
4573
4600
|
# resp.agent_action_group.updated_at #=> Time
|
4574
4601
|
#
|
@@ -5233,13 +5260,13 @@ module Aws::BedrockAgent
|
|
5233
5260
|
# The unique identifier of the alias.
|
5234
5261
|
#
|
5235
5262
|
# @option params [String] :description
|
5236
|
-
# A description for the
|
5263
|
+
# A description for the alias.
|
5237
5264
|
#
|
5238
5265
|
# @option params [required, String] :flow_identifier
|
5239
5266
|
# The unique identifier of the flow.
|
5240
5267
|
#
|
5241
5268
|
# @option params [required, String] :name
|
5242
|
-
# The name of the
|
5269
|
+
# The name of the alias.
|
5243
5270
|
#
|
5244
5271
|
# @option params [required, Array<Types::FlowAliasRoutingConfigurationListItem>] :routing_configuration
|
5245
5272
|
# Contains information about the version to which to map the alias.
|
@@ -5596,14 +5623,19 @@ module Aws::BedrockAgent
|
|
5596
5623
|
# @api private
|
5597
5624
|
def build_request(operation_name, params = {})
|
5598
5625
|
handlers = @handlers.for(operation_name)
|
5626
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
5627
|
+
Aws::Telemetry.module_to_tracer_name('Aws::BedrockAgent')
|
5628
|
+
)
|
5599
5629
|
context = Seahorse::Client::RequestContext.new(
|
5600
5630
|
operation_name: operation_name,
|
5601
5631
|
operation: config.api.operation(operation_name),
|
5602
5632
|
client: self,
|
5603
5633
|
params: params,
|
5604
|
-
config: config
|
5634
|
+
config: config,
|
5635
|
+
tracer: tracer
|
5636
|
+
)
|
5605
5637
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
5606
|
-
context[:gem_version] = '1.
|
5638
|
+
context[:gem_version] = '1.21.0'
|
5607
5639
|
Seahorse::Client::Request.new(handlers, context)
|
5608
5640
|
end
|
5609
5641
|
|
@@ -362,6 +362,7 @@ module Aws::BedrockAgent
|
|
362
362
|
RedisEnterpriseCloudEndpoint = Shapes::StringShape.new(name: 'RedisEnterpriseCloudEndpoint')
|
363
363
|
RedisEnterpriseCloudFieldMapping = Shapes::StructureShape.new(name: 'RedisEnterpriseCloudFieldMapping')
|
364
364
|
RedisEnterpriseCloudIndexName = Shapes::StringShape.new(name: 'RedisEnterpriseCloudIndexName')
|
365
|
+
RequireConfirmation = Shapes::StringShape.new(name: 'RequireConfirmation')
|
365
366
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
366
367
|
RetrievalFlowNodeConfiguration = Shapes::StructureShape.new(name: 'RetrievalFlowNodeConfiguration')
|
367
368
|
RetrievalFlowNodeS3Configuration = Shapes::StructureShape.new(name: 'RetrievalFlowNodeS3Configuration')
|
@@ -1107,6 +1108,7 @@ module Aws::BedrockAgent
|
|
1107
1108
|
Function.add_member(:description, Shapes::ShapeRef.new(shape: FunctionDescription, location_name: "description"))
|
1108
1109
|
Function.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
1109
1110
|
Function.add_member(:parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "parameters"))
|
1111
|
+
Function.add_member(:require_confirmation, Shapes::ShapeRef.new(shape: RequireConfirmation, location_name: "requireConfirmation"))
|
1110
1112
|
Function.struct_class = Types::Function
|
1111
1113
|
|
1112
1114
|
FunctionSchema.add_member(:functions, Shapes::ShapeRef.new(shape: Functions, location_name: "functions"))
|
@@ -1141,8 +1141,8 @@ module Aws::BedrockAgent
|
|
1141
1141
|
#
|
1142
1142
|
# @!attribute [rw] credentials_secret_arn
|
1143
1143
|
# The Amazon Resource Name of an Secrets Manager secret that stores
|
1144
|
-
# your authentication credentials for your
|
1145
|
-
# more information on the key-value pairs that must be included in
|
1144
|
+
# your authentication credentials for your Confluence instance URL.
|
1145
|
+
# For more information on the key-value pairs that must be included in
|
1146
1146
|
# your secret, depending on your authentication type, see [Confluence
|
1147
1147
|
# connection configuration][1].
|
1148
1148
|
#
|
@@ -1491,14 +1491,16 @@ module Aws::BedrockAgent
|
|
1491
1491
|
#
|
1492
1492
|
# You can set the data deletion policy to:
|
1493
1493
|
#
|
1494
|
-
# * DELETE: Deletes all
|
1495
|
-
#
|
1496
|
-
# source resource. Note that the vector store itself is not
|
1497
|
-
# only the
|
1494
|
+
# * DELETE: Deletes all data from your data source that’s converted
|
1495
|
+
# into vector embeddings upon deletion of a knowledge base or data
|
1496
|
+
# source resource. Note that the **vector store itself is not
|
1497
|
+
# deleted**, only the data. This flag is ignored if an Amazon Web
|
1498
1498
|
# Services account is deleted.
|
1499
1499
|
#
|
1500
|
-
# * RETAIN: Retains all
|
1501
|
-
# deletion of a knowledge base or data
|
1500
|
+
# * RETAIN: Retains all data from your data source that’s converted
|
1501
|
+
# into vector embeddings upon deletion of a knowledge base or data
|
1502
|
+
# source resource. Note that the **vector store itself is not
|
1503
|
+
# deleted** if you delete a knowledge base or data source resource.
|
1502
1504
|
# @return [String]
|
1503
1505
|
#
|
1504
1506
|
# @!attribute [rw] data_source_configuration
|
@@ -1840,7 +1842,7 @@ module Aws::BedrockAgent
|
|
1840
1842
|
# @return [Types::FlowDefinition]
|
1841
1843
|
#
|
1842
1844
|
# @!attribute [rw] description
|
1843
|
-
# The description of the
|
1845
|
+
# The description of the version.
|
1844
1846
|
# @return [String]
|
1845
1847
|
#
|
1846
1848
|
# @!attribute [rw] execution_role_arn
|
@@ -1858,7 +1860,7 @@ module Aws::BedrockAgent
|
|
1858
1860
|
# @return [String]
|
1859
1861
|
#
|
1860
1862
|
# @!attribute [rw] name
|
1861
|
-
# The name of the
|
1863
|
+
# The name of the version.
|
1862
1864
|
# @return [String]
|
1863
1865
|
#
|
1864
1866
|
# @!attribute [rw] status
|
@@ -2144,7 +2146,7 @@ module Aws::BedrockAgent
|
|
2144
2146
|
# @return [String]
|
2145
2147
|
#
|
2146
2148
|
# @!attribute [rw] description
|
2147
|
-
# A description for the
|
2149
|
+
# A description for the version.
|
2148
2150
|
# @return [String]
|
2149
2151
|
#
|
2150
2152
|
# @!attribute [rw] id
|
@@ -2152,7 +2154,7 @@ module Aws::BedrockAgent
|
|
2152
2154
|
# @return [String]
|
2153
2155
|
#
|
2154
2156
|
# @!attribute [rw] name
|
2155
|
-
# The name of the prompt
|
2157
|
+
# The name of the prompt.
|
2156
2158
|
# @return [String]
|
2157
2159
|
#
|
2158
2160
|
# @!attribute [rw] updated_at
|
@@ -2735,7 +2737,8 @@ module Aws::BedrockAgent
|
|
2735
2737
|
# @return [String]
|
2736
2738
|
#
|
2737
2739
|
# @!attribute [rw] prompt_version
|
2738
|
-
# The version of the prompt to delete.
|
2740
|
+
# The version of the prompt to delete. To delete the prompt, omit this
|
2741
|
+
# field.
|
2739
2742
|
# @return [String]
|
2740
2743
|
#
|
2741
2744
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeletePromptRequest AWS API Documentation
|
@@ -2853,7 +2856,7 @@ module Aws::BedrockAgent
|
|
2853
2856
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListFlowAliases.html#API_agent_ListFlowAliases_ResponseSyntax
|
2854
2857
|
#
|
2855
2858
|
# @!attribute [rw] arn
|
2856
|
-
# The Amazon Resource Name (ARN) of the
|
2859
|
+
# The Amazon Resource Name (ARN) of the alias.
|
2857
2860
|
# @return [String]
|
2858
2861
|
#
|
2859
2862
|
# @!attribute [rw] created_at
|
@@ -3358,7 +3361,7 @@ module Aws::BedrockAgent
|
|
3358
3361
|
include Aws::Structure
|
3359
3362
|
end
|
3360
3363
|
|
3361
|
-
# Contains information about
|
3364
|
+
# Contains information about a version of a flow.
|
3362
3365
|
#
|
3363
3366
|
# This data type is used in the following API operations:
|
3364
3367
|
#
|
@@ -3376,7 +3379,7 @@ module Aws::BedrockAgent
|
|
3376
3379
|
# @return [String]
|
3377
3380
|
#
|
3378
3381
|
# @!attribute [rw] created_at
|
3379
|
-
# The time at the
|
3382
|
+
# The time at the version was created.
|
3380
3383
|
# @return [Time]
|
3381
3384
|
#
|
3382
3385
|
# @!attribute [rw] id
|
@@ -3439,12 +3442,18 @@ module Aws::BedrockAgent
|
|
3439
3442
|
# function.
|
3440
3443
|
# @return [Hash<String,Types::ParameterDetail>]
|
3441
3444
|
#
|
3445
|
+
# @!attribute [rw] require_confirmation
|
3446
|
+
# Contains information if user confirmation is required to invoke the
|
3447
|
+
# function.
|
3448
|
+
# @return [String]
|
3449
|
+
#
|
3442
3450
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/Function AWS API Documentation
|
3443
3451
|
#
|
3444
3452
|
class Function < Struct.new(
|
3445
3453
|
:description,
|
3446
3454
|
:name,
|
3447
|
-
:parameters
|
3455
|
+
:parameters,
|
3456
|
+
:require_confirmation)
|
3448
3457
|
SENSITIVE = []
|
3449
3458
|
include Aws::Structure
|
3450
3459
|
end
|
@@ -3718,7 +3727,7 @@ module Aws::BedrockAgent
|
|
3718
3727
|
# @return [String]
|
3719
3728
|
#
|
3720
3729
|
# @!attribute [rw] name
|
3721
|
-
# The name of the
|
3730
|
+
# The name of the alias.
|
3722
3731
|
# @return [String]
|
3723
3732
|
#
|
3724
3733
|
# @!attribute [rw] routing_configuration
|
@@ -3726,7 +3735,7 @@ module Aws::BedrockAgent
|
|
3726
3735
|
# @return [Array<Types::FlowAliasRoutingConfigurationListItem>]
|
3727
3736
|
#
|
3728
3737
|
# @!attribute [rw] updated_at
|
3729
|
-
# The time at which the
|
3738
|
+
# The time at which the alias was last updated.
|
3730
3739
|
# @return [Time]
|
3731
3740
|
#
|
3732
3741
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetFlowAliasResponse AWS API Documentation
|
@@ -3907,7 +3916,7 @@ module Aws::BedrockAgent
|
|
3907
3916
|
# @return [String]
|
3908
3917
|
#
|
3909
3918
|
# @!attribute [rw] name
|
3910
|
-
# The name of the
|
3919
|
+
# The name of the version.
|
3911
3920
|
# @return [String]
|
3912
3921
|
#
|
3913
3922
|
# @!attribute [rw] status
|
@@ -4001,7 +4010,8 @@ module Aws::BedrockAgent
|
|
4001
4010
|
#
|
4002
4011
|
# @!attribute [rw] prompt_version
|
4003
4012
|
# The version of the prompt about which you want to retrieve
|
4004
|
-
# information.
|
4013
|
+
# information. Omit this field to return information about the working
|
4014
|
+
# draft of the prompt.
|
4005
4015
|
# @return [String]
|
4006
4016
|
#
|
4007
4017
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetPromptRequest AWS API Documentation
|
@@ -4014,7 +4024,8 @@ module Aws::BedrockAgent
|
|
4014
4024
|
end
|
4015
4025
|
|
4016
4026
|
# @!attribute [rw] arn
|
4017
|
-
# The Amazon Resource Name (ARN) of the prompt
|
4027
|
+
# The Amazon Resource Name (ARN) of the prompt or the prompt version
|
4028
|
+
# (if you specified a version in the request).
|
4018
4029
|
# @return [String]
|
4019
4030
|
#
|
4020
4031
|
# @!attribute [rw] created_at
|
@@ -5003,8 +5014,7 @@ module Aws::BedrockAgent
|
|
5003
5014
|
end
|
5004
5015
|
|
5005
5016
|
# @!attribute [rw] flow_alias_summaries
|
5006
|
-
# A list, each member of which contains information about
|
5007
|
-
# alias.
|
5017
|
+
# A list, each member of which contains information about an alias.
|
5008
5018
|
# @return [Array<Types::FlowAliasSummary>]
|
5009
5019
|
#
|
5010
5020
|
# @!attribute [rw] next_token
|
@@ -5239,7 +5249,9 @@ module Aws::BedrockAgent
|
|
5239
5249
|
# @return [String]
|
5240
5250
|
#
|
5241
5251
|
# @!attribute [rw] prompt_identifier
|
5242
|
-
# The unique identifier of the prompt
|
5252
|
+
# The unique identifier of the prompt for whose versions you want to
|
5253
|
+
# return information. Omit this field to list information about all
|
5254
|
+
# prompts in an account.
|
5243
5255
|
# @return [String]
|
5244
5256
|
#
|
5245
5257
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListPromptsRequest AWS API Documentation
|
@@ -6065,7 +6077,8 @@ module Aws::BedrockAgent
|
|
6065
6077
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListPrompts.html#API_agent_ListPrompts_ResponseSyntax
|
6066
6078
|
#
|
6067
6079
|
# @!attribute [rw] arn
|
6068
|
-
# The Amazon Resource Name (ARN) of the prompt
|
6080
|
+
# The Amazon Resource Name (ARN) of the prompt or the prompt version
|
6081
|
+
# (if you specified a version in the request).
|
6069
6082
|
# @return [String]
|
6070
6083
|
#
|
6071
6084
|
# @!attribute [rw] created_at
|
@@ -6495,8 +6508,8 @@ module Aws::BedrockAgent
|
|
6495
6508
|
#
|
6496
6509
|
# @!attribute [rw] credentials_secret_arn
|
6497
6510
|
# The Amazon Resource Name of an Secrets Manager secret that stores
|
6498
|
-
# your authentication credentials for your
|
6499
|
-
# more information on the key-value pairs that must be included in
|
6511
|
+
# your authentication credentials for your Salesforce instance URL.
|
6512
|
+
# For more information on the key-value pairs that must be included in
|
6500
6513
|
# your secret, depending on your authentication type, see [Salesforce
|
6501
6514
|
# connection configuration][1].
|
6502
6515
|
#
|
@@ -7327,7 +7340,7 @@ module Aws::BedrockAgent
|
|
7327
7340
|
# @return [String]
|
7328
7341
|
#
|
7329
7342
|
# @!attribute [rw] description
|
7330
|
-
# A description for the
|
7343
|
+
# A description for the alias.
|
7331
7344
|
# @return [String]
|
7332
7345
|
#
|
7333
7346
|
# @!attribute [rw] flow_identifier
|
@@ -7335,7 +7348,7 @@ module Aws::BedrockAgent
|
|
7335
7348
|
# @return [String]
|
7336
7349
|
#
|
7337
7350
|
# @!attribute [rw] name
|
7338
|
-
# The name of the
|
7351
|
+
# The name of the alias.
|
7339
7352
|
# @return [String]
|
7340
7353
|
#
|
7341
7354
|
# @!attribute [rw] routing_configuration
|
@@ -7375,7 +7388,7 @@ module Aws::BedrockAgent
|
|
7375
7388
|
# @return [String]
|
7376
7389
|
#
|
7377
7390
|
# @!attribute [rw] name
|
7378
|
-
# The name of the
|
7391
|
+
# The name of the alias.
|
7379
7392
|
# @return [String]
|
7380
7393
|
#
|
7381
7394
|
# @!attribute [rw] routing_configuration
|
@@ -7383,7 +7396,7 @@ module Aws::BedrockAgent
|
|
7383
7396
|
# @return [Array<Types::FlowAliasRoutingConfigurationListItem>]
|
7384
7397
|
#
|
7385
7398
|
# @!attribute [rw] updated_at
|
7386
|
-
# The time at which the
|
7399
|
+
# The time at which the alias was last updated.
|
7387
7400
|
# @return [Time]
|
7388
7401
|
#
|
7389
7402
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateFlowAliasResponse AWS API Documentation
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
@@ -164,7 +165,8 @@ module Aws
|
|
164
165
|
description: ::String?,
|
165
166
|
required: bool?,
|
166
167
|
type: ("string" | "number" | "integer" | "boolean" | "array")
|
167
|
-
}]
|
168
|
+
}]?,
|
169
|
+
require_confirmation: ("ENABLED" | "DISABLED")?
|
168
170
|
},
|
169
171
|
]?
|
170
172
|
},
|
@@ -1302,7 +1304,8 @@ module Aws
|
|
1302
1304
|
description: ::String?,
|
1303
1305
|
required: bool?,
|
1304
1306
|
type: ("string" | "number" | "integer" | "boolean" | "array")
|
1305
|
-
}]
|
1307
|
+
}]?,
|
1308
|
+
require_confirmation: ("ENABLED" | "DISABLED")?
|
1306
1309
|
},
|
1307
1310
|
]?
|
1308
1311
|
},
|
data/sig/resource.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
data/sig/types.rbs
CHANGED
@@ -819,6 +819,7 @@ module Aws::BedrockAgent
|
|
819
819
|
attr_accessor description: ::String
|
820
820
|
attr_accessor name: ::String
|
821
821
|
attr_accessor parameters: ::Hash[::String, Types::ParameterDetail]
|
822
|
+
attr_accessor require_confirmation: ("ENABLED" | "DISABLED")
|
822
823
|
SENSITIVE: []
|
823
824
|
end
|
824
825
|
|
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.
|
4
|
+
version: 1.21.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-
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.203.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|