aws-sdk-bedrockagentcore 1.21.0 → 1.22.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: c287b59ab52fd5499281187aff3f044e0450d1b2b584a7e68cfb7d57a185090a
4
+ data.tar.gz: 51c9490688c248761cc60913fe4f2e0e9bac4cd6641f6c828fe676b2671644f9
5
5
  SHA512:
6
- metadata.gz: 660a660ffc1481ef9e3f104b4d18cf7750821485f4d58b5b0972c0e2838f2e60ea7a86aca2f8bd46ce0a5304d6f6ed521502c9464fc80627fd2a71ce2ce9cca7
7
- data.tar.gz: 971d59b2888615607612cce8977a7d7a44b2892d462aea94d02bd7ce45fc99840241224ed167797b3a4017a028edf767d93536bfd24dc77d4276e1f33893a85f
6
+ metadata.gz: 34b04a97d30d097f85aefb5651cad9013b9a188cb173e32b8df30bdf6ee00039d50a588deb839539b4121360812e630e018cba2dfb3df21b09414db1447baa2b
7
+ data.tar.gz: a8dc8a594b59c1a9209b961c524935e851da30740c553cd7bc42dd30df46fc55336b0a9156a8a3ef278bdbbfbe2ed20e58f8d66480faffb7525061ad0018b2e1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.22.0 (2026-03-19)
5
+ ------------------
6
+
7
+ * 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
8
+
4
9
  1.21.0 (2026-03-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.21.0
1
+ 1.22.0
@@ -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
  #
@@ -2953,6 +2965,12 @@ module Aws::BedrockAgentCore
2953
2965
  # domain-based routing rules. Requires `secretsmanager:GetSecretValue`
2954
2966
  # IAM permission for the specified secret ARNs.
2955
2967
  #
2968
+ # @option params [Array<Types::BrowserEnterprisePolicy>] :enterprise_policies
2969
+ # A list of files containing enterprise policies for the browser.
2970
+ #
2971
+ # @option params [Array<Types::Certificate>] :certificates
2972
+ # A list of certificates to install in the browser session.
2973
+ #
2956
2974
  # @option params [String] :client_token
2957
2975
  # A unique, case-sensitive identifier to ensure that the API request
2958
2976
  # completes no more than one time. If this token matches a previous
@@ -3015,6 +3033,27 @@ module Aws::BedrockAgentCore
3015
3033
  # domain_patterns: ["DomainPattern"],
3016
3034
  # },
3017
3035
  # },
3036
+ # enterprise_policies: [
3037
+ # {
3038
+ # location: { # required
3039
+ # s3: {
3040
+ # bucket: "S3LocationBucketString", # required
3041
+ # prefix: "S3LocationPrefixString", # required
3042
+ # version_id: "S3LocationVersionIdString",
3043
+ # },
3044
+ # },
3045
+ # type: "MANAGED", # accepts MANAGED, RECOMMENDED
3046
+ # },
3047
+ # ],
3048
+ # certificates: [
3049
+ # {
3050
+ # location: { # required
3051
+ # secrets_manager: {
3052
+ # secret_arn: "SecretArn", # required
3053
+ # },
3054
+ # },
3055
+ # },
3056
+ # ],
3018
3057
  # client_token: "ClientToken",
3019
3058
  # })
3020
3059
  #
@@ -3080,6 +3119,9 @@ module Aws::BedrockAgentCore
3080
3119
  # 900 seconds (15 minutes). Recommended minimum: 60 seconds. Maximum
3081
3120
  # allowed: 28,800 seconds (8 hours).
3082
3121
  #
3122
+ # @option params [Array<Types::Certificate>] :certificates
3123
+ # A list of certificates to install in the code interpreter session.
3124
+ #
3083
3125
  # @option params [String] :client_token
3084
3126
  # A unique, case-sensitive identifier to ensure that the API request
3085
3127
  # completes no more than one time. If this token matches a previous
@@ -3104,6 +3146,15 @@ module Aws::BedrockAgentCore
3104
3146
  # code_interpreter_identifier: "String", # required
3105
3147
  # name: "Name",
3106
3148
  # session_timeout_seconds: 1,
3149
+ # certificates: [
3150
+ # {
3151
+ # location: { # required
3152
+ # secrets_manager: {
3153
+ # secret_arn: "SecretArn", # required
3154
+ # },
3155
+ # },
3156
+ # },
3157
+ # ],
3107
3158
  # client_token: "ClientToken",
3108
3159
  # })
3109
3160
  #
@@ -3441,7 +3492,7 @@ module Aws::BedrockAgentCore
3441
3492
  tracer: tracer
3442
3493
  )
3443
3494
  context[:gem_name] = 'aws-sdk-bedrockagentcore'
3444
- context[:gem_version] = '1.21.0'
3495
+ context[:gem_version] = '1.22.0'
3445
3496
  Seahorse::Client::Request.new(handlers, context)
3446
3497
  end
3447
3498
 
@@ -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')
@@ -252,6 +258,7 @@ module Aws::BedrockAgentCore
252
258
  SearchCriteriaSearchQueryString = Shapes::StringShape.new(name: 'SearchCriteriaSearchQueryString')
253
259
  SearchCriteriaTopKInteger = Shapes::IntegerShape.new(name: 'SearchCriteriaTopKInteger')
254
260
  SecretArn = Shapes::StringShape.new(name: 'SecretArn')
261
+ SecretsManagerLocation = Shapes::StructureShape.new(name: 'SecretsManagerLocation')
255
262
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
256
263
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
257
264
  SessionId = Shapes::StringShape.new(name: 'SessionId')
@@ -366,6 +373,12 @@ module Aws::BedrockAgentCore
366
373
  BranchFilter.add_member(:include_parent_branches, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeParentBranches"))
367
374
  BranchFilter.struct_class = Types::BranchFilter
368
375
 
376
+ BrowserEnterprisePolicies.member = Shapes::ShapeRef.new(shape: BrowserEnterprisePolicy)
377
+
378
+ BrowserEnterprisePolicy.add_member(:location, Shapes::ShapeRef.new(shape: ResourceLocation, required: true, location_name: "location"))
379
+ BrowserEnterprisePolicy.add_member(:type, Shapes::ShapeRef.new(shape: BrowserEnterprisePolicyType, location_name: "type"))
380
+ BrowserEnterprisePolicy.struct_class = Types::BrowserEnterprisePolicy
381
+
369
382
  BrowserExtension.add_member(:location, Shapes::ShapeRef.new(shape: ResourceLocation, required: true, location_name: "location"))
370
383
  BrowserExtension.struct_class = Types::BrowserExtension
371
384
 
@@ -388,6 +401,17 @@ module Aws::BedrockAgentCore
388
401
  BrowserSessionSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "lastUpdatedAt"))
389
402
  BrowserSessionSummary.struct_class = Types::BrowserSessionSummary
390
403
 
404
+ Certificate.add_member(:location, Shapes::ShapeRef.new(shape: CertificateLocation, required: true, location_name: "location"))
405
+ Certificate.struct_class = Types::Certificate
406
+
407
+ CertificateLocation.add_member(:secrets_manager, Shapes::ShapeRef.new(shape: SecretsManagerLocation, location_name: "secretsManager"))
408
+ CertificateLocation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
409
+ CertificateLocation.add_member_subclass(:secrets_manager, Types::CertificateLocation::SecretsManager)
410
+ CertificateLocation.add_member_subclass(:unknown, Types::CertificateLocation::Unknown)
411
+ CertificateLocation.struct_class = Types::CertificateLocation
412
+
413
+ Certificates.member = Shapes::ShapeRef.new(shape: Certificate)
414
+
391
415
  CodeInterpreterResult.add_member(:content, Shapes::ShapeRef.new(shape: ContentBlockList, required: true, location_name: "content"))
392
416
  CodeInterpreterResult.add_member(:structured_content, Shapes::ShapeRef.new(shape: ToolResultStructuredContent, location_name: "structuredContent"))
393
417
  CodeInterpreterResult.add_member(:is_error, Shapes::ShapeRef.new(shape: Boolean, location_name: "isError"))
@@ -611,11 +635,13 @@ module Aws::BedrockAgentCore
611
635
  GetBrowserSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
612
636
  GetBrowserSessionResponse.add_member(:view_port, Shapes::ShapeRef.new(shape: ViewPort, location_name: "viewPort"))
613
637
  GetBrowserSessionResponse.add_member(:extensions, Shapes::ShapeRef.new(shape: BrowserExtensions, location_name: "extensions"))
638
+ GetBrowserSessionResponse.add_member(:enterprise_policies, Shapes::ShapeRef.new(shape: BrowserEnterprisePolicies, location_name: "enterprisePolicies"))
614
639
  GetBrowserSessionResponse.add_member(:profile_configuration, Shapes::ShapeRef.new(shape: BrowserProfileConfiguration, location_name: "profileConfiguration"))
615
640
  GetBrowserSessionResponse.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: BrowserSessionTimeout, location_name: "sessionTimeoutSeconds"))
616
641
  GetBrowserSessionResponse.add_member(:status, Shapes::ShapeRef.new(shape: BrowserSessionStatus, location_name: "status"))
617
642
  GetBrowserSessionResponse.add_member(:streams, Shapes::ShapeRef.new(shape: BrowserSessionStream, location_name: "streams"))
618
643
  GetBrowserSessionResponse.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
644
+ GetBrowserSessionResponse.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "certificates"))
619
645
  GetBrowserSessionResponse.add_member(:session_replay_artifact, Shapes::ShapeRef.new(shape: String, location_name: "sessionReplayArtifact"))
620
646
  GetBrowserSessionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "lastUpdatedAt"))
621
647
  GetBrowserSessionResponse.struct_class = Types::GetBrowserSessionResponse
@@ -630,6 +656,7 @@ module Aws::BedrockAgentCore
630
656
  GetCodeInterpreterSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
631
657
  GetCodeInterpreterSessionResponse.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: CodeInterpreterSessionTimeout, location_name: "sessionTimeoutSeconds"))
632
658
  GetCodeInterpreterSessionResponse.add_member(:status, Shapes::ShapeRef.new(shape: CodeInterpreterSessionStatus, location_name: "status"))
659
+ GetCodeInterpreterSessionResponse.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "certificates"))
633
660
  GetCodeInterpreterSessionResponse.struct_class = Types::GetCodeInterpreterSessionResponse
634
661
 
635
662
  GetEventInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
@@ -1057,6 +1084,9 @@ module Aws::BedrockAgentCore
1057
1084
  SearchCriteria.add_member(:metadata_filters, Shapes::ShapeRef.new(shape: MemoryMetadataFilterList, location_name: "metadataFilters"))
1058
1085
  SearchCriteria.struct_class = Types::SearchCriteria
1059
1086
 
1087
+ SecretsManagerLocation.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "secretArn"))
1088
+ SecretsManagerLocation.struct_class = Types::SecretsManagerLocation
1089
+
1060
1090
  ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
1061
1091
  ServiceException.struct_class = Types::ServiceException
1062
1092
 
@@ -1088,6 +1118,8 @@ module Aws::BedrockAgentCore
1088
1118
  StartBrowserSessionRequest.add_member(:extensions, Shapes::ShapeRef.new(shape: BrowserExtensions, location_name: "extensions"))
1089
1119
  StartBrowserSessionRequest.add_member(:profile_configuration, Shapes::ShapeRef.new(shape: BrowserProfileConfiguration, location_name: "profileConfiguration"))
1090
1120
  StartBrowserSessionRequest.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
1121
+ StartBrowserSessionRequest.add_member(:enterprise_policies, Shapes::ShapeRef.new(shape: BrowserEnterprisePolicies, location_name: "enterprisePolicies"))
1122
+ StartBrowserSessionRequest.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "certificates"))
1091
1123
  StartBrowserSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
1092
1124
  StartBrowserSessionRequest.struct_class = Types::StartBrowserSessionRequest
1093
1125
 
@@ -1102,6 +1134,7 @@ module Aws::BedrockAgentCore
1102
1134
  StartCodeInterpreterSessionRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
1103
1135
  StartCodeInterpreterSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
1104
1136
  StartCodeInterpreterSessionRequest.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: CodeInterpreterSessionTimeout, location_name: "sessionTimeoutSeconds"))
1137
+ StartCodeInterpreterSessionRequest.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "certificates"))
1105
1138
  StartCodeInterpreterSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
1106
1139
  StartCodeInterpreterSessionRequest.struct_class = Types::StartCodeInterpreterSessionRequest
1107
1140
 
@@ -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
@@ -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
@@ -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.22.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: (
@@ -692,6 +695,27 @@ module Aws
692
695
  domain_patterns: Array[::String]?
693
696
  }?
694
697
  },
698
+ ?enterprise_policies: Array[
699
+ {
700
+ location: {
701
+ s3: {
702
+ bucket: ::String,
703
+ prefix: ::String,
704
+ version_id: ::String?
705
+ }?
706
+ },
707
+ type: ("MANAGED" | "RECOMMENDED")?
708
+ },
709
+ ],
710
+ ?certificates: Array[
711
+ {
712
+ location: {
713
+ secrets_manager: {
714
+ secret_arn: ::String
715
+ }?
716
+ }
717
+ },
718
+ ],
695
719
  ?client_token: ::String
696
720
  ) -> _StartBrowserSessionResponseSuccess
697
721
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBrowserSessionResponseSuccess
@@ -709,6 +733,15 @@ module Aws
709
733
  code_interpreter_identifier: ::String,
710
734
  ?name: ::String,
711
735
  ?session_timeout_seconds: ::Integer,
736
+ ?certificates: Array[
737
+ {
738
+ location: {
739
+ secrets_manager: {
740
+ secret_arn: ::String
741
+ }?
742
+ }
743
+ },
744
+ ],
712
745
  ?client_token: ::String
713
746
  ) -> _StartCodeInterpreterSessionResponseSuccess
714
747
  | (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
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.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services