@aws-sdk/client-agent-registry-control 3.1173.0 → 3.1175.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 +426 -44
- 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 +41 -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 +254 -21
- 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 +9 -1
- 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 +9 -1
- 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 +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 +24 -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 +84 -0
- package/dist-types/models/errors.d.ts +38 -21
- package/dist-types/models/models_0.d.ts +775 -7
- 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 +37 -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 +47 -0
- package/dist-types/ts3.4/models/errors.d.ts +19 -12
- package/dist-types/ts3.4/models/models_0.d.ts +159 -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 +37 -0
- package/package.json +3 -3
|
@@ -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
|
* ],
|
|
@@ -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",
|
|
@@ -220,6 +220,14 @@ declare const CreateRegistryRecordCommand_base: {
|
|
|
220
220
|
* agui: { // AgUiDescriptor
|
|
221
221
|
* source: "<DescriptorSource>",
|
|
222
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",
|
|
229
|
+
* },
|
|
230
|
+
* },
|
|
223
231
|
* },
|
|
224
232
|
* artifact: { // RegistryRecordArtifactUpload
|
|
225
233
|
* content: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeletePublisherRequest } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeletePublisherCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeletePublisherCommandInput extends DeletePublisherRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeletePublisherCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeletePublisherCommandOutput extends __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeletePublisherCommand_base: {
|
|
22
|
+
new (input: DeletePublisherCommandInput): import("@smithy/core/client").CommandImpl<DeletePublisherCommandInput, DeletePublisherCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeletePublisherCommandInput): import("@smithy/core/client").CommandImpl<DeletePublisherCommandInput, DeletePublisherCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Delete a publisher. A successful call returns an empty response. You can't delete a publisher
|
|
28
|
+
* that has registry record associations; disassociate every registry record from it first. The
|
|
29
|
+
* request fails with ConflictException while the publisher has associations or another delete is in
|
|
30
|
+
* progress. Association removals can take a few seconds to be reflected, so a delete that follows a
|
|
31
|
+
* disassociation can briefly fail with ConflictException; retry after a short wait. If the publisher
|
|
32
|
+
* ARN names your account and the publisher doesn't exist, the request fails with
|
|
33
|
+
* ResourceNotFoundException.
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { AgentRegistryControlClient, DeletePublisherCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
38
|
+
* // const { AgentRegistryControlClient, DeletePublisherCommand } = 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 = { // DeletePublisherRequest
|
|
43
|
+
* publisherArn: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DeletePublisherCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param DeletePublisherCommandInput - {@link DeletePublisherCommandInput}
|
|
52
|
+
* @returns {@link DeletePublisherCommandOutput}
|
|
53
|
+
* @see {@link DeletePublisherCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DeletePublisherCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The requested resource was not found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class DeletePublisherCommand extends DeletePublisherCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: DeletePublisherRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: DeletePublisherCommandInput;
|
|
90
|
+
output: DeletePublisherCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DisassociatePublisherRequest } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DisassociatePublisherCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DisassociatePublisherCommandInput extends DisassociatePublisherRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DisassociatePublisherCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DisassociatePublisherCommandOutput extends __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DisassociatePublisherCommand_base: {
|
|
22
|
+
new (input: DisassociatePublisherCommandInput): import("@smithy/core/client").CommandImpl<DisassociatePublisherCommandInput, DisassociatePublisherCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DisassociatePublisherCommandInput): import("@smithy/core/client").CommandImpl<DisassociatePublisherCommandInput, DisassociatePublisherCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Remove a registry record's publisher association and release its public identifier. A successful
|
|
28
|
+
* call returns an empty response. Disassociating a registry record that has no association succeeds.
|
|
29
|
+
* If another account created the association, the request fails with AccessDeniedException.
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { AgentRegistryControlClient, DisassociatePublisherCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
34
|
+
* // const { AgentRegistryControlClient, DisassociatePublisherCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
|
|
35
|
+
* // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
|
|
36
|
+
* const config = {}; // type is AgentRegistryControlClientConfig
|
|
37
|
+
* const client = new AgentRegistryControlClient(config);
|
|
38
|
+
* const input = { // DisassociatePublisherRequest
|
|
39
|
+
* recordArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DisassociatePublisherCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DisassociatePublisherCommandInput - {@link DisassociatePublisherCommandInput}
|
|
48
|
+
* @returns {@link DisassociatePublisherCommandOutput}
|
|
49
|
+
* @see {@link DisassociatePublisherCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DisassociatePublisherCommandOutput} 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 InternalServerException} (server fault)
|
|
57
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
60
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ValidationException} (client fault)
|
|
63
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
67
|
+
*
|
|
68
|
+
*
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export declare class DisassociatePublisherCommand extends DisassociatePublisherCommand_base {
|
|
72
|
+
/** @internal type navigation helper, not in runtime. */
|
|
73
|
+
protected static __types: {
|
|
74
|
+
api: {
|
|
75
|
+
input: DisassociatePublisherRequest;
|
|
76
|
+
output: {};
|
|
77
|
+
};
|
|
78
|
+
sdk: {
|
|
79
|
+
input: DisassociatePublisherCommandInput;
|
|
80
|
+
output: DisassociatePublisherCommandOutput;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
}
|