@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
package/README.md
CHANGED
|
@@ -22,16 +22,16 @@ To install this package, use the CLI of your favorite package manager:
|
|
|
22
22
|
|
|
23
23
|
The AWS SDK is modulized by clients and commands.
|
|
24
24
|
To send a request, you only need to import the `AgentRegistryControlClient` and
|
|
25
|
-
the commands you need, for example `
|
|
25
|
+
the commands you need, for example `ListPublishersCommand`:
|
|
26
26
|
|
|
27
27
|
```js
|
|
28
28
|
// ES5 example
|
|
29
|
-
const { AgentRegistryControlClient,
|
|
29
|
+
const { AgentRegistryControlClient, ListPublishersCommand } = require("@aws-sdk/client-agent-registry-control");
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
```ts
|
|
33
33
|
// ES6+ example
|
|
34
|
-
import { AgentRegistryControlClient,
|
|
34
|
+
import { AgentRegistryControlClient, ListPublishersCommand } from "@aws-sdk/client-agent-registry-control";
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
### Usage
|
|
@@ -48,7 +48,7 @@ To send a request:
|
|
|
48
48
|
const client = new AgentRegistryControlClient({ region: "REGION" });
|
|
49
49
|
|
|
50
50
|
const params = { /** input parameters */ };
|
|
51
|
-
const command = new
|
|
51
|
+
const command = new ListPublishersCommand(params);
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
#### Async/await
|
|
@@ -104,7 +104,7 @@ const client = new AgentRegistryControl({ region: "REGION" });
|
|
|
104
104
|
|
|
105
105
|
// async/await.
|
|
106
106
|
try {
|
|
107
|
-
const data = await client.
|
|
107
|
+
const data = await client.listPublishers(params);
|
|
108
108
|
// process data.
|
|
109
109
|
} catch (error) {
|
|
110
110
|
// error handling.
|
|
@@ -112,7 +112,7 @@ try {
|
|
|
112
112
|
|
|
113
113
|
// Promises.
|
|
114
114
|
client
|
|
115
|
-
.
|
|
115
|
+
.listPublishers(params)
|
|
116
116
|
.then((data) => {
|
|
117
117
|
// process data.
|
|
118
118
|
})
|
|
@@ -121,7 +121,7 @@ client
|
|
|
121
121
|
});
|
|
122
122
|
|
|
123
123
|
// callbacks (not recommended).
|
|
124
|
-
client.
|
|
124
|
+
client.listPublishers(params, (err, data) => {
|
|
125
125
|
// process err and data.
|
|
126
126
|
});
|
|
127
127
|
```
|
|
@@ -179,6 +179,20 @@ see LICENSE for more information.
|
|
|
179
179
|
|
|
180
180
|
## Client Commands (Operations List)
|
|
181
181
|
|
|
182
|
+
<details>
|
|
183
|
+
<summary>
|
|
184
|
+
AssociatePublisher
|
|
185
|
+
</summary>
|
|
186
|
+
|
|
187
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/agent-registry-control/command/AssociatePublisherCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/AssociatePublisherCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/AssociatePublisherCommandOutput/)
|
|
188
|
+
</details>
|
|
189
|
+
<details>
|
|
190
|
+
<summary>
|
|
191
|
+
CreatePublisher
|
|
192
|
+
</summary>
|
|
193
|
+
|
|
194
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/agent-registry-control/command/CreatePublisherCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/CreatePublisherCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/CreatePublisherCommandOutput/)
|
|
195
|
+
</details>
|
|
182
196
|
<details>
|
|
183
197
|
<summary>
|
|
184
198
|
CreateRegistry
|
|
@@ -195,6 +209,13 @@ CreateRegistryRecord
|
|
|
195
209
|
</details>
|
|
196
210
|
<details>
|
|
197
211
|
<summary>
|
|
212
|
+
DeletePublisher
|
|
213
|
+
</summary>
|
|
214
|
+
|
|
215
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/agent-registry-control/command/DeletePublisherCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/DeletePublisherCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/DeletePublisherCommandOutput/)
|
|
216
|
+
</details>
|
|
217
|
+
<details>
|
|
218
|
+
<summary>
|
|
198
219
|
DeleteRegistry
|
|
199
220
|
</summary>
|
|
200
221
|
|
|
@@ -209,6 +230,20 @@ DeleteRegistryRecord
|
|
|
209
230
|
</details>
|
|
210
231
|
<details>
|
|
211
232
|
<summary>
|
|
233
|
+
DisassociatePublisher
|
|
234
|
+
</summary>
|
|
235
|
+
|
|
236
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/agent-registry-control/command/DisassociatePublisherCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/DisassociatePublisherCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/DisassociatePublisherCommandOutput/)
|
|
237
|
+
</details>
|
|
238
|
+
<details>
|
|
239
|
+
<summary>
|
|
240
|
+
GetPublisher
|
|
241
|
+
</summary>
|
|
242
|
+
|
|
243
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/agent-registry-control/command/GetPublisherCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/GetPublisherCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/GetPublisherCommandOutput/)
|
|
244
|
+
</details>
|
|
245
|
+
<details>
|
|
246
|
+
<summary>
|
|
212
247
|
GetRegistry
|
|
213
248
|
</summary>
|
|
214
249
|
|
|
@@ -223,6 +258,20 @@ GetRegistryRecord
|
|
|
223
258
|
</details>
|
|
224
259
|
<details>
|
|
225
260
|
<summary>
|
|
261
|
+
ListPublisherAssociations
|
|
262
|
+
</summary>
|
|
263
|
+
|
|
264
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/agent-registry-control/command/ListPublisherAssociationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/ListPublisherAssociationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/ListPublisherAssociationsCommandOutput/)
|
|
265
|
+
</details>
|
|
266
|
+
<details>
|
|
267
|
+
<summary>
|
|
268
|
+
ListPublishers
|
|
269
|
+
</summary>
|
|
270
|
+
|
|
271
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/agent-registry-control/command/ListPublishersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/ListPublishersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/ListPublishersCommandOutput/)
|
|
272
|
+
</details>
|
|
273
|
+
<details>
|
|
274
|
+
<summary>
|
|
226
275
|
ListRegistries
|
|
227
276
|
</summary>
|
|
228
277
|
|
|
@@ -265,6 +314,13 @@ UntagResource
|
|
|
265
314
|
</details>
|
|
266
315
|
<details>
|
|
267
316
|
<summary>
|
|
317
|
+
UpdatePublisherAssociationApprovalStatus
|
|
318
|
+
</summary>
|
|
319
|
+
|
|
320
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/agent-registry-control/command/UpdatePublisherAssociationApprovalStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/UpdatePublisherAssociationApprovalStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/UpdatePublisherAssociationApprovalStatusCommandOutput/)
|
|
321
|
+
</details>
|
|
322
|
+
<details>
|
|
323
|
+
<summary>
|
|
268
324
|
UpdateRegistry
|
|
269
325
|
</summary>
|
|
270
326
|
|
|
@@ -284,3 +340,10 @@ UpdateRegistryRecordStatus
|
|
|
284
340
|
|
|
285
341
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/agent-registry-control/command/UpdateRegistryRecordStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/UpdateRegistryRecordStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/UpdateRegistryRecordStatusCommandOutput/)
|
|
286
342
|
</details>
|
|
343
|
+
<details>
|
|
344
|
+
<summary>
|
|
345
|
+
ValidatePublisher
|
|
346
|
+
</summary>
|
|
347
|
+
|
|
348
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/agent-registry-control/command/ValidatePublisherCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/ValidatePublisherCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-agent-registry-control/Interface/ValidatePublisherCommandOutput/)
|
|
349
|
+
</details>
|