aws-sdk-bedrockagentcore 1.21.0 → 1.23.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f666edffdcf9208c989add5e7f667e13b9731ed2f5e1fd6a7a0061248be3f6d0
4
- data.tar.gz: 75873e7499340b14375a221ba3a3b0885e6f7aed72b5f03b2369074d4acc457b
3
+ metadata.gz: d7585daa8e3d30666691dff8d13b97aa7c6cbb9947b2bd1fdce60cbfece5e5d0
4
+ data.tar.gz: a3b4336d566eeb26f178d22203c22ecc1b5b2539f9b2aee1fbbc0a558225c088
5
5
  SHA512:
6
- metadata.gz: 660a660ffc1481ef9e3f104b4d18cf7750821485f4d58b5b0972c0e2838f2e60ea7a86aca2f8bd46ce0a5304d6f6ed521502c9464fc80627fd2a71ce2ce9cca7
7
- data.tar.gz: 971d59b2888615607612cce8977a7d7a44b2892d462aea94d02bd7ce45fc99840241224ed167797b3a4017a028edf767d93536bfd24dc77d4276e1f33893a85f
6
+ metadata.gz: af6d2ae93e5a16a39748b23ece7b8b0c60161bc36d8a2e513474e4a2c0bb876ebe976774fa99eeabd86b4b6d09512b0e93b2b171445686dfc06ca6999d8a4070
7
+ data.tar.gz: 0dee934a0c1c78c6408b7921c945afb8136753f1a5dbd0f9d2a5dd74b8a5a2b0719c925b51b3c07cdde345f291cdd84c86f1c01f578593cae053f15f77182730
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2026-03-27)
5
+ ------------------
6
+
7
+ * Feature - Adding AgentCore Code Interpreter Node.js Runtime Support with an optional runtime field
8
+
9
+ 1.22.0 (2026-03-19)
10
+ ------------------
11
+
12
+ * Feature - This release includes SDK support for the following new features on AgentCore Built In Tools. 1. Enterprise Policies for AgentCore Browser Tool. 2. Root CA Configuration Support for AgentCore Browser Tool and Code Interpreter. 3. API changes to AgentCore Browser Profile APIs
13
+
4
14
  1.21.0 (2026-03-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.21.0
1
+ 1.23.0
@@ -885,7 +885,7 @@ module Aws::BedrockAgentCore
885
885
  # @option params [required, String] :evaluator_id
886
886
  # The unique identifier of the evaluator to use for scoring. Can be a
887
887
  # built-in evaluator (e.g., `Builtin.Helpfulness`,
888
- # `Builtin.Correctness`) or a custom evaluator ARN created through the
888
+ # `Builtin.Correctness`) or a custom evaluator Id created through the
889
889
  # control plane API.
890
890
  #
891
891
  # @option params [required, Types::EvaluationInput] :evaluation_input
@@ -1029,11 +1029,13 @@ module Aws::BedrockAgentCore
1029
1029
  # * {Types::GetBrowserSessionResponse#created_at #created_at} => Time
1030
1030
  # * {Types::GetBrowserSessionResponse#view_port #view_port} => Types::ViewPort
1031
1031
  # * {Types::GetBrowserSessionResponse#extensions #extensions} => Array<Types::BrowserExtension>
1032
+ # * {Types::GetBrowserSessionResponse#enterprise_policies #enterprise_policies} => Array<Types::BrowserEnterprisePolicy>
1032
1033
  # * {Types::GetBrowserSessionResponse#profile_configuration #profile_configuration} => Types::BrowserProfileConfiguration
1033
1034
  # * {Types::GetBrowserSessionResponse#session_timeout_seconds #session_timeout_seconds} => Integer
1034
1035
  # * {Types::GetBrowserSessionResponse#status #status} => String
1035
1036
  # * {Types::GetBrowserSessionResponse#streams #streams} => Types::BrowserSessionStream
1036
1037
  # * {Types::GetBrowserSessionResponse#proxy_configuration #proxy_configuration} => Types::ProxyConfiguration
1038
+ # * {Types::GetBrowserSessionResponse#certificates #certificates} => Array<Types::Certificate>
1037
1039
  # * {Types::GetBrowserSessionResponse#session_replay_artifact #session_replay_artifact} => String
1038
1040
  # * {Types::GetBrowserSessionResponse#last_updated_at #last_updated_at} => Time
1039
1041
  #
@@ -1056,6 +1058,11 @@ module Aws::BedrockAgentCore
1056
1058
  # resp.extensions[0].location.s3.bucket #=> String
1057
1059
  # resp.extensions[0].location.s3.prefix #=> String
1058
1060
  # resp.extensions[0].location.s3.version_id #=> String
1061
+ # resp.enterprise_policies #=> Array
1062
+ # resp.enterprise_policies[0].location.s3.bucket #=> String
1063
+ # resp.enterprise_policies[0].location.s3.prefix #=> String
1064
+ # resp.enterprise_policies[0].location.s3.version_id #=> String
1065
+ # resp.enterprise_policies[0].type #=> String, one of "MANAGED", "RECOMMENDED"
1059
1066
  # resp.profile_configuration.profile_identifier #=> String
1060
1067
  # resp.session_timeout_seconds #=> Integer
1061
1068
  # resp.status #=> String, one of "READY", "TERMINATED"
@@ -1070,6 +1077,8 @@ module Aws::BedrockAgentCore
1070
1077
  # resp.proxy_configuration.proxies[0].external_proxy.credentials.basic_auth.secret_arn #=> String
1071
1078
  # resp.proxy_configuration.bypass.domain_patterns #=> Array
1072
1079
  # resp.proxy_configuration.bypass.domain_patterns[0] #=> String
1080
+ # resp.certificates #=> Array
1081
+ # resp.certificates[0].location.secrets_manager.secret_arn #=> String
1073
1082
  # resp.session_replay_artifact #=> String
1074
1083
  # resp.last_updated_at #=> Time
1075
1084
  #
@@ -1119,6 +1128,7 @@ module Aws::BedrockAgentCore
1119
1128
  # * {Types::GetCodeInterpreterSessionResponse#created_at #created_at} => Time
1120
1129
  # * {Types::GetCodeInterpreterSessionResponse#session_timeout_seconds #session_timeout_seconds} => Integer
1121
1130
  # * {Types::GetCodeInterpreterSessionResponse#status #status} => String
1131
+ # * {Types::GetCodeInterpreterSessionResponse#certificates #certificates} => Array<Types::Certificate>
1122
1132
  #
1123
1133
  # @example Request syntax with placeholder values
1124
1134
  #
@@ -1135,6 +1145,8 @@ module Aws::BedrockAgentCore
1135
1145
  # resp.created_at #=> Time
1136
1146
  # resp.session_timeout_seconds #=> Integer
1137
1147
  # resp.status #=> String, one of "READY", "TERMINATED"
1148
+ # resp.certificates #=> Array
1149
+ # resp.certificates[0].location.secrets_manager.secret_arn #=> String
1138
1150
  #
1139
1151
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetCodeInterpreterSession AWS API Documentation
1140
1152
  #
@@ -2126,6 +2138,7 @@ module Aws::BedrockAgentCore
2126
2138
  # ],
2127
2139
  # directory_path: "MaxLenString",
2128
2140
  # task_id: "MaxLenString",
2141
+ # runtime: "nodejs", # accepts nodejs, deno, python
2129
2142
  # },
2130
2143
  # })
2131
2144
  #
@@ -2953,6 +2966,12 @@ module Aws::BedrockAgentCore
2953
2966
  # domain-based routing rules. Requires `secretsmanager:GetSecretValue`
2954
2967
  # IAM permission for the specified secret ARNs.
2955
2968
  #
2969
+ # @option params [Array<Types::BrowserEnterprisePolicy>] :enterprise_policies
2970
+ # A list of files containing enterprise policies for the browser.
2971
+ #
2972
+ # @option params [Array<Types::Certificate>] :certificates
2973
+ # A list of certificates to install in the browser session.
2974
+ #
2956
2975
  # @option params [String] :client_token
2957
2976
  # A unique, case-sensitive identifier to ensure that the API request
2958
2977
  # completes no more than one time. If this token matches a previous
@@ -3015,6 +3034,27 @@ module Aws::BedrockAgentCore
3015
3034
  # domain_patterns: ["DomainPattern"],
3016
3035
  # },
3017
3036
  # },
3037
+ # enterprise_policies: [
3038
+ # {
3039
+ # location: { # required
3040
+ # s3: {
3041
+ # bucket: "S3LocationBucketString", # required
3042
+ # prefix: "S3LocationPrefixString", # required
3043
+ # version_id: "S3LocationVersionIdString",
3044
+ # },
3045
+ # },
3046
+ # type: "MANAGED", # accepts MANAGED, RECOMMENDED
3047
+ # },
3048
+ # ],
3049
+ # certificates: [
3050
+ # {
3051
+ # location: { # required
3052
+ # secrets_manager: {
3053
+ # secret_arn: "SecretArn", # required
3054
+ # },
3055
+ # },
3056
+ # },
3057
+ # ],
3018
3058
  # client_token: "ClientToken",
3019
3059
  # })
3020
3060
  #
@@ -3080,6 +3120,9 @@ module Aws::BedrockAgentCore
3080
3120
  # 900 seconds (15 minutes). Recommended minimum: 60 seconds. Maximum
3081
3121
  # allowed: 28,800 seconds (8 hours).
3082
3122
  #
3123
+ # @option params [Array<Types::Certificate>] :certificates
3124
+ # A list of certificates to install in the code interpreter session.
3125
+ #
3083
3126
  # @option params [String] :client_token
3084
3127
  # A unique, case-sensitive identifier to ensure that the API request
3085
3128
  # completes no more than one time. If this token matches a previous
@@ -3104,6 +3147,15 @@ module Aws::BedrockAgentCore
3104
3147
  # code_interpreter_identifier: "String", # required
3105
3148
  # name: "Name",
3106
3149
  # session_timeout_seconds: 1,
3150
+ # certificates: [
3151
+ # {
3152
+ # location: { # required
3153
+ # secrets_manager: {
3154
+ # secret_arn: "SecretArn", # required
3155
+ # },
3156
+ # },
3157
+ # },
3158
+ # ],
3107
3159
  # client_token: "ClientToken",
3108
3160
  # })
3109
3161
  #
@@ -3441,7 +3493,7 @@ module Aws::BedrockAgentCore
3441
3493
  tracer: tracer
3442
3494
  )
3443
3495
  context[:gem_name] = 'aws-sdk-bedrockagentcore'
3444
- context[:gem_version] = '1.21.0'
3496
+ context[:gem_version] = '1.23.0'
3445
3497
  Seahorse::Client::Request.new(handlers, context)
3446
3498
  end
3447
3499
 
@@ -38,6 +38,9 @@ module Aws::BedrockAgentCore
38
38
  Branch = Shapes::StructureShape.new(name: 'Branch')
39
39
  BranchFilter = Shapes::StructureShape.new(name: 'BranchFilter')
40
40
  BranchName = Shapes::StringShape.new(name: 'BranchName')
41
+ BrowserEnterprisePolicies = Shapes::ListShape.new(name: 'BrowserEnterprisePolicies')
42
+ BrowserEnterprisePolicy = Shapes::StructureShape.new(name: 'BrowserEnterprisePolicy')
43
+ BrowserEnterprisePolicyType = Shapes::StringShape.new(name: 'BrowserEnterprisePolicyType')
41
44
  BrowserExtension = Shapes::StructureShape.new(name: 'BrowserExtension')
42
45
  BrowserExtensions = Shapes::ListShape.new(name: 'BrowserExtensions')
43
46
  BrowserProfileConfiguration = Shapes::StructureShape.new(name: 'BrowserProfileConfiguration')
@@ -49,6 +52,9 @@ module Aws::BedrockAgentCore
49
52
  BrowserSessionSummary = Shapes::StructureShape.new(name: 'BrowserSessionSummary')
50
53
  BrowserSessionTimeout = Shapes::IntegerShape.new(name: 'BrowserSessionTimeout')
51
54
  BrowserStreamEndpoint = Shapes::StringShape.new(name: 'BrowserStreamEndpoint')
55
+ Certificate = Shapes::StructureShape.new(name: 'Certificate')
56
+ CertificateLocation = Shapes::UnionShape.new(name: 'CertificateLocation')
57
+ Certificates = Shapes::ListShape.new(name: 'Certificates')
52
58
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
53
59
  CodeInterpreterResult = Shapes::StructureShape.new(name: 'CodeInterpreterResult')
54
60
  CodeInterpreterSessionId = Shapes::StringShape.new(name: 'CodeInterpreterSessionId')
@@ -161,6 +167,7 @@ module Aws::BedrockAgentCore
161
167
  InvokeCodeInterpreterRequestTraceIdString = Shapes::StringShape.new(name: 'InvokeCodeInterpreterRequestTraceIdString')
162
168
  InvokeCodeInterpreterRequestTraceParentString = Shapes::StringShape.new(name: 'InvokeCodeInterpreterRequestTraceParentString')
163
169
  InvokeCodeInterpreterResponse = Shapes::StructureShape.new(name: 'InvokeCodeInterpreterResponse')
170
+ LanguageRuntime = Shapes::StringShape.new(name: 'LanguageRuntime')
164
171
  LeftExpression = Shapes::UnionShape.new(name: 'LeftExpression')
165
172
  ListActorsInput = Shapes::StructureShape.new(name: 'ListActorsInput')
166
173
  ListActorsOutput = Shapes::StructureShape.new(name: 'ListActorsOutput')
@@ -252,6 +259,7 @@ module Aws::BedrockAgentCore
252
259
  SearchCriteriaSearchQueryString = Shapes::StringShape.new(name: 'SearchCriteriaSearchQueryString')
253
260
  SearchCriteriaTopKInteger = Shapes::IntegerShape.new(name: 'SearchCriteriaTopKInteger')
254
261
  SecretArn = Shapes::StringShape.new(name: 'SecretArn')
262
+ SecretsManagerLocation = Shapes::StructureShape.new(name: 'SecretsManagerLocation')
255
263
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
256
264
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
257
265
  SessionId = Shapes::StringShape.new(name: 'SessionId')
@@ -366,6 +374,12 @@ module Aws::BedrockAgentCore
366
374
  BranchFilter.add_member(:include_parent_branches, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeParentBranches"))
367
375
  BranchFilter.struct_class = Types::BranchFilter
368
376
 
377
+ BrowserEnterprisePolicies.member = Shapes::ShapeRef.new(shape: BrowserEnterprisePolicy)
378
+
379
+ BrowserEnterprisePolicy.add_member(:location, Shapes::ShapeRef.new(shape: ResourceLocation, required: true, location_name: "location"))
380
+ BrowserEnterprisePolicy.add_member(:type, Shapes::ShapeRef.new(shape: BrowserEnterprisePolicyType, location_name: "type"))
381
+ BrowserEnterprisePolicy.struct_class = Types::BrowserEnterprisePolicy
382
+
369
383
  BrowserExtension.add_member(:location, Shapes::ShapeRef.new(shape: ResourceLocation, required: true, location_name: "location"))
370
384
  BrowserExtension.struct_class = Types::BrowserExtension
371
385
 
@@ -388,6 +402,17 @@ module Aws::BedrockAgentCore
388
402
  BrowserSessionSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "lastUpdatedAt"))
389
403
  BrowserSessionSummary.struct_class = Types::BrowserSessionSummary
390
404
 
405
+ Certificate.add_member(:location, Shapes::ShapeRef.new(shape: CertificateLocation, required: true, location_name: "location"))
406
+ Certificate.struct_class = Types::Certificate
407
+
408
+ CertificateLocation.add_member(:secrets_manager, Shapes::ShapeRef.new(shape: SecretsManagerLocation, location_name: "secretsManager"))
409
+ CertificateLocation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
410
+ CertificateLocation.add_member_subclass(:secrets_manager, Types::CertificateLocation::SecretsManager)
411
+ CertificateLocation.add_member_subclass(:unknown, Types::CertificateLocation::Unknown)
412
+ CertificateLocation.struct_class = Types::CertificateLocation
413
+
414
+ Certificates.member = Shapes::ShapeRef.new(shape: Certificate)
415
+
391
416
  CodeInterpreterResult.add_member(:content, Shapes::ShapeRef.new(shape: ContentBlockList, required: true, location_name: "content"))
392
417
  CodeInterpreterResult.add_member(:structured_content, Shapes::ShapeRef.new(shape: ToolResultStructuredContent, location_name: "structuredContent"))
393
418
  CodeInterpreterResult.add_member(:is_error, Shapes::ShapeRef.new(shape: Boolean, location_name: "isError"))
@@ -611,11 +636,13 @@ module Aws::BedrockAgentCore
611
636
  GetBrowserSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
612
637
  GetBrowserSessionResponse.add_member(:view_port, Shapes::ShapeRef.new(shape: ViewPort, location_name: "viewPort"))
613
638
  GetBrowserSessionResponse.add_member(:extensions, Shapes::ShapeRef.new(shape: BrowserExtensions, location_name: "extensions"))
639
+ GetBrowserSessionResponse.add_member(:enterprise_policies, Shapes::ShapeRef.new(shape: BrowserEnterprisePolicies, location_name: "enterprisePolicies"))
614
640
  GetBrowserSessionResponse.add_member(:profile_configuration, Shapes::ShapeRef.new(shape: BrowserProfileConfiguration, location_name: "profileConfiguration"))
615
641
  GetBrowserSessionResponse.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: BrowserSessionTimeout, location_name: "sessionTimeoutSeconds"))
616
642
  GetBrowserSessionResponse.add_member(:status, Shapes::ShapeRef.new(shape: BrowserSessionStatus, location_name: "status"))
617
643
  GetBrowserSessionResponse.add_member(:streams, Shapes::ShapeRef.new(shape: BrowserSessionStream, location_name: "streams"))
618
644
  GetBrowserSessionResponse.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
645
+ GetBrowserSessionResponse.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "certificates"))
619
646
  GetBrowserSessionResponse.add_member(:session_replay_artifact, Shapes::ShapeRef.new(shape: String, location_name: "sessionReplayArtifact"))
620
647
  GetBrowserSessionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "lastUpdatedAt"))
621
648
  GetBrowserSessionResponse.struct_class = Types::GetBrowserSessionResponse
@@ -630,6 +657,7 @@ module Aws::BedrockAgentCore
630
657
  GetCodeInterpreterSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
631
658
  GetCodeInterpreterSessionResponse.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: CodeInterpreterSessionTimeout, location_name: "sessionTimeoutSeconds"))
632
659
  GetCodeInterpreterSessionResponse.add_member(:status, Shapes::ShapeRef.new(shape: CodeInterpreterSessionStatus, location_name: "status"))
660
+ GetCodeInterpreterSessionResponse.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "certificates"))
633
661
  GetCodeInterpreterSessionResponse.struct_class = Types::GetCodeInterpreterSessionResponse
634
662
 
635
663
  GetEventInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
@@ -1057,6 +1085,9 @@ module Aws::BedrockAgentCore
1057
1085
  SearchCriteria.add_member(:metadata_filters, Shapes::ShapeRef.new(shape: MemoryMetadataFilterList, location_name: "metadataFilters"))
1058
1086
  SearchCriteria.struct_class = Types::SearchCriteria
1059
1087
 
1088
+ SecretsManagerLocation.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "secretArn"))
1089
+ SecretsManagerLocation.struct_class = Types::SecretsManagerLocation
1090
+
1060
1091
  ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
1061
1092
  ServiceException.struct_class = Types::ServiceException
1062
1093
 
@@ -1088,6 +1119,8 @@ module Aws::BedrockAgentCore
1088
1119
  StartBrowserSessionRequest.add_member(:extensions, Shapes::ShapeRef.new(shape: BrowserExtensions, location_name: "extensions"))
1089
1120
  StartBrowserSessionRequest.add_member(:profile_configuration, Shapes::ShapeRef.new(shape: BrowserProfileConfiguration, location_name: "profileConfiguration"))
1090
1121
  StartBrowserSessionRequest.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
1122
+ StartBrowserSessionRequest.add_member(:enterprise_policies, Shapes::ShapeRef.new(shape: BrowserEnterprisePolicies, location_name: "enterprisePolicies"))
1123
+ StartBrowserSessionRequest.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "certificates"))
1091
1124
  StartBrowserSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
1092
1125
  StartBrowserSessionRequest.struct_class = Types::StartBrowserSessionRequest
1093
1126
 
@@ -1102,6 +1135,7 @@ module Aws::BedrockAgentCore
1102
1135
  StartCodeInterpreterSessionRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
1103
1136
  StartCodeInterpreterSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
1104
1137
  StartCodeInterpreterSessionRequest.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: CodeInterpreterSessionTimeout, location_name: "sessionTimeoutSeconds"))
1138
+ StartCodeInterpreterSessionRequest.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "certificates"))
1105
1139
  StartCodeInterpreterSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
1106
1140
  StartCodeInterpreterSessionRequest.struct_class = Types::StartCodeInterpreterSessionRequest
1107
1141
 
@@ -1180,6 +1214,7 @@ module Aws::BedrockAgentCore
1180
1214
  ToolArguments.add_member(:content, Shapes::ShapeRef.new(shape: InputContentBlockList, location_name: "content"))
1181
1215
  ToolArguments.add_member(:directory_path, Shapes::ShapeRef.new(shape: MaxLenString, location_name: "directoryPath"))
1182
1216
  ToolArguments.add_member(:task_id, Shapes::ShapeRef.new(shape: MaxLenString, location_name: "taskId"))
1217
+ ToolArguments.add_member(:runtime, Shapes::ShapeRef.new(shape: LanguageRuntime, location_name: "runtime"))
1183
1218
  ToolArguments.struct_class = Types::ToolArguments
1184
1219
 
1185
1220
  ToolResultStructuredContent.add_member(:task_id, Shapes::ShapeRef.new(shape: String, location_name: "taskId"))
@@ -269,6 +269,25 @@ module Aws::BedrockAgentCore
269
269
  include Aws::Structure
270
270
  end
271
271
 
272
+ # Browser enterprise policy configuration.
273
+ #
274
+ # @!attribute [rw] location
275
+ # The location of the enterprise policy file.
276
+ # @return [Types::ResourceLocation]
277
+ #
278
+ # @!attribute [rw] type
279
+ # The enterprise policy type. See BrowserEnterprisePolicyType.
280
+ # @return [String]
281
+ #
282
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/BrowserEnterprisePolicy AWS API Documentation
283
+ #
284
+ class BrowserEnterprisePolicy < Struct.new(
285
+ :location,
286
+ :type)
287
+ SENSITIVE = []
288
+ include Aws::Structure
289
+ end
290
+
272
291
  # Browser extension configuration.
273
292
  #
274
293
  # @!attribute [rw] location
@@ -381,6 +400,43 @@ module Aws::BedrockAgentCore
381
400
  include Aws::Structure
382
401
  end
383
402
 
403
+ # A certificate to install in the browser or code interpreter session.
404
+ #
405
+ # @!attribute [rw] location
406
+ # The location of the certificate.
407
+ # @return [Types::CertificateLocation]
408
+ #
409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/Certificate AWS API Documentation
410
+ #
411
+ class Certificate < Struct.new(
412
+ :location)
413
+ SENSITIVE = []
414
+ include Aws::Structure
415
+ end
416
+
417
+ # The location from which to retrieve a certificate.
418
+ #
419
+ # @note CertificateLocation is a union - when making an API calls you must set exactly one of the members.
420
+ #
421
+ # @note CertificateLocation is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CertificateLocation corresponding to the set member.
422
+ #
423
+ # @!attribute [rw] secrets_manager
424
+ # The Amazon Web Services Secrets Manager location of the certificate.
425
+ # @return [Types::SecretsManagerLocation]
426
+ #
427
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CertificateLocation AWS API Documentation
428
+ #
429
+ class CertificateLocation < Struct.new(
430
+ :secrets_manager,
431
+ :unknown)
432
+ SENSITIVE = []
433
+ include Aws::Structure
434
+ include Aws::Structure::Union
435
+
436
+ class SecretsManager < CertificateLocation; end
437
+ class Unknown < CertificateLocation; end
438
+ end
439
+
384
440
  # The output produced by executing code in a code interpreter session in
385
441
  # Amazon Bedrock AgentCore. This structure contains the results of code
386
442
  # execution, including textual output, structured data, and error
@@ -835,7 +891,7 @@ module Aws::BedrockAgentCore
835
891
  # @!attribute [rw] evaluator_id
836
892
  # The unique identifier of the evaluator to use for scoring. Can be a
837
893
  # built-in evaluator (e.g., `Builtin.Helpfulness`,
838
- # `Builtin.Correctness`) or a custom evaluator ARN created through the
894
+ # `Builtin.Correctness`) or a custom evaluator Id created through the
839
895
  # control plane API.
840
896
  # @return [String]
841
897
  #
@@ -1370,6 +1426,11 @@ module Aws::BedrockAgentCore
1370
1426
  # session.
1371
1427
  # @return [Array<Types::BrowserExtension>]
1372
1428
  #
1429
+ # @!attribute [rw] enterprise_policies
1430
+ # A list of files containing enterprise policies for the browser
1431
+ # session.
1432
+ # @return [Array<Types::BrowserEnterprisePolicy>]
1433
+ #
1373
1434
  # @!attribute [rw] profile_configuration
1374
1435
  # The browser profile configuration associated with this session.
1375
1436
  # Contains the profile identifier that links to persistent browser
@@ -1398,6 +1459,10 @@ module Aws::BedrockAgentCore
1398
1459
  # credentials.
1399
1460
  # @return [Types::ProxyConfiguration]
1400
1461
  #
1462
+ # @!attribute [rw] certificates
1463
+ # The list of certificates installed in the browser session.
1464
+ # @return [Array<Types::Certificate>]
1465
+ #
1401
1466
  # @!attribute [rw] session_replay_artifact
1402
1467
  # The artifact containing the session replay information.
1403
1468
  # @return [String]
@@ -1415,11 +1480,13 @@ module Aws::BedrockAgentCore
1415
1480
  :created_at,
1416
1481
  :view_port,
1417
1482
  :extensions,
1483
+ :enterprise_policies,
1418
1484
  :profile_configuration,
1419
1485
  :session_timeout_seconds,
1420
1486
  :status,
1421
1487
  :streams,
1422
1488
  :proxy_configuration,
1489
+ :certificates,
1423
1490
  :session_replay_artifact,
1424
1491
  :last_updated_at)
1425
1492
  SENSITIVE = []
@@ -1469,6 +1536,10 @@ module Aws::BedrockAgentCore
1469
1536
  # include ACTIVE, STOPPING, and STOPPED.
1470
1537
  # @return [String]
1471
1538
  #
1539
+ # @!attribute [rw] certificates
1540
+ # The list of certificates installed in the code interpreter session.
1541
+ # @return [Array<Types::Certificate>]
1542
+ #
1472
1543
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetCodeInterpreterSessionResponse AWS API Documentation
1473
1544
  #
1474
1545
  class GetCodeInterpreterSessionResponse < Struct.new(
@@ -1477,7 +1548,8 @@ module Aws::BedrockAgentCore
1477
1548
  :name,
1478
1549
  :created_at,
1479
1550
  :session_timeout_seconds,
1480
- :status)
1551
+ :status,
1552
+ :certificates)
1481
1553
  SENSITIVE = []
1482
1554
  include Aws::Structure
1483
1555
  end
@@ -3376,6 +3448,21 @@ module Aws::BedrockAgentCore
3376
3448
  include Aws::Structure
3377
3449
  end
3378
3450
 
3451
+ # The Amazon Web Services Secrets Manager location configuration.
3452
+ #
3453
+ # @!attribute [rw] secret_arn
3454
+ # The ARN of the Amazon Web Services Secrets Manager secret containing
3455
+ # the certificate.
3456
+ # @return [String]
3457
+ #
3458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SecretsManagerLocation AWS API Documentation
3459
+ #
3460
+ class SecretsManagerLocation < Struct.new(
3461
+ :secret_arn)
3462
+ SENSITIVE = []
3463
+ include Aws::Structure
3464
+ end
3465
+
3379
3466
  # The service encountered an internal error. Try your request again
3380
3467
  # later.
3381
3468
  #
@@ -3518,6 +3605,14 @@ module Aws::BedrockAgentCore
3518
3605
  # IAM permission for the specified secret ARNs.
3519
3606
  # @return [Types::ProxyConfiguration]
3520
3607
  #
3608
+ # @!attribute [rw] enterprise_policies
3609
+ # A list of files containing enterprise policies for the browser.
3610
+ # @return [Array<Types::BrowserEnterprisePolicy>]
3611
+ #
3612
+ # @!attribute [rw] certificates
3613
+ # A list of certificates to install in the browser session.
3614
+ # @return [Array<Types::Certificate>]
3615
+ #
3521
3616
  # @!attribute [rw] client_token
3522
3617
  # A unique, case-sensitive identifier to ensure that the API request
3523
3618
  # completes no more than one time. If this token matches a previous
@@ -3541,6 +3636,8 @@ module Aws::BedrockAgentCore
3541
3636
  :extensions,
3542
3637
  :profile_configuration,
3543
3638
  :proxy_configuration,
3639
+ :enterprise_policies,
3640
+ :certificates,
3544
3641
  :client_token)
3545
3642
  SENSITIVE = []
3546
3643
  include Aws::Structure
@@ -3601,6 +3698,10 @@ module Aws::BedrockAgentCore
3601
3698
  # Maximum allowed: 28,800 seconds (8 hours).
3602
3699
  # @return [Integer]
3603
3700
  #
3701
+ # @!attribute [rw] certificates
3702
+ # A list of certificates to install in the code interpreter session.
3703
+ # @return [Array<Types::Certificate>]
3704
+ #
3604
3705
  # @!attribute [rw] client_token
3605
3706
  # A unique, case-sensitive identifier to ensure that the API request
3606
3707
  # completes no more than one time. If this token matches a previous
@@ -3620,6 +3721,7 @@ module Aws::BedrockAgentCore
3620
3721
  :code_interpreter_identifier,
3621
3722
  :name,
3622
3723
  :session_timeout_seconds,
3724
+ :certificates,
3623
3725
  :client_token)
3624
3726
  SENSITIVE = []
3625
3727
  include Aws::Structure
@@ -3957,8 +4059,7 @@ module Aws::BedrockAgentCore
3957
4059
  #
3958
4060
  # @!attribute [rw] language
3959
4061
  # The programming language of the code to execute. This tells the code
3960
- # interpreter which language runtime to use for execution. Common
3961
- # values include 'python', 'javascript', and 'r'.
4062
+ # interpreter which language runtime to use for execution.
3962
4063
  # @return [String]
3963
4064
  #
3964
4065
  # @!attribute [rw] clear_context
@@ -3989,6 +4090,11 @@ module Aws::BedrockAgentCore
3989
4090
  # The identifier of the task for the tool operation.
3990
4091
  # @return [String]
3991
4092
  #
4093
+ # @!attribute [rw] runtime
4094
+ # The runtime environment to use for code execution. If not specified,
4095
+ # defaults to `deno` for JavaScript and TypeScript.
4096
+ # @return [String]
4097
+ #
3992
4098
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ToolArguments AWS API Documentation
3993
4099
  #
3994
4100
  class ToolArguments < Struct.new(
@@ -4000,7 +4106,8 @@ module Aws::BedrockAgentCore
4000
4106
  :paths,
4001
4107
  :content,
4002
4108
  :directory_path,
4003
- :task_id)
4109
+ :task_id,
4110
+ :runtime)
4004
4111
  SENSITIVE = []
4005
4112
  include Aws::Structure
4006
4113
  end
@@ -56,7 +56,7 @@ module Aws::BedrockAgentCore
56
56
  autoload :Endpoints, 'aws-sdk-bedrockagentcore/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-bedrockagentcore/event_streams'
58
58
 
59
- GEM_VERSION = '1.21.0'
59
+ GEM_VERSION = '1.23.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -254,11 +254,13 @@ module Aws
254
254
  def created_at: () -> ::Time
255
255
  def view_port: () -> Types::ViewPort
256
256
  def extensions: () -> ::Array[Types::BrowserExtension]
257
+ def enterprise_policies: () -> ::Array[Types::BrowserEnterprisePolicy]
257
258
  def profile_configuration: () -> Types::BrowserProfileConfiguration
258
259
  def session_timeout_seconds: () -> ::Integer
259
260
  def status: () -> ("READY" | "TERMINATED")
260
261
  def streams: () -> Types::BrowserSessionStream
261
262
  def proxy_configuration: () -> Types::ProxyConfiguration
263
+ def certificates: () -> ::Array[Types::Certificate]
262
264
  def session_replay_artifact: () -> ::String
263
265
  def last_updated_at: () -> ::Time
264
266
  end
@@ -277,6 +279,7 @@ module Aws
277
279
  def created_at: () -> ::Time
278
280
  def session_timeout_seconds: () -> ::Integer
279
281
  def status: () -> ("READY" | "TERMINATED")
282
+ def certificates: () -> ::Array[Types::Certificate]
280
283
  end
281
284
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#get_code_interpreter_session-instance_method
282
285
  def get_code_interpreter_session: (
@@ -462,7 +465,8 @@ module Aws
462
465
  },
463
466
  ]?,
464
467
  directory_path: ::String?,
465
- task_id: ::String?
468
+ task_id: ::String?,
469
+ runtime: ("nodejs" | "deno" | "python")?
466
470
  }
467
471
  ) ?{ (*untyped) -> void } -> _InvokeCodeInterpreterResponseSuccess
468
472
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeCodeInterpreterResponseSuccess
@@ -692,6 +696,27 @@ module Aws
692
696
  domain_patterns: Array[::String]?
693
697
  }?
694
698
  },
699
+ ?enterprise_policies: Array[
700
+ {
701
+ location: {
702
+ s3: {
703
+ bucket: ::String,
704
+ prefix: ::String,
705
+ version_id: ::String?
706
+ }?
707
+ },
708
+ type: ("MANAGED" | "RECOMMENDED")?
709
+ },
710
+ ],
711
+ ?certificates: Array[
712
+ {
713
+ location: {
714
+ secrets_manager: {
715
+ secret_arn: ::String
716
+ }?
717
+ }
718
+ },
719
+ ],
695
720
  ?client_token: ::String
696
721
  ) -> _StartBrowserSessionResponseSuccess
697
722
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBrowserSessionResponseSuccess
@@ -709,6 +734,15 @@ module Aws
709
734
  code_interpreter_identifier: ::String,
710
735
  ?name: ::String,
711
736
  ?session_timeout_seconds: ::Integer,
737
+ ?certificates: Array[
738
+ {
739
+ location: {
740
+ secrets_manager: {
741
+ secret_arn: ::String
742
+ }?
743
+ }
744
+ },
745
+ ],
712
746
  ?client_token: ::String
713
747
  ) -> _StartCodeInterpreterSessionResponseSuccess
714
748
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCodeInterpreterSessionResponseSuccess
data/sig/types.rbs CHANGED
@@ -84,6 +84,12 @@ module Aws::BedrockAgentCore
84
84
  SENSITIVE: []
85
85
  end
86
86
 
87
+ class BrowserEnterprisePolicy
88
+ attr_accessor location: Types::ResourceLocation
89
+ attr_accessor type: ("MANAGED" | "RECOMMENDED")
90
+ SENSITIVE: []
91
+ end
92
+
87
93
  class BrowserExtension
88
94
  attr_accessor location: Types::ResourceLocation
89
95
  SENSITIVE: []
@@ -110,6 +116,22 @@ module Aws::BedrockAgentCore
110
116
  SENSITIVE: []
111
117
  end
112
118
 
119
+ class Certificate
120
+ attr_accessor location: Types::CertificateLocation
121
+ SENSITIVE: []
122
+ end
123
+
124
+ class CertificateLocation
125
+ attr_accessor secrets_manager: Types::SecretsManagerLocation
126
+ attr_accessor unknown: untyped
127
+ SENSITIVE: []
128
+
129
+ class SecretsManager < CertificateLocation
130
+ end
131
+ class Unknown < CertificateLocation
132
+ end
133
+ end
134
+
113
135
  class CodeInterpreterResult
114
136
  attr_accessor content: ::Array[Types::ContentBlock]
115
137
  attr_accessor structured_content: Types::ToolResultStructuredContent
@@ -391,11 +413,13 @@ module Aws::BedrockAgentCore
391
413
  attr_accessor created_at: ::Time
392
414
  attr_accessor view_port: Types::ViewPort
393
415
  attr_accessor extensions: ::Array[Types::BrowserExtension]
416
+ attr_accessor enterprise_policies: ::Array[Types::BrowserEnterprisePolicy]
394
417
  attr_accessor profile_configuration: Types::BrowserProfileConfiguration
395
418
  attr_accessor session_timeout_seconds: ::Integer
396
419
  attr_accessor status: ("READY" | "TERMINATED")
397
420
  attr_accessor streams: Types::BrowserSessionStream
398
421
  attr_accessor proxy_configuration: Types::ProxyConfiguration
422
+ attr_accessor certificates: ::Array[Types::Certificate]
399
423
  attr_accessor session_replay_artifact: ::String
400
424
  attr_accessor last_updated_at: ::Time
401
425
  SENSITIVE: []
@@ -414,6 +438,7 @@ module Aws::BedrockAgentCore
414
438
  attr_accessor created_at: ::Time
415
439
  attr_accessor session_timeout_seconds: ::Integer
416
440
  attr_accessor status: ("READY" | "TERMINATED")
441
+ attr_accessor certificates: ::Array[Types::Certificate]
417
442
  SENSITIVE: []
418
443
  end
419
444
 
@@ -960,6 +985,11 @@ module Aws::BedrockAgentCore
960
985
  SENSITIVE: [:search_query]
961
986
  end
962
987
 
988
+ class SecretsManagerLocation
989
+ attr_accessor secret_arn: ::String
990
+ SENSITIVE: []
991
+ end
992
+
963
993
  class ServiceException
964
994
  attr_accessor message: ::String
965
995
  SENSITIVE: []
@@ -995,6 +1025,8 @@ module Aws::BedrockAgentCore
995
1025
  attr_accessor extensions: ::Array[Types::BrowserExtension]
996
1026
  attr_accessor profile_configuration: Types::BrowserProfileConfiguration
997
1027
  attr_accessor proxy_configuration: Types::ProxyConfiguration
1028
+ attr_accessor enterprise_policies: ::Array[Types::BrowserEnterprisePolicy]
1029
+ attr_accessor certificates: ::Array[Types::Certificate]
998
1030
  attr_accessor client_token: ::String
999
1031
  SENSITIVE: []
1000
1032
  end
@@ -1013,6 +1045,7 @@ module Aws::BedrockAgentCore
1013
1045
  attr_accessor code_interpreter_identifier: ::String
1014
1046
  attr_accessor name: ::String
1015
1047
  attr_accessor session_timeout_seconds: ::Integer
1048
+ attr_accessor certificates: ::Array[Types::Certificate]
1016
1049
  attr_accessor client_token: ::String
1017
1050
  SENSITIVE: []
1018
1051
  end
@@ -1121,6 +1154,7 @@ module Aws::BedrockAgentCore
1121
1154
  attr_accessor content: ::Array[Types::InputContentBlock]
1122
1155
  attr_accessor directory_path: ::String
1123
1156
  attr_accessor task_id: ::String
1157
+ attr_accessor runtime: ("nodejs" | "deno" | "python")
1124
1158
  SENSITIVE: []
1125
1159
  end
1126
1160
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagentcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services