@aws-sdk/client-bedrock-agentcore 3.1026.0 → 3.1028.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.
- package/README.md +7 -0
- package/dist-cjs/index.js +29 -0
- package/dist-cjs/schemas/schemas_0.js +122 -13
- package/dist-es/BedrockAgentCore.js +2 -0
- package/dist-es/commands/SearchRegistryRecordsCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +13 -0
- package/dist-es/schemas/schemas_0.js +117 -8
- package/dist-types/BedrockAgentCore.d.ts +7 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +3 -2
- package/dist-types/commands/SearchRegistryRecordsCommand.d.ts +140 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +29 -0
- package/dist-types/models/models_0.d.ts +252 -1
- package/dist-types/schemas/schemas_0.d.ts +14 -0
- package/dist-types/ts3.4/BedrockAgentCore.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/SearchRegistryRecordsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +17 -0
- package/dist-types/ts3.4/models/models_0.d.ts +63 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
- package/package.json +1 -1
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
|
|
2
|
-
import type { AutomationStreamStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, EventFilterCondition, ExtractionJobStatus, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OperatorType, ProgrammingLanguage, ResourceContentType, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
2
|
+
import type { AutomationStreamStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, DescriptorType, EventFilterCondition, ExtractionJobStatus, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OperatorType, ProgrammingLanguage, RegistryRecordStatus, ResourceContentType, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
3
3
|
import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, RuntimeClientError, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
|
|
4
|
+
/**
|
|
5
|
+
* <p> The agent card definition for A2A descriptors, including the schema version and inline content that describes the agent's capabilities.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface AgentCardDefinition {
|
|
9
|
+
/**
|
|
10
|
+
* <p> The schema version of the agent card definition.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
schemaVersion?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p> The inline content of the agent card definition.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
inlineContent?: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* <p> The A2A (Agent-to-Agent) descriptor configuration for a registry record.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface A2aDescriptor {
|
|
25
|
+
/**
|
|
26
|
+
* <p> The agent card definition that describes the agent's capabilities and interface.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
agentCard: AgentCardDefinition | undefined;
|
|
30
|
+
}
|
|
4
31
|
/**
|
|
5
32
|
* <p>Contains summary information about an actor in an AgentCore Memory resource.</p>
|
|
6
33
|
* @public
|
|
@@ -579,6 +606,49 @@ export interface StopRuntimeSessionResponse {
|
|
|
579
606
|
*/
|
|
580
607
|
statusCode?: number | undefined;
|
|
581
608
|
}
|
|
609
|
+
/**
|
|
610
|
+
* <p> The structured skill definition with a schema version and inline content.</p>
|
|
611
|
+
* @public
|
|
612
|
+
*/
|
|
613
|
+
export interface SkillDefinition {
|
|
614
|
+
/**
|
|
615
|
+
* <p> The schema version of the skill definition. If you don't specify a version, the service detects it automatically.</p>
|
|
616
|
+
* @public
|
|
617
|
+
*/
|
|
618
|
+
schemaVersion?: string | undefined;
|
|
619
|
+
/**
|
|
620
|
+
* <p> The inline content of the skill definition.</p>
|
|
621
|
+
* @public
|
|
622
|
+
*/
|
|
623
|
+
inlineContent?: string | undefined;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* <p> The skill markdown definition for agent skills descriptors.</p>
|
|
627
|
+
* @public
|
|
628
|
+
*/
|
|
629
|
+
export interface SkillMdDefinition {
|
|
630
|
+
/**
|
|
631
|
+
* <p> The inline markdown content of the skill definition.</p>
|
|
632
|
+
* @public
|
|
633
|
+
*/
|
|
634
|
+
inlineContent?: string | undefined;
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* <p> The agent skills descriptor configuration for a registry record.</p>
|
|
638
|
+
* @public
|
|
639
|
+
*/
|
|
640
|
+
export interface AgentSkillsDescriptor {
|
|
641
|
+
/**
|
|
642
|
+
* <p> The skill description in markdown format.</p>
|
|
643
|
+
* @public
|
|
644
|
+
*/
|
|
645
|
+
skillMd: SkillMdDefinition | undefined;
|
|
646
|
+
/**
|
|
647
|
+
* <p> The structured skill definition with a schema version and content.</p>
|
|
648
|
+
* @public
|
|
649
|
+
*/
|
|
650
|
+
skillDefinition?: SkillDefinition | undefined;
|
|
651
|
+
}
|
|
582
652
|
/**
|
|
583
653
|
* @public
|
|
584
654
|
*/
|
|
@@ -4529,3 +4599,184 @@ export interface StartMemoryExtractionJobOutput {
|
|
|
4529
4599
|
*/
|
|
4530
4600
|
jobId: string | undefined;
|
|
4531
4601
|
}
|
|
4602
|
+
/**
|
|
4603
|
+
* @public
|
|
4604
|
+
*/
|
|
4605
|
+
export interface SearchRegistryRecordsRequest {
|
|
4606
|
+
/**
|
|
4607
|
+
* <p> The search query to find matching registry records.</p>
|
|
4608
|
+
* @public
|
|
4609
|
+
*/
|
|
4610
|
+
searchQuery: string | undefined;
|
|
4611
|
+
/**
|
|
4612
|
+
* <p> The list of registry identifiers to search within. Currently, you can specify exactly one registry identifier. You can provide either the full Amazon Web Services Resource Name (ARN) or the 12-character alphanumeric registry ID.</p>
|
|
4613
|
+
* @public
|
|
4614
|
+
*/
|
|
4615
|
+
registryIds: string[] | undefined;
|
|
4616
|
+
/**
|
|
4617
|
+
* <p> The maximum number of records to return in a single call. Valid values are 1 through 20. The default value is 10.</p>
|
|
4618
|
+
* @public
|
|
4619
|
+
*/
|
|
4620
|
+
maxResults?: number | undefined;
|
|
4621
|
+
/**
|
|
4622
|
+
* <p> A metadata filter expression to narrow search results. Uses structured JSON operators including field-level operators (<code>$eq</code>, <code>$ne</code>, <code>$in</code>) and logical operators (<code>$and</code>, <code>$or</code>) on filterable fields (<code>name</code>, <code>descriptorType</code>, <code>version</code>). For example, to filter by descriptor type: <code>\{"descriptorType": \{"$eq": "MCP"\}\}</code>. To combine filters: <code>\{"$and": [\{"descriptorType": \{"$eq": "MCP"\}\}, \{"name": \{"$eq": "my-tool"\}\}]\}</code>.</p>
|
|
4623
|
+
* @public
|
|
4624
|
+
*/
|
|
4625
|
+
filters?: __DocumentType | undefined;
|
|
4626
|
+
}
|
|
4627
|
+
/**
|
|
4628
|
+
* <p> A custom descriptor configuration for a registry record.</p>
|
|
4629
|
+
* @public
|
|
4630
|
+
*/
|
|
4631
|
+
export interface CustomDescriptor {
|
|
4632
|
+
/**
|
|
4633
|
+
* <p> The inline content of the custom descriptor.</p>
|
|
4634
|
+
* @public
|
|
4635
|
+
*/
|
|
4636
|
+
inlineContent?: string | undefined;
|
|
4637
|
+
}
|
|
4638
|
+
/**
|
|
4639
|
+
* <p> The MCP server definition with a schema version and inline content. The <code>schemaVersion</code> identifies the version of the MCP server configuration schema.</p>
|
|
4640
|
+
* @public
|
|
4641
|
+
*/
|
|
4642
|
+
export interface ServerDefinition {
|
|
4643
|
+
/**
|
|
4644
|
+
* <p> The schema version of the MCP server configuration. The schema version identifies the format of the server definition content.</p>
|
|
4645
|
+
* @public
|
|
4646
|
+
*/
|
|
4647
|
+
schemaVersion?: string | undefined;
|
|
4648
|
+
/**
|
|
4649
|
+
* <p> The inline content of the server definition.</p>
|
|
4650
|
+
* @public
|
|
4651
|
+
*/
|
|
4652
|
+
inlineContent?: string | undefined;
|
|
4653
|
+
}
|
|
4654
|
+
/**
|
|
4655
|
+
* <p> The MCP tools definition with a protocol version and inline content. The <code>protocolVersion</code> identifies the MCP protocol version that the tools conform to. This differs from <code>schemaVersion</code> in the server definition, which identifies the server configuration schema format.</p>
|
|
4656
|
+
* @public
|
|
4657
|
+
*/
|
|
4658
|
+
export interface ToolsDefinition {
|
|
4659
|
+
/**
|
|
4660
|
+
* <p> The MCP protocol version that the tools conform to. This differs from the <code>schemaVersion</code> field in the server definition, which identifies the server configuration schema format.</p>
|
|
4661
|
+
* @public
|
|
4662
|
+
*/
|
|
4663
|
+
protocolVersion?: string | undefined;
|
|
4664
|
+
/**
|
|
4665
|
+
* <p> The inline content of the tools definition.</p>
|
|
4666
|
+
* @public
|
|
4667
|
+
*/
|
|
4668
|
+
inlineContent?: string | undefined;
|
|
4669
|
+
}
|
|
4670
|
+
/**
|
|
4671
|
+
* <p> The MCP (Model Context Protocol) descriptor configuration for a registry record. Contains the server definition and tools definition.</p>
|
|
4672
|
+
* @public
|
|
4673
|
+
*/
|
|
4674
|
+
export interface McpDescriptor {
|
|
4675
|
+
/**
|
|
4676
|
+
* <p> The MCP server definition that describes the server configuration.</p>
|
|
4677
|
+
* @public
|
|
4678
|
+
*/
|
|
4679
|
+
server: ServerDefinition | undefined;
|
|
4680
|
+
/**
|
|
4681
|
+
* <p> The MCP tools definition that describes the available tools.</p>
|
|
4682
|
+
* @public
|
|
4683
|
+
*/
|
|
4684
|
+
tools: ToolsDefinition | undefined;
|
|
4685
|
+
}
|
|
4686
|
+
/**
|
|
4687
|
+
* <p> Contains the descriptor configuration for a registry record. Only the field that matches the record's <code>descriptorType</code> is populated.</p>
|
|
4688
|
+
* @public
|
|
4689
|
+
*/
|
|
4690
|
+
export interface Descriptors {
|
|
4691
|
+
/**
|
|
4692
|
+
* <p> The MCP (Model Context Protocol) descriptor configuration. Populated when the record's <code>descriptorType</code> is <code>MCP</code>.</p>
|
|
4693
|
+
* @public
|
|
4694
|
+
*/
|
|
4695
|
+
mcp?: McpDescriptor | undefined;
|
|
4696
|
+
/**
|
|
4697
|
+
* <p> The A2A (Agent-to-Agent) descriptor configuration. Populated when the record's <code>descriptorType</code> is <code>A2A</code>.</p>
|
|
4698
|
+
* @public
|
|
4699
|
+
*/
|
|
4700
|
+
a2a?: A2aDescriptor | undefined;
|
|
4701
|
+
/**
|
|
4702
|
+
* <p> The custom descriptor configuration. Populated when the record's <code>descriptorType</code> is <code>CUSTOM</code>.</p>
|
|
4703
|
+
* @public
|
|
4704
|
+
*/
|
|
4705
|
+
custom?: CustomDescriptor | undefined;
|
|
4706
|
+
/**
|
|
4707
|
+
* <p> The agent skills descriptor configuration. Populated when the record's <code>descriptorType</code> is <code>AGENT_SKILLS</code>.</p>
|
|
4708
|
+
* @public
|
|
4709
|
+
*/
|
|
4710
|
+
agentSkills?: AgentSkillsDescriptor | undefined;
|
|
4711
|
+
}
|
|
4712
|
+
/**
|
|
4713
|
+
* <p> Summary information about a registry record.</p>
|
|
4714
|
+
* @public
|
|
4715
|
+
*/
|
|
4716
|
+
export interface RegistryRecordSummary {
|
|
4717
|
+
/**
|
|
4718
|
+
* <p> The Amazon Resource Name (ARN) of the registry that this record belongs to.</p>
|
|
4719
|
+
* @public
|
|
4720
|
+
*/
|
|
4721
|
+
registryArn: string | undefined;
|
|
4722
|
+
/**
|
|
4723
|
+
* <p> The Amazon Resource Name (ARN) of the registry record.</p>
|
|
4724
|
+
* @public
|
|
4725
|
+
*/
|
|
4726
|
+
recordArn: string | undefined;
|
|
4727
|
+
/**
|
|
4728
|
+
* <p> The unique identifier of the registry record.</p>
|
|
4729
|
+
* @public
|
|
4730
|
+
*/
|
|
4731
|
+
recordId: string | undefined;
|
|
4732
|
+
/**
|
|
4733
|
+
* <p> The name of the registry record.</p>
|
|
4734
|
+
* @public
|
|
4735
|
+
*/
|
|
4736
|
+
name: string | undefined;
|
|
4737
|
+
/**
|
|
4738
|
+
* <p> A description of the registry record.</p>
|
|
4739
|
+
* @public
|
|
4740
|
+
*/
|
|
4741
|
+
description?: string | undefined;
|
|
4742
|
+
/**
|
|
4743
|
+
* <p> The type of descriptor associated with this registry record.</p>
|
|
4744
|
+
* @public
|
|
4745
|
+
*/
|
|
4746
|
+
descriptorType: DescriptorType | undefined;
|
|
4747
|
+
/**
|
|
4748
|
+
* <p> The descriptor configurations for this registry record.</p>
|
|
4749
|
+
* @public
|
|
4750
|
+
*/
|
|
4751
|
+
descriptors: Descriptors | undefined;
|
|
4752
|
+
/**
|
|
4753
|
+
* <p> The version of the registry record.</p>
|
|
4754
|
+
* @public
|
|
4755
|
+
*/
|
|
4756
|
+
version: string | undefined;
|
|
4757
|
+
/**
|
|
4758
|
+
* <p> The current status of the registry record.</p>
|
|
4759
|
+
* @public
|
|
4760
|
+
*/
|
|
4761
|
+
status: RegistryRecordStatus | undefined;
|
|
4762
|
+
/**
|
|
4763
|
+
* <p> The date and time when the registry record was created.</p>
|
|
4764
|
+
* @public
|
|
4765
|
+
*/
|
|
4766
|
+
createdAt: Date | undefined;
|
|
4767
|
+
/**
|
|
4768
|
+
* <p> The date and time when the registry record was last updated.</p>
|
|
4769
|
+
* @public
|
|
4770
|
+
*/
|
|
4771
|
+
updatedAt: Date | undefined;
|
|
4772
|
+
}
|
|
4773
|
+
/**
|
|
4774
|
+
* @public
|
|
4775
|
+
*/
|
|
4776
|
+
export interface SearchRegistryRecordsResponse {
|
|
4777
|
+
/**
|
|
4778
|
+
* <p> The list of registry records that match the search query, ordered by relevance.</p>
|
|
4779
|
+
* @public
|
|
4780
|
+
*/
|
|
4781
|
+
registryRecords: RegistryRecordSummary[] | undefined;
|
|
4782
|
+
}
|
|
@@ -21,7 +21,10 @@ export declare var ValidationException$: StaticErrorSchema;
|
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
23
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
24
|
+
export declare var A2aDescriptor$: StaticStructureSchema;
|
|
24
25
|
export declare var ActorSummary$: StaticStructureSchema;
|
|
26
|
+
export declare var AgentCardDefinition$: StaticStructureSchema;
|
|
27
|
+
export declare var AgentSkillsDescriptor$: StaticStructureSchema;
|
|
25
28
|
export declare var AutomationStream$: StaticStructureSchema;
|
|
26
29
|
export declare var AutomationStreamUpdate$: StaticStructureSchema;
|
|
27
30
|
export declare var BasicAuth$: StaticStructureSchema;
|
|
@@ -50,10 +53,12 @@ export declare var ContentStopEvent$: StaticStructureSchema;
|
|
|
50
53
|
export declare var Conversational$: StaticStructureSchema;
|
|
51
54
|
export declare var CreateEventInput$: StaticStructureSchema;
|
|
52
55
|
export declare var CreateEventOutput$: StaticStructureSchema;
|
|
56
|
+
export declare var CustomDescriptor$: StaticStructureSchema;
|
|
53
57
|
export declare var DeleteEventInput$: StaticStructureSchema;
|
|
54
58
|
export declare var DeleteEventOutput$: StaticStructureSchema;
|
|
55
59
|
export declare var DeleteMemoryRecordInput$: StaticStructureSchema;
|
|
56
60
|
export declare var DeleteMemoryRecordOutput$: StaticStructureSchema;
|
|
61
|
+
export declare var Descriptors$: StaticStructureSchema;
|
|
57
62
|
export declare var EvaluateRequest$: StaticStructureSchema;
|
|
58
63
|
export declare var EvaluateResponse$: StaticStructureSchema;
|
|
59
64
|
export declare var EvaluationExpectedTrajectory$: StaticStructureSchema;
|
|
@@ -117,6 +122,7 @@ export declare var ListMemoryRecordsOutput$: StaticStructureSchema;
|
|
|
117
122
|
export declare var ListSessionsInput$: StaticStructureSchema;
|
|
118
123
|
export declare var ListSessionsOutput$: StaticStructureSchema;
|
|
119
124
|
export declare var LiveViewStream$: StaticStructureSchema;
|
|
125
|
+
export declare var McpDescriptor$: StaticStructureSchema;
|
|
120
126
|
export declare var MemoryMetadataFilterExpression$: StaticStructureSchema;
|
|
121
127
|
export declare var MemoryRecord$: StaticStructureSchema;
|
|
122
128
|
export declare var MemoryRecordCreateInput$: StaticStructureSchema;
|
|
@@ -135,6 +141,7 @@ export declare var MouseScrollArguments$: StaticStructureSchema;
|
|
|
135
141
|
export declare var MouseScrollResult$: StaticStructureSchema;
|
|
136
142
|
export declare var ProxyBypass$: StaticStructureSchema;
|
|
137
143
|
export declare var ProxyConfiguration$: StaticStructureSchema;
|
|
144
|
+
export declare var RegistryRecordSummary$: StaticStructureSchema;
|
|
138
145
|
export declare var ResourceContent$: StaticStructureSchema;
|
|
139
146
|
export declare var ResponseChunk$: StaticStructureSchema;
|
|
140
147
|
export declare var RetrieveMemoryRecordsInput$: StaticStructureSchema;
|
|
@@ -145,9 +152,14 @@ export declare var SaveBrowserSessionProfileResponse$: StaticStructureSchema;
|
|
|
145
152
|
export declare var ScreenshotArguments$: StaticStructureSchema;
|
|
146
153
|
export declare var ScreenshotResult$: StaticStructureSchema;
|
|
147
154
|
export declare var SearchCriteria$: StaticStructureSchema;
|
|
155
|
+
export declare var SearchRegistryRecordsRequest$: StaticStructureSchema;
|
|
156
|
+
export declare var SearchRegistryRecordsResponse$: StaticStructureSchema;
|
|
148
157
|
export declare var SecretsManagerLocation$: StaticStructureSchema;
|
|
158
|
+
export declare var ServerDefinition$: StaticStructureSchema;
|
|
149
159
|
export declare var SessionFilter$: StaticStructureSchema;
|
|
150
160
|
export declare var SessionSummary$: StaticStructureSchema;
|
|
161
|
+
export declare var SkillDefinition$: StaticStructureSchema;
|
|
162
|
+
export declare var SkillMdDefinition$: StaticStructureSchema;
|
|
151
163
|
export declare var SpanContext$: StaticStructureSchema;
|
|
152
164
|
export declare var StartBrowserSessionRequest$: StaticStructureSchema;
|
|
153
165
|
export declare var StartBrowserSessionResponse$: StaticStructureSchema;
|
|
@@ -164,6 +176,7 @@ export declare var StopRuntimeSessionResponse$: StaticStructureSchema;
|
|
|
164
176
|
export declare var TokenUsage$: StaticStructureSchema;
|
|
165
177
|
export declare var ToolArguments$: StaticStructureSchema;
|
|
166
178
|
export declare var ToolResultStructuredContent$: StaticStructureSchema;
|
|
179
|
+
export declare var ToolsDefinition$: StaticStructureSchema;
|
|
167
180
|
export declare var UpdateBrowserStreamRequest$: StaticStructureSchema;
|
|
168
181
|
export declare var UpdateBrowserStreamResponse$: StaticStructureSchema;
|
|
169
182
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
@@ -220,6 +233,7 @@ export declare var ListMemoryRecords$: StaticOperationSchema;
|
|
|
220
233
|
export declare var ListSessions$: StaticOperationSchema;
|
|
221
234
|
export declare var RetrieveMemoryRecords$: StaticOperationSchema;
|
|
222
235
|
export declare var SaveBrowserSessionProfile$: StaticOperationSchema;
|
|
236
|
+
export declare var SearchRegistryRecords$: StaticOperationSchema;
|
|
223
237
|
export declare var StartBrowserSession$: StaticOperationSchema;
|
|
224
238
|
export declare var StartCodeInterpreterSession$: StaticOperationSchema;
|
|
225
239
|
export declare var StartMemoryExtractionJob$: StaticOperationSchema;
|
|
@@ -128,6 +128,10 @@ import {
|
|
|
128
128
|
SaveBrowserSessionProfileCommandInput,
|
|
129
129
|
SaveBrowserSessionProfileCommandOutput,
|
|
130
130
|
} from "./commands/SaveBrowserSessionProfileCommand";
|
|
131
|
+
import {
|
|
132
|
+
SearchRegistryRecordsCommandInput,
|
|
133
|
+
SearchRegistryRecordsCommandOutput,
|
|
134
|
+
} from "./commands/SearchRegistryRecordsCommand";
|
|
131
135
|
import {
|
|
132
136
|
StartBrowserSessionCommandInput,
|
|
133
137
|
StartBrowserSessionCommandOutput,
|
|
@@ -560,6 +564,19 @@ export interface BedrockAgentCore {
|
|
|
560
564
|
options: __HttpHandlerOptions,
|
|
561
565
|
cb: (err: any, data?: SaveBrowserSessionProfileCommandOutput) => void
|
|
562
566
|
): void;
|
|
567
|
+
searchRegistryRecords(
|
|
568
|
+
args: SearchRegistryRecordsCommandInput,
|
|
569
|
+
options?: __HttpHandlerOptions
|
|
570
|
+
): Promise<SearchRegistryRecordsCommandOutput>;
|
|
571
|
+
searchRegistryRecords(
|
|
572
|
+
args: SearchRegistryRecordsCommandInput,
|
|
573
|
+
cb: (err: any, data?: SearchRegistryRecordsCommandOutput) => void
|
|
574
|
+
): void;
|
|
575
|
+
searchRegistryRecords(
|
|
576
|
+
args: SearchRegistryRecordsCommandInput,
|
|
577
|
+
options: __HttpHandlerOptions,
|
|
578
|
+
cb: (err: any, data?: SearchRegistryRecordsCommandOutput) => void
|
|
579
|
+
): void;
|
|
563
580
|
startBrowserSession(
|
|
564
581
|
args: StartBrowserSessionCommandInput,
|
|
565
582
|
options?: __HttpHandlerOptions
|
|
@@ -174,6 +174,10 @@ import {
|
|
|
174
174
|
SaveBrowserSessionProfileCommandInput,
|
|
175
175
|
SaveBrowserSessionProfileCommandOutput,
|
|
176
176
|
} from "./commands/SaveBrowserSessionProfileCommand";
|
|
177
|
+
import {
|
|
178
|
+
SearchRegistryRecordsCommandInput,
|
|
179
|
+
SearchRegistryRecordsCommandOutput,
|
|
180
|
+
} from "./commands/SearchRegistryRecordsCommand";
|
|
177
181
|
import {
|
|
178
182
|
StartBrowserSessionCommandInput,
|
|
179
183
|
StartBrowserSessionCommandOutput,
|
|
@@ -241,6 +245,7 @@ export type ServiceInputTypes =
|
|
|
241
245
|
| ListSessionsCommandInput
|
|
242
246
|
| RetrieveMemoryRecordsCommandInput
|
|
243
247
|
| SaveBrowserSessionProfileCommandInput
|
|
248
|
+
| SearchRegistryRecordsCommandInput
|
|
244
249
|
| StartBrowserSessionCommandInput
|
|
245
250
|
| StartCodeInterpreterSessionCommandInput
|
|
246
251
|
| StartMemoryExtractionJobCommandInput
|
|
@@ -280,6 +285,7 @@ export type ServiceOutputTypes =
|
|
|
280
285
|
| ListSessionsCommandOutput
|
|
281
286
|
| RetrieveMemoryRecordsCommandOutput
|
|
282
287
|
| SaveBrowserSessionProfileCommandOutput
|
|
288
|
+
| SearchRegistryRecordsCommandOutput
|
|
283
289
|
| StartBrowserSessionCommandOutput
|
|
284
290
|
| StartCodeInterpreterSessionCommandOutput
|
|
285
291
|
| StartMemoryExtractionJobCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockAgentCoreClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockAgentCoreClient";
|
|
8
|
+
import {
|
|
9
|
+
SearchRegistryRecordsRequest,
|
|
10
|
+
SearchRegistryRecordsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface SearchRegistryRecordsCommandInput
|
|
15
|
+
extends SearchRegistryRecordsRequest {}
|
|
16
|
+
export interface SearchRegistryRecordsCommandOutput
|
|
17
|
+
extends SearchRegistryRecordsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const SearchRegistryRecordsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: SearchRegistryRecordsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
SearchRegistryRecordsCommandInput,
|
|
24
|
+
SearchRegistryRecordsCommandOutput,
|
|
25
|
+
BedrockAgentCoreClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: SearchRegistryRecordsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
SearchRegistryRecordsCommandInput,
|
|
33
|
+
SearchRegistryRecordsCommandOutput,
|
|
34
|
+
BedrockAgentCoreClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class SearchRegistryRecordsCommand extends SearchRegistryRecordsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: SearchRegistryRecordsRequest;
|
|
44
|
+
output: SearchRegistryRecordsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: SearchRegistryRecordsCommandInput;
|
|
48
|
+
output: SearchRegistryRecordsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -29,6 +29,7 @@ export * from "./ListMemoryRecordsCommand";
|
|
|
29
29
|
export * from "./ListSessionsCommand";
|
|
30
30
|
export * from "./RetrieveMemoryRecordsCommand";
|
|
31
31
|
export * from "./SaveBrowserSessionProfileCommand";
|
|
32
|
+
export * from "./SearchRegistryRecordsCommand";
|
|
32
33
|
export * from "./StartBrowserSessionCommand";
|
|
33
34
|
export * from "./StartCodeInterpreterSessionCommand";
|
|
34
35
|
export * from "./StartMemoryExtractionJobCommand";
|
|
@@ -142,3 +142,20 @@ export declare const EventFilterCondition: {
|
|
|
142
142
|
};
|
|
143
143
|
export type EventFilterCondition =
|
|
144
144
|
(typeof EventFilterCondition)[keyof typeof EventFilterCondition];
|
|
145
|
+
export declare const DescriptorType: {
|
|
146
|
+
readonly A2A: "A2A";
|
|
147
|
+
readonly AGENT_SKILLS: "AGENT_SKILLS";
|
|
148
|
+
readonly CUSTOM: "CUSTOM";
|
|
149
|
+
readonly MCP: "MCP";
|
|
150
|
+
};
|
|
151
|
+
export type DescriptorType =
|
|
152
|
+
(typeof DescriptorType)[keyof typeof DescriptorType];
|
|
153
|
+
export declare const RegistryRecordStatus: {
|
|
154
|
+
readonly APPROVED: "APPROVED";
|
|
155
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
156
|
+
readonly DRAFT: "DRAFT";
|
|
157
|
+
readonly PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
158
|
+
readonly REJECTED: "REJECTED";
|
|
159
|
+
};
|
|
160
|
+
export type RegistryRecordStatus =
|
|
161
|
+
(typeof RegistryRecordStatus)[keyof typeof RegistryRecordStatus];
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
CodeInterpreterSessionStatus,
|
|
11
11
|
CommandExecutionStatus,
|
|
12
12
|
ContentBlockType,
|
|
13
|
+
DescriptorType,
|
|
13
14
|
EventFilterCondition,
|
|
14
15
|
ExtractionJobStatus,
|
|
15
16
|
LanguageRuntime,
|
|
@@ -18,6 +19,7 @@ import {
|
|
|
18
19
|
Oauth2FlowType,
|
|
19
20
|
OperatorType,
|
|
20
21
|
ProgrammingLanguage,
|
|
22
|
+
RegistryRecordStatus,
|
|
21
23
|
ResourceContentType,
|
|
22
24
|
Role,
|
|
23
25
|
ScreenshotFormat,
|
|
@@ -35,6 +37,13 @@ import {
|
|
|
35
37
|
ThrottlingException,
|
|
36
38
|
ValidationException,
|
|
37
39
|
} from "./errors";
|
|
40
|
+
export interface AgentCardDefinition {
|
|
41
|
+
schemaVersion?: string | undefined;
|
|
42
|
+
inlineContent?: string | undefined;
|
|
43
|
+
}
|
|
44
|
+
export interface A2aDescriptor {
|
|
45
|
+
agentCard: AgentCardDefinition | undefined;
|
|
46
|
+
}
|
|
38
47
|
export interface ActorSummary {
|
|
39
48
|
actorId: string | undefined;
|
|
40
49
|
}
|
|
@@ -253,6 +262,17 @@ export interface StopRuntimeSessionResponse {
|
|
|
253
262
|
runtimeSessionId?: string | undefined;
|
|
254
263
|
statusCode?: number | undefined;
|
|
255
264
|
}
|
|
265
|
+
export interface SkillDefinition {
|
|
266
|
+
schemaVersion?: string | undefined;
|
|
267
|
+
inlineContent?: string | undefined;
|
|
268
|
+
}
|
|
269
|
+
export interface SkillMdDefinition {
|
|
270
|
+
inlineContent?: string | undefined;
|
|
271
|
+
}
|
|
272
|
+
export interface AgentSkillsDescriptor {
|
|
273
|
+
skillMd: SkillMdDefinition | undefined;
|
|
274
|
+
skillDefinition?: SkillDefinition | undefined;
|
|
275
|
+
}
|
|
256
276
|
export interface SaveBrowserSessionProfileRequest {
|
|
257
277
|
traceId?: string | undefined;
|
|
258
278
|
traceParent?: string | undefined;
|
|
@@ -1622,3 +1642,46 @@ export interface StartMemoryExtractionJobInput {
|
|
|
1622
1642
|
export interface StartMemoryExtractionJobOutput {
|
|
1623
1643
|
jobId: string | undefined;
|
|
1624
1644
|
}
|
|
1645
|
+
export interface SearchRegistryRecordsRequest {
|
|
1646
|
+
searchQuery: string | undefined;
|
|
1647
|
+
registryIds: string[] | undefined;
|
|
1648
|
+
maxResults?: number | undefined;
|
|
1649
|
+
filters?: __DocumentType | undefined;
|
|
1650
|
+
}
|
|
1651
|
+
export interface CustomDescriptor {
|
|
1652
|
+
inlineContent?: string | undefined;
|
|
1653
|
+
}
|
|
1654
|
+
export interface ServerDefinition {
|
|
1655
|
+
schemaVersion?: string | undefined;
|
|
1656
|
+
inlineContent?: string | undefined;
|
|
1657
|
+
}
|
|
1658
|
+
export interface ToolsDefinition {
|
|
1659
|
+
protocolVersion?: string | undefined;
|
|
1660
|
+
inlineContent?: string | undefined;
|
|
1661
|
+
}
|
|
1662
|
+
export interface McpDescriptor {
|
|
1663
|
+
server: ServerDefinition | undefined;
|
|
1664
|
+
tools: ToolsDefinition | undefined;
|
|
1665
|
+
}
|
|
1666
|
+
export interface Descriptors {
|
|
1667
|
+
mcp?: McpDescriptor | undefined;
|
|
1668
|
+
a2a?: A2aDescriptor | undefined;
|
|
1669
|
+
custom?: CustomDescriptor | undefined;
|
|
1670
|
+
agentSkills?: AgentSkillsDescriptor | undefined;
|
|
1671
|
+
}
|
|
1672
|
+
export interface RegistryRecordSummary {
|
|
1673
|
+
registryArn: string | undefined;
|
|
1674
|
+
recordArn: string | undefined;
|
|
1675
|
+
recordId: string | undefined;
|
|
1676
|
+
name: string | undefined;
|
|
1677
|
+
description?: string | undefined;
|
|
1678
|
+
descriptorType: DescriptorType | undefined;
|
|
1679
|
+
descriptors: Descriptors | undefined;
|
|
1680
|
+
version: string | undefined;
|
|
1681
|
+
status: RegistryRecordStatus | undefined;
|
|
1682
|
+
createdAt: Date | undefined;
|
|
1683
|
+
updatedAt: Date | undefined;
|
|
1684
|
+
}
|
|
1685
|
+
export interface SearchRegistryRecordsResponse {
|
|
1686
|
+
registryRecords: RegistryRecordSummary[] | undefined;
|
|
1687
|
+
}
|
|
@@ -21,7 +21,10 @@ export declare var ThrottlingException$: StaticErrorSchema;
|
|
|
21
21
|
export declare var UnauthorizedException$: StaticErrorSchema;
|
|
22
22
|
export declare var ValidationException$: StaticErrorSchema;
|
|
23
23
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
24
|
+
export declare var A2aDescriptor$: StaticStructureSchema;
|
|
24
25
|
export declare var ActorSummary$: StaticStructureSchema;
|
|
26
|
+
export declare var AgentCardDefinition$: StaticStructureSchema;
|
|
27
|
+
export declare var AgentSkillsDescriptor$: StaticStructureSchema;
|
|
25
28
|
export declare var AutomationStream$: StaticStructureSchema;
|
|
26
29
|
export declare var AutomationStreamUpdate$: StaticStructureSchema;
|
|
27
30
|
export declare var BasicAuth$: StaticStructureSchema;
|
|
@@ -50,10 +53,12 @@ export declare var ContentStopEvent$: StaticStructureSchema;
|
|
|
50
53
|
export declare var Conversational$: StaticStructureSchema;
|
|
51
54
|
export declare var CreateEventInput$: StaticStructureSchema;
|
|
52
55
|
export declare var CreateEventOutput$: StaticStructureSchema;
|
|
56
|
+
export declare var CustomDescriptor$: StaticStructureSchema;
|
|
53
57
|
export declare var DeleteEventInput$: StaticStructureSchema;
|
|
54
58
|
export declare var DeleteEventOutput$: StaticStructureSchema;
|
|
55
59
|
export declare var DeleteMemoryRecordInput$: StaticStructureSchema;
|
|
56
60
|
export declare var DeleteMemoryRecordOutput$: StaticStructureSchema;
|
|
61
|
+
export declare var Descriptors$: StaticStructureSchema;
|
|
57
62
|
export declare var EvaluateRequest$: StaticStructureSchema;
|
|
58
63
|
export declare var EvaluateResponse$: StaticStructureSchema;
|
|
59
64
|
export declare var EvaluationExpectedTrajectory$: StaticStructureSchema;
|
|
@@ -117,6 +122,7 @@ export declare var ListMemoryRecordsOutput$: StaticStructureSchema;
|
|
|
117
122
|
export declare var ListSessionsInput$: StaticStructureSchema;
|
|
118
123
|
export declare var ListSessionsOutput$: StaticStructureSchema;
|
|
119
124
|
export declare var LiveViewStream$: StaticStructureSchema;
|
|
125
|
+
export declare var McpDescriptor$: StaticStructureSchema;
|
|
120
126
|
export declare var MemoryMetadataFilterExpression$: StaticStructureSchema;
|
|
121
127
|
export declare var MemoryRecord$: StaticStructureSchema;
|
|
122
128
|
export declare var MemoryRecordCreateInput$: StaticStructureSchema;
|
|
@@ -135,6 +141,7 @@ export declare var MouseScrollArguments$: StaticStructureSchema;
|
|
|
135
141
|
export declare var MouseScrollResult$: StaticStructureSchema;
|
|
136
142
|
export declare var ProxyBypass$: StaticStructureSchema;
|
|
137
143
|
export declare var ProxyConfiguration$: StaticStructureSchema;
|
|
144
|
+
export declare var RegistryRecordSummary$: StaticStructureSchema;
|
|
138
145
|
export declare var ResourceContent$: StaticStructureSchema;
|
|
139
146
|
export declare var ResponseChunk$: StaticStructureSchema;
|
|
140
147
|
export declare var RetrieveMemoryRecordsInput$: StaticStructureSchema;
|
|
@@ -145,9 +152,14 @@ export declare var SaveBrowserSessionProfileResponse$: StaticStructureSchema;
|
|
|
145
152
|
export declare var ScreenshotArguments$: StaticStructureSchema;
|
|
146
153
|
export declare var ScreenshotResult$: StaticStructureSchema;
|
|
147
154
|
export declare var SearchCriteria$: StaticStructureSchema;
|
|
155
|
+
export declare var SearchRegistryRecordsRequest$: StaticStructureSchema;
|
|
156
|
+
export declare var SearchRegistryRecordsResponse$: StaticStructureSchema;
|
|
148
157
|
export declare var SecretsManagerLocation$: StaticStructureSchema;
|
|
158
|
+
export declare var ServerDefinition$: StaticStructureSchema;
|
|
149
159
|
export declare var SessionFilter$: StaticStructureSchema;
|
|
150
160
|
export declare var SessionSummary$: StaticStructureSchema;
|
|
161
|
+
export declare var SkillDefinition$: StaticStructureSchema;
|
|
162
|
+
export declare var SkillMdDefinition$: StaticStructureSchema;
|
|
151
163
|
export declare var SpanContext$: StaticStructureSchema;
|
|
152
164
|
export declare var StartBrowserSessionRequest$: StaticStructureSchema;
|
|
153
165
|
export declare var StartBrowserSessionResponse$: StaticStructureSchema;
|
|
@@ -164,6 +176,7 @@ export declare var StopRuntimeSessionResponse$: StaticStructureSchema;
|
|
|
164
176
|
export declare var TokenUsage$: StaticStructureSchema;
|
|
165
177
|
export declare var ToolArguments$: StaticStructureSchema;
|
|
166
178
|
export declare var ToolResultStructuredContent$: StaticStructureSchema;
|
|
179
|
+
export declare var ToolsDefinition$: StaticStructureSchema;
|
|
167
180
|
export declare var UpdateBrowserStreamRequest$: StaticStructureSchema;
|
|
168
181
|
export declare var UpdateBrowserStreamResponse$: StaticStructureSchema;
|
|
169
182
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
@@ -220,6 +233,7 @@ export declare var ListMemoryRecords$: StaticOperationSchema;
|
|
|
220
233
|
export declare var ListSessions$: StaticOperationSchema;
|
|
221
234
|
export declare var RetrieveMemoryRecords$: StaticOperationSchema;
|
|
222
235
|
export declare var SaveBrowserSessionProfile$: StaticOperationSchema;
|
|
236
|
+
export declare var SearchRegistryRecords$: StaticOperationSchema;
|
|
223
237
|
export declare var StartBrowserSession$: StaticOperationSchema;
|
|
224
238
|
export declare var StartCodeInterpreterSession$: StaticOperationSchema;
|
|
225
239
|
export declare var StartMemoryExtractionJob$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1028.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore",
|