aws-sdk-bedrockagentcore 1.18.0 → 1.19.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-bedrockagentcore/client.rb +36 -1
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +46 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +177 -0
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +20 -0
- data/sig/types.rbs +48 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c047c703a0ae7e8f52fc6a21180661f2d490769b7839784702a4e12075fa7524
|
|
4
|
+
data.tar.gz: b05100a80f4adeca168ba2b441e6f733d741c6809cfe5a17e0a943f5c7653c1f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2b3fecd3b8dfe858fb8aedb18f71bd8134fb4f1cc54629204823abef71a6c4097cd842cc5d3b730cb96a1d253047943ed09b59b988c144a01085de22d274fcc
|
|
7
|
+
data.tar.gz: 77788c54c669de649cfa1ca453103efa529a3c0b6b68d11baa1cc7669abb2b583c6f876b12ad0c608c1756534b8e58db175ba1da4062ac1a0502f16fa72cf3cf
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.19.0 (2026-02-10)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added AgentCore browser proxy configuration support, allowing routing of browser traffic through HTTP and HTTPS proxy servers with authentication and bypass rules.
|
|
8
|
+
|
|
4
9
|
1.18.0 (2026-02-05)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.19.0
|
|
@@ -1033,6 +1033,7 @@ module Aws::BedrockAgentCore
|
|
|
1033
1033
|
# * {Types::GetBrowserSessionResponse#session_timeout_seconds #session_timeout_seconds} => Integer
|
|
1034
1034
|
# * {Types::GetBrowserSessionResponse#status #status} => String
|
|
1035
1035
|
# * {Types::GetBrowserSessionResponse#streams #streams} => Types::BrowserSessionStream
|
|
1036
|
+
# * {Types::GetBrowserSessionResponse#proxy_configuration #proxy_configuration} => Types::ProxyConfiguration
|
|
1036
1037
|
# * {Types::GetBrowserSessionResponse#session_replay_artifact #session_replay_artifact} => String
|
|
1037
1038
|
# * {Types::GetBrowserSessionResponse#last_updated_at #last_updated_at} => Time
|
|
1038
1039
|
#
|
|
@@ -1061,6 +1062,14 @@ module Aws::BedrockAgentCore
|
|
|
1061
1062
|
# resp.streams.automation_stream.stream_endpoint #=> String
|
|
1062
1063
|
# resp.streams.automation_stream.stream_status #=> String, one of "ENABLED", "DISABLED"
|
|
1063
1064
|
# resp.streams.live_view_stream.stream_endpoint #=> String
|
|
1065
|
+
# resp.proxy_configuration.proxies #=> Array
|
|
1066
|
+
# resp.proxy_configuration.proxies[0].external_proxy.server #=> String
|
|
1067
|
+
# resp.proxy_configuration.proxies[0].external_proxy.port #=> Integer
|
|
1068
|
+
# resp.proxy_configuration.proxies[0].external_proxy.domain_patterns #=> Array
|
|
1069
|
+
# resp.proxy_configuration.proxies[0].external_proxy.domain_patterns[0] #=> String
|
|
1070
|
+
# resp.proxy_configuration.proxies[0].external_proxy.credentials.basic_auth.secret_arn #=> String
|
|
1071
|
+
# resp.proxy_configuration.bypass.domain_patterns #=> Array
|
|
1072
|
+
# resp.proxy_configuration.bypass.domain_patterns[0] #=> String
|
|
1064
1073
|
# resp.session_replay_artifact #=> String
|
|
1065
1074
|
# resp.last_updated_at #=> Time
|
|
1066
1075
|
#
|
|
@@ -2638,6 +2647,13 @@ module Aws::BedrockAgentCore
|
|
|
2638
2647
|
# continuity for tasks that require authentication or personalized
|
|
2639
2648
|
# settings.
|
|
2640
2649
|
#
|
|
2650
|
+
# @option params [Types::ProxyConfiguration] :proxy_configuration
|
|
2651
|
+
# Optional proxy configuration for routing browser traffic through
|
|
2652
|
+
# customer-specified proxy servers. When provided, enables HTTP Basic
|
|
2653
|
+
# authentication via Amazon Web Services Secrets Manager and
|
|
2654
|
+
# domain-based routing rules. Requires `secretsmanager:GetSecretValue`
|
|
2655
|
+
# IAM permission for the specified secret ARNs.
|
|
2656
|
+
#
|
|
2641
2657
|
# @option params [String] :client_token
|
|
2642
2658
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
2643
2659
|
# completes no more than one time. If this token matches a previous
|
|
@@ -2681,6 +2697,25 @@ module Aws::BedrockAgentCore
|
|
|
2681
2697
|
# profile_configuration: {
|
|
2682
2698
|
# profile_identifier: "BrowserProfileId", # required
|
|
2683
2699
|
# },
|
|
2700
|
+
# proxy_configuration: {
|
|
2701
|
+
# proxies: [ # required
|
|
2702
|
+
# {
|
|
2703
|
+
# external_proxy: {
|
|
2704
|
+
# server: "HostName", # required
|
|
2705
|
+
# port: 1, # required
|
|
2706
|
+
# domain_patterns: ["DomainPattern"],
|
|
2707
|
+
# credentials: {
|
|
2708
|
+
# basic_auth: {
|
|
2709
|
+
# secret_arn: "SecretArn", # required
|
|
2710
|
+
# },
|
|
2711
|
+
# },
|
|
2712
|
+
# },
|
|
2713
|
+
# },
|
|
2714
|
+
# ],
|
|
2715
|
+
# bypass: {
|
|
2716
|
+
# domain_patterns: ["DomainPattern"],
|
|
2717
|
+
# },
|
|
2718
|
+
# },
|
|
2684
2719
|
# client_token: "ClientToken",
|
|
2685
2720
|
# })
|
|
2686
2721
|
#
|
|
@@ -3107,7 +3142,7 @@ module Aws::BedrockAgentCore
|
|
|
3107
3142
|
tracer: tracer
|
|
3108
3143
|
)
|
|
3109
3144
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
3110
|
-
context[:gem_version] = '1.
|
|
3145
|
+
context[:gem_version] = '1.19.0'
|
|
3111
3146
|
Seahorse::Client::Request.new(handlers, context)
|
|
3112
3147
|
end
|
|
3113
3148
|
|
|
@@ -25,6 +25,7 @@ module Aws::BedrockAgentCore
|
|
|
25
25
|
AutomationStream = Shapes::StructureShape.new(name: 'AutomationStream')
|
|
26
26
|
AutomationStreamStatus = Shapes::StringShape.new(name: 'AutomationStreamStatus')
|
|
27
27
|
AutomationStreamUpdate = Shapes::StructureShape.new(name: 'AutomationStreamUpdate')
|
|
28
|
+
BasicAuth = Shapes::StructureShape.new(name: 'BasicAuth')
|
|
28
29
|
BatchCreateMemoryRecordsInput = Shapes::StructureShape.new(name: 'BatchCreateMemoryRecordsInput')
|
|
29
30
|
BatchCreateMemoryRecordsOutput = Shapes::StructureShape.new(name: 'BatchCreateMemoryRecordsOutput')
|
|
30
31
|
BatchDeleteMemoryRecordsInput = Shapes::StructureShape.new(name: 'BatchDeleteMemoryRecordsInput')
|
|
@@ -78,6 +79,8 @@ module Aws::BedrockAgentCore
|
|
|
78
79
|
DeleteMemoryRecordInput = Shapes::StructureShape.new(name: 'DeleteMemoryRecordInput')
|
|
79
80
|
DeleteMemoryRecordOutput = Shapes::StructureShape.new(name: 'DeleteMemoryRecordOutput')
|
|
80
81
|
Document = Shapes::DocumentShape.new(name: 'Document', document: true)
|
|
82
|
+
DomainPattern = Shapes::StringShape.new(name: 'DomainPattern')
|
|
83
|
+
DomainPatterns = Shapes::ListShape.new(name: 'DomainPatterns')
|
|
81
84
|
Double = Shapes::FloatShape.new(name: 'Double')
|
|
82
85
|
DuplicateIdException = Shapes::StructureShape.new(name: 'DuplicateIdException')
|
|
83
86
|
EvaluateRequest = Shapes::StructureShape.new(name: 'EvaluateRequest')
|
|
@@ -97,6 +100,8 @@ module Aws::BedrockAgentCore
|
|
|
97
100
|
EventList = Shapes::ListShape.new(name: 'EventList')
|
|
98
101
|
EventMetadataFilterExpression = Shapes::StructureShape.new(name: 'EventMetadataFilterExpression')
|
|
99
102
|
EventMetadataFilterList = Shapes::ListShape.new(name: 'EventMetadataFilterList')
|
|
103
|
+
ExternalProxy = Shapes::StructureShape.new(name: 'ExternalProxy')
|
|
104
|
+
ExternalProxyPortInteger = Shapes::IntegerShape.new(name: 'ExternalProxyPortInteger')
|
|
100
105
|
ExtractionJob = Shapes::StructureShape.new(name: 'ExtractionJob')
|
|
101
106
|
ExtractionJobFilterInput = Shapes::StructureShape.new(name: 'ExtractionJobFilterInput')
|
|
102
107
|
ExtractionJobMessages = Shapes::UnionShape.new(name: 'ExtractionJobMessages')
|
|
@@ -124,6 +129,7 @@ module Aws::BedrockAgentCore
|
|
|
124
129
|
GetWorkloadAccessTokenForUserIdResponse = Shapes::StructureShape.new(name: 'GetWorkloadAccessTokenForUserIdResponse')
|
|
125
130
|
GetWorkloadAccessTokenRequest = Shapes::StructureShape.new(name: 'GetWorkloadAccessTokenRequest')
|
|
126
131
|
GetWorkloadAccessTokenResponse = Shapes::StructureShape.new(name: 'GetWorkloadAccessTokenResponse')
|
|
132
|
+
HostName = Shapes::StringShape.new(name: 'HostName')
|
|
127
133
|
HttpResponseCode = Shapes::IntegerShape.new(name: 'HttpResponseCode')
|
|
128
134
|
InputContentBlock = Shapes::StructureShape.new(name: 'InputContentBlock')
|
|
129
135
|
InputContentBlockList = Shapes::ListShape.new(name: 'InputContentBlockList')
|
|
@@ -198,6 +204,11 @@ module Aws::BedrockAgentCore
|
|
|
198
204
|
PayloadType = Shapes::UnionShape.new(name: 'PayloadType')
|
|
199
205
|
PayloadTypeList = Shapes::ListShape.new(name: 'PayloadTypeList')
|
|
200
206
|
ProgrammingLanguage = Shapes::StringShape.new(name: 'ProgrammingLanguage')
|
|
207
|
+
Proxy = Shapes::UnionShape.new(name: 'Proxy')
|
|
208
|
+
ProxyBypass = Shapes::StructureShape.new(name: 'ProxyBypass')
|
|
209
|
+
ProxyConfiguration = Shapes::StructureShape.new(name: 'ProxyConfiguration')
|
|
210
|
+
ProxyConfigurationProxiesList = Shapes::ListShape.new(name: 'ProxyConfigurationProxiesList')
|
|
211
|
+
ProxyCredentials = Shapes::UnionShape.new(name: 'ProxyCredentials')
|
|
201
212
|
RequestIdentifier = Shapes::StringShape.new(name: 'RequestIdentifier')
|
|
202
213
|
RequestUri = Shapes::StringShape.new(name: 'RequestUri')
|
|
203
214
|
ResourceContent = Shapes::StructureShape.new(name: 'ResourceContent')
|
|
@@ -225,6 +236,7 @@ module Aws::BedrockAgentCore
|
|
|
225
236
|
SearchCriteria = Shapes::StructureShape.new(name: 'SearchCriteria')
|
|
226
237
|
SearchCriteriaSearchQueryString = Shapes::StringShape.new(name: 'SearchCriteriaSearchQueryString')
|
|
227
238
|
SearchCriteriaTopKInteger = Shapes::IntegerShape.new(name: 'SearchCriteriaTopKInteger')
|
|
239
|
+
SecretArn = Shapes::StringShape.new(name: 'SecretArn')
|
|
228
240
|
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
|
229
241
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
230
242
|
SessionId = Shapes::StringShape.new(name: 'SessionId')
|
|
@@ -303,6 +315,9 @@ module Aws::BedrockAgentCore
|
|
|
303
315
|
AutomationStreamUpdate.add_member(:stream_status, Shapes::ShapeRef.new(shape: AutomationStreamStatus, location_name: "streamStatus"))
|
|
304
316
|
AutomationStreamUpdate.struct_class = Types::AutomationStreamUpdate
|
|
305
317
|
|
|
318
|
+
BasicAuth.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "secretArn"))
|
|
319
|
+
BasicAuth.struct_class = Types::BasicAuth
|
|
320
|
+
|
|
306
321
|
BatchCreateMemoryRecordsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
|
|
307
322
|
BatchCreateMemoryRecordsInput.add_member(:records, Shapes::ShapeRef.new(shape: MemoryRecordsCreateInputList, required: true, location_name: "records"))
|
|
308
323
|
BatchCreateMemoryRecordsInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
@@ -453,6 +468,8 @@ module Aws::BedrockAgentCore
|
|
|
453
468
|
DeleteMemoryRecordOutput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
|
|
454
469
|
DeleteMemoryRecordOutput.struct_class = Types::DeleteMemoryRecordOutput
|
|
455
470
|
|
|
471
|
+
DomainPatterns.member = Shapes::ShapeRef.new(shape: DomainPattern)
|
|
472
|
+
|
|
456
473
|
DuplicateIdException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
457
474
|
DuplicateIdException.struct_class = Types::DuplicateIdException
|
|
458
475
|
|
|
@@ -511,6 +528,12 @@ module Aws::BedrockAgentCore
|
|
|
511
528
|
|
|
512
529
|
EventMetadataFilterList.member = Shapes::ShapeRef.new(shape: EventMetadataFilterExpression)
|
|
513
530
|
|
|
531
|
+
ExternalProxy.add_member(:server, Shapes::ShapeRef.new(shape: HostName, required: true, location_name: "server"))
|
|
532
|
+
ExternalProxy.add_member(:port, Shapes::ShapeRef.new(shape: ExternalProxyPortInteger, required: true, location_name: "port"))
|
|
533
|
+
ExternalProxy.add_member(:domain_patterns, Shapes::ShapeRef.new(shape: DomainPatterns, location_name: "domainPatterns"))
|
|
534
|
+
ExternalProxy.add_member(:credentials, Shapes::ShapeRef.new(shape: ProxyCredentials, location_name: "credentials"))
|
|
535
|
+
ExternalProxy.struct_class = Types::ExternalProxy
|
|
536
|
+
|
|
514
537
|
ExtractionJob.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
|
515
538
|
ExtractionJob.struct_class = Types::ExtractionJob
|
|
516
539
|
|
|
@@ -567,6 +590,7 @@ module Aws::BedrockAgentCore
|
|
|
567
590
|
GetBrowserSessionResponse.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: BrowserSessionTimeout, location_name: "sessionTimeoutSeconds"))
|
|
568
591
|
GetBrowserSessionResponse.add_member(:status, Shapes::ShapeRef.new(shape: BrowserSessionStatus, location_name: "status"))
|
|
569
592
|
GetBrowserSessionResponse.add_member(:streams, Shapes::ShapeRef.new(shape: BrowserSessionStream, location_name: "streams"))
|
|
593
|
+
GetBrowserSessionResponse.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
|
|
570
594
|
GetBrowserSessionResponse.add_member(:session_replay_artifact, Shapes::ShapeRef.new(shape: String, location_name: "sessionReplayArtifact"))
|
|
571
595
|
GetBrowserSessionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "lastUpdatedAt"))
|
|
572
596
|
GetBrowserSessionResponse.struct_class = Types::GetBrowserSessionResponse
|
|
@@ -875,6 +899,27 @@ module Aws::BedrockAgentCore
|
|
|
875
899
|
|
|
876
900
|
PayloadTypeList.member = Shapes::ShapeRef.new(shape: PayloadType)
|
|
877
901
|
|
|
902
|
+
Proxy.add_member(:external_proxy, Shapes::ShapeRef.new(shape: ExternalProxy, location_name: "externalProxy"))
|
|
903
|
+
Proxy.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
904
|
+
Proxy.add_member_subclass(:external_proxy, Types::Proxy::ExternalProxy)
|
|
905
|
+
Proxy.add_member_subclass(:unknown, Types::Proxy::Unknown)
|
|
906
|
+
Proxy.struct_class = Types::Proxy
|
|
907
|
+
|
|
908
|
+
ProxyBypass.add_member(:domain_patterns, Shapes::ShapeRef.new(shape: DomainPatterns, location_name: "domainPatterns"))
|
|
909
|
+
ProxyBypass.struct_class = Types::ProxyBypass
|
|
910
|
+
|
|
911
|
+
ProxyConfiguration.add_member(:proxies, Shapes::ShapeRef.new(shape: ProxyConfigurationProxiesList, required: true, location_name: "proxies"))
|
|
912
|
+
ProxyConfiguration.add_member(:bypass, Shapes::ShapeRef.new(shape: ProxyBypass, location_name: "bypass"))
|
|
913
|
+
ProxyConfiguration.struct_class = Types::ProxyConfiguration
|
|
914
|
+
|
|
915
|
+
ProxyConfigurationProxiesList.member = Shapes::ShapeRef.new(shape: Proxy)
|
|
916
|
+
|
|
917
|
+
ProxyCredentials.add_member(:basic_auth, Shapes::ShapeRef.new(shape: BasicAuth, location_name: "basicAuth"))
|
|
918
|
+
ProxyCredentials.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
919
|
+
ProxyCredentials.add_member_subclass(:basic_auth, Types::ProxyCredentials::BasicAuth)
|
|
920
|
+
ProxyCredentials.add_member_subclass(:unknown, Types::ProxyCredentials::Unknown)
|
|
921
|
+
ProxyCredentials.struct_class = Types::ProxyCredentials
|
|
922
|
+
|
|
878
923
|
ResourceContent.add_member(:type, Shapes::ShapeRef.new(shape: ResourceContentType, required: true, location_name: "type"))
|
|
879
924
|
ResourceContent.add_member(:uri, Shapes::ShapeRef.new(shape: String, location_name: "uri"))
|
|
880
925
|
ResourceContent.add_member(:mime_type, Shapes::ShapeRef.new(shape: String, location_name: "mimeType"))
|
|
@@ -971,6 +1016,7 @@ module Aws::BedrockAgentCore
|
|
|
971
1016
|
StartBrowserSessionRequest.add_member(:view_port, Shapes::ShapeRef.new(shape: ViewPort, location_name: "viewPort"))
|
|
972
1017
|
StartBrowserSessionRequest.add_member(:extensions, Shapes::ShapeRef.new(shape: BrowserExtensions, location_name: "extensions"))
|
|
973
1018
|
StartBrowserSessionRequest.add_member(:profile_configuration, Shapes::ShapeRef.new(shape: BrowserProfileConfiguration, location_name: "profileConfiguration"))
|
|
1019
|
+
StartBrowserSessionRequest.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
|
|
974
1020
|
StartBrowserSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
975
1021
|
StartBrowserSessionRequest.struct_class = Types::StartBrowserSessionRequest
|
|
976
1022
|
|
|
@@ -82,6 +82,32 @@ module Aws::BedrockAgentCore
|
|
|
82
82
|
include Aws::Structure
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
+
# Configuration for HTTP Basic Authentication using credentials stored
|
|
86
|
+
# in Amazon Web Services Secrets Manager. The secret must contain a JSON
|
|
87
|
+
# object with `username` and `password` string fields. Username allows
|
|
88
|
+
# alphanumeric characters and `@._+=-` symbols (pattern:
|
|
89
|
+
# `^[a-zA-Z0-9@._+=\-]+$`). Password allows alphanumeric characters and
|
|
90
|
+
# `@._+=-!#$%&*` symbols (pattern: `^[a-zA-Z0-9@._+=\-!#$%&*]+$`). Both
|
|
91
|
+
# fields have a maximum length of 256 characters.
|
|
92
|
+
#
|
|
93
|
+
# @!attribute [rw] secret_arn
|
|
94
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
|
95
|
+
# Manager secret containing proxy credentials. The secret must be a
|
|
96
|
+
# JSON object with `username` and `password` string fields that meet
|
|
97
|
+
# validation requirements. The caller must have
|
|
98
|
+
# `secretsmanager:GetSecretValue` permission for this ARN. Example
|
|
99
|
+
# secret format: `{"username": "proxy_user", "password":
|
|
100
|
+
# "secure_password"}`
|
|
101
|
+
# @return [String]
|
|
102
|
+
#
|
|
103
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/BasicAuth AWS API Documentation
|
|
104
|
+
#
|
|
105
|
+
class BasicAuth < Struct.new(
|
|
106
|
+
:secret_arn)
|
|
107
|
+
SENSITIVE = []
|
|
108
|
+
include Aws::Structure
|
|
109
|
+
end
|
|
110
|
+
|
|
85
111
|
# @!attribute [rw] memory_id
|
|
86
112
|
# The unique ID of the memory resource where records will be created.
|
|
87
113
|
# @return [String]
|
|
@@ -1033,6 +1059,45 @@ module Aws::BedrockAgentCore
|
|
|
1033
1059
|
include Aws::Structure
|
|
1034
1060
|
end
|
|
1035
1061
|
|
|
1062
|
+
# Configuration for a customer-managed external proxy server. Includes
|
|
1063
|
+
# server location, optional domain-based routing patterns, and
|
|
1064
|
+
# authentication credentials.
|
|
1065
|
+
#
|
|
1066
|
+
# @!attribute [rw] server
|
|
1067
|
+
# The hostname of the proxy server. Must be a valid DNS hostname
|
|
1068
|
+
# (maximum 253 characters).
|
|
1069
|
+
# @return [String]
|
|
1070
|
+
#
|
|
1071
|
+
# @!attribute [rw] port
|
|
1072
|
+
# The port number of the proxy server. Valid range: 1-65535.
|
|
1073
|
+
# @return [Integer]
|
|
1074
|
+
#
|
|
1075
|
+
# @!attribute [rw] domain_patterns
|
|
1076
|
+
# Optional array of domain patterns that should route through this
|
|
1077
|
+
# specific proxy. Supports `.example.com` for subdomain matching
|
|
1078
|
+
# (matches any subdomain of example.com) or `example.com` for exact
|
|
1079
|
+
# domain matching. If omitted, this proxy acts as a catch-all for
|
|
1080
|
+
# domains not matched by other proxies. Maximum 100 patterns per
|
|
1081
|
+
# proxy, each up to 253 characters.
|
|
1082
|
+
# @return [Array<String>]
|
|
1083
|
+
#
|
|
1084
|
+
# @!attribute [rw] credentials
|
|
1085
|
+
# Optional authentication credentials for the proxy server. If
|
|
1086
|
+
# omitted, the proxy is accessed without authentication (useful for
|
|
1087
|
+
# IP-allowlisted proxies).
|
|
1088
|
+
# @return [Types::ProxyCredentials]
|
|
1089
|
+
#
|
|
1090
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ExternalProxy AWS API Documentation
|
|
1091
|
+
#
|
|
1092
|
+
class ExternalProxy < Struct.new(
|
|
1093
|
+
:server,
|
|
1094
|
+
:port,
|
|
1095
|
+
:domain_patterns,
|
|
1096
|
+
:credentials)
|
|
1097
|
+
SENSITIVE = []
|
|
1098
|
+
include Aws::Structure
|
|
1099
|
+
end
|
|
1100
|
+
|
|
1036
1101
|
# Represents the metadata of a memory extraction job such as the message
|
|
1037
1102
|
# identifiers that compose this job.
|
|
1038
1103
|
#
|
|
@@ -1281,6 +1346,14 @@ module Aws::BedrockAgentCore
|
|
|
1281
1346
|
# automation stream and live view stream.
|
|
1282
1347
|
# @return [Types::BrowserSessionStream]
|
|
1283
1348
|
#
|
|
1349
|
+
# @!attribute [rw] proxy_configuration
|
|
1350
|
+
# The active proxy configuration for this browser session. This field
|
|
1351
|
+
# is only present if proxy configuration was provided when the session
|
|
1352
|
+
# was started using `StartBrowserSession`. The configuration includes
|
|
1353
|
+
# proxy servers, domain bypass rules and the proxy authentication
|
|
1354
|
+
# credentials.
|
|
1355
|
+
# @return [Types::ProxyConfiguration]
|
|
1356
|
+
#
|
|
1284
1357
|
# @!attribute [rw] session_replay_artifact
|
|
1285
1358
|
# The artifact containing the session replay information.
|
|
1286
1359
|
# @return [String]
|
|
@@ -1302,6 +1375,7 @@ module Aws::BedrockAgentCore
|
|
|
1302
1375
|
:session_timeout_seconds,
|
|
1303
1376
|
:status,
|
|
1304
1377
|
:streams,
|
|
1378
|
+
:proxy_configuration,
|
|
1305
1379
|
:session_replay_artifact,
|
|
1306
1380
|
:last_updated_at)
|
|
1307
1381
|
SENSITIVE = []
|
|
@@ -2673,6 +2747,100 @@ module Aws::BedrockAgentCore
|
|
|
2673
2747
|
class Unknown < PayloadType; end
|
|
2674
2748
|
end
|
|
2675
2749
|
|
|
2750
|
+
# Union type representing different proxy configurations. Currently
|
|
2751
|
+
# supports external customer-managed proxies.
|
|
2752
|
+
#
|
|
2753
|
+
# @note Proxy is a union - when making an API calls you must set exactly one of the members.
|
|
2754
|
+
#
|
|
2755
|
+
# @note Proxy is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Proxy corresponding to the set member.
|
|
2756
|
+
#
|
|
2757
|
+
# @!attribute [rw] external_proxy
|
|
2758
|
+
# Configuration for an external customer-managed proxy server.
|
|
2759
|
+
# @return [Types::ExternalProxy]
|
|
2760
|
+
#
|
|
2761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/Proxy AWS API Documentation
|
|
2762
|
+
#
|
|
2763
|
+
class Proxy < Struct.new(
|
|
2764
|
+
:external_proxy,
|
|
2765
|
+
:unknown)
|
|
2766
|
+
SENSITIVE = []
|
|
2767
|
+
include Aws::Structure
|
|
2768
|
+
include Aws::Structure::Union
|
|
2769
|
+
|
|
2770
|
+
class ExternalProxy < Proxy; end
|
|
2771
|
+
class Unknown < Proxy; end
|
|
2772
|
+
end
|
|
2773
|
+
|
|
2774
|
+
# Configuration for domains that should bypass all proxies and connect
|
|
2775
|
+
# directly to the internet. These bypass rules take precedence over all
|
|
2776
|
+
# proxy routing rules.
|
|
2777
|
+
#
|
|
2778
|
+
# @!attribute [rw] domain_patterns
|
|
2779
|
+
# Array of domain patterns that should bypass the proxy. Supports
|
|
2780
|
+
# `.amazonaws.com` for subdomain matching or `amazonaws.com` for exact
|
|
2781
|
+
# domain matching. Requests to these domains connect directly without
|
|
2782
|
+
# using any proxy. Maximum 253 characters per pattern.
|
|
2783
|
+
# @return [Array<String>]
|
|
2784
|
+
#
|
|
2785
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ProxyBypass AWS API Documentation
|
|
2786
|
+
#
|
|
2787
|
+
class ProxyBypass < Struct.new(
|
|
2788
|
+
:domain_patterns)
|
|
2789
|
+
SENSITIVE = []
|
|
2790
|
+
include Aws::Structure
|
|
2791
|
+
end
|
|
2792
|
+
|
|
2793
|
+
# Configuration for routing browser traffic through customer-managed
|
|
2794
|
+
# proxy servers. Supports 1-5 proxy servers for domain-based routing and
|
|
2795
|
+
# proxy bypass rules.
|
|
2796
|
+
#
|
|
2797
|
+
# @!attribute [rw] proxies
|
|
2798
|
+
# An array of 1-5 proxy server configurations for domain-based
|
|
2799
|
+
# routing. Each proxy can specify which domains it handles via
|
|
2800
|
+
# `domainPatterns`, enabling flexible routing of different traffic
|
|
2801
|
+
# through different proxies based on destination domain.
|
|
2802
|
+
# @return [Array<Types::Proxy>]
|
|
2803
|
+
#
|
|
2804
|
+
# @!attribute [rw] bypass
|
|
2805
|
+
# Optional configuration for domains that should bypass all proxies
|
|
2806
|
+
# and connect directly to their destination, like the internet. Takes
|
|
2807
|
+
# precedence over all proxy routing rules.
|
|
2808
|
+
# @return [Types::ProxyBypass]
|
|
2809
|
+
#
|
|
2810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ProxyConfiguration AWS API Documentation
|
|
2811
|
+
#
|
|
2812
|
+
class ProxyConfiguration < Struct.new(
|
|
2813
|
+
:proxies,
|
|
2814
|
+
:bypass)
|
|
2815
|
+
SENSITIVE = []
|
|
2816
|
+
include Aws::Structure
|
|
2817
|
+
end
|
|
2818
|
+
|
|
2819
|
+
# Union type representing different proxy authentication methods.
|
|
2820
|
+
# Currently supports HTTP Basic Authentication (username and password).
|
|
2821
|
+
#
|
|
2822
|
+
# @note ProxyCredentials is a union - when making an API calls you must set exactly one of the members.
|
|
2823
|
+
#
|
|
2824
|
+
# @note ProxyCredentials is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ProxyCredentials corresponding to the set member.
|
|
2825
|
+
#
|
|
2826
|
+
# @!attribute [rw] basic_auth
|
|
2827
|
+
# HTTP Basic Authentication credentials (username and password) stored
|
|
2828
|
+
# in Amazon Web Services Secrets Manager.
|
|
2829
|
+
# @return [Types::BasicAuth]
|
|
2830
|
+
#
|
|
2831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ProxyCredentials AWS API Documentation
|
|
2832
|
+
#
|
|
2833
|
+
class ProxyCredentials < Struct.new(
|
|
2834
|
+
:basic_auth,
|
|
2835
|
+
:unknown)
|
|
2836
|
+
SENSITIVE = []
|
|
2837
|
+
include Aws::Structure
|
|
2838
|
+
include Aws::Structure::Union
|
|
2839
|
+
|
|
2840
|
+
class BasicAuth < ProxyCredentials; end
|
|
2841
|
+
class Unknown < ProxyCredentials; end
|
|
2842
|
+
end
|
|
2843
|
+
|
|
2676
2844
|
# Contains information about resource content.
|
|
2677
2845
|
#
|
|
2678
2846
|
# @!attribute [rw] type
|
|
@@ -3127,6 +3295,14 @@ module Aws::BedrockAgentCore
|
|
|
3127
3295
|
# settings.
|
|
3128
3296
|
# @return [Types::BrowserProfileConfiguration]
|
|
3129
3297
|
#
|
|
3298
|
+
# @!attribute [rw] proxy_configuration
|
|
3299
|
+
# Optional proxy configuration for routing browser traffic through
|
|
3300
|
+
# customer-specified proxy servers. When provided, enables HTTP Basic
|
|
3301
|
+
# authentication via Amazon Web Services Secrets Manager and
|
|
3302
|
+
# domain-based routing rules. Requires `secretsmanager:GetSecretValue`
|
|
3303
|
+
# IAM permission for the specified secret ARNs.
|
|
3304
|
+
# @return [Types::ProxyConfiguration]
|
|
3305
|
+
#
|
|
3130
3306
|
# @!attribute [rw] client_token
|
|
3131
3307
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
3132
3308
|
# completes no more than one time. If this token matches a previous
|
|
@@ -3149,6 +3325,7 @@ module Aws::BedrockAgentCore
|
|
|
3149
3325
|
:view_port,
|
|
3150
3326
|
:extensions,
|
|
3151
3327
|
:profile_configuration,
|
|
3328
|
+
:proxy_configuration,
|
|
3152
3329
|
:client_token)
|
|
3153
3330
|
SENSITIVE = []
|
|
3154
3331
|
include Aws::Structure
|
data/sig/client.rbs
CHANGED
|
@@ -258,6 +258,7 @@ module Aws
|
|
|
258
258
|
def session_timeout_seconds: () -> ::Integer
|
|
259
259
|
def status: () -> ("READY" | "TERMINATED")
|
|
260
260
|
def streams: () -> Types::BrowserSessionStream
|
|
261
|
+
def proxy_configuration: () -> Types::ProxyConfiguration
|
|
261
262
|
def session_replay_artifact: () -> ::String
|
|
262
263
|
def last_updated_at: () -> ::Time
|
|
263
264
|
end
|
|
@@ -642,6 +643,25 @@ module Aws
|
|
|
642
643
|
?profile_configuration: {
|
|
643
644
|
profile_identifier: ::String
|
|
644
645
|
},
|
|
646
|
+
?proxy_configuration: {
|
|
647
|
+
proxies: Array[
|
|
648
|
+
{
|
|
649
|
+
external_proxy: {
|
|
650
|
+
server: ::String,
|
|
651
|
+
port: ::Integer,
|
|
652
|
+
domain_patterns: Array[::String]?,
|
|
653
|
+
credentials: {
|
|
654
|
+
basic_auth: {
|
|
655
|
+
secret_arn: ::String
|
|
656
|
+
}?
|
|
657
|
+
}?
|
|
658
|
+
}?
|
|
659
|
+
},
|
|
660
|
+
],
|
|
661
|
+
bypass: {
|
|
662
|
+
domain_patterns: Array[::String]?
|
|
663
|
+
}?
|
|
664
|
+
},
|
|
645
665
|
?client_token: ::String
|
|
646
666
|
) -> _StartBrowserSessionResponseSuccess
|
|
647
667
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBrowserSessionResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -30,6 +30,11 @@ module Aws::BedrockAgentCore
|
|
|
30
30
|
SENSITIVE: []
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
+
class BasicAuth
|
|
34
|
+
attr_accessor secret_arn: ::String
|
|
35
|
+
SENSITIVE: []
|
|
36
|
+
end
|
|
37
|
+
|
|
33
38
|
class BatchCreateMemoryRecordsInput
|
|
34
39
|
attr_accessor memory_id: ::String
|
|
35
40
|
attr_accessor records: ::Array[Types::MemoryRecordCreateInput]
|
|
@@ -295,6 +300,14 @@ module Aws::BedrockAgentCore
|
|
|
295
300
|
SENSITIVE: []
|
|
296
301
|
end
|
|
297
302
|
|
|
303
|
+
class ExternalProxy
|
|
304
|
+
attr_accessor server: ::String
|
|
305
|
+
attr_accessor port: ::Integer
|
|
306
|
+
attr_accessor domain_patterns: ::Array[::String]
|
|
307
|
+
attr_accessor credentials: Types::ProxyCredentials
|
|
308
|
+
SENSITIVE: []
|
|
309
|
+
end
|
|
310
|
+
|
|
298
311
|
class ExtractionJob
|
|
299
312
|
attr_accessor job_id: ::String
|
|
300
313
|
SENSITIVE: []
|
|
@@ -367,6 +380,7 @@ module Aws::BedrockAgentCore
|
|
|
367
380
|
attr_accessor session_timeout_seconds: ::Integer
|
|
368
381
|
attr_accessor status: ("READY" | "TERMINATED")
|
|
369
382
|
attr_accessor streams: Types::BrowserSessionStream
|
|
383
|
+
attr_accessor proxy_configuration: Types::ProxyConfiguration
|
|
370
384
|
attr_accessor session_replay_artifact: ::String
|
|
371
385
|
attr_accessor last_updated_at: ::Time
|
|
372
386
|
SENSITIVE: []
|
|
@@ -761,6 +775,39 @@ module Aws::BedrockAgentCore
|
|
|
761
775
|
end
|
|
762
776
|
end
|
|
763
777
|
|
|
778
|
+
class Proxy
|
|
779
|
+
attr_accessor external_proxy: Types::ExternalProxy
|
|
780
|
+
attr_accessor unknown: untyped
|
|
781
|
+
SENSITIVE: []
|
|
782
|
+
|
|
783
|
+
class ExternalProxy < Proxy
|
|
784
|
+
end
|
|
785
|
+
class Unknown < Proxy
|
|
786
|
+
end
|
|
787
|
+
end
|
|
788
|
+
|
|
789
|
+
class ProxyBypass
|
|
790
|
+
attr_accessor domain_patterns: ::Array[::String]
|
|
791
|
+
SENSITIVE: []
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
class ProxyConfiguration
|
|
795
|
+
attr_accessor proxies: ::Array[Types::Proxy]
|
|
796
|
+
attr_accessor bypass: Types::ProxyBypass
|
|
797
|
+
SENSITIVE: []
|
|
798
|
+
end
|
|
799
|
+
|
|
800
|
+
class ProxyCredentials
|
|
801
|
+
attr_accessor basic_auth: Types::BasicAuth
|
|
802
|
+
attr_accessor unknown: untyped
|
|
803
|
+
SENSITIVE: []
|
|
804
|
+
|
|
805
|
+
class BasicAuth < ProxyCredentials
|
|
806
|
+
end
|
|
807
|
+
class Unknown < ProxyCredentials
|
|
808
|
+
end
|
|
809
|
+
end
|
|
810
|
+
|
|
764
811
|
class ResourceContent
|
|
765
812
|
attr_accessor type: ("text" | "blob")
|
|
766
813
|
attr_accessor uri: ::String
|
|
@@ -890,6 +937,7 @@ module Aws::BedrockAgentCore
|
|
|
890
937
|
attr_accessor view_port: Types::ViewPort
|
|
891
938
|
attr_accessor extensions: ::Array[Types::BrowserExtension]
|
|
892
939
|
attr_accessor profile_configuration: Types::BrowserProfileConfiguration
|
|
940
|
+
attr_accessor proxy_configuration: Types::ProxyConfiguration
|
|
893
941
|
attr_accessor client_token: ::String
|
|
894
942
|
SENSITIVE: []
|
|
895
943
|
end
|