aws-sdk-bedrockagentcore 1.26.0 → 1.27.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 +79 -1
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +108 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +319 -0
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +14 -0
- data/sig/types.rbs +87 -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: 95c36dfda3736bc62b7080884c06aa6f0ad99e39e246280ec8f7de28923c7bf9
|
|
4
|
+
data.tar.gz: 427b46b13f95620bbe5fc9eda2ed4ab9a2439f173d1bc176e769b9fe173f3571
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f498cba57bbb03bbf8be38e9d22ad5987ce384e11f43ce0fe465cf277a02341eb2e1ae26e8212b445d59f3b74c9abd7bc5493edcd7889475f0406650c757d83f
|
|
7
|
+
data.tar.gz: 8371f1b94b461dc234aaa3a03ffe49f4f50d99c01f303a92e5714e744ea202dd23c6658b3ed5f46675623c56e77b7fc254a25cc659ac955f1a0d9236b6a69b9b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.27.0
|
|
@@ -3072,6 +3072,84 @@ module Aws::BedrockAgentCore
|
|
|
3072
3072
|
req.send_request(options)
|
|
3073
3073
|
end
|
|
3074
3074
|
|
|
3075
|
+
# Searches for registry records using semantic, lexical, or hybrid
|
|
3076
|
+
# queries. Returns metadata for matching records ordered by relevance
|
|
3077
|
+
# within the specified registry.
|
|
3078
|
+
#
|
|
3079
|
+
# @option params [required, String] :search_query
|
|
3080
|
+
# The search query to find matching registry records.
|
|
3081
|
+
#
|
|
3082
|
+
# @option params [required, Array<String>] :registry_ids
|
|
3083
|
+
# The list of registry identifiers to search within. Currently, you can
|
|
3084
|
+
# specify exactly one registry identifier. You can provide either the
|
|
3085
|
+
# full Amazon Web Services Resource Name (ARN) or the 12-character
|
|
3086
|
+
# alphanumeric registry ID.
|
|
3087
|
+
#
|
|
3088
|
+
# @option params [Integer] :max_results
|
|
3089
|
+
# The maximum number of records to return in a single call. Valid values
|
|
3090
|
+
# are 1 through 20. The default value is 10.
|
|
3091
|
+
#
|
|
3092
|
+
# @option params [Hash,Array,String,Numeric,Boolean] :filters
|
|
3093
|
+
# A metadata filter expression to narrow search results. Uses structured
|
|
3094
|
+
# JSON operators including field-level operators (`$eq`, `$ne`, `$in`)
|
|
3095
|
+
# and logical operators (`$and`, `$or`) on filterable fields (`name`,
|
|
3096
|
+
# `descriptorType`, `version`). For example, to filter by descriptor
|
|
3097
|
+
# type: `{"descriptorType": {"$eq": "MCP"}}`. To combine filters:
|
|
3098
|
+
# `{"$and": [{"descriptorType": {"$eq": "MCP"}}, {"name": {"$eq":
|
|
3099
|
+
# "my-tool"}}]}`.
|
|
3100
|
+
#
|
|
3101
|
+
# Document type used to carry open content
|
|
3102
|
+
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
|
3103
|
+
# serialized using the same format as its surroundings and requires no
|
|
3104
|
+
# additional encoding or escaping.
|
|
3105
|
+
#
|
|
3106
|
+
# @return [Types::SearchRegistryRecordsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3107
|
+
#
|
|
3108
|
+
# * {Types::SearchRegistryRecordsResponse#registry_records #registry_records} => Array<Types::RegistryRecordSummary>
|
|
3109
|
+
#
|
|
3110
|
+
# @example Request syntax with placeholder values
|
|
3111
|
+
#
|
|
3112
|
+
# resp = client.search_registry_records({
|
|
3113
|
+
# search_query: "SearchRegistryRecordsRequestSearchQueryString", # required
|
|
3114
|
+
# registry_ids: ["RegistryIdentifier"], # required
|
|
3115
|
+
# max_results: 1,
|
|
3116
|
+
# filters: {
|
|
3117
|
+
# },
|
|
3118
|
+
# })
|
|
3119
|
+
#
|
|
3120
|
+
# @example Response structure
|
|
3121
|
+
#
|
|
3122
|
+
# resp.registry_records #=> Array
|
|
3123
|
+
# resp.registry_records[0].registry_arn #=> String
|
|
3124
|
+
# resp.registry_records[0].record_arn #=> String
|
|
3125
|
+
# resp.registry_records[0].record_id #=> String
|
|
3126
|
+
# resp.registry_records[0].name #=> String
|
|
3127
|
+
# resp.registry_records[0].description #=> String
|
|
3128
|
+
# resp.registry_records[0].descriptor_type #=> String, one of "MCP", "A2A", "CUSTOM", "AGENT_SKILLS"
|
|
3129
|
+
# resp.registry_records[0].descriptors.mcp.server.schema_version #=> String
|
|
3130
|
+
# resp.registry_records[0].descriptors.mcp.server.inline_content #=> String
|
|
3131
|
+
# resp.registry_records[0].descriptors.mcp.tools.protocol_version #=> String
|
|
3132
|
+
# resp.registry_records[0].descriptors.mcp.tools.inline_content #=> String
|
|
3133
|
+
# resp.registry_records[0].descriptors.a2a.agent_card.schema_version #=> String
|
|
3134
|
+
# resp.registry_records[0].descriptors.a2a.agent_card.inline_content #=> String
|
|
3135
|
+
# resp.registry_records[0].descriptors.custom.inline_content #=> String
|
|
3136
|
+
# resp.registry_records[0].descriptors.agent_skills.skill_md.inline_content #=> String
|
|
3137
|
+
# resp.registry_records[0].descriptors.agent_skills.skill_definition.schema_version #=> String
|
|
3138
|
+
# resp.registry_records[0].descriptors.agent_skills.skill_definition.inline_content #=> String
|
|
3139
|
+
# resp.registry_records[0].version #=> String
|
|
3140
|
+
# resp.registry_records[0].status #=> String, one of "DRAFT", "PENDING_APPROVAL", "APPROVED", "REJECTED", "DEPRECATED"
|
|
3141
|
+
# resp.registry_records[0].created_at #=> Time
|
|
3142
|
+
# resp.registry_records[0].updated_at #=> Time
|
|
3143
|
+
#
|
|
3144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SearchRegistryRecords AWS API Documentation
|
|
3145
|
+
#
|
|
3146
|
+
# @overload search_registry_records(params = {})
|
|
3147
|
+
# @param [Hash] params ({})
|
|
3148
|
+
def search_registry_records(params = {}, options = {})
|
|
3149
|
+
req = build_request(:search_registry_records, params)
|
|
3150
|
+
req.send_request(options)
|
|
3151
|
+
end
|
|
3152
|
+
|
|
3075
3153
|
# Creates and initializes a browser session in Amazon Bedrock AgentCore.
|
|
3076
3154
|
# The session enables agents to navigate and interact with web content,
|
|
3077
3155
|
# extract information from websites, and perform web-based tasks as part
|
|
@@ -3674,7 +3752,7 @@ module Aws::BedrockAgentCore
|
|
|
3674
3752
|
tracer: tracer
|
|
3675
3753
|
)
|
|
3676
3754
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
3677
|
-
context[:gem_version] = '1.
|
|
3755
|
+
context[:gem_version] = '1.27.0'
|
|
3678
3756
|
Seahorse::Client::Request.new(handlers, context)
|
|
3679
3757
|
end
|
|
3680
3758
|
|
|
@@ -14,12 +14,15 @@ module Aws::BedrockAgentCore
|
|
|
14
14
|
|
|
15
15
|
include Seahorse::Model
|
|
16
16
|
|
|
17
|
+
A2aDescriptor = Shapes::StructureShape.new(name: 'A2aDescriptor')
|
|
17
18
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
|
18
19
|
AccessTokenType = Shapes::StringShape.new(name: 'AccessTokenType')
|
|
19
20
|
ActorId = Shapes::StringShape.new(name: 'ActorId')
|
|
20
21
|
ActorSummary = Shapes::StructureShape.new(name: 'ActorSummary')
|
|
21
22
|
ActorSummaryList = Shapes::ListShape.new(name: 'ActorSummaryList')
|
|
22
23
|
AgentCard = Shapes::DocumentShape.new(name: 'AgentCard', document: true)
|
|
24
|
+
AgentCardDefinition = Shapes::StructureShape.new(name: 'AgentCardDefinition')
|
|
25
|
+
AgentSkillsDescriptor = Shapes::StructureShape.new(name: 'AgentSkillsDescriptor')
|
|
23
26
|
ApiKeyType = Shapes::StringShape.new(name: 'ApiKeyType')
|
|
24
27
|
AuthorizationUrlType = Shapes::StringShape.new(name: 'AuthorizationUrlType')
|
|
25
28
|
AutomationStream = Shapes::StructureShape.new(name: 'AutomationStream')
|
|
@@ -83,6 +86,7 @@ module Aws::BedrockAgentCore
|
|
|
83
86
|
CreateEventInput = Shapes::StructureShape.new(name: 'CreateEventInput')
|
|
84
87
|
CreateEventOutput = Shapes::StructureShape.new(name: 'CreateEventOutput')
|
|
85
88
|
CredentialProviderName = Shapes::StringShape.new(name: 'CredentialProviderName')
|
|
89
|
+
CustomDescriptor = Shapes::StructureShape.new(name: 'CustomDescriptor')
|
|
86
90
|
CustomRequestKeyType = Shapes::StringShape.new(name: 'CustomRequestKeyType')
|
|
87
91
|
CustomRequestParametersType = Shapes::MapShape.new(name: 'CustomRequestParametersType')
|
|
88
92
|
CustomRequestValueType = Shapes::StringShape.new(name: 'CustomRequestValueType')
|
|
@@ -91,6 +95,9 @@ module Aws::BedrockAgentCore
|
|
|
91
95
|
DeleteEventOutput = Shapes::StructureShape.new(name: 'DeleteEventOutput')
|
|
92
96
|
DeleteMemoryRecordInput = Shapes::StructureShape.new(name: 'DeleteMemoryRecordInput')
|
|
93
97
|
DeleteMemoryRecordOutput = Shapes::StructureShape.new(name: 'DeleteMemoryRecordOutput')
|
|
98
|
+
Description = Shapes::StringShape.new(name: 'Description')
|
|
99
|
+
DescriptorType = Shapes::StringShape.new(name: 'DescriptorType')
|
|
100
|
+
Descriptors = Shapes::StructureShape.new(name: 'Descriptors')
|
|
94
101
|
Document = Shapes::DocumentShape.new(name: 'Document', document: true)
|
|
95
102
|
DomainPattern = Shapes::StringShape.new(name: 'DomainPattern')
|
|
96
103
|
DomainPatterns = Shapes::ListShape.new(name: 'DomainPatterns')
|
|
@@ -155,6 +162,7 @@ module Aws::BedrockAgentCore
|
|
|
155
162
|
HttpResponseCode = Shapes::IntegerShape.new(name: 'HttpResponseCode')
|
|
156
163
|
IgnoredReferenceInputField = Shapes::StringShape.new(name: 'IgnoredReferenceInputField')
|
|
157
164
|
IgnoredReferenceInputFields = Shapes::ListShape.new(name: 'IgnoredReferenceInputFields')
|
|
165
|
+
InlineContent = Shapes::StringShape.new(name: 'InlineContent')
|
|
158
166
|
InputContentBlock = Shapes::StructureShape.new(name: 'InputContentBlock')
|
|
159
167
|
InputContentBlockList = Shapes::ListShape.new(name: 'InputContentBlockList')
|
|
160
168
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
@@ -213,6 +221,7 @@ module Aws::BedrockAgentCore
|
|
|
213
221
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
|
214
222
|
MaxLenString = Shapes::StringShape.new(name: 'MaxLenString')
|
|
215
223
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
224
|
+
McpDescriptor = Shapes::StructureShape.new(name: 'McpDescriptor')
|
|
216
225
|
MemoryContent = Shapes::UnionShape.new(name: 'MemoryContent')
|
|
217
226
|
MemoryContentTextString = Shapes::StringShape.new(name: 'MemoryContentTextString')
|
|
218
227
|
MemoryId = Shapes::StringShape.new(name: 'MemoryId')
|
|
@@ -234,6 +243,7 @@ module Aws::BedrockAgentCore
|
|
|
234
243
|
MemoryStrategyId = Shapes::StringShape.new(name: 'MemoryStrategyId')
|
|
235
244
|
MessageMetadata = Shapes::StructureShape.new(name: 'MessageMetadata')
|
|
236
245
|
MessagesList = Shapes::ListShape.new(name: 'MessagesList')
|
|
246
|
+
MetadataFilterExpression = Shapes::DocumentShape.new(name: 'MetadataFilterExpression', document: true)
|
|
237
247
|
MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
|
|
238
248
|
MetadataMap = Shapes::MapShape.new(name: 'MetadataMap')
|
|
239
249
|
MetadataValue = Shapes::UnionShape.new(name: 'MetadataValue')
|
|
@@ -267,6 +277,15 @@ module Aws::BedrockAgentCore
|
|
|
267
277
|
ProxyConfiguration = Shapes::StructureShape.new(name: 'ProxyConfiguration')
|
|
268
278
|
ProxyConfigurationProxiesList = Shapes::ListShape.new(name: 'ProxyConfigurationProxiesList')
|
|
269
279
|
ProxyCredentials = Shapes::UnionShape.new(name: 'ProxyCredentials')
|
|
280
|
+
RegistryArn = Shapes::StringShape.new(name: 'RegistryArn')
|
|
281
|
+
RegistryIdentifier = Shapes::StringShape.new(name: 'RegistryIdentifier')
|
|
282
|
+
RegistryRecordArn = Shapes::StringShape.new(name: 'RegistryRecordArn')
|
|
283
|
+
RegistryRecordId = Shapes::StringShape.new(name: 'RegistryRecordId')
|
|
284
|
+
RegistryRecordName = Shapes::StringShape.new(name: 'RegistryRecordName')
|
|
285
|
+
RegistryRecordStatus = Shapes::StringShape.new(name: 'RegistryRecordStatus')
|
|
286
|
+
RegistryRecordSummary = Shapes::StructureShape.new(name: 'RegistryRecordSummary')
|
|
287
|
+
RegistryRecordSummaryList = Shapes::ListShape.new(name: 'RegistryRecordSummaryList')
|
|
288
|
+
RegistryRecordVersion = Shapes::StringShape.new(name: 'RegistryRecordVersion')
|
|
270
289
|
RequestIdentifier = Shapes::StringShape.new(name: 'RequestIdentifier')
|
|
271
290
|
RequestUri = Shapes::StringShape.new(name: 'RequestUri')
|
|
272
291
|
ResourceContent = Shapes::StructureShape.new(name: 'ResourceContent')
|
|
@@ -290,6 +309,7 @@ module Aws::BedrockAgentCore
|
|
|
290
309
|
SaveBrowserSessionProfileRequestTraceIdString = Shapes::StringShape.new(name: 'SaveBrowserSessionProfileRequestTraceIdString')
|
|
291
310
|
SaveBrowserSessionProfileRequestTraceParentString = Shapes::StringShape.new(name: 'SaveBrowserSessionProfileRequestTraceParentString')
|
|
292
311
|
SaveBrowserSessionProfileResponse = Shapes::StructureShape.new(name: 'SaveBrowserSessionProfileResponse')
|
|
312
|
+
SchemaVersion = Shapes::StringShape.new(name: 'SchemaVersion')
|
|
293
313
|
ScopeType = Shapes::StringShape.new(name: 'ScopeType')
|
|
294
314
|
ScopesListType = Shapes::ListShape.new(name: 'ScopesListType')
|
|
295
315
|
ScreenshotArguments = Shapes::StructureShape.new(name: 'ScreenshotArguments')
|
|
@@ -298,8 +318,14 @@ module Aws::BedrockAgentCore
|
|
|
298
318
|
SearchCriteria = Shapes::StructureShape.new(name: 'SearchCriteria')
|
|
299
319
|
SearchCriteriaSearchQueryString = Shapes::StringShape.new(name: 'SearchCriteriaSearchQueryString')
|
|
300
320
|
SearchCriteriaTopKInteger = Shapes::IntegerShape.new(name: 'SearchCriteriaTopKInteger')
|
|
321
|
+
SearchRegistryRecordsRequest = Shapes::StructureShape.new(name: 'SearchRegistryRecordsRequest')
|
|
322
|
+
SearchRegistryRecordsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'SearchRegistryRecordsRequestMaxResultsInteger')
|
|
323
|
+
SearchRegistryRecordsRequestRegistryIdsList = Shapes::ListShape.new(name: 'SearchRegistryRecordsRequestRegistryIdsList')
|
|
324
|
+
SearchRegistryRecordsRequestSearchQueryString = Shapes::StringShape.new(name: 'SearchRegistryRecordsRequestSearchQueryString')
|
|
325
|
+
SearchRegistryRecordsResponse = Shapes::StructureShape.new(name: 'SearchRegistryRecordsResponse')
|
|
301
326
|
SecretArn = Shapes::StringShape.new(name: 'SecretArn')
|
|
302
327
|
SecretsManagerLocation = Shapes::StructureShape.new(name: 'SecretsManagerLocation')
|
|
328
|
+
ServerDefinition = Shapes::StructureShape.new(name: 'ServerDefinition')
|
|
303
329
|
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
|
304
330
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
305
331
|
SessionFilter = Shapes::StructureShape.new(name: 'SessionFilter')
|
|
@@ -308,6 +334,8 @@ module Aws::BedrockAgentCore
|
|
|
308
334
|
SessionSummary = Shapes::StructureShape.new(name: 'SessionSummary')
|
|
309
335
|
SessionSummaryList = Shapes::ListShape.new(name: 'SessionSummaryList')
|
|
310
336
|
SessionType = Shapes::StringShape.new(name: 'SessionType')
|
|
337
|
+
SkillDefinition = Shapes::StructureShape.new(name: 'SkillDefinition')
|
|
338
|
+
SkillMdDefinition = Shapes::StructureShape.new(name: 'SkillMdDefinition')
|
|
311
339
|
Span = Shapes::DocumentShape.new(name: 'Span', document: true)
|
|
312
340
|
SpanContext = Shapes::StructureShape.new(name: 'SpanContext')
|
|
313
341
|
SpanId = Shapes::StringShape.new(name: 'SpanId')
|
|
@@ -346,6 +374,7 @@ module Aws::BedrockAgentCore
|
|
|
346
374
|
ToolArguments = Shapes::StructureShape.new(name: 'ToolArguments')
|
|
347
375
|
ToolName = Shapes::StringShape.new(name: 'ToolName')
|
|
348
376
|
ToolResultStructuredContent = Shapes::StructureShape.new(name: 'ToolResultStructuredContent')
|
|
377
|
+
ToolsDefinition = Shapes::StructureShape.new(name: 'ToolsDefinition')
|
|
349
378
|
TraceId = Shapes::StringShape.new(name: 'TraceId')
|
|
350
379
|
TraceIds = Shapes::ListShape.new(name: 'TraceIds')
|
|
351
380
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
|
@@ -364,6 +393,9 @@ module Aws::BedrockAgentCore
|
|
|
364
393
|
WorkloadIdentityNameType = Shapes::StringShape.new(name: 'WorkloadIdentityNameType')
|
|
365
394
|
WorkloadIdentityTokenType = Shapes::StringShape.new(name: 'WorkloadIdentityTokenType')
|
|
366
395
|
|
|
396
|
+
A2aDescriptor.add_member(:agent_card, Shapes::ShapeRef.new(shape: AgentCardDefinition, required: true, location_name: "agentCard"))
|
|
397
|
+
A2aDescriptor.struct_class = Types::A2aDescriptor
|
|
398
|
+
|
|
367
399
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
368
400
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
|
369
401
|
|
|
@@ -372,6 +404,14 @@ module Aws::BedrockAgentCore
|
|
|
372
404
|
|
|
373
405
|
ActorSummaryList.member = Shapes::ShapeRef.new(shape: ActorSummary)
|
|
374
406
|
|
|
407
|
+
AgentCardDefinition.add_member(:schema_version, Shapes::ShapeRef.new(shape: SchemaVersion, location_name: "schemaVersion"))
|
|
408
|
+
AgentCardDefinition.add_member(:inline_content, Shapes::ShapeRef.new(shape: InlineContent, location_name: "inlineContent"))
|
|
409
|
+
AgentCardDefinition.struct_class = Types::AgentCardDefinition
|
|
410
|
+
|
|
411
|
+
AgentSkillsDescriptor.add_member(:skill_md, Shapes::ShapeRef.new(shape: SkillMdDefinition, required: true, location_name: "skillMd"))
|
|
412
|
+
AgentSkillsDescriptor.add_member(:skill_definition, Shapes::ShapeRef.new(shape: SkillDefinition, location_name: "skillDefinition"))
|
|
413
|
+
AgentSkillsDescriptor.struct_class = Types::AgentSkillsDescriptor
|
|
414
|
+
|
|
375
415
|
AutomationStream.add_member(:stream_endpoint, Shapes::ShapeRef.new(shape: BrowserStreamEndpoint, required: true, location_name: "streamEndpoint"))
|
|
376
416
|
AutomationStream.add_member(:stream_status, Shapes::ShapeRef.new(shape: AutomationStreamStatus, required: true, location_name: "streamStatus"))
|
|
377
417
|
AutomationStream.struct_class = Types::AutomationStream
|
|
@@ -580,6 +620,9 @@ module Aws::BedrockAgentCore
|
|
|
580
620
|
CreateEventOutput.add_member(:event, Shapes::ShapeRef.new(shape: Event, required: true, location_name: "event"))
|
|
581
621
|
CreateEventOutput.struct_class = Types::CreateEventOutput
|
|
582
622
|
|
|
623
|
+
CustomDescriptor.add_member(:inline_content, Shapes::ShapeRef.new(shape: InlineContent, location_name: "inlineContent"))
|
|
624
|
+
CustomDescriptor.struct_class = Types::CustomDescriptor
|
|
625
|
+
|
|
583
626
|
CustomRequestParametersType.key = Shapes::ShapeRef.new(shape: CustomRequestKeyType)
|
|
584
627
|
CustomRequestParametersType.value = Shapes::ShapeRef.new(shape: CustomRequestValueType)
|
|
585
628
|
|
|
@@ -599,6 +642,12 @@ module Aws::BedrockAgentCore
|
|
|
599
642
|
DeleteMemoryRecordOutput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
|
|
600
643
|
DeleteMemoryRecordOutput.struct_class = Types::DeleteMemoryRecordOutput
|
|
601
644
|
|
|
645
|
+
Descriptors.add_member(:mcp, Shapes::ShapeRef.new(shape: McpDescriptor, location_name: "mcp"))
|
|
646
|
+
Descriptors.add_member(:a2a, Shapes::ShapeRef.new(shape: A2aDescriptor, location_name: "a2a"))
|
|
647
|
+
Descriptors.add_member(:custom, Shapes::ShapeRef.new(shape: CustomDescriptor, location_name: "custom"))
|
|
648
|
+
Descriptors.add_member(:agent_skills, Shapes::ShapeRef.new(shape: AgentSkillsDescriptor, location_name: "agentSkills"))
|
|
649
|
+
Descriptors.struct_class = Types::Descriptors
|
|
650
|
+
|
|
602
651
|
DomainPatterns.member = Shapes::ShapeRef.new(shape: DomainPattern)
|
|
603
652
|
|
|
604
653
|
DuplicateIdException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
@@ -1042,6 +1091,10 @@ module Aws::BedrockAgentCore
|
|
|
1042
1091
|
LiveViewStream.add_member(:stream_endpoint, Shapes::ShapeRef.new(shape: BrowserStreamEndpoint, location_name: "streamEndpoint"))
|
|
1043
1092
|
LiveViewStream.struct_class = Types::LiveViewStream
|
|
1044
1093
|
|
|
1094
|
+
McpDescriptor.add_member(:server, Shapes::ShapeRef.new(shape: ServerDefinition, required: true, location_name: "server"))
|
|
1095
|
+
McpDescriptor.add_member(:tools, Shapes::ShapeRef.new(shape: ToolsDefinition, required: true, location_name: "tools"))
|
|
1096
|
+
McpDescriptor.struct_class = Types::McpDescriptor
|
|
1097
|
+
|
|
1045
1098
|
MemoryContent.add_member(:text, Shapes::ShapeRef.new(shape: MemoryContentTextString, location_name: "text"))
|
|
1046
1099
|
MemoryContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1047
1100
|
MemoryContent.add_member_subclass(:text, Types::MemoryContent::Text)
|
|
@@ -1193,6 +1246,21 @@ module Aws::BedrockAgentCore
|
|
|
1193
1246
|
ProxyCredentials.add_member_subclass(:unknown, Types::ProxyCredentials::Unknown)
|
|
1194
1247
|
ProxyCredentials.struct_class = Types::ProxyCredentials
|
|
1195
1248
|
|
|
1249
|
+
RegistryRecordSummary.add_member(:registry_arn, Shapes::ShapeRef.new(shape: RegistryArn, required: true, location_name: "registryArn"))
|
|
1250
|
+
RegistryRecordSummary.add_member(:record_arn, Shapes::ShapeRef.new(shape: RegistryRecordArn, required: true, location_name: "recordArn"))
|
|
1251
|
+
RegistryRecordSummary.add_member(:record_id, Shapes::ShapeRef.new(shape: RegistryRecordId, required: true, location_name: "recordId"))
|
|
1252
|
+
RegistryRecordSummary.add_member(:name, Shapes::ShapeRef.new(shape: RegistryRecordName, required: true, location_name: "name"))
|
|
1253
|
+
RegistryRecordSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
|
1254
|
+
RegistryRecordSummary.add_member(:descriptor_type, Shapes::ShapeRef.new(shape: DescriptorType, required: true, location_name: "descriptorType"))
|
|
1255
|
+
RegistryRecordSummary.add_member(:descriptors, Shapes::ShapeRef.new(shape: Descriptors, required: true, location_name: "descriptors"))
|
|
1256
|
+
RegistryRecordSummary.add_member(:version, Shapes::ShapeRef.new(shape: RegistryRecordVersion, required: true, location_name: "version"))
|
|
1257
|
+
RegistryRecordSummary.add_member(:status, Shapes::ShapeRef.new(shape: RegistryRecordStatus, required: true, location_name: "status"))
|
|
1258
|
+
RegistryRecordSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
1259
|
+
RegistryRecordSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
|
1260
|
+
RegistryRecordSummary.struct_class = Types::RegistryRecordSummary
|
|
1261
|
+
|
|
1262
|
+
RegistryRecordSummaryList.member = Shapes::ShapeRef.new(shape: RegistryRecordSummary)
|
|
1263
|
+
|
|
1196
1264
|
ResourceContent.add_member(:type, Shapes::ShapeRef.new(shape: ResourceContentType, required: true, location_name: "type"))
|
|
1197
1265
|
ResourceContent.add_member(:uri, Shapes::ShapeRef.new(shape: String, location_name: "uri"))
|
|
1198
1266
|
ResourceContent.add_member(:mime_type, Shapes::ShapeRef.new(shape: String, location_name: "mimeType"))
|
|
@@ -1272,9 +1340,24 @@ module Aws::BedrockAgentCore
|
|
|
1272
1340
|
SearchCriteria.add_member(:metadata_filters, Shapes::ShapeRef.new(shape: MemoryMetadataFilterList, location_name: "metadataFilters"))
|
|
1273
1341
|
SearchCriteria.struct_class = Types::SearchCriteria
|
|
1274
1342
|
|
|
1343
|
+
SearchRegistryRecordsRequest.add_member(:search_query, Shapes::ShapeRef.new(shape: SearchRegistryRecordsRequestSearchQueryString, required: true, location_name: "searchQuery"))
|
|
1344
|
+
SearchRegistryRecordsRequest.add_member(:registry_ids, Shapes::ShapeRef.new(shape: SearchRegistryRecordsRequestRegistryIdsList, required: true, location_name: "registryIds"))
|
|
1345
|
+
SearchRegistryRecordsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchRegistryRecordsRequestMaxResultsInteger, location_name: "maxResults"))
|
|
1346
|
+
SearchRegistryRecordsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: MetadataFilterExpression, location_name: "filters"))
|
|
1347
|
+
SearchRegistryRecordsRequest.struct_class = Types::SearchRegistryRecordsRequest
|
|
1348
|
+
|
|
1349
|
+
SearchRegistryRecordsRequestRegistryIdsList.member = Shapes::ShapeRef.new(shape: RegistryIdentifier)
|
|
1350
|
+
|
|
1351
|
+
SearchRegistryRecordsResponse.add_member(:registry_records, Shapes::ShapeRef.new(shape: RegistryRecordSummaryList, required: true, location_name: "registryRecords"))
|
|
1352
|
+
SearchRegistryRecordsResponse.struct_class = Types::SearchRegistryRecordsResponse
|
|
1353
|
+
|
|
1275
1354
|
SecretsManagerLocation.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "secretArn"))
|
|
1276
1355
|
SecretsManagerLocation.struct_class = Types::SecretsManagerLocation
|
|
1277
1356
|
|
|
1357
|
+
ServerDefinition.add_member(:schema_version, Shapes::ShapeRef.new(shape: SchemaVersion, location_name: "schemaVersion"))
|
|
1358
|
+
ServerDefinition.add_member(:inline_content, Shapes::ShapeRef.new(shape: InlineContent, location_name: "inlineContent"))
|
|
1359
|
+
ServerDefinition.struct_class = Types::ServerDefinition
|
|
1360
|
+
|
|
1278
1361
|
ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
1279
1362
|
ServiceException.struct_class = Types::ServiceException
|
|
1280
1363
|
|
|
@@ -1291,6 +1374,13 @@ module Aws::BedrockAgentCore
|
|
|
1291
1374
|
|
|
1292
1375
|
SessionSummaryList.member = Shapes::ShapeRef.new(shape: SessionSummary)
|
|
1293
1376
|
|
|
1377
|
+
SkillDefinition.add_member(:schema_version, Shapes::ShapeRef.new(shape: SchemaVersion, location_name: "schemaVersion"))
|
|
1378
|
+
SkillDefinition.add_member(:inline_content, Shapes::ShapeRef.new(shape: InlineContent, location_name: "inlineContent"))
|
|
1379
|
+
SkillDefinition.struct_class = Types::SkillDefinition
|
|
1380
|
+
|
|
1381
|
+
SkillMdDefinition.add_member(:inline_content, Shapes::ShapeRef.new(shape: InlineContent, location_name: "inlineContent"))
|
|
1382
|
+
SkillMdDefinition.struct_class = Types::SkillMdDefinition
|
|
1383
|
+
|
|
1294
1384
|
SpanContext.add_member(:session_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sessionId"))
|
|
1295
1385
|
SpanContext.add_member(:trace_id, Shapes::ShapeRef.new(shape: String, location_name: "traceId"))
|
|
1296
1386
|
SpanContext.add_member(:span_id, Shapes::ShapeRef.new(shape: String, location_name: "spanId"))
|
|
@@ -1415,6 +1505,10 @@ module Aws::BedrockAgentCore
|
|
|
1415
1505
|
ToolResultStructuredContent.add_member(:execution_time, Shapes::ShapeRef.new(shape: Double, location_name: "executionTime"))
|
|
1416
1506
|
ToolResultStructuredContent.struct_class = Types::ToolResultStructuredContent
|
|
1417
1507
|
|
|
1508
|
+
ToolsDefinition.add_member(:protocol_version, Shapes::ShapeRef.new(shape: SchemaVersion, location_name: "protocolVersion"))
|
|
1509
|
+
ToolsDefinition.add_member(:inline_content, Shapes::ShapeRef.new(shape: InlineContent, location_name: "inlineContent"))
|
|
1510
|
+
ToolsDefinition.struct_class = Types::ToolsDefinition
|
|
1511
|
+
|
|
1418
1512
|
TraceIds.member = Shapes::ShapeRef.new(shape: TraceId)
|
|
1419
1513
|
|
|
1420
1514
|
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
@@ -1958,6 +2052,20 @@ module Aws::BedrockAgentCore
|
|
|
1958
2052
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1959
2053
|
end)
|
|
1960
2054
|
|
|
2055
|
+
api.add_operation(:search_registry_records, Seahorse::Model::Operation.new.tap do |o|
|
|
2056
|
+
o.name = "SearchRegistryRecords"
|
|
2057
|
+
o.http_method = "POST"
|
|
2058
|
+
o.http_request_uri = "/registry-records/search"
|
|
2059
|
+
o.input = Shapes::ShapeRef.new(shape: SearchRegistryRecordsRequest)
|
|
2060
|
+
o.output = Shapes::ShapeRef.new(shape: SearchRegistryRecordsResponse)
|
|
2061
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
|
2062
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2063
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2064
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2065
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
2066
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
2067
|
+
end)
|
|
2068
|
+
|
|
1961
2069
|
api.add_operation(:start_browser_session, Seahorse::Model::Operation.new.tap do |o|
|
|
1962
2070
|
o.name = "StartBrowserSession"
|
|
1963
2071
|
o.http_method = "PUT"
|
|
@@ -10,6 +10,22 @@
|
|
|
10
10
|
module Aws::BedrockAgentCore
|
|
11
11
|
module Types
|
|
12
12
|
|
|
13
|
+
# The A2A (Agent-to-Agent) descriptor configuration for a registry
|
|
14
|
+
# record.
|
|
15
|
+
#
|
|
16
|
+
# @!attribute [rw] agent_card
|
|
17
|
+
# The agent card definition that describes the agent's capabilities
|
|
18
|
+
# and interface.
|
|
19
|
+
# @return [Types::AgentCardDefinition]
|
|
20
|
+
#
|
|
21
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/A2aDescriptor AWS API Documentation
|
|
22
|
+
#
|
|
23
|
+
class A2aDescriptor < Struct.new(
|
|
24
|
+
:agent_card)
|
|
25
|
+
SENSITIVE = []
|
|
26
|
+
include Aws::Structure
|
|
27
|
+
end
|
|
28
|
+
|
|
13
29
|
# The exception that occurs when you do not have sufficient permissions
|
|
14
30
|
# to perform an action. Verify that your IAM policy includes the
|
|
15
31
|
# necessary permissions for the operation you are trying to perform.
|
|
@@ -41,6 +57,45 @@ module Aws::BedrockAgentCore
|
|
|
41
57
|
include Aws::Structure
|
|
42
58
|
end
|
|
43
59
|
|
|
60
|
+
# The agent card definition for A2A descriptors, including the schema
|
|
61
|
+
# version and inline content that describes the agent's capabilities.
|
|
62
|
+
#
|
|
63
|
+
# @!attribute [rw] schema_version
|
|
64
|
+
# The schema version of the agent card definition.
|
|
65
|
+
# @return [String]
|
|
66
|
+
#
|
|
67
|
+
# @!attribute [rw] inline_content
|
|
68
|
+
# The inline content of the agent card definition.
|
|
69
|
+
# @return [String]
|
|
70
|
+
#
|
|
71
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/AgentCardDefinition AWS API Documentation
|
|
72
|
+
#
|
|
73
|
+
class AgentCardDefinition < Struct.new(
|
|
74
|
+
:schema_version,
|
|
75
|
+
:inline_content)
|
|
76
|
+
SENSITIVE = []
|
|
77
|
+
include Aws::Structure
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# The agent skills descriptor configuration for a registry record.
|
|
81
|
+
#
|
|
82
|
+
# @!attribute [rw] skill_md
|
|
83
|
+
# The skill description in markdown format.
|
|
84
|
+
# @return [Types::SkillMdDefinition]
|
|
85
|
+
#
|
|
86
|
+
# @!attribute [rw] skill_definition
|
|
87
|
+
# The structured skill definition with a schema version and content.
|
|
88
|
+
# @return [Types::SkillDefinition]
|
|
89
|
+
#
|
|
90
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/AgentSkillsDescriptor AWS API Documentation
|
|
91
|
+
#
|
|
92
|
+
class AgentSkillsDescriptor < Struct.new(
|
|
93
|
+
:skill_md,
|
|
94
|
+
:skill_definition)
|
|
95
|
+
SENSITIVE = []
|
|
96
|
+
include Aws::Structure
|
|
97
|
+
end
|
|
98
|
+
|
|
44
99
|
# The configuration for a stream that enables programmatic control of a
|
|
45
100
|
# browser session in Amazon Bedrock AgentCore. This stream provides a
|
|
46
101
|
# bidirectional communication channel for sending commands to the
|
|
@@ -947,6 +1002,20 @@ module Aws::BedrockAgentCore
|
|
|
947
1002
|
include Aws::Structure
|
|
948
1003
|
end
|
|
949
1004
|
|
|
1005
|
+
# A custom descriptor configuration for a registry record.
|
|
1006
|
+
#
|
|
1007
|
+
# @!attribute [rw] inline_content
|
|
1008
|
+
# The inline content of the custom descriptor.
|
|
1009
|
+
# @return [String]
|
|
1010
|
+
#
|
|
1011
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CustomDescriptor AWS API Documentation
|
|
1012
|
+
#
|
|
1013
|
+
class CustomDescriptor < Struct.new(
|
|
1014
|
+
:inline_content)
|
|
1015
|
+
SENSITIVE = []
|
|
1016
|
+
include Aws::Structure
|
|
1017
|
+
end
|
|
1018
|
+
|
|
950
1019
|
# @!attribute [rw] memory_id
|
|
951
1020
|
# The identifier of the AgentCore Memory resource from which to delete
|
|
952
1021
|
# the event.
|
|
@@ -1017,6 +1086,40 @@ module Aws::BedrockAgentCore
|
|
|
1017
1086
|
include Aws::Structure
|
|
1018
1087
|
end
|
|
1019
1088
|
|
|
1089
|
+
# Contains the descriptor configuration for a registry record. Only the
|
|
1090
|
+
# field that matches the record's `descriptorType` is populated.
|
|
1091
|
+
#
|
|
1092
|
+
# @!attribute [rw] mcp
|
|
1093
|
+
# The MCP (Model Context Protocol) descriptor configuration. Populated
|
|
1094
|
+
# when the record's `descriptorType` is `MCP`.
|
|
1095
|
+
# @return [Types::McpDescriptor]
|
|
1096
|
+
#
|
|
1097
|
+
# @!attribute [rw] a2a
|
|
1098
|
+
# The A2A (Agent-to-Agent) descriptor configuration. Populated when
|
|
1099
|
+
# the record's `descriptorType` is `A2A`.
|
|
1100
|
+
# @return [Types::A2aDescriptor]
|
|
1101
|
+
#
|
|
1102
|
+
# @!attribute [rw] custom
|
|
1103
|
+
# The custom descriptor configuration. Populated when the record's
|
|
1104
|
+
# `descriptorType` is `CUSTOM`.
|
|
1105
|
+
# @return [Types::CustomDescriptor]
|
|
1106
|
+
#
|
|
1107
|
+
# @!attribute [rw] agent_skills
|
|
1108
|
+
# The agent skills descriptor configuration. Populated when the
|
|
1109
|
+
# record's `descriptorType` is `AGENT_SKILLS`.
|
|
1110
|
+
# @return [Types::AgentSkillsDescriptor]
|
|
1111
|
+
#
|
|
1112
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/Descriptors AWS API Documentation
|
|
1113
|
+
#
|
|
1114
|
+
class Descriptors < Struct.new(
|
|
1115
|
+
:mcp,
|
|
1116
|
+
:a2a,
|
|
1117
|
+
:custom,
|
|
1118
|
+
:agent_skills)
|
|
1119
|
+
SENSITIVE = []
|
|
1120
|
+
include Aws::Structure
|
|
1121
|
+
end
|
|
1122
|
+
|
|
1020
1123
|
# An exception thrown when attempting to create a resource with an
|
|
1021
1124
|
# identifier that already exists.
|
|
1022
1125
|
#
|
|
@@ -3092,6 +3195,26 @@ module Aws::BedrockAgentCore
|
|
|
3092
3195
|
include Aws::Structure
|
|
3093
3196
|
end
|
|
3094
3197
|
|
|
3198
|
+
# The MCP (Model Context Protocol) descriptor configuration for a
|
|
3199
|
+
# registry record. Contains the server definition and tools definition.
|
|
3200
|
+
#
|
|
3201
|
+
# @!attribute [rw] server
|
|
3202
|
+
# The MCP server definition that describes the server configuration.
|
|
3203
|
+
# @return [Types::ServerDefinition]
|
|
3204
|
+
#
|
|
3205
|
+
# @!attribute [rw] tools
|
|
3206
|
+
# The MCP tools definition that describes the available tools.
|
|
3207
|
+
# @return [Types::ToolsDefinition]
|
|
3208
|
+
#
|
|
3209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/McpDescriptor AWS API Documentation
|
|
3210
|
+
#
|
|
3211
|
+
class McpDescriptor < Struct.new(
|
|
3212
|
+
:server,
|
|
3213
|
+
:tools)
|
|
3214
|
+
SENSITIVE = []
|
|
3215
|
+
include Aws::Structure
|
|
3216
|
+
end
|
|
3217
|
+
|
|
3095
3218
|
# Contains the content of a memory record.
|
|
3096
3219
|
#
|
|
3097
3220
|
# @note MemoryContent is a union - when making an API calls you must set exactly one of the members.
|
|
@@ -3707,6 +3830,71 @@ module Aws::BedrockAgentCore
|
|
|
3707
3830
|
class Unknown < ProxyCredentials; end
|
|
3708
3831
|
end
|
|
3709
3832
|
|
|
3833
|
+
# Summary information about a registry record.
|
|
3834
|
+
#
|
|
3835
|
+
# @!attribute [rw] registry_arn
|
|
3836
|
+
# The Amazon Resource Name (ARN) of the registry that this record
|
|
3837
|
+
# belongs to.
|
|
3838
|
+
# @return [String]
|
|
3839
|
+
#
|
|
3840
|
+
# @!attribute [rw] record_arn
|
|
3841
|
+
# The Amazon Resource Name (ARN) of the registry record.
|
|
3842
|
+
# @return [String]
|
|
3843
|
+
#
|
|
3844
|
+
# @!attribute [rw] record_id
|
|
3845
|
+
# The unique identifier of the registry record.
|
|
3846
|
+
# @return [String]
|
|
3847
|
+
#
|
|
3848
|
+
# @!attribute [rw] name
|
|
3849
|
+
# The name of the registry record.
|
|
3850
|
+
# @return [String]
|
|
3851
|
+
#
|
|
3852
|
+
# @!attribute [rw] description
|
|
3853
|
+
# A description of the registry record.
|
|
3854
|
+
# @return [String]
|
|
3855
|
+
#
|
|
3856
|
+
# @!attribute [rw] descriptor_type
|
|
3857
|
+
# The type of descriptor associated with this registry record.
|
|
3858
|
+
# @return [String]
|
|
3859
|
+
#
|
|
3860
|
+
# @!attribute [rw] descriptors
|
|
3861
|
+
# The descriptor configurations for this registry record.
|
|
3862
|
+
# @return [Types::Descriptors]
|
|
3863
|
+
#
|
|
3864
|
+
# @!attribute [rw] version
|
|
3865
|
+
# The version of the registry record.
|
|
3866
|
+
# @return [String]
|
|
3867
|
+
#
|
|
3868
|
+
# @!attribute [rw] status
|
|
3869
|
+
# The current status of the registry record.
|
|
3870
|
+
# @return [String]
|
|
3871
|
+
#
|
|
3872
|
+
# @!attribute [rw] created_at
|
|
3873
|
+
# The date and time when the registry record was created.
|
|
3874
|
+
# @return [Time]
|
|
3875
|
+
#
|
|
3876
|
+
# @!attribute [rw] updated_at
|
|
3877
|
+
# The date and time when the registry record was last updated.
|
|
3878
|
+
# @return [Time]
|
|
3879
|
+
#
|
|
3880
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/RegistryRecordSummary AWS API Documentation
|
|
3881
|
+
#
|
|
3882
|
+
class RegistryRecordSummary < Struct.new(
|
|
3883
|
+
:registry_arn,
|
|
3884
|
+
:record_arn,
|
|
3885
|
+
:record_id,
|
|
3886
|
+
:name,
|
|
3887
|
+
:description,
|
|
3888
|
+
:descriptor_type,
|
|
3889
|
+
:descriptors,
|
|
3890
|
+
:version,
|
|
3891
|
+
:status,
|
|
3892
|
+
:created_at,
|
|
3893
|
+
:updated_at)
|
|
3894
|
+
SENSITIVE = [:description]
|
|
3895
|
+
include Aws::Structure
|
|
3896
|
+
end
|
|
3897
|
+
|
|
3710
3898
|
# Contains information about resource content.
|
|
3711
3899
|
#
|
|
3712
3900
|
# @!attribute [rw] type
|
|
@@ -4098,6 +4286,56 @@ module Aws::BedrockAgentCore
|
|
|
4098
4286
|
include Aws::Structure
|
|
4099
4287
|
end
|
|
4100
4288
|
|
|
4289
|
+
# @!attribute [rw] search_query
|
|
4290
|
+
# The search query to find matching registry records.
|
|
4291
|
+
# @return [String]
|
|
4292
|
+
#
|
|
4293
|
+
# @!attribute [rw] registry_ids
|
|
4294
|
+
# The list of registry identifiers to search within. Currently, you
|
|
4295
|
+
# can specify exactly one registry identifier. You can provide either
|
|
4296
|
+
# the full Amazon Web Services Resource Name (ARN) or the 12-character
|
|
4297
|
+
# alphanumeric registry ID.
|
|
4298
|
+
# @return [Array<String>]
|
|
4299
|
+
#
|
|
4300
|
+
# @!attribute [rw] max_results
|
|
4301
|
+
# The maximum number of records to return in a single call. Valid
|
|
4302
|
+
# values are 1 through 20. The default value is 10.
|
|
4303
|
+
# @return [Integer]
|
|
4304
|
+
#
|
|
4305
|
+
# @!attribute [rw] filters
|
|
4306
|
+
# A metadata filter expression to narrow search results. Uses
|
|
4307
|
+
# structured JSON operators including field-level operators (`$eq`,
|
|
4308
|
+
# `$ne`, `$in`) and logical operators (`$and`, `$or`) on filterable
|
|
4309
|
+
# fields (`name`, `descriptorType`, `version`). For example, to filter
|
|
4310
|
+
# by descriptor type: `{"descriptorType": {"$eq": "MCP"}}`. To combine
|
|
4311
|
+
# filters: `{"$and": [{"descriptorType": {"$eq": "MCP"}}, {"name":
|
|
4312
|
+
# {"$eq": "my-tool"}}]}`.
|
|
4313
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
4314
|
+
#
|
|
4315
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SearchRegistryRecordsRequest AWS API Documentation
|
|
4316
|
+
#
|
|
4317
|
+
class SearchRegistryRecordsRequest < Struct.new(
|
|
4318
|
+
:search_query,
|
|
4319
|
+
:registry_ids,
|
|
4320
|
+
:max_results,
|
|
4321
|
+
:filters)
|
|
4322
|
+
SENSITIVE = []
|
|
4323
|
+
include Aws::Structure
|
|
4324
|
+
end
|
|
4325
|
+
|
|
4326
|
+
# @!attribute [rw] registry_records
|
|
4327
|
+
# The list of registry records that match the search query, ordered by
|
|
4328
|
+
# relevance.
|
|
4329
|
+
# @return [Array<Types::RegistryRecordSummary>]
|
|
4330
|
+
#
|
|
4331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SearchRegistryRecordsResponse AWS API Documentation
|
|
4332
|
+
#
|
|
4333
|
+
class SearchRegistryRecordsResponse < Struct.new(
|
|
4334
|
+
:registry_records)
|
|
4335
|
+
SENSITIVE = []
|
|
4336
|
+
include Aws::Structure
|
|
4337
|
+
end
|
|
4338
|
+
|
|
4101
4339
|
# The Amazon Web Services Secrets Manager location configuration.
|
|
4102
4340
|
#
|
|
4103
4341
|
# @!attribute [rw] secret_arn
|
|
@@ -4113,6 +4351,28 @@ module Aws::BedrockAgentCore
|
|
|
4113
4351
|
include Aws::Structure
|
|
4114
4352
|
end
|
|
4115
4353
|
|
|
4354
|
+
# The MCP server definition with a schema version and inline content.
|
|
4355
|
+
# The `schemaVersion` identifies the version of the MCP server
|
|
4356
|
+
# configuration schema.
|
|
4357
|
+
#
|
|
4358
|
+
# @!attribute [rw] schema_version
|
|
4359
|
+
# The schema version of the MCP server configuration. The schema
|
|
4360
|
+
# version identifies the format of the server definition content.
|
|
4361
|
+
# @return [String]
|
|
4362
|
+
#
|
|
4363
|
+
# @!attribute [rw] inline_content
|
|
4364
|
+
# The inline content of the server definition.
|
|
4365
|
+
# @return [String]
|
|
4366
|
+
#
|
|
4367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ServerDefinition AWS API Documentation
|
|
4368
|
+
#
|
|
4369
|
+
class ServerDefinition < Struct.new(
|
|
4370
|
+
:schema_version,
|
|
4371
|
+
:inline_content)
|
|
4372
|
+
SENSITIVE = []
|
|
4373
|
+
include Aws::Structure
|
|
4374
|
+
end
|
|
4375
|
+
|
|
4116
4376
|
# The service encountered an internal error. Try your request again
|
|
4117
4377
|
# later.
|
|
4118
4378
|
#
|
|
@@ -4183,6 +4443,41 @@ module Aws::BedrockAgentCore
|
|
|
4183
4443
|
include Aws::Structure
|
|
4184
4444
|
end
|
|
4185
4445
|
|
|
4446
|
+
# The structured skill definition with a schema version and inline
|
|
4447
|
+
# content.
|
|
4448
|
+
#
|
|
4449
|
+
# @!attribute [rw] schema_version
|
|
4450
|
+
# The schema version of the skill definition. If you don't specify a
|
|
4451
|
+
# version, the service detects it automatically.
|
|
4452
|
+
# @return [String]
|
|
4453
|
+
#
|
|
4454
|
+
# @!attribute [rw] inline_content
|
|
4455
|
+
# The inline content of the skill definition.
|
|
4456
|
+
# @return [String]
|
|
4457
|
+
#
|
|
4458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SkillDefinition AWS API Documentation
|
|
4459
|
+
#
|
|
4460
|
+
class SkillDefinition < Struct.new(
|
|
4461
|
+
:schema_version,
|
|
4462
|
+
:inline_content)
|
|
4463
|
+
SENSITIVE = []
|
|
4464
|
+
include Aws::Structure
|
|
4465
|
+
end
|
|
4466
|
+
|
|
4467
|
+
# The skill markdown definition for agent skills descriptors.
|
|
4468
|
+
#
|
|
4469
|
+
# @!attribute [rw] inline_content
|
|
4470
|
+
# The inline markdown content of the skill definition.
|
|
4471
|
+
# @return [String]
|
|
4472
|
+
#
|
|
4473
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SkillMdDefinition AWS API Documentation
|
|
4474
|
+
#
|
|
4475
|
+
class SkillMdDefinition < Struct.new(
|
|
4476
|
+
:inline_content)
|
|
4477
|
+
SENSITIVE = []
|
|
4478
|
+
include Aws::Structure
|
|
4479
|
+
end
|
|
4480
|
+
|
|
4186
4481
|
# The contextual information that uniquely identifies a span within the
|
|
4187
4482
|
# distributed tracing system. Contains session, trace, and span
|
|
4188
4483
|
# identifiers used to correlate evaluation results with specific agent
|
|
@@ -4816,6 +5111,30 @@ module Aws::BedrockAgentCore
|
|
|
4816
5111
|
include Aws::Structure
|
|
4817
5112
|
end
|
|
4818
5113
|
|
|
5114
|
+
# The MCP tools definition with a protocol version and inline content.
|
|
5115
|
+
# The `protocolVersion` identifies the MCP protocol version that the
|
|
5116
|
+
# tools conform to. This differs from `schemaVersion` in the server
|
|
5117
|
+
# definition, which identifies the server configuration schema format.
|
|
5118
|
+
#
|
|
5119
|
+
# @!attribute [rw] protocol_version
|
|
5120
|
+
# The MCP protocol version that the tools conform to. This differs
|
|
5121
|
+
# from the `schemaVersion` field in the server definition, which
|
|
5122
|
+
# identifies the server configuration schema format.
|
|
5123
|
+
# @return [String]
|
|
5124
|
+
#
|
|
5125
|
+
# @!attribute [rw] inline_content
|
|
5126
|
+
# The inline content of the tools definition.
|
|
5127
|
+
# @return [String]
|
|
5128
|
+
#
|
|
5129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ToolsDefinition AWS API Documentation
|
|
5130
|
+
#
|
|
5131
|
+
class ToolsDefinition < Struct.new(
|
|
5132
|
+
:protocol_version,
|
|
5133
|
+
:inline_content)
|
|
5134
|
+
SENSITIVE = []
|
|
5135
|
+
include Aws::Structure
|
|
5136
|
+
end
|
|
5137
|
+
|
|
4819
5138
|
# This exception is thrown when the JWT bearer token is invalid or not
|
|
4820
5139
|
# found for OAuth bearer token based access
|
|
4821
5140
|
#
|
data/sig/client.rbs
CHANGED
|
@@ -720,6 +720,20 @@ module Aws
|
|
|
720
720
|
) -> _SaveBrowserSessionProfileResponseSuccess
|
|
721
721
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SaveBrowserSessionProfileResponseSuccess
|
|
722
722
|
|
|
723
|
+
interface _SearchRegistryRecordsResponseSuccess
|
|
724
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SearchRegistryRecordsResponse]
|
|
725
|
+
def registry_records: () -> ::Array[Types::RegistryRecordSummary]
|
|
726
|
+
end
|
|
727
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#search_registry_records-instance_method
|
|
728
|
+
def search_registry_records: (
|
|
729
|
+
search_query: ::String,
|
|
730
|
+
registry_ids: Array[::String],
|
|
731
|
+
?max_results: ::Integer,
|
|
732
|
+
?filters: {
|
|
733
|
+
}
|
|
734
|
+
) -> _SearchRegistryRecordsResponseSuccess
|
|
735
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchRegistryRecordsResponseSuccess
|
|
736
|
+
|
|
723
737
|
interface _StartBrowserSessionResponseSuccess
|
|
724
738
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartBrowserSessionResponse]
|
|
725
739
|
def browser_identifier: () -> ::String
|
data/sig/types.rbs
CHANGED
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
module Aws::BedrockAgentCore
|
|
9
9
|
module Types
|
|
10
10
|
|
|
11
|
+
class A2aDescriptor
|
|
12
|
+
attr_accessor agent_card: Types::AgentCardDefinition
|
|
13
|
+
SENSITIVE: []
|
|
14
|
+
end
|
|
15
|
+
|
|
11
16
|
class AccessDeniedException
|
|
12
17
|
attr_accessor message: ::String
|
|
13
18
|
attr_accessor event_type: untyped
|
|
@@ -19,6 +24,18 @@ module Aws::BedrockAgentCore
|
|
|
19
24
|
SENSITIVE: []
|
|
20
25
|
end
|
|
21
26
|
|
|
27
|
+
class AgentCardDefinition
|
|
28
|
+
attr_accessor schema_version: ::String
|
|
29
|
+
attr_accessor inline_content: ::String
|
|
30
|
+
SENSITIVE: []
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
class AgentSkillsDescriptor
|
|
34
|
+
attr_accessor skill_md: Types::SkillMdDefinition
|
|
35
|
+
attr_accessor skill_definition: Types::SkillDefinition
|
|
36
|
+
SENSITIVE: []
|
|
37
|
+
end
|
|
38
|
+
|
|
22
39
|
class AutomationStream
|
|
23
40
|
attr_accessor stream_endpoint: ::String
|
|
24
41
|
attr_accessor stream_status: ("ENABLED" | "DISABLED")
|
|
@@ -302,6 +319,11 @@ module Aws::BedrockAgentCore
|
|
|
302
319
|
SENSITIVE: []
|
|
303
320
|
end
|
|
304
321
|
|
|
322
|
+
class CustomDescriptor
|
|
323
|
+
attr_accessor inline_content: ::String
|
|
324
|
+
SENSITIVE: []
|
|
325
|
+
end
|
|
326
|
+
|
|
305
327
|
class DeleteEventInput
|
|
306
328
|
attr_accessor memory_id: ::String
|
|
307
329
|
attr_accessor session_id: ::String
|
|
@@ -326,6 +348,14 @@ module Aws::BedrockAgentCore
|
|
|
326
348
|
SENSITIVE: []
|
|
327
349
|
end
|
|
328
350
|
|
|
351
|
+
class Descriptors
|
|
352
|
+
attr_accessor mcp: Types::McpDescriptor
|
|
353
|
+
attr_accessor a2a: Types::A2aDescriptor
|
|
354
|
+
attr_accessor custom: Types::CustomDescriptor
|
|
355
|
+
attr_accessor agent_skills: Types::AgentSkillsDescriptor
|
|
356
|
+
SENSITIVE: []
|
|
357
|
+
end
|
|
358
|
+
|
|
329
359
|
class DuplicateIdException
|
|
330
360
|
attr_accessor message: ::String
|
|
331
361
|
SENSITIVE: []
|
|
@@ -884,6 +914,12 @@ module Aws::BedrockAgentCore
|
|
|
884
914
|
SENSITIVE: []
|
|
885
915
|
end
|
|
886
916
|
|
|
917
|
+
class McpDescriptor
|
|
918
|
+
attr_accessor server: Types::ServerDefinition
|
|
919
|
+
attr_accessor tools: Types::ToolsDefinition
|
|
920
|
+
SENSITIVE: []
|
|
921
|
+
end
|
|
922
|
+
|
|
887
923
|
class MemoryContent
|
|
888
924
|
attr_accessor text: ::String
|
|
889
925
|
attr_accessor unknown: untyped
|
|
@@ -1074,6 +1110,21 @@ module Aws::BedrockAgentCore
|
|
|
1074
1110
|
end
|
|
1075
1111
|
end
|
|
1076
1112
|
|
|
1113
|
+
class RegistryRecordSummary
|
|
1114
|
+
attr_accessor registry_arn: ::String
|
|
1115
|
+
attr_accessor record_arn: ::String
|
|
1116
|
+
attr_accessor record_id: ::String
|
|
1117
|
+
attr_accessor name: ::String
|
|
1118
|
+
attr_accessor description: ::String
|
|
1119
|
+
attr_accessor descriptor_type: ("MCP" | "A2A" | "CUSTOM" | "AGENT_SKILLS")
|
|
1120
|
+
attr_accessor descriptors: Types::Descriptors
|
|
1121
|
+
attr_accessor version: ::String
|
|
1122
|
+
attr_accessor status: ("DRAFT" | "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "DEPRECATED")
|
|
1123
|
+
attr_accessor created_at: ::Time
|
|
1124
|
+
attr_accessor updated_at: ::Time
|
|
1125
|
+
SENSITIVE: [:description]
|
|
1126
|
+
end
|
|
1127
|
+
|
|
1077
1128
|
class ResourceContent
|
|
1078
1129
|
attr_accessor type: ("text" | "blob")
|
|
1079
1130
|
attr_accessor uri: ::String
|
|
@@ -1190,11 +1241,30 @@ module Aws::BedrockAgentCore
|
|
|
1190
1241
|
SENSITIVE: [:search_query]
|
|
1191
1242
|
end
|
|
1192
1243
|
|
|
1244
|
+
class SearchRegistryRecordsRequest
|
|
1245
|
+
attr_accessor search_query: ::String
|
|
1246
|
+
attr_accessor registry_ids: ::Array[::String]
|
|
1247
|
+
attr_accessor max_results: ::Integer
|
|
1248
|
+
attr_accessor filters: untyped
|
|
1249
|
+
SENSITIVE: []
|
|
1250
|
+
end
|
|
1251
|
+
|
|
1252
|
+
class SearchRegistryRecordsResponse
|
|
1253
|
+
attr_accessor registry_records: ::Array[Types::RegistryRecordSummary]
|
|
1254
|
+
SENSITIVE: []
|
|
1255
|
+
end
|
|
1256
|
+
|
|
1193
1257
|
class SecretsManagerLocation
|
|
1194
1258
|
attr_accessor secret_arn: ::String
|
|
1195
1259
|
SENSITIVE: []
|
|
1196
1260
|
end
|
|
1197
1261
|
|
|
1262
|
+
class ServerDefinition
|
|
1263
|
+
attr_accessor schema_version: ::String
|
|
1264
|
+
attr_accessor inline_content: ::String
|
|
1265
|
+
SENSITIVE: []
|
|
1266
|
+
end
|
|
1267
|
+
|
|
1198
1268
|
class ServiceException
|
|
1199
1269
|
attr_accessor message: ::String
|
|
1200
1270
|
SENSITIVE: []
|
|
@@ -1218,6 +1288,17 @@ module Aws::BedrockAgentCore
|
|
|
1218
1288
|
SENSITIVE: []
|
|
1219
1289
|
end
|
|
1220
1290
|
|
|
1291
|
+
class SkillDefinition
|
|
1292
|
+
attr_accessor schema_version: ::String
|
|
1293
|
+
attr_accessor inline_content: ::String
|
|
1294
|
+
SENSITIVE: []
|
|
1295
|
+
end
|
|
1296
|
+
|
|
1297
|
+
class SkillMdDefinition
|
|
1298
|
+
attr_accessor inline_content: ::String
|
|
1299
|
+
SENSITIVE: []
|
|
1300
|
+
end
|
|
1301
|
+
|
|
1221
1302
|
class SpanContext
|
|
1222
1303
|
attr_accessor session_id: ::String
|
|
1223
1304
|
attr_accessor trace_id: ::String
|
|
@@ -1378,6 +1459,12 @@ module Aws::BedrockAgentCore
|
|
|
1378
1459
|
SENSITIVE: []
|
|
1379
1460
|
end
|
|
1380
1461
|
|
|
1462
|
+
class ToolsDefinition
|
|
1463
|
+
attr_accessor protocol_version: ::String
|
|
1464
|
+
attr_accessor inline_content: ::String
|
|
1465
|
+
SENSITIVE: []
|
|
1466
|
+
end
|
|
1467
|
+
|
|
1381
1468
|
class UnauthorizedException
|
|
1382
1469
|
attr_accessor message: ::String
|
|
1383
1470
|
SENSITIVE: []
|