aws-sdk-bedrockagent 1.9.0 → 1.11.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: 125a5c3e09987d4d401a80829a6807ba9e3eb334ad7f623cd34be398bf50e07b
4
- data.tar.gz: 3075eaef9d0531c1769121ea35b89fa12507b3bbeb2c01610b8d7763a3a654fb
3
+ metadata.gz: 7130a7c2088fc3208d84451fbdd4be02843625a4b2aed90e252391d8e4f5274d
4
+ data.tar.gz: b322fb04c07acc514472af031d12586a7b7c9b8c9fa34ebb5cf69ec54e1a6d4b
5
5
  SHA512:
6
- metadata.gz: 489a210d47c161e5da002886d60d14b64b33dba98804daa26bd8e17572bc906c6f27af931760a15e4fe38044f981f11898e054f4c0429ac4b3cac319e6e99556
7
- data.tar.gz: 1ad08b34f699102eb3d7dbbd8d1b83ed3930cef258ed7fe869c9c8062b44ed3c054b946bbe2444e3793de02b4d1f7c7bb7eb3f6956ea142155d99d69a7f31b56
6
+ metadata.gz: b76480d57c64c12b6dc09d5a6ae2bd14ecfda3ffefc07677fdd4274d3d038cf90fbd241a7e21ec38fdc368f6c4c37440c2938167e77565df706e89a098f673d9
7
+ data.tar.gz: cb7064ffac037568e48b6d825853ac2526e8869746564f32331a2c7a411f3a62e369deb76ccb63255dfc8486b9e6b0025b314c47b1a244d6f3a1f9d6d83a9b62
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.11.0 (2024-05-13)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.10.0 (2024-05-03)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for using Provisioned Throughput with Bedrock Agents.
13
+
4
14
  1.9.0 (2024-05-01)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.11.0
@@ -301,8 +301,9 @@ module Aws::BedrockAgent
301
301
  #
302
302
  # @option options [String] :sdk_ua_app_id
303
303
  # A unique and opaque application ID that is appended to the
304
- # User-Agent header as app/<sdk_ua_app_id>. It should have a
305
- # maximum length of 50.
304
+ # User-Agent header as app/sdk_ua_app_id. It should have a
305
+ # maximum length of 50. This variable is sourced from environment
306
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
306
307
  #
307
308
  # @option options [String] :secret_access_key
308
309
  #
@@ -659,7 +660,9 @@ module Aws::BedrockAgent
659
660
  #
660
661
  # @option params [Types::ActionGroupExecutor] :action_group_executor
661
662
  # The Amazon Resource Name (ARN) of the Lambda function containing the
662
- # business logic that is carried out upon invoking the action.
663
+ # business logic that is carried out upon invoking the action or the
664
+ # custom control method for handling the information elicited from the
665
+ # user.
663
666
  #
664
667
  # @option params [required, String] :action_group_name
665
668
  # The name to give the action group.
@@ -843,7 +846,8 @@ module Aws::BedrockAgent
843
846
  # description: "Description",
844
847
  # routing_configuration: [
845
848
  # {
846
- # agent_version: "Version", # required
849
+ # agent_version: "Version",
850
+ # provisioned_throughput: "ProvisionedModelIdentifier",
847
851
  # },
848
852
  # ],
849
853
  # tags: {
@@ -858,6 +862,7 @@ module Aws::BedrockAgent
858
862
  # resp.agent_alias.agent_alias_history_events[0].end_date #=> Time
859
863
  # resp.agent_alias.agent_alias_history_events[0].routing_configuration #=> Array
860
864
  # resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].agent_version #=> String
865
+ # resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].provisioned_throughput #=> String
861
866
  # resp.agent_alias.agent_alias_history_events[0].start_date #=> Time
862
867
  # resp.agent_alias.agent_alias_id #=> String
863
868
  # resp.agent_alias.agent_alias_name #=> String
@@ -866,8 +871,11 @@ module Aws::BedrockAgent
866
871
  # resp.agent_alias.client_token #=> String
867
872
  # resp.agent_alias.created_at #=> Time
868
873
  # resp.agent_alias.description #=> String
874
+ # resp.agent_alias.failure_reasons #=> Array
875
+ # resp.agent_alias.failure_reasons[0] #=> String
869
876
  # resp.agent_alias.routing_configuration #=> Array
870
877
  # resp.agent_alias.routing_configuration[0].agent_version #=> String
878
+ # resp.agent_alias.routing_configuration[0].provisioned_throughput #=> String
871
879
  # resp.agent_alias.updated_at #=> Time
872
880
  #
873
881
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateAgentAlias AWS API Documentation
@@ -1601,6 +1609,7 @@ module Aws::BedrockAgent
1601
1609
  # resp.agent_alias.agent_alias_history_events[0].end_date #=> Time
1602
1610
  # resp.agent_alias.agent_alias_history_events[0].routing_configuration #=> Array
1603
1611
  # resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].agent_version #=> String
1612
+ # resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].provisioned_throughput #=> String
1604
1613
  # resp.agent_alias.agent_alias_history_events[0].start_date #=> Time
1605
1614
  # resp.agent_alias.agent_alias_id #=> String
1606
1615
  # resp.agent_alias.agent_alias_name #=> String
@@ -1609,8 +1618,11 @@ module Aws::BedrockAgent
1609
1618
  # resp.agent_alias.client_token #=> String
1610
1619
  # resp.agent_alias.created_at #=> Time
1611
1620
  # resp.agent_alias.description #=> String
1621
+ # resp.agent_alias.failure_reasons #=> Array
1622
+ # resp.agent_alias.failure_reasons[0] #=> String
1612
1623
  # resp.agent_alias.routing_configuration #=> Array
1613
1624
  # resp.agent_alias.routing_configuration[0].agent_version #=> String
1625
+ # resp.agent_alias.routing_configuration[0].provisioned_throughput #=> String
1614
1626
  # resp.agent_alias.updated_at #=> Time
1615
1627
  #
1616
1628
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgentAlias AWS API Documentation
@@ -2001,6 +2013,7 @@ module Aws::BedrockAgent
2001
2013
  # resp.agent_alias_summaries[0].description #=> String
2002
2014
  # resp.agent_alias_summaries[0].routing_configuration #=> Array
2003
2015
  # resp.agent_alias_summaries[0].routing_configuration[0].agent_version #=> String
2016
+ # resp.agent_alias_summaries[0].routing_configuration[0].provisioned_throughput #=> String
2004
2017
  # resp.agent_alias_summaries[0].updated_at #=> Time
2005
2018
  # resp.next_token #=> String
2006
2019
  #
@@ -2839,7 +2852,8 @@ module Aws::BedrockAgent
2839
2852
  # description: "Description",
2840
2853
  # routing_configuration: [
2841
2854
  # {
2842
- # agent_version: "Version", # required
2855
+ # agent_version: "Version",
2856
+ # provisioned_throughput: "ProvisionedModelIdentifier",
2843
2857
  # },
2844
2858
  # ],
2845
2859
  # })
@@ -2851,6 +2865,7 @@ module Aws::BedrockAgent
2851
2865
  # resp.agent_alias.agent_alias_history_events[0].end_date #=> Time
2852
2866
  # resp.agent_alias.agent_alias_history_events[0].routing_configuration #=> Array
2853
2867
  # resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].agent_version #=> String
2868
+ # resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].provisioned_throughput #=> String
2854
2869
  # resp.agent_alias.agent_alias_history_events[0].start_date #=> Time
2855
2870
  # resp.agent_alias.agent_alias_id #=> String
2856
2871
  # resp.agent_alias.agent_alias_name #=> String
@@ -2859,8 +2874,11 @@ module Aws::BedrockAgent
2859
2874
  # resp.agent_alias.client_token #=> String
2860
2875
  # resp.agent_alias.created_at #=> Time
2861
2876
  # resp.agent_alias.description #=> String
2877
+ # resp.agent_alias.failure_reasons #=> Array
2878
+ # resp.agent_alias.failure_reasons[0] #=> String
2862
2879
  # resp.agent_alias.routing_configuration #=> Array
2863
2880
  # resp.agent_alias.routing_configuration[0].agent_version #=> String
2881
+ # resp.agent_alias.routing_configuration[0].provisioned_throughput #=> String
2864
2882
  # resp.agent_alias.updated_at #=> Time
2865
2883
  #
2866
2884
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateAgentAlias AWS API Documentation
@@ -2938,7 +2956,7 @@ module Aws::BedrockAgent
2938
2956
  # data source. Specify the existing `chunkingConfiguration`.
2939
2957
  #
2940
2958
  # @option params [String] :data_deletion_policy
2941
- # The data deletion policy assigned to the data source.
2959
+ # The data deletion policy of the updated data source.
2942
2960
  #
2943
2961
  # @option params [required, Types::DataSourceConfiguration] :data_source_configuration
2944
2962
  # Contains details about the storage configuration of the data source.
@@ -3217,7 +3235,7 @@ module Aws::BedrockAgent
3217
3235
  params: params,
3218
3236
  config: config)
3219
3237
  context[:gem_name] = 'aws-sdk-bedrockagent'
3220
- context[:gem_version] = '1.9.0'
3238
+ context[:gem_version] = '1.11.0'
3221
3239
  Seahorse::Client::Request.new(handlers, context)
3222
3240
  end
3223
3241
 
@@ -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, required: true, location_name: "agentVersion"))
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 assigned to the data source.
4020
+ # The data deletion policy of the updated data source.
4004
4021
  # @return [String]
4005
4022
  #
4006
4023
  # @!attribute [rw] data_source_configuration
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-bedrockagent/customizations'
52
52
  # @!group service
53
53
  module Aws::BedrockAgent
54
54
 
55
- GEM_VERSION = '1.9.0'
55
+ GEM_VERSION = '1.11.0'
56
56
 
57
57
  end
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.9.0
4
+ version: 1.11.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-01 00:00:00.000000000 Z
11
+ date: 2024-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core