@aws-sdk/client-agent-registry-control 3.1105.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/LICENSE +201 -0
- package/README.md +286 -0
- package/dist-cjs/index.js +1536 -0
- package/dist-es/AgentRegistryControl.js +49 -0
- package/dist-es/AgentRegistryControlClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateRegistryCommand.js +4 -0
- package/dist-es/commands/CreateRegistryRecordCommand.js +4 -0
- package/dist-es/commands/DeleteRegistryCommand.js +4 -0
- package/dist-es/commands/DeleteRegistryRecordCommand.js +4 -0
- package/dist-es/commands/GetRegistryCommand.js +4 -0
- package/dist-es/commands/GetRegistryRecordCommand.js +4 -0
- package/dist-es/commands/ListRegistriesCommand.js +4 -0
- package/dist-es/commands/ListRegistryRecordsCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/SubmitRegistryRecordForApprovalCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateRegistryCommand.js +4 -0
- package/dist-es/commands/UpdateRegistryRecordCommand.js +4 -0
- package/dist-es/commands/UpdateRegistryRecordStatusCommand.js +4 -0
- package/dist-es/commands/index.js +15 -0
- package/dist-es/endpoint/EndpointParameters.js +9 -0
- package/dist-es/endpoint/bdd.js +22 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +11 -0
- package/dist-es/models/AgentRegistryControlServiceException.js +8 -0
- package/dist-es/models/enums.js +69 -0
- package/dist-es/models/errors.js +89 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListRegistriesPaginator.js +4 -0
- package/dist-es/pagination/ListRegistryRecordsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +783 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForRegistryReady.js +58 -0
- package/dist-es/waiters/waitForRegistryRecordApproved.js +58 -0
- package/dist-types/AgentRegistryControl.d.ts +143 -0
- package/dist-types/AgentRegistryControlClient.d.ts +201 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateRegistryCommand.d.ts +172 -0
- package/dist-types/commands/CreateRegistryRecordCommand.d.ts +212 -0
- package/dist-types/commands/DeleteRegistryCommand.d.ts +89 -0
- package/dist-types/commands/DeleteRegistryRecordCommand.d.ts +88 -0
- package/dist-types/commands/GetRegistryCommand.d.ts +173 -0
- package/dist-types/commands/GetRegistryRecordCommand.d.ts +211 -0
- package/dist-types/commands/ListRegistriesCommand.d.ts +179 -0
- package/dist-types/commands/ListRegistryRecordsCommand.d.ts +114 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/SubmitRegistryRecordForApprovalCommand.d.ts +94 -0
- package/dist-types/commands/TagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UpdateRegistryCommand.d.ts +266 -0
- package/dist-types/commands/UpdateRegistryRecordCommand.d.ts +375 -0
- package/dist-types/commands/UpdateRegistryRecordStatusCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +19 -0
- package/dist-types/models/AgentRegistryControlServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +173 -0
- package/dist-types/models/errors.d.ts +98 -0
- package/dist-types/models/models_0.d.ts +1886 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListRegistriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRegistryRecordsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +57 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +118 -0
- package/dist-types/ts3.4/AgentRegistryControl.d.ts +295 -0
- package/dist-types/ts3.4/AgentRegistryControlClient.d.ts +187 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +27 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateRegistryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateRegistryRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteRegistryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteRegistryRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetRegistryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRegistryRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRegistriesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListRegistryRecordsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SubmitRegistryRecordForApprovalCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateRegistryRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateRegistryRecordStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +39 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +14 -0
- package/dist-types/ts3.4/models/AgentRegistryControlServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +90 -0
- package/dist-types/ts3.4/models/errors.d.ts +41 -0
- package/dist-types/ts3.4/models/models_0.d.ts +528 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListRegistriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRegistryRecordsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +118 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForRegistryReady.d.ts +12 -0
- package/dist-types/ts3.4/waiters/waitForRegistryRecordApproved.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForRegistryReady.d.ts +15 -0
- package/dist-types/waiters/waitForRegistryRecordApproved.d.ts +15 -0
- package/package.json +69 -0
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateRegistryRequest, CreateRegistryResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateRegistryCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateRegistryCommandInput extends CreateRegistryRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateRegistryCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateRegistryCommandOutput extends CreateRegistryResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateRegistryCommand_base: {
|
|
22
|
+
new (input: CreateRegistryCommandInput): import("@smithy/core/client").CommandImpl<CreateRegistryCommandInput, CreateRegistryCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateRegistryCommandInput): import("@smithy/core/client").CommandImpl<CreateRegistryCommandInput, CreateRegistryCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a new registry, a catalog that organizes registry records and defines their discovery authorization and record approval behavior. Creation is asynchronous: the registry begins in the CREATING status and becomes usable once it reaches READY.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AgentRegistryControlClient, CreateRegistryCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
32
|
+
* // const { AgentRegistryControlClient, CreateRegistryCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
|
|
33
|
+
* // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
|
|
34
|
+
* const config = {}; // type is AgentRegistryControlClientConfig
|
|
35
|
+
* const client = new AgentRegistryControlClient(config);
|
|
36
|
+
* const input = { // CreateRegistryRequest
|
|
37
|
+
* name: "STRING_VALUE", // required
|
|
38
|
+
* description: "STRING_VALUE",
|
|
39
|
+
* discoveryConfiguration: { // DiscoveryConfiguration
|
|
40
|
+
* authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
41
|
+
* customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
42
|
+
* discoveryUrl: "STRING_VALUE", // required
|
|
43
|
+
* allowedAudience: [ // AllowedAudienceList
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* allowedClients: [ // AllowedClientsList
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* allowedScopes: [ // AllowedScopesType
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* customClaims: [ // CustomClaimValidationsType
|
|
53
|
+
* { // CustomClaimValidationType
|
|
54
|
+
* inboundTokenClaimName: "STRING_VALUE", // required
|
|
55
|
+
* inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
|
|
56
|
+
* authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
|
|
57
|
+
* claimMatchValue: { // ClaimMatchValueType Union: only one key present
|
|
58
|
+
* matchValueString: "STRING_VALUE",
|
|
59
|
+
* matchValueStringList: [ // MatchValueStringList
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* privateEndpoint: { // PrivateEndpoint Union: only one key present
|
|
68
|
+
* selfManagedLatticeResource: { // SelfManagedLatticeResource Union: only one key present
|
|
69
|
+
* resourceConfigurationIdentifier: "STRING_VALUE",
|
|
70
|
+
* },
|
|
71
|
+
* managedVpcResource: { // ManagedVpcResource
|
|
72
|
+
* vpcIdentifier: "STRING_VALUE", // required
|
|
73
|
+
* subnetIds: [ // SubnetIds // required
|
|
74
|
+
* "STRING_VALUE",
|
|
75
|
+
* ],
|
|
76
|
+
* endpointIpAddressType: "IPV4" || "IPV6", // required
|
|
77
|
+
* securityGroupIds: [ // SecurityGroupIds
|
|
78
|
+
* "STRING_VALUE",
|
|
79
|
+
* ],
|
|
80
|
+
* tags: { // TagsMap
|
|
81
|
+
* "<keys>": "STRING_VALUE",
|
|
82
|
+
* },
|
|
83
|
+
* routingDomain: "STRING_VALUE",
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* privateEndpointOverrides: [ // PrivateEndpointOverrides
|
|
87
|
+
* { // PrivateEndpointOverride
|
|
88
|
+
* domain: "STRING_VALUE", // required
|
|
89
|
+
* privateEndpoint: {// Union: only one key present
|
|
90
|
+
* selfManagedLatticeResource: {// Union: only one key present
|
|
91
|
+
* resourceConfigurationIdentifier: "STRING_VALUE",
|
|
92
|
+
* },
|
|
93
|
+
* managedVpcResource: {
|
|
94
|
+
* vpcIdentifier: "STRING_VALUE", // required
|
|
95
|
+
* subnetIds: [ // required
|
|
96
|
+
* "STRING_VALUE",
|
|
97
|
+
* ],
|
|
98
|
+
* endpointIpAddressType: "IPV4" || "IPV6", // required
|
|
99
|
+
* securityGroupIds: [
|
|
100
|
+
* "STRING_VALUE",
|
|
101
|
+
* ],
|
|
102
|
+
* tags: {
|
|
103
|
+
* "<keys>": "STRING_VALUE",
|
|
104
|
+
* },
|
|
105
|
+
* routingDomain: "STRING_VALUE",
|
|
106
|
+
* },
|
|
107
|
+
* },
|
|
108
|
+
* },
|
|
109
|
+
* ],
|
|
110
|
+
* },
|
|
111
|
+
* },
|
|
112
|
+
* authorizerType: "CUSTOM_JWT" || "AWS_IAM",
|
|
113
|
+
* },
|
|
114
|
+
* clientToken: "STRING_VALUE",
|
|
115
|
+
* tags: "<TagsMap>",
|
|
116
|
+
* approvalConfiguration: { // ApprovalConfiguration
|
|
117
|
+
* autoApprovalRules: [ // AutoApprovalRuleList
|
|
118
|
+
* "APPROVE_ALL",
|
|
119
|
+
* ],
|
|
120
|
+
* },
|
|
121
|
+
* };
|
|
122
|
+
* const command = new CreateRegistryCommand(input);
|
|
123
|
+
* const response = await client.send(command);
|
|
124
|
+
* // { // CreateRegistryResponse
|
|
125
|
+
* // registryArn: "STRING_VALUE", // required
|
|
126
|
+
* // };
|
|
127
|
+
*
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* @param CreateRegistryCommandInput - {@link CreateRegistryCommandInput}
|
|
131
|
+
* @returns {@link CreateRegistryCommandOutput}
|
|
132
|
+
* @see {@link CreateRegistryCommandInput} for command's `input` shape.
|
|
133
|
+
* @see {@link CreateRegistryCommandOutput} for command's `response` shape.
|
|
134
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
137
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
138
|
+
*
|
|
139
|
+
* @throws {@link ConflictException} (client fault)
|
|
140
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link InternalServerException} (server fault)
|
|
143
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
146
|
+
* <p>The request would exceed a service quota.</p>
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
149
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
150
|
+
*
|
|
151
|
+
* @throws {@link ValidationException} (client fault)
|
|
152
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
153
|
+
*
|
|
154
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
155
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
156
|
+
*
|
|
157
|
+
*
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export declare class CreateRegistryCommand extends CreateRegistryCommand_base {
|
|
161
|
+
/** @internal type navigation helper, not in runtime. */
|
|
162
|
+
protected static __types: {
|
|
163
|
+
api: {
|
|
164
|
+
input: CreateRegistryRequest;
|
|
165
|
+
output: CreateRegistryResponse;
|
|
166
|
+
};
|
|
167
|
+
sdk: {
|
|
168
|
+
input: CreateRegistryCommandInput;
|
|
169
|
+
output: CreateRegistryCommandOutput;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateRegistryRecordRequest, CreateRegistryRecordResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateRegistryRecordCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateRegistryRecordCommandInput extends CreateRegistryRecordRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateRegistryRecordCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateRegistryRecordCommandOutput extends CreateRegistryRecordResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateRegistryRecordCommand_base: {
|
|
22
|
+
new (input: CreateRegistryRecordCommandInput): import("@smithy/core/client").CommandImpl<CreateRegistryRecordCommandInput, CreateRegistryRecordCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateRegistryRecordCommandInput): import("@smithy/core/client").CommandImpl<CreateRegistryRecordCommandInput, CreateRegistryRecordCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a registry record within a registry. A registry record describes a discoverable resource, such as an MCP server, an agent, an agent skill, or a custom resource. Creation is asynchronous: the record is returned with the CREATING status while it is processed.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AgentRegistryControlClient, CreateRegistryRecordCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
32
|
+
* // const { AgentRegistryControlClient, CreateRegistryRecordCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
|
|
33
|
+
* // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
|
|
34
|
+
* const config = {}; // type is AgentRegistryControlClientConfig
|
|
35
|
+
* const client = new AgentRegistryControlClient(config);
|
|
36
|
+
* const input = { // CreateRegistryRecordRequest
|
|
37
|
+
* registryId: "STRING_VALUE", // required
|
|
38
|
+
* name: "STRING_VALUE", // required
|
|
39
|
+
* displayName: "STRING_VALUE",
|
|
40
|
+
* description: "STRING_VALUE",
|
|
41
|
+
* recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL", // required
|
|
42
|
+
* descriptors: { // Descriptors
|
|
43
|
+
* mcpServer: { // McpServerDescriptor
|
|
44
|
+
* data: "STRING_VALUE",
|
|
45
|
+
* dataSchemaVersion: "STRING_VALUE",
|
|
46
|
+
* additionalData: { // McpServerAdditionalData
|
|
47
|
+
* tools: { // McpToolsDescriptor
|
|
48
|
+
* data: "STRING_VALUE",
|
|
49
|
+
* dataSchemaVersion: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* source: { // DescriptorSource
|
|
53
|
+
* fromUrl: { // DescriptorSourceFromUrl
|
|
54
|
+
* url: "STRING_VALUE", // required
|
|
55
|
+
* credentialProviderConfigurations: [ // RegistryRecordCredentialProviderConfigurationList
|
|
56
|
+
* { // RegistryRecordCredentialProviderConfiguration
|
|
57
|
+
* credentialProviderType: "OAUTH" || "IAM", // required
|
|
58
|
+
* credentialProvider: { // RegistryRecordCredentialProviderUnion Union: only one key present
|
|
59
|
+
* oauthCredentialProvider: { // RegistryRecordOAuthCredentialProvider
|
|
60
|
+
* providerArn: "STRING_VALUE", // required
|
|
61
|
+
* grantType: "CLIENT_CREDENTIALS",
|
|
62
|
+
* scopes: [ // ScopeList
|
|
63
|
+
* "STRING_VALUE",
|
|
64
|
+
* ],
|
|
65
|
+
* customParameters: { // CustomParameterMap
|
|
66
|
+
* "<keys>": "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* iamCredentialProvider: { // RegistryRecordIamCredentialProvider
|
|
70
|
+
* roleArn: "STRING_VALUE",
|
|
71
|
+
* service: "STRING_VALUE",
|
|
72
|
+
* region: "STRING_VALUE",
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
80
|
+
* a2aAgentCard: { // A2aAgentCardDescriptor
|
|
81
|
+
* data: "STRING_VALUE",
|
|
82
|
+
* dataSchemaVersion: "STRING_VALUE",
|
|
83
|
+
* source: {
|
|
84
|
+
* fromUrl: {
|
|
85
|
+
* url: "STRING_VALUE", // required
|
|
86
|
+
* credentialProviderConfigurations: [
|
|
87
|
+
* {
|
|
88
|
+
* credentialProviderType: "OAUTH" || "IAM", // required
|
|
89
|
+
* credentialProvider: {// Union: only one key present
|
|
90
|
+
* oauthCredentialProvider: {
|
|
91
|
+
* providerArn: "STRING_VALUE", // required
|
|
92
|
+
* grantType: "CLIENT_CREDENTIALS",
|
|
93
|
+
* scopes: [
|
|
94
|
+
* "STRING_VALUE",
|
|
95
|
+
* ],
|
|
96
|
+
* customParameters: {
|
|
97
|
+
* "<keys>": "STRING_VALUE",
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* iamCredentialProvider: {
|
|
101
|
+
* roleArn: "STRING_VALUE",
|
|
102
|
+
* service: "STRING_VALUE",
|
|
103
|
+
* region: "STRING_VALUE",
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* },
|
|
107
|
+
* ],
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* },
|
|
111
|
+
* agentSkillsDefinition: { // AgentSkillsDefinitionDescriptor
|
|
112
|
+
* data: "STRING_VALUE",
|
|
113
|
+
* dataSchemaVersion: "STRING_VALUE",
|
|
114
|
+
* additionalData: { // AgentSkillsAdditionalData
|
|
115
|
+
* skillMd: { // AgentSkillsMdDescriptor
|
|
116
|
+
* data: "STRING_VALUE",
|
|
117
|
+
* dataSchemaVersion: "STRING_VALUE",
|
|
118
|
+
* source: {
|
|
119
|
+
* fromUrl: {
|
|
120
|
+
* url: "STRING_VALUE", // required
|
|
121
|
+
* credentialProviderConfigurations: [
|
|
122
|
+
* {
|
|
123
|
+
* credentialProviderType: "OAUTH" || "IAM", // required
|
|
124
|
+
* credentialProvider: {// Union: only one key present
|
|
125
|
+
* oauthCredentialProvider: {
|
|
126
|
+
* providerArn: "STRING_VALUE", // required
|
|
127
|
+
* grantType: "CLIENT_CREDENTIALS",
|
|
128
|
+
* scopes: [
|
|
129
|
+
* "STRING_VALUE",
|
|
130
|
+
* ],
|
|
131
|
+
* customParameters: {
|
|
132
|
+
* "<keys>": "STRING_VALUE",
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* iamCredentialProvider: {
|
|
136
|
+
* roleArn: "STRING_VALUE",
|
|
137
|
+
* service: "STRING_VALUE",
|
|
138
|
+
* region: "STRING_VALUE",
|
|
139
|
+
* },
|
|
140
|
+
* },
|
|
141
|
+
* },
|
|
142
|
+
* ],
|
|
143
|
+
* },
|
|
144
|
+
* },
|
|
145
|
+
* },
|
|
146
|
+
* },
|
|
147
|
+
* },
|
|
148
|
+
* custom: { // CustomDescriptor
|
|
149
|
+
* data: "STRING_VALUE",
|
|
150
|
+
* },
|
|
151
|
+
* },
|
|
152
|
+
* recordVersion: "STRING_VALUE",
|
|
153
|
+
* clientToken: "STRING_VALUE",
|
|
154
|
+
* tags: { // TagsMap
|
|
155
|
+
* "<keys>": "STRING_VALUE",
|
|
156
|
+
* },
|
|
157
|
+
* };
|
|
158
|
+
* const command = new CreateRegistryRecordCommand(input);
|
|
159
|
+
* const response = await client.send(command);
|
|
160
|
+
* // { // CreateRegistryRecordResponse
|
|
161
|
+
* // recordArn: "STRING_VALUE", // required
|
|
162
|
+
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
|
|
163
|
+
* // };
|
|
164
|
+
*
|
|
165
|
+
* ```
|
|
166
|
+
*
|
|
167
|
+
* @param CreateRegistryRecordCommandInput - {@link CreateRegistryRecordCommandInput}
|
|
168
|
+
* @returns {@link CreateRegistryRecordCommandOutput}
|
|
169
|
+
* @see {@link CreateRegistryRecordCommandInput} for command's `input` shape.
|
|
170
|
+
* @see {@link CreateRegistryRecordCommandOutput} for command's `response` shape.
|
|
171
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
172
|
+
*
|
|
173
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
174
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
175
|
+
*
|
|
176
|
+
* @throws {@link ConflictException} (client fault)
|
|
177
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
178
|
+
*
|
|
179
|
+
* @throws {@link InternalServerException} (server fault)
|
|
180
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
181
|
+
*
|
|
182
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
183
|
+
* <p>The requested resource was not found.</p>
|
|
184
|
+
*
|
|
185
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
186
|
+
* <p>The request would exceed a service quota.</p>
|
|
187
|
+
*
|
|
188
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
189
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
190
|
+
*
|
|
191
|
+
* @throws {@link ValidationException} (client fault)
|
|
192
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
193
|
+
*
|
|
194
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
195
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
196
|
+
*
|
|
197
|
+
*
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
export declare class CreateRegistryRecordCommand extends CreateRegistryRecordCommand_base {
|
|
201
|
+
/** @internal type navigation helper, not in runtime. */
|
|
202
|
+
protected static __types: {
|
|
203
|
+
api: {
|
|
204
|
+
input: CreateRegistryRecordRequest;
|
|
205
|
+
output: CreateRegistryRecordResponse;
|
|
206
|
+
};
|
|
207
|
+
sdk: {
|
|
208
|
+
input: CreateRegistryRecordCommandInput;
|
|
209
|
+
output: CreateRegistryRecordCommandOutput;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteRegistryRequest, DeleteRegistryResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteRegistryCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteRegistryCommandInput extends DeleteRegistryRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteRegistryCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteRegistryCommandOutput extends DeleteRegistryResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteRegistryCommand_base: {
|
|
22
|
+
new (input: DeleteRegistryCommandInput): import("@smithy/core/client").CommandImpl<DeleteRegistryCommandInput, DeleteRegistryCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteRegistryCommandInput): import("@smithy/core/client").CommandImpl<DeleteRegistryCommandInput, DeleteRegistryCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes a registry. Deletion is asynchronous: the registry transitions to the DELETING status and is removed along with its registry records.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AgentRegistryControlClient, DeleteRegistryCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
32
|
+
* // const { AgentRegistryControlClient, DeleteRegistryCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
|
|
33
|
+
* // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
|
|
34
|
+
* const config = {}; // type is AgentRegistryControlClientConfig
|
|
35
|
+
* const client = new AgentRegistryControlClient(config);
|
|
36
|
+
* const input = { // DeleteRegistryRequest
|
|
37
|
+
* registryId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteRegistryCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // DeleteRegistryResponse
|
|
42
|
+
* // status: "CREATING" || "READY" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED", // required
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteRegistryCommandInput - {@link DeleteRegistryCommandInput}
|
|
48
|
+
* @returns {@link DeleteRegistryCommandOutput}
|
|
49
|
+
* @see {@link DeleteRegistryCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteRegistryCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The requested resource was not found.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class DeleteRegistryCommand extends DeleteRegistryCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: DeleteRegistryRequest;
|
|
82
|
+
output: DeleteRegistryResponse;
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: DeleteRegistryCommandInput;
|
|
86
|
+
output: DeleteRegistryCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteRegistryRecordRequest, DeleteRegistryRecordResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteRegistryRecordCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteRegistryRecordCommandInput extends DeleteRegistryRecordRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteRegistryRecordCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteRegistryRecordCommandOutput extends DeleteRegistryRecordResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteRegistryRecordCommand_base: {
|
|
22
|
+
new (input: DeleteRegistryRecordCommandInput): import("@smithy/core/client").CommandImpl<DeleteRegistryRecordCommandInput, DeleteRegistryRecordCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteRegistryRecordCommandInput): import("@smithy/core/client").CommandImpl<DeleteRegistryRecordCommandInput, DeleteRegistryRecordCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes a registry record</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AgentRegistryControlClient, DeleteRegistryRecordCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
32
|
+
* // const { AgentRegistryControlClient, DeleteRegistryRecordCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
|
|
33
|
+
* // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
|
|
34
|
+
* const config = {}; // type is AgentRegistryControlClientConfig
|
|
35
|
+
* const client = new AgentRegistryControlClient(config);
|
|
36
|
+
* const input = { // DeleteRegistryRecordRequest
|
|
37
|
+
* registryId: "STRING_VALUE", // required
|
|
38
|
+
* recordId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteRegistryRecordCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteRegistryRecordCommandInput - {@link DeleteRegistryRecordCommandInput}
|
|
47
|
+
* @returns {@link DeleteRegistryRecordCommandOutput}
|
|
48
|
+
* @see {@link DeleteRegistryRecordCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteRegistryRecordCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>The requested resource was not found.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteRegistryRecordCommand extends DeleteRegistryRecordCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DeleteRegistryRecordRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DeleteRegistryRecordCommandInput;
|
|
85
|
+
output: DeleteRegistryRecordCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|