aws-sdk-bedrockagent 1.9.0 → 1.10.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +22 -5
- data/lib/aws-sdk-bedrockagent/client_api.rb +4 -1
- data/lib/aws-sdk-bedrockagent/types.rb +22 -5
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f8b966b3793db4b7dff3fe3083dfe123561cbd117bd681d00a3695201f7ee99
|
|
4
|
+
data.tar.gz: b5a3f2b9fd2a41660853a0f58d3c0b5cd999a95ff0dd9e873d77411e70ba579b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 572d461d2a0693d91e0b53d7f4d27a40aefae929c47947f5a2558c7db017f5cf6f6c7d373702bec349a4cc17b3ded6010c1f43185e0fe52cf168b4f960c9712d
|
|
7
|
+
data.tar.gz: 1e98fe56689bd52c36fbf2459904143c0d68e504d0e61e457f6328b726cf8d6182b856a7fc6c51219e4f2a4291c123086e0cf614563087a52192d19e51565572
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.10.0
|
|
@@ -659,7 +659,9 @@ module Aws::BedrockAgent
|
|
|
659
659
|
#
|
|
660
660
|
# @option params [Types::ActionGroupExecutor] :action_group_executor
|
|
661
661
|
# The Amazon Resource Name (ARN) of the Lambda function containing the
|
|
662
|
-
# business logic that is carried out upon invoking the action
|
|
662
|
+
# business logic that is carried out upon invoking the action or the
|
|
663
|
+
# custom control method for handling the information elicited from the
|
|
664
|
+
# user.
|
|
663
665
|
#
|
|
664
666
|
# @option params [required, String] :action_group_name
|
|
665
667
|
# The name to give the action group.
|
|
@@ -843,7 +845,8 @@ module Aws::BedrockAgent
|
|
|
843
845
|
# description: "Description",
|
|
844
846
|
# routing_configuration: [
|
|
845
847
|
# {
|
|
846
|
-
# agent_version: "Version",
|
|
848
|
+
# agent_version: "Version",
|
|
849
|
+
# provisioned_throughput: "ProvisionedModelIdentifier",
|
|
847
850
|
# },
|
|
848
851
|
# ],
|
|
849
852
|
# tags: {
|
|
@@ -858,6 +861,7 @@ module Aws::BedrockAgent
|
|
|
858
861
|
# resp.agent_alias.agent_alias_history_events[0].end_date #=> Time
|
|
859
862
|
# resp.agent_alias.agent_alias_history_events[0].routing_configuration #=> Array
|
|
860
863
|
# resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].agent_version #=> String
|
|
864
|
+
# resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].provisioned_throughput #=> String
|
|
861
865
|
# resp.agent_alias.agent_alias_history_events[0].start_date #=> Time
|
|
862
866
|
# resp.agent_alias.agent_alias_id #=> String
|
|
863
867
|
# resp.agent_alias.agent_alias_name #=> String
|
|
@@ -866,8 +870,11 @@ module Aws::BedrockAgent
|
|
|
866
870
|
# resp.agent_alias.client_token #=> String
|
|
867
871
|
# resp.agent_alias.created_at #=> Time
|
|
868
872
|
# resp.agent_alias.description #=> String
|
|
873
|
+
# resp.agent_alias.failure_reasons #=> Array
|
|
874
|
+
# resp.agent_alias.failure_reasons[0] #=> String
|
|
869
875
|
# resp.agent_alias.routing_configuration #=> Array
|
|
870
876
|
# resp.agent_alias.routing_configuration[0].agent_version #=> String
|
|
877
|
+
# resp.agent_alias.routing_configuration[0].provisioned_throughput #=> String
|
|
871
878
|
# resp.agent_alias.updated_at #=> Time
|
|
872
879
|
#
|
|
873
880
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateAgentAlias AWS API Documentation
|
|
@@ -1601,6 +1608,7 @@ module Aws::BedrockAgent
|
|
|
1601
1608
|
# resp.agent_alias.agent_alias_history_events[0].end_date #=> Time
|
|
1602
1609
|
# resp.agent_alias.agent_alias_history_events[0].routing_configuration #=> Array
|
|
1603
1610
|
# resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].agent_version #=> String
|
|
1611
|
+
# resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].provisioned_throughput #=> String
|
|
1604
1612
|
# resp.agent_alias.agent_alias_history_events[0].start_date #=> Time
|
|
1605
1613
|
# resp.agent_alias.agent_alias_id #=> String
|
|
1606
1614
|
# resp.agent_alias.agent_alias_name #=> String
|
|
@@ -1609,8 +1617,11 @@ module Aws::BedrockAgent
|
|
|
1609
1617
|
# resp.agent_alias.client_token #=> String
|
|
1610
1618
|
# resp.agent_alias.created_at #=> Time
|
|
1611
1619
|
# resp.agent_alias.description #=> String
|
|
1620
|
+
# resp.agent_alias.failure_reasons #=> Array
|
|
1621
|
+
# resp.agent_alias.failure_reasons[0] #=> String
|
|
1612
1622
|
# resp.agent_alias.routing_configuration #=> Array
|
|
1613
1623
|
# resp.agent_alias.routing_configuration[0].agent_version #=> String
|
|
1624
|
+
# resp.agent_alias.routing_configuration[0].provisioned_throughput #=> String
|
|
1614
1625
|
# resp.agent_alias.updated_at #=> Time
|
|
1615
1626
|
#
|
|
1616
1627
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgentAlias AWS API Documentation
|
|
@@ -2001,6 +2012,7 @@ module Aws::BedrockAgent
|
|
|
2001
2012
|
# resp.agent_alias_summaries[0].description #=> String
|
|
2002
2013
|
# resp.agent_alias_summaries[0].routing_configuration #=> Array
|
|
2003
2014
|
# resp.agent_alias_summaries[0].routing_configuration[0].agent_version #=> String
|
|
2015
|
+
# resp.agent_alias_summaries[0].routing_configuration[0].provisioned_throughput #=> String
|
|
2004
2016
|
# resp.agent_alias_summaries[0].updated_at #=> Time
|
|
2005
2017
|
# resp.next_token #=> String
|
|
2006
2018
|
#
|
|
@@ -2839,7 +2851,8 @@ module Aws::BedrockAgent
|
|
|
2839
2851
|
# description: "Description",
|
|
2840
2852
|
# routing_configuration: [
|
|
2841
2853
|
# {
|
|
2842
|
-
# agent_version: "Version",
|
|
2854
|
+
# agent_version: "Version",
|
|
2855
|
+
# provisioned_throughput: "ProvisionedModelIdentifier",
|
|
2843
2856
|
# },
|
|
2844
2857
|
# ],
|
|
2845
2858
|
# })
|
|
@@ -2851,6 +2864,7 @@ module Aws::BedrockAgent
|
|
|
2851
2864
|
# resp.agent_alias.agent_alias_history_events[0].end_date #=> Time
|
|
2852
2865
|
# resp.agent_alias.agent_alias_history_events[0].routing_configuration #=> Array
|
|
2853
2866
|
# resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].agent_version #=> String
|
|
2867
|
+
# resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].provisioned_throughput #=> String
|
|
2854
2868
|
# resp.agent_alias.agent_alias_history_events[0].start_date #=> Time
|
|
2855
2869
|
# resp.agent_alias.agent_alias_id #=> String
|
|
2856
2870
|
# resp.agent_alias.agent_alias_name #=> String
|
|
@@ -2859,8 +2873,11 @@ module Aws::BedrockAgent
|
|
|
2859
2873
|
# resp.agent_alias.client_token #=> String
|
|
2860
2874
|
# resp.agent_alias.created_at #=> Time
|
|
2861
2875
|
# resp.agent_alias.description #=> String
|
|
2876
|
+
# resp.agent_alias.failure_reasons #=> Array
|
|
2877
|
+
# resp.agent_alias.failure_reasons[0] #=> String
|
|
2862
2878
|
# resp.agent_alias.routing_configuration #=> Array
|
|
2863
2879
|
# resp.agent_alias.routing_configuration[0].agent_version #=> String
|
|
2880
|
+
# resp.agent_alias.routing_configuration[0].provisioned_throughput #=> String
|
|
2864
2881
|
# resp.agent_alias.updated_at #=> Time
|
|
2865
2882
|
#
|
|
2866
2883
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateAgentAlias AWS API Documentation
|
|
@@ -2938,7 +2955,7 @@ module Aws::BedrockAgent
|
|
|
2938
2955
|
# data source. Specify the existing `chunkingConfiguration`.
|
|
2939
2956
|
#
|
|
2940
2957
|
# @option params [String] :data_deletion_policy
|
|
2941
|
-
# The data deletion policy
|
|
2958
|
+
# The data deletion policy of the updated data source.
|
|
2942
2959
|
#
|
|
2943
2960
|
# @option params [required, Types::DataSourceConfiguration] :data_source_configuration
|
|
2944
2961
|
# Contains details about the storage configuration of the data source.
|
|
@@ -3217,7 +3234,7 @@ module Aws::BedrockAgent
|
|
|
3217
3234
|
params: params,
|
|
3218
3235
|
config: config)
|
|
3219
3236
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
|
3220
|
-
context[:gem_version] = '1.
|
|
3237
|
+
context[:gem_version] = '1.10.0'
|
|
3221
3238
|
Seahorse::Client::Request.new(handlers, context)
|
|
3222
3239
|
end
|
|
3223
3240
|
|
|
@@ -197,6 +197,7 @@ module Aws::BedrockAgent
|
|
|
197
197
|
PromptOverrideConfiguration = Shapes::StructureShape.new(name: 'PromptOverrideConfiguration')
|
|
198
198
|
PromptState = Shapes::StringShape.new(name: 'PromptState')
|
|
199
199
|
PromptType = Shapes::StringShape.new(name: 'PromptType')
|
|
200
|
+
ProvisionedModelIdentifier = Shapes::StringShape.new(name: 'ProvisionedModelIdentifier')
|
|
200
201
|
RdsArn = Shapes::StringShape.new(name: 'RdsArn')
|
|
201
202
|
RdsConfiguration = Shapes::StructureShape.new(name: 'RdsConfiguration')
|
|
202
203
|
RdsDatabaseName = Shapes::StringShape.new(name: 'RdsDatabaseName')
|
|
@@ -331,6 +332,7 @@ module Aws::BedrockAgent
|
|
|
331
332
|
AgentAlias.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
|
332
333
|
AgentAlias.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
333
334
|
AgentAlias.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
|
335
|
+
AgentAlias.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
|
|
334
336
|
AgentAlias.add_member(:routing_configuration, Shapes::ShapeRef.new(shape: AgentAliasRoutingConfiguration, required: true, location_name: "routingConfiguration"))
|
|
335
337
|
AgentAlias.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
|
336
338
|
AgentAlias.struct_class = Types::AgentAlias
|
|
@@ -344,7 +346,8 @@ module Aws::BedrockAgent
|
|
|
344
346
|
|
|
345
347
|
AgentAliasRoutingConfiguration.member = Shapes::ShapeRef.new(shape: AgentAliasRoutingConfigurationListItem)
|
|
346
348
|
|
|
347
|
-
AgentAliasRoutingConfigurationListItem.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version,
|
|
349
|
+
AgentAliasRoutingConfigurationListItem.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, location_name: "agentVersion"))
|
|
350
|
+
AgentAliasRoutingConfigurationListItem.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedModelIdentifier, location_name: "provisionedThroughput"))
|
|
348
351
|
AgentAliasRoutingConfigurationListItem.struct_class = Types::AgentAliasRoutingConfigurationListItem
|
|
349
352
|
|
|
350
353
|
AgentAliasSummaries.member = Shapes::ShapeRef.new(shape: AgentAliasSummary)
|
|
@@ -73,7 +73,8 @@ module Aws::BedrockAgent
|
|
|
73
73
|
end
|
|
74
74
|
|
|
75
75
|
# Contains details about the Lambda function containing the business
|
|
76
|
-
# logic that is carried out upon invoking the action
|
|
76
|
+
# logic that is carried out upon invoking the action or the custom
|
|
77
|
+
# control method for handling the information elicited from the user.
|
|
77
78
|
#
|
|
78
79
|
# @note ActionGroupExecutor is a union - when making an API calls you must set exactly one of the members.
|
|
79
80
|
#
|
|
@@ -283,7 +284,9 @@ module Aws::BedrockAgent
|
|
|
283
284
|
#
|
|
284
285
|
# @!attribute [rw] action_group_executor
|
|
285
286
|
# The Amazon Resource Name (ARN) of the Lambda function containing the
|
|
286
|
-
# business logic that is carried out upon invoking the action
|
|
287
|
+
# business logic that is carried out upon invoking the action or the
|
|
288
|
+
# custom control method for handling the information elicited from the
|
|
289
|
+
# user.
|
|
287
290
|
# @return [Types::ActionGroupExecutor]
|
|
288
291
|
#
|
|
289
292
|
# @!attribute [rw] action_group_id
|
|
@@ -446,6 +449,11 @@ module Aws::BedrockAgent
|
|
|
446
449
|
# The description of the alias of the agent.
|
|
447
450
|
# @return [String]
|
|
448
451
|
#
|
|
452
|
+
# @!attribute [rw] failure_reasons
|
|
453
|
+
# Information on the failure of Provisioned Throughput assigned to an
|
|
454
|
+
# agent alias.
|
|
455
|
+
# @return [Array<String>]
|
|
456
|
+
#
|
|
449
457
|
# @!attribute [rw] routing_configuration
|
|
450
458
|
# Contains details about the routing configuration of the alias.
|
|
451
459
|
# @return [Array<Types::AgentAliasRoutingConfigurationListItem>]
|
|
@@ -466,6 +474,7 @@ module Aws::BedrockAgent
|
|
|
466
474
|
:client_token,
|
|
467
475
|
:created_at,
|
|
468
476
|
:description,
|
|
477
|
+
:failure_reasons,
|
|
469
478
|
:routing_configuration,
|
|
470
479
|
:updated_at)
|
|
471
480
|
SENSITIVE = []
|
|
@@ -505,10 +514,16 @@ module Aws::BedrockAgent
|
|
|
505
514
|
# The version of the agent with which the alias is associated.
|
|
506
515
|
# @return [String]
|
|
507
516
|
#
|
|
517
|
+
# @!attribute [rw] provisioned_throughput
|
|
518
|
+
# Information on the Provisioned Throughput assigned to an agent
|
|
519
|
+
# alias.
|
|
520
|
+
# @return [String]
|
|
521
|
+
#
|
|
508
522
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/AgentAliasRoutingConfigurationListItem AWS API Documentation
|
|
509
523
|
#
|
|
510
524
|
class AgentAliasRoutingConfigurationListItem < Struct.new(
|
|
511
|
-
:agent_version
|
|
525
|
+
:agent_version,
|
|
526
|
+
:provisioned_throughput)
|
|
512
527
|
SENSITIVE = []
|
|
513
528
|
include Aws::Structure
|
|
514
529
|
end
|
|
@@ -935,7 +950,9 @@ module Aws::BedrockAgent
|
|
|
935
950
|
|
|
936
951
|
# @!attribute [rw] action_group_executor
|
|
937
952
|
# The Amazon Resource Name (ARN) of the Lambda function containing the
|
|
938
|
-
# business logic that is carried out upon invoking the action
|
|
953
|
+
# business logic that is carried out upon invoking the action or the
|
|
954
|
+
# custom control method for handling the information elicited from the
|
|
955
|
+
# user.
|
|
939
956
|
# @return [Types::ActionGroupExecutor]
|
|
940
957
|
#
|
|
941
958
|
# @!attribute [rw] action_group_name
|
|
@@ -4000,7 +4017,7 @@ module Aws::BedrockAgent
|
|
|
4000
4017
|
end
|
|
4001
4018
|
|
|
4002
4019
|
# @!attribute [rw] data_deletion_policy
|
|
4003
|
-
# The data deletion policy
|
|
4020
|
+
# The data deletion policy of the updated data source.
|
|
4004
4021
|
# @return [String]
|
|
4005
4022
|
#
|
|
4006
4023
|
# @!attribute [rw] data_source_configuration
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -175,7 +175,8 @@ module Aws
|
|
|
175
175
|
?description: ::String,
|
|
176
176
|
?routing_configuration: Array[
|
|
177
177
|
{
|
|
178
|
-
agent_version: ::String
|
|
178
|
+
agent_version: ::String?,
|
|
179
|
+
provisioned_throughput: ::String?
|
|
179
180
|
},
|
|
180
181
|
],
|
|
181
182
|
?tags: Hash[::String, ::String]
|
|
@@ -727,7 +728,8 @@ module Aws
|
|
|
727
728
|
?description: ::String,
|
|
728
729
|
?routing_configuration: Array[
|
|
729
730
|
{
|
|
730
|
-
agent_version: ::String
|
|
731
|
+
agent_version: ::String?,
|
|
732
|
+
provisioned_throughput: ::String?
|
|
731
733
|
},
|
|
732
734
|
]
|
|
733
735
|
) -> _UpdateAgentAliasResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -99,6 +99,7 @@ module Aws::BedrockAgent
|
|
|
99
99
|
attr_accessor client_token: ::String
|
|
100
100
|
attr_accessor created_at: ::Time
|
|
101
101
|
attr_accessor description: ::String
|
|
102
|
+
attr_accessor failure_reasons: ::Array[::String]
|
|
102
103
|
attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
|
|
103
104
|
attr_accessor updated_at: ::Time
|
|
104
105
|
SENSITIVE: []
|
|
@@ -113,6 +114,7 @@ module Aws::BedrockAgent
|
|
|
113
114
|
|
|
114
115
|
class AgentAliasRoutingConfigurationListItem
|
|
115
116
|
attr_accessor agent_version: ::String
|
|
117
|
+
attr_accessor provisioned_throughput: ::String
|
|
116
118
|
SENSITIVE: []
|
|
117
119
|
end
|
|
118
120
|
|
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.10.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-05-
|
|
11
|
+
date: 2024-05-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|