@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
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
import { type WaiterResult } from "@smithy/core/client";
|
|
2
2
|
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
3
3
|
import { AgentRegistryControlClient } from "./AgentRegistryControlClient";
|
|
4
|
+
import { type AssociatePublisherCommandInput, type AssociatePublisherCommandOutput } from "./commands/AssociatePublisherCommand";
|
|
5
|
+
import { type CreatePublisherCommandInput, type CreatePublisherCommandOutput } from "./commands/CreatePublisherCommand";
|
|
4
6
|
import { type CreateRegistryCommandInput, type CreateRegistryCommandOutput } from "./commands/CreateRegistryCommand";
|
|
5
7
|
import { type CreateRegistryRecordCommandInput, type CreateRegistryRecordCommandOutput } from "./commands/CreateRegistryRecordCommand";
|
|
8
|
+
import { type DeletePublisherCommandInput, type DeletePublisherCommandOutput } from "./commands/DeletePublisherCommand";
|
|
6
9
|
import { type DeleteRegistryCommandInput, type DeleteRegistryCommandOutput } from "./commands/DeleteRegistryCommand";
|
|
7
10
|
import { type DeleteRegistryRecordCommandInput, type DeleteRegistryRecordCommandOutput } from "./commands/DeleteRegistryRecordCommand";
|
|
11
|
+
import { type DisassociatePublisherCommandInput, type DisassociatePublisherCommandOutput } from "./commands/DisassociatePublisherCommand";
|
|
12
|
+
import { type GetPublisherCommandInput, type GetPublisherCommandOutput } from "./commands/GetPublisherCommand";
|
|
8
13
|
import { type GetRegistryCommandInput, type GetRegistryCommandOutput } from "./commands/GetRegistryCommand";
|
|
9
14
|
import { type GetRegistryRecordCommandInput, type GetRegistryRecordCommandOutput } from "./commands/GetRegistryRecordCommand";
|
|
15
|
+
import { type ListPublisherAssociationsCommandInput, type ListPublisherAssociationsCommandOutput } from "./commands/ListPublisherAssociationsCommand";
|
|
16
|
+
import { type ListPublishersCommandInput, type ListPublishersCommandOutput } from "./commands/ListPublishersCommand";
|
|
10
17
|
import { type ListRegistriesCommandInput, type ListRegistriesCommandOutput } from "./commands/ListRegistriesCommand";
|
|
11
18
|
import { type ListRegistryRecordsCommandInput, type ListRegistryRecordsCommandOutput } from "./commands/ListRegistryRecordsCommand";
|
|
12
19
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
13
20
|
import { type SubmitRegistryRecordForApprovalCommandInput, type SubmitRegistryRecordForApprovalCommandOutput } from "./commands/SubmitRegistryRecordForApprovalCommand";
|
|
14
21
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
15
22
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
23
|
+
import { type UpdatePublisherAssociationApprovalStatusCommandInput, type UpdatePublisherAssociationApprovalStatusCommandOutput } from "./commands/UpdatePublisherAssociationApprovalStatusCommand";
|
|
16
24
|
import { type UpdateRegistryCommandInput, type UpdateRegistryCommandOutput } from "./commands/UpdateRegistryCommand";
|
|
17
25
|
import { type UpdateRegistryRecordCommandInput, type UpdateRegistryRecordCommandOutput } from "./commands/UpdateRegistryRecordCommand";
|
|
18
26
|
import { type UpdateRegistryRecordStatusCommandInput, type UpdateRegistryRecordStatusCommandOutput } from "./commands/UpdateRegistryRecordStatusCommand";
|
|
27
|
+
import { type ValidatePublisherCommandInput, type ValidatePublisherCommandOutput } from "./commands/ValidatePublisherCommand";
|
|
19
28
|
/**
|
|
20
29
|
* @public
|
|
21
30
|
*/
|
|
@@ -23,6 +32,18 @@ export interface AgentRegistryControlRequestOptions extends __HttpHandlerOptions
|
|
|
23
32
|
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
24
33
|
}
|
|
25
34
|
export interface AgentRegistryControl {
|
|
35
|
+
/**
|
|
36
|
+
* @see {@link AssociatePublisherCommand}
|
|
37
|
+
*/
|
|
38
|
+
associatePublisher(args: AssociatePublisherCommandInput, options?: AgentRegistryControlRequestOptions): Promise<AssociatePublisherCommandOutput>;
|
|
39
|
+
associatePublisher(args: AssociatePublisherCommandInput, cb: (err: any, data?: AssociatePublisherCommandOutput) => void): void;
|
|
40
|
+
associatePublisher(args: AssociatePublisherCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: AssociatePublisherCommandOutput) => void): void;
|
|
41
|
+
/**
|
|
42
|
+
* @see {@link CreatePublisherCommand}
|
|
43
|
+
*/
|
|
44
|
+
createPublisher(args: CreatePublisherCommandInput, options?: AgentRegistryControlRequestOptions): Promise<CreatePublisherCommandOutput>;
|
|
45
|
+
createPublisher(args: CreatePublisherCommandInput, cb: (err: any, data?: CreatePublisherCommandOutput) => void): void;
|
|
46
|
+
createPublisher(args: CreatePublisherCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: CreatePublisherCommandOutput) => void): void;
|
|
26
47
|
/**
|
|
27
48
|
* @see {@link CreateRegistryCommand}
|
|
28
49
|
*/
|
|
@@ -35,6 +56,12 @@ export interface AgentRegistryControl {
|
|
|
35
56
|
createRegistryRecord(args: CreateRegistryRecordCommandInput, options?: AgentRegistryControlRequestOptions): Promise<CreateRegistryRecordCommandOutput>;
|
|
36
57
|
createRegistryRecord(args: CreateRegistryRecordCommandInput, cb: (err: any, data?: CreateRegistryRecordCommandOutput) => void): void;
|
|
37
58
|
createRegistryRecord(args: CreateRegistryRecordCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: CreateRegistryRecordCommandOutput) => void): void;
|
|
59
|
+
/**
|
|
60
|
+
* @see {@link DeletePublisherCommand}
|
|
61
|
+
*/
|
|
62
|
+
deletePublisher(args: DeletePublisherCommandInput, options?: AgentRegistryControlRequestOptions): Promise<DeletePublisherCommandOutput>;
|
|
63
|
+
deletePublisher(args: DeletePublisherCommandInput, cb: (err: any, data?: DeletePublisherCommandOutput) => void): void;
|
|
64
|
+
deletePublisher(args: DeletePublisherCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: DeletePublisherCommandOutput) => void): void;
|
|
38
65
|
/**
|
|
39
66
|
* @see {@link DeleteRegistryCommand}
|
|
40
67
|
*/
|
|
@@ -47,6 +74,18 @@ export interface AgentRegistryControl {
|
|
|
47
74
|
deleteRegistryRecord(args: DeleteRegistryRecordCommandInput, options?: AgentRegistryControlRequestOptions): Promise<DeleteRegistryRecordCommandOutput>;
|
|
48
75
|
deleteRegistryRecord(args: DeleteRegistryRecordCommandInput, cb: (err: any, data?: DeleteRegistryRecordCommandOutput) => void): void;
|
|
49
76
|
deleteRegistryRecord(args: DeleteRegistryRecordCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: DeleteRegistryRecordCommandOutput) => void): void;
|
|
77
|
+
/**
|
|
78
|
+
* @see {@link DisassociatePublisherCommand}
|
|
79
|
+
*/
|
|
80
|
+
disassociatePublisher(args: DisassociatePublisherCommandInput, options?: AgentRegistryControlRequestOptions): Promise<DisassociatePublisherCommandOutput>;
|
|
81
|
+
disassociatePublisher(args: DisassociatePublisherCommandInput, cb: (err: any, data?: DisassociatePublisherCommandOutput) => void): void;
|
|
82
|
+
disassociatePublisher(args: DisassociatePublisherCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: DisassociatePublisherCommandOutput) => void): void;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link GetPublisherCommand}
|
|
85
|
+
*/
|
|
86
|
+
getPublisher(args: GetPublisherCommandInput, options?: AgentRegistryControlRequestOptions): Promise<GetPublisherCommandOutput>;
|
|
87
|
+
getPublisher(args: GetPublisherCommandInput, cb: (err: any, data?: GetPublisherCommandOutput) => void): void;
|
|
88
|
+
getPublisher(args: GetPublisherCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: GetPublisherCommandOutput) => void): void;
|
|
50
89
|
/**
|
|
51
90
|
* @see {@link GetRegistryCommand}
|
|
52
91
|
*/
|
|
@@ -59,6 +98,20 @@ export interface AgentRegistryControl {
|
|
|
59
98
|
getRegistryRecord(args: GetRegistryRecordCommandInput, options?: AgentRegistryControlRequestOptions): Promise<GetRegistryRecordCommandOutput>;
|
|
60
99
|
getRegistryRecord(args: GetRegistryRecordCommandInput, cb: (err: any, data?: GetRegistryRecordCommandOutput) => void): void;
|
|
61
100
|
getRegistryRecord(args: GetRegistryRecordCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: GetRegistryRecordCommandOutput) => void): void;
|
|
101
|
+
/**
|
|
102
|
+
* @see {@link ListPublisherAssociationsCommand}
|
|
103
|
+
*/
|
|
104
|
+
listPublisherAssociations(): Promise<ListPublisherAssociationsCommandOutput>;
|
|
105
|
+
listPublisherAssociations(args: ListPublisherAssociationsCommandInput, options?: AgentRegistryControlRequestOptions): Promise<ListPublisherAssociationsCommandOutput>;
|
|
106
|
+
listPublisherAssociations(args: ListPublisherAssociationsCommandInput, cb: (err: any, data?: ListPublisherAssociationsCommandOutput) => void): void;
|
|
107
|
+
listPublisherAssociations(args: ListPublisherAssociationsCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: ListPublisherAssociationsCommandOutput) => void): void;
|
|
108
|
+
/**
|
|
109
|
+
* @see {@link ListPublishersCommand}
|
|
110
|
+
*/
|
|
111
|
+
listPublishers(): Promise<ListPublishersCommandOutput>;
|
|
112
|
+
listPublishers(args: ListPublishersCommandInput, options?: AgentRegistryControlRequestOptions): Promise<ListPublishersCommandOutput>;
|
|
113
|
+
listPublishers(args: ListPublishersCommandInput, cb: (err: any, data?: ListPublishersCommandOutput) => void): void;
|
|
114
|
+
listPublishers(args: ListPublishersCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: ListPublishersCommandOutput) => void): void;
|
|
62
115
|
/**
|
|
63
116
|
* @see {@link ListRegistriesCommand}
|
|
64
117
|
*/
|
|
@@ -96,6 +149,12 @@ export interface AgentRegistryControl {
|
|
|
96
149
|
untagResource(args: UntagResourceCommandInput, options?: AgentRegistryControlRequestOptions): Promise<UntagResourceCommandOutput>;
|
|
97
150
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
98
151
|
untagResource(args: UntagResourceCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
152
|
+
/**
|
|
153
|
+
* @see {@link UpdatePublisherAssociationApprovalStatusCommand}
|
|
154
|
+
*/
|
|
155
|
+
updatePublisherAssociationApprovalStatus(args: UpdatePublisherAssociationApprovalStatusCommandInput, options?: AgentRegistryControlRequestOptions): Promise<UpdatePublisherAssociationApprovalStatusCommandOutput>;
|
|
156
|
+
updatePublisherAssociationApprovalStatus(args: UpdatePublisherAssociationApprovalStatusCommandInput, cb: (err: any, data?: UpdatePublisherAssociationApprovalStatusCommandOutput) => void): void;
|
|
157
|
+
updatePublisherAssociationApprovalStatus(args: UpdatePublisherAssociationApprovalStatusCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: UpdatePublisherAssociationApprovalStatusCommandOutput) => void): void;
|
|
99
158
|
/**
|
|
100
159
|
* @see {@link UpdateRegistryCommand}
|
|
101
160
|
*/
|
|
@@ -114,6 +173,26 @@ export interface AgentRegistryControl {
|
|
|
114
173
|
updateRegistryRecordStatus(args: UpdateRegistryRecordStatusCommandInput, options?: AgentRegistryControlRequestOptions): Promise<UpdateRegistryRecordStatusCommandOutput>;
|
|
115
174
|
updateRegistryRecordStatus(args: UpdateRegistryRecordStatusCommandInput, cb: (err: any, data?: UpdateRegistryRecordStatusCommandOutput) => void): void;
|
|
116
175
|
updateRegistryRecordStatus(args: UpdateRegistryRecordStatusCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: UpdateRegistryRecordStatusCommandOutput) => void): void;
|
|
176
|
+
/**
|
|
177
|
+
* @see {@link ValidatePublisherCommand}
|
|
178
|
+
*/
|
|
179
|
+
validatePublisher(args: ValidatePublisherCommandInput, options?: AgentRegistryControlRequestOptions): Promise<ValidatePublisherCommandOutput>;
|
|
180
|
+
validatePublisher(args: ValidatePublisherCommandInput, cb: (err: any, data?: ValidatePublisherCommandOutput) => void): void;
|
|
181
|
+
validatePublisher(args: ValidatePublisherCommandInput, options: AgentRegistryControlRequestOptions, cb: (err: any, data?: ValidatePublisherCommandOutput) => void): void;
|
|
182
|
+
/**
|
|
183
|
+
* @see {@link ListPublisherAssociationsCommand}
|
|
184
|
+
* @param args - command input.
|
|
185
|
+
* @param paginationConfig - optional pagination config.
|
|
186
|
+
* @returns AsyncIterable of {@link ListPublisherAssociationsCommandOutput}.
|
|
187
|
+
*/
|
|
188
|
+
paginateListPublisherAssociations(args?: ListPublisherAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPublisherAssociationsCommandOutput>;
|
|
189
|
+
/**
|
|
190
|
+
* @see {@link ListPublishersCommand}
|
|
191
|
+
* @param args - command input.
|
|
192
|
+
* @param paginationConfig - optional pagination config.
|
|
193
|
+
* @returns AsyncIterable of {@link ListPublishersCommandOutput}.
|
|
194
|
+
*/
|
|
195
|
+
paginateListPublishers(args?: ListPublishersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPublishersCommandOutput>;
|
|
117
196
|
/**
|
|
118
197
|
* @see {@link ListRegistriesCommand}
|
|
119
198
|
* @param args - command input.
|
|
@@ -6,32 +6,41 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
|
|
|
6
6
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
7
7
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
8
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import type { AssociatePublisherCommandInput, AssociatePublisherCommandOutput } from "./commands/AssociatePublisherCommand";
|
|
10
|
+
import type { CreatePublisherCommandInput, CreatePublisherCommandOutput } from "./commands/CreatePublisherCommand";
|
|
9
11
|
import type { CreateRegistryCommandInput, CreateRegistryCommandOutput } from "./commands/CreateRegistryCommand";
|
|
10
12
|
import type { CreateRegistryRecordCommandInput, CreateRegistryRecordCommandOutput } from "./commands/CreateRegistryRecordCommand";
|
|
13
|
+
import type { DeletePublisherCommandInput, DeletePublisherCommandOutput } from "./commands/DeletePublisherCommand";
|
|
11
14
|
import type { DeleteRegistryCommandInput, DeleteRegistryCommandOutput } from "./commands/DeleteRegistryCommand";
|
|
12
15
|
import type { DeleteRegistryRecordCommandInput, DeleteRegistryRecordCommandOutput } from "./commands/DeleteRegistryRecordCommand";
|
|
16
|
+
import type { DisassociatePublisherCommandInput, DisassociatePublisherCommandOutput } from "./commands/DisassociatePublisherCommand";
|
|
17
|
+
import type { GetPublisherCommandInput, GetPublisherCommandOutput } from "./commands/GetPublisherCommand";
|
|
13
18
|
import type { GetRegistryCommandInput, GetRegistryCommandOutput } from "./commands/GetRegistryCommand";
|
|
14
19
|
import type { GetRegistryRecordCommandInput, GetRegistryRecordCommandOutput } from "./commands/GetRegistryRecordCommand";
|
|
20
|
+
import type { ListPublisherAssociationsCommandInput, ListPublisherAssociationsCommandOutput } from "./commands/ListPublisherAssociationsCommand";
|
|
21
|
+
import type { ListPublishersCommandInput, ListPublishersCommandOutput } from "./commands/ListPublishersCommand";
|
|
15
22
|
import type { ListRegistriesCommandInput, ListRegistriesCommandOutput } from "./commands/ListRegistriesCommand";
|
|
16
23
|
import type { ListRegistryRecordsCommandInput, ListRegistryRecordsCommandOutput } from "./commands/ListRegistryRecordsCommand";
|
|
17
24
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
18
25
|
import type { SubmitRegistryRecordForApprovalCommandInput, SubmitRegistryRecordForApprovalCommandOutput } from "./commands/SubmitRegistryRecordForApprovalCommand";
|
|
19
26
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
20
27
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
28
|
+
import type { UpdatePublisherAssociationApprovalStatusCommandInput, UpdatePublisherAssociationApprovalStatusCommandOutput } from "./commands/UpdatePublisherAssociationApprovalStatusCommand";
|
|
21
29
|
import type { UpdateRegistryCommandInput, UpdateRegistryCommandOutput } from "./commands/UpdateRegistryCommand";
|
|
22
30
|
import type { UpdateRegistryRecordCommandInput, UpdateRegistryRecordCommandOutput } from "./commands/UpdateRegistryRecordCommand";
|
|
23
31
|
import type { UpdateRegistryRecordStatusCommandInput, UpdateRegistryRecordStatusCommandOutput } from "./commands/UpdateRegistryRecordStatusCommand";
|
|
32
|
+
import type { ValidatePublisherCommandInput, ValidatePublisherCommandOutput } from "./commands/ValidatePublisherCommand";
|
|
24
33
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
25
34
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
26
35
|
export { __Client };
|
|
27
36
|
/**
|
|
28
37
|
* @public
|
|
29
38
|
*/
|
|
30
|
-
export type ServiceInputTypes = CreateRegistryCommandInput | CreateRegistryRecordCommandInput | DeleteRegistryCommandInput | DeleteRegistryRecordCommandInput | GetRegistryCommandInput | GetRegistryRecordCommandInput | ListRegistriesCommandInput | ListRegistryRecordsCommandInput | ListTagsForResourceCommandInput | SubmitRegistryRecordForApprovalCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateRegistryCommandInput | UpdateRegistryRecordCommandInput | UpdateRegistryRecordStatusCommandInput;
|
|
39
|
+
export type ServiceInputTypes = AssociatePublisherCommandInput | CreatePublisherCommandInput | CreateRegistryCommandInput | CreateRegistryRecordCommandInput | DeletePublisherCommandInput | DeleteRegistryCommandInput | DeleteRegistryRecordCommandInput | DisassociatePublisherCommandInput | GetPublisherCommandInput | GetRegistryCommandInput | GetRegistryRecordCommandInput | ListPublisherAssociationsCommandInput | ListPublishersCommandInput | ListRegistriesCommandInput | ListRegistryRecordsCommandInput | ListTagsForResourceCommandInput | SubmitRegistryRecordForApprovalCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePublisherAssociationApprovalStatusCommandInput | UpdateRegistryCommandInput | UpdateRegistryRecordCommandInput | UpdateRegistryRecordStatusCommandInput | ValidatePublisherCommandInput;
|
|
31
40
|
/**
|
|
32
41
|
* @public
|
|
33
42
|
*/
|
|
34
|
-
export type ServiceOutputTypes = CreateRegistryCommandOutput | CreateRegistryRecordCommandOutput | DeleteRegistryCommandOutput | DeleteRegistryRecordCommandOutput | GetRegistryCommandOutput | GetRegistryRecordCommandOutput | ListRegistriesCommandOutput | ListRegistryRecordsCommandOutput | ListTagsForResourceCommandOutput | SubmitRegistryRecordForApprovalCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateRegistryCommandOutput | UpdateRegistryRecordCommandOutput | UpdateRegistryRecordStatusCommandOutput;
|
|
43
|
+
export type ServiceOutputTypes = AssociatePublisherCommandOutput | CreatePublisherCommandOutput | CreateRegistryCommandOutput | CreateRegistryRecordCommandOutput | DeletePublisherCommandOutput | DeleteRegistryCommandOutput | DeleteRegistryRecordCommandOutput | DisassociatePublisherCommandOutput | GetPublisherCommandOutput | GetRegistryCommandOutput | GetRegistryRecordCommandOutput | ListPublisherAssociationsCommandOutput | ListPublishersCommandOutput | ListRegistriesCommandOutput | ListRegistryRecordsCommandOutput | ListTagsForResourceCommandOutput | SubmitRegistryRecordForApprovalCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePublisherAssociationApprovalStatusCommandOutput | UpdateRegistryCommandOutput | UpdateRegistryRecordCommandOutput | UpdateRegistryRecordStatusCommandOutput | ValidatePublisherCommandOutput;
|
|
35
44
|
/**
|
|
36
45
|
* @public
|
|
37
46
|
*/
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { AssociatePublisherRequest, AssociatePublisherResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link AssociatePublisherCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface AssociatePublisherCommandInput extends AssociatePublisherRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link AssociatePublisherCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface AssociatePublisherCommandOutput extends AssociatePublisherResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const AssociatePublisherCommand_base: {
|
|
22
|
+
new (input: AssociatePublisherCommandInput): import("@smithy/core/client").CommandImpl<AssociatePublisherCommandInput, AssociatePublisherCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssociatePublisherCommandInput): import("@smithy/core/client").CommandImpl<AssociatePublisherCommandInput, AssociatePublisherCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Associate a registry record with a publisher and assign the record a public identifier under the
|
|
28
|
+
* publisher's domain. The registry record must be APPROVED and the publisher must be ACTIVE. A
|
|
29
|
+
* registry record can have only one publisher association. The new association starts in
|
|
30
|
+
* PENDING_APPROVAL until a curator approves or rejects it.
|
|
31
|
+
* A ConflictException (HTTP 409) means the publisher is not ACTIVE yet, the registry record already
|
|
32
|
+
* has an association, or another registry record already holds the public identifier. To retry
|
|
33
|
+
* safely, repeat the request with the same clientToken; a retry returns the original association.
|
|
34
|
+
* If the publisher has reached its association quota, the request fails with
|
|
35
|
+
* ServiceQuotaExceededException (HTTP 402). Remove an unused association or request a quota increase.
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { AgentRegistryControlClient, AssociatePublisherCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
40
|
+
* // const { AgentRegistryControlClient, AssociatePublisherCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
|
|
41
|
+
* // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
|
|
42
|
+
* const config = {}; // type is AgentRegistryControlClientConfig
|
|
43
|
+
* const client = new AgentRegistryControlClient(config);
|
|
44
|
+
* const input = { // AssociatePublisherRequest
|
|
45
|
+
* recordArn: "STRING_VALUE", // required
|
|
46
|
+
* publisherArn: "STRING_VALUE", // required
|
|
47
|
+
* subdomain: "STRING_VALUE",
|
|
48
|
+
* categories: [ // CategoryList
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* clientToken: "STRING_VALUE",
|
|
52
|
+
* };
|
|
53
|
+
* const command = new AssociatePublisherCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // AssociatePublisherResponse
|
|
56
|
+
* // recordArn: "STRING_VALUE", // required
|
|
57
|
+
* // publicIdentifier: "STRING_VALUE", // required
|
|
58
|
+
* // publisher: "STRING_VALUE", // required
|
|
59
|
+
* // status: "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "SUSPENDED", // required
|
|
60
|
+
* // statusReason: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param AssociatePublisherCommandInput - {@link AssociatePublisherCommandInput}
|
|
66
|
+
* @returns {@link AssociatePublisherCommandOutput}
|
|
67
|
+
* @see {@link AssociatePublisherCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link AssociatePublisherCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ConflictException} (client fault)
|
|
75
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link DependencyException} (server fault)
|
|
78
|
+
* This exception is thrown on a database (or other dependency) error. Modeled as a
|
|
79
|
+
* server error so SDKs retry it (5xx) and it feeds server-error alarming. Marked
|
|
80
|
+
* @retryable because it represents a transient downstream failure that is safe to retry
|
|
81
|
+
* (matches the forwarder's own retry-on-DependencyException behavior).
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerException} (server fault)
|
|
84
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
87
|
+
* <p>The request would exceed a service quota.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class AssociatePublisherCommand extends AssociatePublisherCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: AssociatePublisherRequest;
|
|
106
|
+
output: AssociatePublisherResponse;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: AssociatePublisherCommandInput;
|
|
110
|
+
output: AssociatePublisherCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreatePublisherRequest, CreatePublisherResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreatePublisherCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreatePublisherCommandInput extends CreatePublisherRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreatePublisherCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreatePublisherCommandOutput extends CreatePublisherResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreatePublisherCommand_base: {
|
|
22
|
+
new (input: CreatePublisherCommandInput): import("@smithy/core/client").CommandImpl<CreatePublisherCommandInput, CreatePublisherCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreatePublisherCommandInput): import("@smithy/core/client").CommandImpl<CreatePublisherCommandInput, CreatePublisherCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Create a publisher for a domain you control. The publisher starts in ACTION_REQUIRED, and the
|
|
28
|
+
* response includes a domainChallenge. To verify the domain, create a DNS TXT record with the
|
|
29
|
+
* challenge's recordName and recordValue. When the registry finds the record, the publisher becomes
|
|
30
|
+
* ACTIVE and you can associate registry records with it.
|
|
31
|
+
* Your account can have one publisher per domain. Creating a second publisher for the same domain
|
|
32
|
+
* fails with ConflictException unless the request repeats the original clientToken, which returns the
|
|
33
|
+
* existing publisher. The request also fails with ConflictException when another account has already
|
|
34
|
+
* verified the domain.
|
|
35
|
+
* If your account has reached its Publisher quota, the request fails with
|
|
36
|
+
* ServiceQuotaExceededException (HTTP 402). Delete an unused Publisher or request a quota increase.
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { AgentRegistryControlClient, CreatePublisherCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
41
|
+
* // const { AgentRegistryControlClient, CreatePublisherCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
|
|
42
|
+
* // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
|
|
43
|
+
* const config = {}; // type is AgentRegistryControlClientConfig
|
|
44
|
+
* const client = new AgentRegistryControlClient(config);
|
|
45
|
+
* const input = { // CreatePublisherRequest
|
|
46
|
+
* value: { // Identifier Union: only one key present
|
|
47
|
+
* domain: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* tags: { // TagMap
|
|
50
|
+
* "<keys>": "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* clientToken: "STRING_VALUE",
|
|
53
|
+
* };
|
|
54
|
+
* const command = new CreatePublisherCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // CreatePublisherResponse
|
|
57
|
+
* // value: { // Identifier Union: only one key present
|
|
58
|
+
* // domain: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // identifierType: "DOMAIN",
|
|
61
|
+
* // status: "ACTION_REQUIRED" || "ACTIVE" || "FAILED" || "SUSPENDED" || "DELETING", // required
|
|
62
|
+
* // statusReason: "STRING_VALUE",
|
|
63
|
+
* // domainChallenge: { // DomainChallenge
|
|
64
|
+
* // recordName: "STRING_VALUE", // required
|
|
65
|
+
* // recordValue: "STRING_VALUE", // required
|
|
66
|
+
* // },
|
|
67
|
+
* // tags: { // TagMap
|
|
68
|
+
* // "<keys>": "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
71
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
72
|
+
* // publisherArn: "STRING_VALUE", // required
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param CreatePublisherCommandInput - {@link CreatePublisherCommandInput}
|
|
78
|
+
* @returns {@link CreatePublisherCommandOutput}
|
|
79
|
+
* @see {@link CreatePublisherCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link CreatePublisherCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
84
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ConflictException} (client fault)
|
|
87
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InternalServerException} (server fault)
|
|
90
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
93
|
+
* <p>The request would exceed a service quota.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
96
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ValidationException} (client fault)
|
|
99
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
103
|
+
*
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export declare class CreatePublisherCommand extends CreatePublisherCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: CreatePublisherRequest;
|
|
112
|
+
output: CreatePublisherResponse;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: CreatePublisherCommandInput;
|
|
116
|
+
output: CreatePublisherCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|
|
@@ -125,7 +125,7 @@ declare const CreateRegistryCommand_base: {
|
|
|
125
125
|
* defaultSchema: "STRING_VALUE",
|
|
126
126
|
* recordTypeSchemaOverrides: [ // RecordTypeSchemaOverrideList
|
|
127
127
|
* { // RecordTypeSchemaOverride
|
|
128
|
-
* recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY", // required
|
|
128
|
+
* recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY" || "WEB_BOT", // required
|
|
129
129
|
* schema: "STRING_VALUE", // required
|
|
130
130
|
* },
|
|
131
131
|
* ],
|
|
@@ -24,7 +24,7 @@ declare const CreateRegistryRecordCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
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
|
|
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. For an agent skill, you can upload a skill package in <code>artifact</code>, or synchronize the skill from an Amazon S3 or GitHub source. Creation is asynchronous: the operation returns the record with the <code>CREATING</code> status while the registry processes it. If a GitHub user must first authorize access to the source, the operation returns the record with the <code>CREATE_PENDING_AUTH</code> status instead.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -38,7 +38,7 @@ declare const CreateRegistryRecordCommand_base: {
|
|
|
38
38
|
* name: "STRING_VALUE", // required
|
|
39
39
|
* displayName: "STRING_VALUE",
|
|
40
40
|
* description: "STRING_VALUE",
|
|
41
|
-
* recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY", // required
|
|
41
|
+
* recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY" || "WEB_BOT", // required
|
|
42
42
|
* descriptors: { // Descriptors
|
|
43
43
|
* mcpServer: { // McpServerDescriptor
|
|
44
44
|
* data: "STRING_VALUE",
|
|
@@ -58,13 +58,14 @@ declare const CreateRegistryRecordCommand_base: {
|
|
|
58
58
|
* credentialProvider: { // RegistryRecordCredentialProviderUnion Union: only one key present
|
|
59
59
|
* oauthCredentialProvider: { // RegistryRecordOAuthCredentialProvider
|
|
60
60
|
* providerArn: "STRING_VALUE", // required
|
|
61
|
-
* grantType: "CLIENT_CREDENTIALS",
|
|
61
|
+
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
62
62
|
* scopes: [ // ScopeList
|
|
63
63
|
* "STRING_VALUE",
|
|
64
64
|
* ],
|
|
65
65
|
* customParameters: { // CustomParameterMap
|
|
66
66
|
* "<keys>": "STRING_VALUE",
|
|
67
67
|
* },
|
|
68
|
+
* returnUrl: "STRING_VALUE",
|
|
68
69
|
* },
|
|
69
70
|
* iamCredentialProvider: { // RegistryRecordIamCredentialProvider
|
|
70
71
|
* roleArn: "STRING_VALUE",
|
|
@@ -89,13 +90,14 @@ declare const CreateRegistryRecordCommand_base: {
|
|
|
89
90
|
* credentialProvider: {// Union: only one key present
|
|
90
91
|
* oauthCredentialProvider: {
|
|
91
92
|
* providerArn: "STRING_VALUE", // required
|
|
92
|
-
* grantType: "CLIENT_CREDENTIALS",
|
|
93
|
+
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
93
94
|
* scopes: [
|
|
94
95
|
* "STRING_VALUE",
|
|
95
96
|
* ],
|
|
96
97
|
* customParameters: {
|
|
97
98
|
* "<keys>": "STRING_VALUE",
|
|
98
99
|
* },
|
|
100
|
+
* returnUrl: "STRING_VALUE",
|
|
99
101
|
* },
|
|
100
102
|
* iamCredentialProvider: {
|
|
101
103
|
* roleArn: "STRING_VALUE",
|
|
@@ -124,13 +126,14 @@ declare const CreateRegistryRecordCommand_base: {
|
|
|
124
126
|
* credentialProvider: {// Union: only one key present
|
|
125
127
|
* oauthCredentialProvider: {
|
|
126
128
|
* providerArn: "STRING_VALUE", // required
|
|
127
|
-
* grantType: "CLIENT_CREDENTIALS",
|
|
129
|
+
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
128
130
|
* scopes: [
|
|
129
131
|
* "STRING_VALUE",
|
|
130
132
|
* ],
|
|
131
133
|
* customParameters: {
|
|
132
134
|
* "<keys>": "STRING_VALUE",
|
|
133
135
|
* },
|
|
136
|
+
* returnUrl: "STRING_VALUE",
|
|
134
137
|
* },
|
|
135
138
|
* iamCredentialProvider: {
|
|
136
139
|
* roleArn: "STRING_VALUE",
|
|
@@ -143,6 +146,42 @@ declare const CreateRegistryRecordCommand_base: {
|
|
|
143
146
|
* },
|
|
144
147
|
* },
|
|
145
148
|
* },
|
|
149
|
+
* skillPackage: { // AgentSkillsPackageDescriptor
|
|
150
|
+
* source: {
|
|
151
|
+
* fromUrl: {
|
|
152
|
+
* url: "STRING_VALUE", // required
|
|
153
|
+
* credentialProviderConfigurations: [
|
|
154
|
+
* {
|
|
155
|
+
* credentialProviderType: "OAUTH" || "IAM", // required
|
|
156
|
+
* credentialProvider: {// Union: only one key present
|
|
157
|
+
* oauthCredentialProvider: {
|
|
158
|
+
* providerArn: "STRING_VALUE", // required
|
|
159
|
+
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
160
|
+
* scopes: [
|
|
161
|
+
* "STRING_VALUE",
|
|
162
|
+
* ],
|
|
163
|
+
* customParameters: {
|
|
164
|
+
* "<keys>": "STRING_VALUE",
|
|
165
|
+
* },
|
|
166
|
+
* returnUrl: "STRING_VALUE",
|
|
167
|
+
* },
|
|
168
|
+
* iamCredentialProvider: {
|
|
169
|
+
* roleArn: "STRING_VALUE",
|
|
170
|
+
* service: "STRING_VALUE",
|
|
171
|
+
* region: "STRING_VALUE",
|
|
172
|
+
* },
|
|
173
|
+
* },
|
|
174
|
+
* },
|
|
175
|
+
* ],
|
|
176
|
+
* },
|
|
177
|
+
* },
|
|
178
|
+
* },
|
|
179
|
+
* repositoryProvider: "GITHUB",
|
|
180
|
+
* sourceConfiguration: { // AgentSkillsSourceConfiguration Union: only one key present
|
|
181
|
+
* s3: { // S3SourceConfiguration
|
|
182
|
+
* bucketOwnerAccountId: "STRING_VALUE",
|
|
183
|
+
* },
|
|
184
|
+
* },
|
|
146
185
|
* },
|
|
147
186
|
* },
|
|
148
187
|
* custom: { // CustomDescriptor
|
|
@@ -158,13 +197,14 @@ declare const CreateRegistryRecordCommand_base: {
|
|
|
158
197
|
* credentialProvider: {// Union: only one key present
|
|
159
198
|
* oauthCredentialProvider: {
|
|
160
199
|
* providerArn: "STRING_VALUE", // required
|
|
161
|
-
* grantType: "CLIENT_CREDENTIALS",
|
|
200
|
+
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
162
201
|
* scopes: [
|
|
163
202
|
* "STRING_VALUE",
|
|
164
203
|
* ],
|
|
165
204
|
* customParameters: {
|
|
166
205
|
* "<keys>": "STRING_VALUE",
|
|
167
206
|
* },
|
|
207
|
+
* returnUrl: "STRING_VALUE",
|
|
168
208
|
* },
|
|
169
209
|
* iamCredentialProvider: {
|
|
170
210
|
* roleArn: "STRING_VALUE",
|
|
@@ -178,35 +218,21 @@ declare const CreateRegistryRecordCommand_base: {
|
|
|
178
218
|
* },
|
|
179
219
|
* },
|
|
180
220
|
* agui: { // AgUiDescriptor
|
|
181
|
-
* source:
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
* providerArn: "STRING_VALUE", // required
|
|
190
|
-
* grantType: "CLIENT_CREDENTIALS",
|
|
191
|
-
* scopes: [
|
|
192
|
-
* "STRING_VALUE",
|
|
193
|
-
* ],
|
|
194
|
-
* customParameters: {
|
|
195
|
-
* "<keys>": "STRING_VALUE",
|
|
196
|
-
* },
|
|
197
|
-
* },
|
|
198
|
-
* iamCredentialProvider: {
|
|
199
|
-
* roleArn: "STRING_VALUE",
|
|
200
|
-
* service: "STRING_VALUE",
|
|
201
|
-
* region: "STRING_VALUE",
|
|
202
|
-
* },
|
|
203
|
-
* },
|
|
204
|
-
* },
|
|
205
|
-
* ],
|
|
206
|
-
* },
|
|
221
|
+
* source: "<DescriptorSource>",
|
|
222
|
+
* },
|
|
223
|
+
* signatureAgentCard: { // SignatureAgentCardDescriptor
|
|
224
|
+
* data: "STRING_VALUE",
|
|
225
|
+
* dataSchemaVersion: "STRING_VALUE",
|
|
226
|
+
* source: "<DescriptorSource>",
|
|
227
|
+
* additionalData: { // SignatureAgentCardAdditionalData
|
|
228
|
+
* 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",
|
|
207
229
|
* },
|
|
208
230
|
* },
|
|
209
231
|
* },
|
|
232
|
+
* artifact: { // RegistryRecordArtifactUpload
|
|
233
|
+
* content: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
234
|
+
* sha256: "STRING_VALUE",
|
|
235
|
+
* },
|
|
210
236
|
* recordVersion: "STRING_VALUE",
|
|
211
237
|
* clientToken: "STRING_VALUE",
|
|
212
238
|
* provenance: [ // ProvenanceList
|
|
@@ -384,7 +410,15 @@ declare const CreateRegistryRecordCommand_base: {
|
|
|
384
410
|
* const response = await client.send(command);
|
|
385
411
|
* // { // CreateRegistryRecordResponse
|
|
386
412
|
* // recordArn: "STRING_VALUE", // required
|
|
387
|
-
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
|
|
413
|
+
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
|
|
414
|
+
* // authorizationData: { // AuthorizationData Union: only one key present
|
|
415
|
+
* // oauth2: { // OAuth2AuthorizationData
|
|
416
|
+
* // authorizationUrl: "STRING_VALUE", // required
|
|
417
|
+
* // userId: "STRING_VALUE",
|
|
418
|
+
* // authorizationAttemptId: "STRING_VALUE",
|
|
419
|
+
* // expiresAt: new Date("TIMESTAMP"),
|
|
420
|
+
* // },
|
|
421
|
+
* // },
|
|
388
422
|
* // };
|
|
389
423
|
*
|
|
390
424
|
* ```
|