@aws-sdk/client-agent-registry-control 3.1172.0 → 3.1174.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 +70 -7
- package/dist-cjs/index.js +603 -77
- package/dist-es/AgentRegistryControl.js +22 -0
- package/dist-es/commands/AssociatePublisherCommand.js +4 -0
- package/dist-es/commands/CreatePublisherCommand.js +4 -0
- package/dist-es/commands/DeletePublisherCommand.js +4 -0
- package/dist-es/commands/DisassociatePublisherCommand.js +4 -0
- package/dist-es/commands/GetPublisherCommand.js +4 -0
- package/dist-es/commands/ListPublisherAssociationsCommand.js +4 -0
- package/dist-es/commands/ListPublishersCommand.js +4 -0
- package/dist-es/commands/UpdatePublisherAssociationApprovalStatusCommand.js +4 -0
- package/dist-es/commands/ValidatePublisherCommand.js +4 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/enums.js +48 -0
- package/dist-es/models/errors.js +37 -23
- package/dist-es/pagination/ListPublisherAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListPublishersPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +409 -55
- package/dist-types/AgentRegistryControl.d.ts +79 -0
- package/dist-types/AgentRegistryControlClient.d.ts +11 -2
- package/dist-types/commands/AssociatePublisherCommand.d.ts +113 -0
- package/dist-types/commands/CreatePublisherCommand.d.ts +119 -0
- package/dist-types/commands/CreateRegistryCommand.d.ts +1 -1
- package/dist-types/commands/CreateRegistryRecordCommand.d.ts +67 -33
- package/dist-types/commands/DeletePublisherCommand.d.ts +93 -0
- package/dist-types/commands/DisassociatePublisherCommand.d.ts +83 -0
- package/dist-types/commands/GetPublisherCommand.d.ts +103 -0
- package/dist-types/commands/GetRegistryCommand.d.ts +1 -1
- package/dist-types/commands/GetRegistryRecordCommand.d.ts +72 -33
- package/dist-types/commands/ListPublisherAssociationsCommand.d.ts +97 -0
- package/dist-types/commands/ListPublishersCommand.d.ts +97 -0
- package/dist-types/commands/ListRegistryRecordsCommand.d.ts +2 -2
- package/dist-types/commands/SubmitRegistryRecordForApprovalCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePublisherAssociationApprovalStatusCommand.d.ts +92 -0
- package/dist-types/commands/UpdateRegistryCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRegistryRecordCommand.d.ts +106 -89
- package/dist-types/commands/UpdateRegistryRecordStatusCommand.d.ts +2 -2
- package/dist-types/commands/ValidatePublisherCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/enums.d.ts +99 -0
- package/dist-types/models/errors.d.ts +38 -21
- package/dist-types/models/models_0.d.ts +1153 -33
- package/dist-types/pagination/ListPublisherAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPublishersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +51 -0
- package/dist-types/ts3.4/AgentRegistryControl.d.ts +169 -0
- package/dist-types/ts3.4/AgentRegistryControlClient.d.ts +56 -2
- package/dist-types/ts3.4/commands/AssociatePublisherCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreatePublisherCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeletePublisherCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DisassociatePublisherCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetPublisherCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListPublisherAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPublishersCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdatePublisherAssociationApprovalStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ValidatePublisherCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +56 -0
- package/dist-types/ts3.4/models/errors.d.ts +19 -12
- package/dist-types/ts3.4/models/models_0.d.ts +275 -3
- package/dist-types/ts3.4/pagination/ListPublisherAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPublishersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +51 -0
- package/package.json +1 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListPublishersRequest, ListPublishersResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListPublishersCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListPublishersCommandInput extends ListPublishersRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListPublishersCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListPublishersCommandOutput extends ListPublishersResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListPublishersCommand_base: {
|
|
22
|
+
new (input: ListPublishersCommandInput): import("@smithy/core/client").CommandImpl<ListPublishersCommandInput, ListPublishersCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListPublishersCommandInput]): import("@smithy/core/client").CommandImpl<ListPublishersCommandInput, ListPublishersCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* List the publishers your account owns, followed by the ACTIVE publishers shared with your account.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AgentRegistryControlClient, ListPublishersCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
32
|
+
* // const { AgentRegistryControlClient, ListPublishersCommand } = 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 = { // ListPublishersRequest
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListPublishersCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListPublishersResponse
|
|
43
|
+
* // items: [ // PublisherSummaryList // required
|
|
44
|
+
* // { // PublisherSummary
|
|
45
|
+
* // value: { // Identifier Union: only one key present
|
|
46
|
+
* // domain: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // identifierType: "DOMAIN",
|
|
49
|
+
* // status: "ACTION_REQUIRED" || "ACTIVE" || "FAILED" || "SUSPENDED" || "DELETING", // required
|
|
50
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // publisherArn: "STRING_VALUE", // required
|
|
52
|
+
* // associationCount: Number("int"),
|
|
53
|
+
* // pendingAssociationApprovalCount: Number("int"),
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // nextToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param ListPublishersCommandInput - {@link ListPublishersCommandInput}
|
|
62
|
+
* @returns {@link ListPublishersCommandOutput}
|
|
63
|
+
* @see {@link ListPublishersCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link ListPublishersCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class ListPublishersCommand extends ListPublishersCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: ListPublishersRequest;
|
|
90
|
+
output: ListPublishersResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: ListPublishersCommandInput;
|
|
94
|
+
output: ListPublishersCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -57,9 +57,9 @@ declare const ListRegistryRecordsCommand_base: {
|
|
|
57
57
|
* // name: "STRING_VALUE", // required
|
|
58
58
|
* // displayName: "STRING_VALUE",
|
|
59
59
|
* // description: "STRING_VALUE",
|
|
60
|
-
* // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY", // required
|
|
60
|
+
* // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY" || "WEB_BOT", // required
|
|
61
61
|
* // recordVersion: "STRING_VALUE", // required
|
|
62
|
-
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
|
|
62
|
+
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
|
|
63
63
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
64
64
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
65
65
|
* // createdByAutoDetection: true || false,
|
|
@@ -43,7 +43,7 @@ declare const SubmitRegistryRecordForApprovalCommand_base: {
|
|
|
43
43
|
* // registryArn: "STRING_VALUE", // required
|
|
44
44
|
* // recordArn: "STRING_VALUE", // required
|
|
45
45
|
* // recordId: "STRING_VALUE", // required
|
|
46
|
-
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
|
|
46
|
+
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
|
|
47
47
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
48
48
|
* // };
|
|
49
49
|
*
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdatePublisherAssociationApprovalStatusRequest, UpdatePublisherAssociationApprovalStatusResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdatePublisherAssociationApprovalStatusCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdatePublisherAssociationApprovalStatusCommandInput extends UpdatePublisherAssociationApprovalStatusRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdatePublisherAssociationApprovalStatusCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdatePublisherAssociationApprovalStatusCommandOutput extends UpdatePublisherAssociationApprovalStatusResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdatePublisherAssociationApprovalStatusCommand_base: {
|
|
22
|
+
new (input: UpdatePublisherAssociationApprovalStatusCommandInput): import("@smithy/core/client").CommandImpl<UpdatePublisherAssociationApprovalStatusCommandInput, UpdatePublisherAssociationApprovalStatusCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdatePublisherAssociationApprovalStatusCommandInput): import("@smithy/core/client").CommandImpl<UpdatePublisherAssociationApprovalStatusCommandInput, UpdatePublisherAssociationApprovalStatusCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Record the curator's decision (APPROVED or REJECTED) on a registry record's publisher association.
|
|
28
|
+
* A successful call returns an empty response. Repeating the decision the association already holds
|
|
29
|
+
* changes nothing; the same approvalStatus with a different approvalStatusReason updates the reason.
|
|
30
|
+
* If the caller has no publisher association for the registry record, the request fails with
|
|
31
|
+
* AccessDeniedException. A ConflictException (HTTP 409) means the association is not in a state
|
|
32
|
+
* that accepts the decision (e.g. not PENDING_APPROVAL/APPROVED/REJECTED) or it changed while the
|
|
33
|
+
* request was being applied; read it again before deciding whether to resubmit.
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { AgentRegistryControlClient, UpdatePublisherAssociationApprovalStatusCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
38
|
+
* // const { AgentRegistryControlClient, UpdatePublisherAssociationApprovalStatusCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
|
|
39
|
+
* // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
|
|
40
|
+
* const config = {}; // type is AgentRegistryControlClientConfig
|
|
41
|
+
* const client = new AgentRegistryControlClient(config);
|
|
42
|
+
* const input = { // UpdatePublisherAssociationApprovalStatusRequest
|
|
43
|
+
* recordArn: "STRING_VALUE", // required
|
|
44
|
+
* approvalStatus: "APPROVED" || "REJECTED", // required
|
|
45
|
+
* approvalStatusReason: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
47
|
+
* const command = new UpdatePublisherAssociationApprovalStatusCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // {};
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param UpdatePublisherAssociationApprovalStatusCommandInput - {@link UpdatePublisherAssociationApprovalStatusCommandInput}
|
|
54
|
+
* @returns {@link UpdatePublisherAssociationApprovalStatusCommandOutput}
|
|
55
|
+
* @see {@link UpdatePublisherAssociationApprovalStatusCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link UpdatePublisherAssociationApprovalStatusCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class UpdatePublisherAssociationApprovalStatusCommand extends UpdatePublisherAssociationApprovalStatusCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: UpdatePublisherAssociationApprovalStatusRequest;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: UpdatePublisherAssociationApprovalStatusCommandInput;
|
|
89
|
+
output: UpdatePublisherAssociationApprovalStatusCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -127,7 +127,7 @@ declare const UpdateRegistryCommand_base: {
|
|
|
127
127
|
* defaultSchema: "STRING_VALUE",
|
|
128
128
|
* recordTypeSchemaOverrides: [ // RecordTypeSchemaOverrideList
|
|
129
129
|
* { // RecordTypeSchemaOverride
|
|
130
|
-
* recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY", // required
|
|
130
|
+
* recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY" || "WEB_BOT", // required
|
|
131
131
|
* schema: "STRING_VALUE", // required
|
|
132
132
|
* },
|
|
133
133
|
* ],
|
|
@@ -234,7 +234,7 @@ declare const UpdateRegistryCommand_base: {
|
|
|
234
234
|
* // defaultSchema: "STRING_VALUE",
|
|
235
235
|
* // recordTypeSchemaOverrides: [ // RecordTypeSchemaOverrideList
|
|
236
236
|
* // { // RecordTypeSchemaOverride
|
|
237
|
-
* // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY", // required
|
|
237
|
+
* // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY" || "WEB_BOT", // required
|
|
238
238
|
* // schema: "STRING_VALUE", // required
|
|
239
239
|
* // },
|
|
240
240
|
* // ],
|
|
@@ -24,7 +24,7 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Updates a registry record. The update is asynchronous: the
|
|
27
|
+
* <p>Updates a registry record. The update is asynchronous: the operation returns the record with the <code>UPDATING</code> status while the registry processes it. If a GitHub user must first authorize access to the record's skill source, the operation returns the record with the <code>UPDATE_PENDING_AUTH</code> status instead. Fields that use update wrappers follow PATCH semantics: omit the field to leave it unchanged.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -43,7 +43,7 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
43
43
|
* description: { // UpdatedDescription
|
|
44
44
|
* optionalValue: "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
|
-
* recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY",
|
|
46
|
+
* recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY" || "WEB_BOT",
|
|
47
47
|
* descriptors: { // UpdatedDescriptors
|
|
48
48
|
* optionalValue: { // UpdatedDescriptorsFields
|
|
49
49
|
* mcpServer: { // UpdatedMcpServerDescriptor
|
|
@@ -64,13 +64,14 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
64
64
|
* credentialProvider: { // RegistryRecordCredentialProviderUnion Union: only one key present
|
|
65
65
|
* oauthCredentialProvider: { // RegistryRecordOAuthCredentialProvider
|
|
66
66
|
* providerArn: "STRING_VALUE", // required
|
|
67
|
-
* grantType: "CLIENT_CREDENTIALS",
|
|
67
|
+
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
68
68
|
* scopes: [ // ScopeList
|
|
69
69
|
* "STRING_VALUE",
|
|
70
70
|
* ],
|
|
71
71
|
* customParameters: { // CustomParameterMap
|
|
72
72
|
* "<keys>": "STRING_VALUE",
|
|
73
73
|
* },
|
|
74
|
+
* returnUrl: "STRING_VALUE",
|
|
74
75
|
* },
|
|
75
76
|
* iamCredentialProvider: { // RegistryRecordIamCredentialProvider
|
|
76
77
|
* roleArn: "STRING_VALUE",
|
|
@@ -117,13 +118,14 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
117
118
|
* credentialProvider: {// Union: only one key present
|
|
118
119
|
* oauthCredentialProvider: {
|
|
119
120
|
* providerArn: "STRING_VALUE", // required
|
|
120
|
-
* grantType: "CLIENT_CREDENTIALS",
|
|
121
|
+
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
121
122
|
* scopes: [
|
|
122
123
|
* "STRING_VALUE",
|
|
123
124
|
* ],
|
|
124
125
|
* customParameters: {
|
|
125
126
|
* "<keys>": "STRING_VALUE",
|
|
126
127
|
* },
|
|
128
|
+
* returnUrl: "STRING_VALUE",
|
|
127
129
|
* },
|
|
128
130
|
* iamCredentialProvider: {
|
|
129
131
|
* roleArn: "STRING_VALUE",
|
|
@@ -166,13 +168,14 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
166
168
|
* credentialProvider: {// Union: only one key present
|
|
167
169
|
* oauthCredentialProvider: {
|
|
168
170
|
* providerArn: "STRING_VALUE", // required
|
|
169
|
-
* grantType: "CLIENT_CREDENTIALS",
|
|
171
|
+
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
170
172
|
* scopes: [
|
|
171
173
|
* "STRING_VALUE",
|
|
172
174
|
* ],
|
|
173
175
|
* customParameters: {
|
|
174
176
|
* "<keys>": "STRING_VALUE",
|
|
175
177
|
* },
|
|
178
|
+
* returnUrl: "STRING_VALUE",
|
|
176
179
|
* },
|
|
177
180
|
* iamCredentialProvider: {
|
|
178
181
|
* roleArn: "STRING_VALUE",
|
|
@@ -187,6 +190,21 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
187
190
|
* },
|
|
188
191
|
* },
|
|
189
192
|
* },
|
|
193
|
+
* skillPackage: { // UpdatedAgentSkillsPackageDescriptor
|
|
194
|
+
* optionalValue: { // AgentSkillsPackageDescriptor
|
|
195
|
+
* source: "<DescriptorSource>",
|
|
196
|
+
* },
|
|
197
|
+
* },
|
|
198
|
+
* repositoryProvider: { // UpdatedAgentSkillsRepositoryProvider
|
|
199
|
+
* optionalValue: "GITHUB",
|
|
200
|
+
* },
|
|
201
|
+
* sourceConfiguration: { // UpdatedAgentSkillsSourceConfiguration
|
|
202
|
+
* optionalValue: { // AgentSkillsSourceConfiguration Union: only one key present
|
|
203
|
+
* s3: { // S3SourceConfiguration
|
|
204
|
+
* bucketOwnerAccountId: "STRING_VALUE",
|
|
205
|
+
* },
|
|
206
|
+
* },
|
|
207
|
+
* },
|
|
190
208
|
* },
|
|
191
209
|
* },
|
|
192
210
|
* },
|
|
@@ -199,64 +217,26 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
199
217
|
* http: { // UpdatedHttpDescriptor
|
|
200
218
|
* optionalValue: { // UpdatedHttpDescriptorFields
|
|
201
219
|
* source: {
|
|
202
|
-
* optionalValue:
|
|
203
|
-
* fromUrl: {
|
|
204
|
-
* url: "STRING_VALUE", // required
|
|
205
|
-
* credentialProviderConfigurations: [
|
|
206
|
-
* {
|
|
207
|
-
* credentialProviderType: "OAUTH" || "IAM", // required
|
|
208
|
-
* credentialProvider: {// Union: only one key present
|
|
209
|
-
* oauthCredentialProvider: {
|
|
210
|
-
* providerArn: "STRING_VALUE", // required
|
|
211
|
-
* grantType: "CLIENT_CREDENTIALS",
|
|
212
|
-
* scopes: [
|
|
213
|
-
* "STRING_VALUE",
|
|
214
|
-
* ],
|
|
215
|
-
* customParameters: {
|
|
216
|
-
* "<keys>": "STRING_VALUE",
|
|
217
|
-
* },
|
|
218
|
-
* },
|
|
219
|
-
* iamCredentialProvider: {
|
|
220
|
-
* roleArn: "STRING_VALUE",
|
|
221
|
-
* service: "STRING_VALUE",
|
|
222
|
-
* region: "STRING_VALUE",
|
|
223
|
-
* },
|
|
224
|
-
* },
|
|
225
|
-
* },
|
|
226
|
-
* ],
|
|
227
|
-
* },
|
|
228
|
-
* },
|
|
220
|
+
* optionalValue: "<DescriptorSource>",
|
|
229
221
|
* },
|
|
230
222
|
* },
|
|
231
223
|
* },
|
|
232
224
|
* agui: { // UpdatedAgUiDescriptor
|
|
233
225
|
* optionalValue: { // UpdatedAgUiDescriptorFields
|
|
234
226
|
* source: {
|
|
235
|
-
* optionalValue:
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
* customParameters: {
|
|
249
|
-
* "<keys>": "STRING_VALUE",
|
|
250
|
-
* },
|
|
251
|
-
* },
|
|
252
|
-
* iamCredentialProvider: {
|
|
253
|
-
* roleArn: "STRING_VALUE",
|
|
254
|
-
* service: "STRING_VALUE",
|
|
255
|
-
* region: "STRING_VALUE",
|
|
256
|
-
* },
|
|
257
|
-
* },
|
|
258
|
-
* },
|
|
259
|
-
* ],
|
|
227
|
+
* optionalValue: "<DescriptorSource>",
|
|
228
|
+
* },
|
|
229
|
+
* },
|
|
230
|
+
* },
|
|
231
|
+
* signatureAgentCard: { // UpdatedSignatureAgentCardDescriptor
|
|
232
|
+
* optionalValue: { // UpdatedSignatureAgentCardDescriptorFields
|
|
233
|
+
* data: "<UpdatedDescriptorData>",
|
|
234
|
+
* dataSchemaVersion: "<UpdatedDataSchemaVersion>",
|
|
235
|
+
* source: "<UpdatedDescriptorSource>",
|
|
236
|
+
* additionalData: { // UpdatedSignatureAgentCardAdditionalData
|
|
237
|
+
* optionalValue: { // UpdatedSignatureAgentCardAdditionalDataFields
|
|
238
|
+
* category: { // UpdatedBotCategory
|
|
239
|
+
* optionalValue: "advertising" || "archiver" || "content_fetcher" || "email_client" || "http_library" || "link_checker" || "miscellaneous" || "monitoring" || "page_preview" || "scraping_framework" || "search_engine" || "security" || "seo" || "social_media" || "ai_training" || "ai_search" || "ai_assistant" || "ai_content_optimization",
|
|
260
240
|
* },
|
|
261
241
|
* },
|
|
262
242
|
* },
|
|
@@ -264,11 +244,18 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
264
244
|
* },
|
|
265
245
|
* },
|
|
266
246
|
* },
|
|
247
|
+
* artifact: { // UpdatedRegistryRecordArtifact
|
|
248
|
+
* optionalValue: { // RegistryRecordArtifactUpload
|
|
249
|
+
* content: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
250
|
+
* sha256: "STRING_VALUE",
|
|
251
|
+
* },
|
|
252
|
+
* },
|
|
267
253
|
* recordVersion: "STRING_VALUE",
|
|
268
254
|
* customMetadata: { // UpdatedCustomMetadataMap
|
|
269
255
|
* optionalValue: "DOCUMENT_VALUE",
|
|
270
256
|
* },
|
|
271
257
|
* triggerSynchronization: true || false,
|
|
258
|
+
* forceAuthentication: true || false,
|
|
272
259
|
* provenance: [ // ProvenanceList
|
|
273
260
|
* { // Provenance
|
|
274
261
|
* relation: "DETECTED_FROM", // required
|
|
@@ -447,7 +434,7 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
447
434
|
* // name: "STRING_VALUE", // required
|
|
448
435
|
* // displayName: "STRING_VALUE",
|
|
449
436
|
* // description: "STRING_VALUE",
|
|
450
|
-
* // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY", // required
|
|
437
|
+
* // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY" || "WEB_BOT", // required
|
|
451
438
|
* // descriptors: { // Descriptors
|
|
452
439
|
* // mcpServer: { // McpServerDescriptor
|
|
453
440
|
* // data: "STRING_VALUE",
|
|
@@ -467,13 +454,14 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
467
454
|
* // credentialProvider: { // RegistryRecordCredentialProviderUnion Union: only one key present
|
|
468
455
|
* // oauthCredentialProvider: { // RegistryRecordOAuthCredentialProvider
|
|
469
456
|
* // providerArn: "STRING_VALUE", // required
|
|
470
|
-
* // grantType: "CLIENT_CREDENTIALS",
|
|
457
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
471
458
|
* // scopes: [ // ScopeList
|
|
472
459
|
* // "STRING_VALUE",
|
|
473
460
|
* // ],
|
|
474
461
|
* // customParameters: { // CustomParameterMap
|
|
475
462
|
* // "<keys>": "STRING_VALUE",
|
|
476
463
|
* // },
|
|
464
|
+
* // returnUrl: "STRING_VALUE",
|
|
477
465
|
* // },
|
|
478
466
|
* // iamCredentialProvider: { // RegistryRecordIamCredentialProvider
|
|
479
467
|
* // roleArn: "STRING_VALUE",
|
|
@@ -498,13 +486,14 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
498
486
|
* // credentialProvider: {// Union: only one key present
|
|
499
487
|
* // oauthCredentialProvider: {
|
|
500
488
|
* // providerArn: "STRING_VALUE", // required
|
|
501
|
-
* // grantType: "CLIENT_CREDENTIALS",
|
|
489
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
502
490
|
* // scopes: [
|
|
503
491
|
* // "STRING_VALUE",
|
|
504
492
|
* // ],
|
|
505
493
|
* // customParameters: {
|
|
506
494
|
* // "<keys>": "STRING_VALUE",
|
|
507
495
|
* // },
|
|
496
|
+
* // returnUrl: "STRING_VALUE",
|
|
508
497
|
* // },
|
|
509
498
|
* // iamCredentialProvider: {
|
|
510
499
|
* // roleArn: "STRING_VALUE",
|
|
@@ -533,13 +522,44 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
533
522
|
* // credentialProvider: {// Union: only one key present
|
|
534
523
|
* // oauthCredentialProvider: {
|
|
535
524
|
* // providerArn: "STRING_VALUE", // required
|
|
536
|
-
* // grantType: "CLIENT_CREDENTIALS",
|
|
525
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
526
|
+
* // scopes: [
|
|
527
|
+
* // "STRING_VALUE",
|
|
528
|
+
* // ],
|
|
529
|
+
* // customParameters: {
|
|
530
|
+
* // "<keys>": "STRING_VALUE",
|
|
531
|
+
* // },
|
|
532
|
+
* // returnUrl: "STRING_VALUE",
|
|
533
|
+
* // },
|
|
534
|
+
* // iamCredentialProvider: {
|
|
535
|
+
* // roleArn: "STRING_VALUE",
|
|
536
|
+
* // service: "STRING_VALUE",
|
|
537
|
+
* // region: "STRING_VALUE",
|
|
538
|
+
* // },
|
|
539
|
+
* // },
|
|
540
|
+
* // },
|
|
541
|
+
* // ],
|
|
542
|
+
* // },
|
|
543
|
+
* // },
|
|
544
|
+
* // },
|
|
545
|
+
* // skillPackage: { // AgentSkillsPackageDescriptor
|
|
546
|
+
* // source: {
|
|
547
|
+
* // fromUrl: {
|
|
548
|
+
* // url: "STRING_VALUE", // required
|
|
549
|
+
* // credentialProviderConfigurations: [
|
|
550
|
+
* // {
|
|
551
|
+
* // credentialProviderType: "OAUTH" || "IAM", // required
|
|
552
|
+
* // credentialProvider: {// Union: only one key present
|
|
553
|
+
* // oauthCredentialProvider: {
|
|
554
|
+
* // providerArn: "STRING_VALUE", // required
|
|
555
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
537
556
|
* // scopes: [
|
|
538
557
|
* // "STRING_VALUE",
|
|
539
558
|
* // ],
|
|
540
559
|
* // customParameters: {
|
|
541
560
|
* // "<keys>": "STRING_VALUE",
|
|
542
561
|
* // },
|
|
562
|
+
* // returnUrl: "STRING_VALUE",
|
|
543
563
|
* // },
|
|
544
564
|
* // iamCredentialProvider: {
|
|
545
565
|
* // roleArn: "STRING_VALUE",
|
|
@@ -552,6 +572,12 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
552
572
|
* // },
|
|
553
573
|
* // },
|
|
554
574
|
* // },
|
|
575
|
+
* // repositoryProvider: "GITHUB",
|
|
576
|
+
* // sourceConfiguration: { // AgentSkillsSourceConfiguration Union: only one key present
|
|
577
|
+
* // s3: { // S3SourceConfiguration
|
|
578
|
+
* // bucketOwnerAccountId: "STRING_VALUE",
|
|
579
|
+
* // },
|
|
580
|
+
* // },
|
|
555
581
|
* // },
|
|
556
582
|
* // },
|
|
557
583
|
* // custom: { // CustomDescriptor
|
|
@@ -567,13 +593,14 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
567
593
|
* // credentialProvider: {// Union: only one key present
|
|
568
594
|
* // oauthCredentialProvider: {
|
|
569
595
|
* // providerArn: "STRING_VALUE", // required
|
|
570
|
-
* // grantType: "CLIENT_CREDENTIALS",
|
|
596
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
571
597
|
* // scopes: [
|
|
572
598
|
* // "STRING_VALUE",
|
|
573
599
|
* // ],
|
|
574
600
|
* // customParameters: {
|
|
575
601
|
* // "<keys>": "STRING_VALUE",
|
|
576
602
|
* // },
|
|
603
|
+
* // returnUrl: "STRING_VALUE",
|
|
577
604
|
* // },
|
|
578
605
|
* // iamCredentialProvider: {
|
|
579
606
|
* // roleArn: "STRING_VALUE",
|
|
@@ -587,37 +614,19 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
587
614
|
* // },
|
|
588
615
|
* // },
|
|
589
616
|
* // agui: { // AgUiDescriptor
|
|
590
|
-
* // source:
|
|
591
|
-
* //
|
|
592
|
-
* //
|
|
593
|
-
* //
|
|
594
|
-
* //
|
|
595
|
-
* //
|
|
596
|
-
* //
|
|
597
|
-
* //
|
|
598
|
-
* // providerArn: "STRING_VALUE", // required
|
|
599
|
-
* // grantType: "CLIENT_CREDENTIALS",
|
|
600
|
-
* // scopes: [
|
|
601
|
-
* // "STRING_VALUE",
|
|
602
|
-
* // ],
|
|
603
|
-
* // customParameters: {
|
|
604
|
-
* // "<keys>": "STRING_VALUE",
|
|
605
|
-
* // },
|
|
606
|
-
* // },
|
|
607
|
-
* // iamCredentialProvider: {
|
|
608
|
-
* // roleArn: "STRING_VALUE",
|
|
609
|
-
* // service: "STRING_VALUE",
|
|
610
|
-
* // region: "STRING_VALUE",
|
|
611
|
-
* // },
|
|
612
|
-
* // },
|
|
613
|
-
* // },
|
|
614
|
-
* // ],
|
|
615
|
-
* // },
|
|
617
|
+
* // source: "<DescriptorSource>",
|
|
618
|
+
* // },
|
|
619
|
+
* // signatureAgentCard: { // SignatureAgentCardDescriptor
|
|
620
|
+
* // data: "STRING_VALUE",
|
|
621
|
+
* // dataSchemaVersion: "STRING_VALUE",
|
|
622
|
+
* // source: "<DescriptorSource>",
|
|
623
|
+
* // additionalData: { // SignatureAgentCardAdditionalData
|
|
624
|
+
* // category: "advertising" || "archiver" || "content_fetcher" || "email_client" || "http_library" || "link_checker" || "miscellaneous" || "monitoring" || "page_preview" || "scraping_framework" || "search_engine" || "security" || "seo" || "social_media" || "ai_training" || "ai_search" || "ai_assistant" || "ai_content_optimization",
|
|
616
625
|
* // },
|
|
617
626
|
* // },
|
|
618
627
|
* // },
|
|
619
628
|
* // recordVersion: "STRING_VALUE",
|
|
620
|
-
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
|
|
629
|
+
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
|
|
621
630
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
622
631
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
623
632
|
* // statusReason: "STRING_VALUE",
|
|
@@ -793,6 +802,14 @@ declare const UpdateRegistryRecordCommand_base: {
|
|
|
793
802
|
* // createdBy: "STRING_VALUE",
|
|
794
803
|
* // customMetadata: "DOCUMENT_VALUE",
|
|
795
804
|
* // customMetadataSchemaComplianceStatus: "COMPLIANT" || "NON_COMPLIANT",
|
|
805
|
+
* // authorizationData: { // AuthorizationData Union: only one key present
|
|
806
|
+
* // oauth2: { // OAuth2AuthorizationData
|
|
807
|
+
* // authorizationUrl: "STRING_VALUE", // required
|
|
808
|
+
* // userId: "STRING_VALUE",
|
|
809
|
+
* // authorizationAttemptId: "STRING_VALUE",
|
|
810
|
+
* // expiresAt: new Date("TIMESTAMP"),
|
|
811
|
+
* // },
|
|
812
|
+
* // },
|
|
796
813
|
* // };
|
|
797
814
|
*
|
|
798
815
|
* ```
|
|
@@ -36,7 +36,7 @@ declare const UpdateRegistryRecordStatusCommand_base: {
|
|
|
36
36
|
* const input = { // UpdateRegistryRecordStatusRequest
|
|
37
37
|
* registryId: "STRING_VALUE", // required
|
|
38
38
|
* recordId: "STRING_VALUE", // required
|
|
39
|
-
* status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
|
|
39
|
+
* status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
|
|
40
40
|
* statusReason: "STRING_VALUE", // required
|
|
41
41
|
* };
|
|
42
42
|
* const command = new UpdateRegistryRecordStatusCommand(input);
|
|
@@ -45,7 +45,7 @@ declare const UpdateRegistryRecordStatusCommand_base: {
|
|
|
45
45
|
* // registryArn: "STRING_VALUE", // required
|
|
46
46
|
* // recordArn: "STRING_VALUE", // required
|
|
47
47
|
* // recordId: "STRING_VALUE", // required
|
|
48
|
-
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
|
|
48
|
+
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
|
|
49
49
|
* // statusReason: "STRING_VALUE", // required
|
|
50
50
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
51
51
|
* // };
|