@aws-sdk/client-agent-registry-control 3.1172.0 → 3.1174.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -7
- package/dist-cjs/index.js +603 -77
- package/dist-es/AgentRegistryControl.js +22 -0
- package/dist-es/commands/AssociatePublisherCommand.js +4 -0
- package/dist-es/commands/CreatePublisherCommand.js +4 -0
- package/dist-es/commands/DeletePublisherCommand.js +4 -0
- package/dist-es/commands/DisassociatePublisherCommand.js +4 -0
- package/dist-es/commands/GetPublisherCommand.js +4 -0
- package/dist-es/commands/ListPublisherAssociationsCommand.js +4 -0
- package/dist-es/commands/ListPublishersCommand.js +4 -0
- package/dist-es/commands/UpdatePublisherAssociationApprovalStatusCommand.js +4 -0
- package/dist-es/commands/ValidatePublisherCommand.js +4 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/enums.js +48 -0
- package/dist-es/models/errors.js +37 -23
- package/dist-es/pagination/ListPublisherAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListPublishersPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +409 -55
- package/dist-types/AgentRegistryControl.d.ts +79 -0
- package/dist-types/AgentRegistryControlClient.d.ts +11 -2
- package/dist-types/commands/AssociatePublisherCommand.d.ts +113 -0
- package/dist-types/commands/CreatePublisherCommand.d.ts +119 -0
- package/dist-types/commands/CreateRegistryCommand.d.ts +1 -1
- package/dist-types/commands/CreateRegistryRecordCommand.d.ts +67 -33
- package/dist-types/commands/DeletePublisherCommand.d.ts +93 -0
- package/dist-types/commands/DisassociatePublisherCommand.d.ts +83 -0
- package/dist-types/commands/GetPublisherCommand.d.ts +103 -0
- package/dist-types/commands/GetRegistryCommand.d.ts +1 -1
- package/dist-types/commands/GetRegistryRecordCommand.d.ts +72 -33
- package/dist-types/commands/ListPublisherAssociationsCommand.d.ts +97 -0
- package/dist-types/commands/ListPublishersCommand.d.ts +97 -0
- package/dist-types/commands/ListRegistryRecordsCommand.d.ts +2 -2
- package/dist-types/commands/SubmitRegistryRecordForApprovalCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePublisherAssociationApprovalStatusCommand.d.ts +92 -0
- package/dist-types/commands/UpdateRegistryCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRegistryRecordCommand.d.ts +106 -89
- package/dist-types/commands/UpdateRegistryRecordStatusCommand.d.ts +2 -2
- package/dist-types/commands/ValidatePublisherCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/enums.d.ts +99 -0
- package/dist-types/models/errors.d.ts +38 -21
- package/dist-types/models/models_0.d.ts +1153 -33
- package/dist-types/pagination/ListPublisherAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPublishersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +51 -0
- package/dist-types/ts3.4/AgentRegistryControl.d.ts +169 -0
- package/dist-types/ts3.4/AgentRegistryControlClient.d.ts +56 -2
- package/dist-types/ts3.4/commands/AssociatePublisherCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreatePublisherCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeletePublisherCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DisassociatePublisherCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetPublisherCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListPublisherAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPublishersCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdatePublisherAssociationApprovalStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ValidatePublisherCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +56 -0
- package/dist-types/ts3.4/models/errors.d.ts +19 -12
- package/dist-types/ts3.4/models/models_0.d.ts +275 -3
- package/dist-types/ts3.4/pagination/ListPublisherAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPublishersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +51 -0
- package/package.json +1 -1
|
@@ -0,0 +1,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
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetPublisherRequest, Publisher } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetPublisherCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetPublisherCommandInput extends GetPublisherRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetPublisherCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetPublisherCommandOutput extends Publisher, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetPublisherCommand_base: {
|
|
22
|
+
new (input: GetPublisherCommandInput): import("@smithy/core/client").CommandImpl<GetPublisherCommandInput, GetPublisherCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetPublisherCommandInput): import("@smithy/core/client").CommandImpl<GetPublisherCommandInput, GetPublisherCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Get a publisher, including its verification status and the DNS challenge for its domain. If the
|
|
28
|
+
* publisher ARN names your account and the publisher doesn't exist, the request fails with
|
|
29
|
+
* ResourceNotFoundException.
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { AgentRegistryControlClient, GetPublisherCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
34
|
+
* // const { AgentRegistryControlClient, GetPublisherCommand } = 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 = { // GetPublisherRequest
|
|
39
|
+
* publisherArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetPublisherCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // Publisher
|
|
44
|
+
* // value: { // Identifier Union: only one key present
|
|
45
|
+
* // domain: "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // identifierType: "DOMAIN",
|
|
48
|
+
* // status: "ACTION_REQUIRED" || "ACTIVE" || "FAILED" || "SUSPENDED" || "DELETING", // required
|
|
49
|
+
* // statusReason: "STRING_VALUE",
|
|
50
|
+
* // domainChallenge: { // DomainChallenge
|
|
51
|
+
* // recordName: "STRING_VALUE", // required
|
|
52
|
+
* // recordValue: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // tags: { // TagMap
|
|
55
|
+
* // "<keys>": "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // publisherArn: "STRING_VALUE", // required
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param GetPublisherCommandInput - {@link GetPublisherCommandInput}
|
|
65
|
+
* @returns {@link GetPublisherCommandOutput}
|
|
66
|
+
* @see {@link GetPublisherCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link GetPublisherCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>The requested resource was not found.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class GetPublisherCommand extends GetPublisherCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: GetPublisherRequest;
|
|
96
|
+
output: Publisher;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: GetPublisherCommandInput;
|
|
100
|
+
output: GetPublisherCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -130,7 +130,7 @@ declare const GetRegistryCommand_base: {
|
|
|
130
130
|
* // defaultSchema: "STRING_VALUE",
|
|
131
131
|
* // recordTypeSchemaOverrides: [ // RecordTypeSchemaOverrideList
|
|
132
132
|
* // { // RecordTypeSchemaOverride
|
|
133
|
-
* // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY", // required
|
|
133
|
+
* // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY" || "WEB_BOT", // required
|
|
134
134
|
* // schema: "STRING_VALUE", // required
|
|
135
135
|
* // },
|
|
136
136
|
* // ],
|
|
@@ -24,7 +24,7 @@ declare const GetRegistryRecordCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Retrieves the details of a registry record</p>
|
|
27
|
+
* <p>Retrieves the details of a registry record. The response describes the record's latest revision, including a revision that isn't approved yet. For a skill record, the operation also returns the skill package in <code>artifact</code> and the source that the registry last synchronized the skill from in <code>synchronizedSource</code>.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -46,7 +46,7 @@ declare const GetRegistryRecordCommand_base: {
|
|
|
46
46
|
* // name: "STRING_VALUE", // required
|
|
47
47
|
* // displayName: "STRING_VALUE",
|
|
48
48
|
* // description: "STRING_VALUE",
|
|
49
|
-
* // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY", // required
|
|
49
|
+
* // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY" || "WEB_BOT", // required
|
|
50
50
|
* // descriptors: { // Descriptors
|
|
51
51
|
* // mcpServer: { // McpServerDescriptor
|
|
52
52
|
* // data: "STRING_VALUE",
|
|
@@ -66,13 +66,14 @@ declare const GetRegistryRecordCommand_base: {
|
|
|
66
66
|
* // credentialProvider: { // RegistryRecordCredentialProviderUnion Union: only one key present
|
|
67
67
|
* // oauthCredentialProvider: { // RegistryRecordOAuthCredentialProvider
|
|
68
68
|
* // providerArn: "STRING_VALUE", // required
|
|
69
|
-
* // grantType: "CLIENT_CREDENTIALS",
|
|
69
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
70
70
|
* // scopes: [ // ScopeList
|
|
71
71
|
* // "STRING_VALUE",
|
|
72
72
|
* // ],
|
|
73
73
|
* // customParameters: { // CustomParameterMap
|
|
74
74
|
* // "<keys>": "STRING_VALUE",
|
|
75
75
|
* // },
|
|
76
|
+
* // returnUrl: "STRING_VALUE",
|
|
76
77
|
* // },
|
|
77
78
|
* // iamCredentialProvider: { // RegistryRecordIamCredentialProvider
|
|
78
79
|
* // roleArn: "STRING_VALUE",
|
|
@@ -97,13 +98,14 @@ declare const GetRegistryRecordCommand_base: {
|
|
|
97
98
|
* // credentialProvider: {// Union: only one key present
|
|
98
99
|
* // oauthCredentialProvider: {
|
|
99
100
|
* // providerArn: "STRING_VALUE", // required
|
|
100
|
-
* // grantType: "CLIENT_CREDENTIALS",
|
|
101
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
101
102
|
* // scopes: [
|
|
102
103
|
* // "STRING_VALUE",
|
|
103
104
|
* // ],
|
|
104
105
|
* // customParameters: {
|
|
105
106
|
* // "<keys>": "STRING_VALUE",
|
|
106
107
|
* // },
|
|
108
|
+
* // returnUrl: "STRING_VALUE",
|
|
107
109
|
* // },
|
|
108
110
|
* // iamCredentialProvider: {
|
|
109
111
|
* // roleArn: "STRING_VALUE",
|
|
@@ -132,13 +134,14 @@ declare const GetRegistryRecordCommand_base: {
|
|
|
132
134
|
* // credentialProvider: {// Union: only one key present
|
|
133
135
|
* // oauthCredentialProvider: {
|
|
134
136
|
* // providerArn: "STRING_VALUE", // required
|
|
135
|
-
* // grantType: "CLIENT_CREDENTIALS",
|
|
137
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
136
138
|
* // scopes: [
|
|
137
139
|
* // "STRING_VALUE",
|
|
138
140
|
* // ],
|
|
139
141
|
* // customParameters: {
|
|
140
142
|
* // "<keys>": "STRING_VALUE",
|
|
141
143
|
* // },
|
|
144
|
+
* // returnUrl: "STRING_VALUE",
|
|
142
145
|
* // },
|
|
143
146
|
* // iamCredentialProvider: {
|
|
144
147
|
* // roleArn: "STRING_VALUE",
|
|
@@ -151,6 +154,42 @@ declare const GetRegistryRecordCommand_base: {
|
|
|
151
154
|
* // },
|
|
152
155
|
* // },
|
|
153
156
|
* // },
|
|
157
|
+
* // skillPackage: { // AgentSkillsPackageDescriptor
|
|
158
|
+
* // source: {
|
|
159
|
+
* // fromUrl: {
|
|
160
|
+
* // url: "STRING_VALUE", // required
|
|
161
|
+
* // credentialProviderConfigurations: [
|
|
162
|
+
* // {
|
|
163
|
+
* // credentialProviderType: "OAUTH" || "IAM", // required
|
|
164
|
+
* // credentialProvider: {// Union: only one key present
|
|
165
|
+
* // oauthCredentialProvider: {
|
|
166
|
+
* // providerArn: "STRING_VALUE", // required
|
|
167
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
168
|
+
* // scopes: [
|
|
169
|
+
* // "STRING_VALUE",
|
|
170
|
+
* // ],
|
|
171
|
+
* // customParameters: {
|
|
172
|
+
* // "<keys>": "STRING_VALUE",
|
|
173
|
+
* // },
|
|
174
|
+
* // returnUrl: "STRING_VALUE",
|
|
175
|
+
* // },
|
|
176
|
+
* // iamCredentialProvider: {
|
|
177
|
+
* // roleArn: "STRING_VALUE",
|
|
178
|
+
* // service: "STRING_VALUE",
|
|
179
|
+
* // region: "STRING_VALUE",
|
|
180
|
+
* // },
|
|
181
|
+
* // },
|
|
182
|
+
* // },
|
|
183
|
+
* // ],
|
|
184
|
+
* // },
|
|
185
|
+
* // },
|
|
186
|
+
* // },
|
|
187
|
+
* // repositoryProvider: "GITHUB",
|
|
188
|
+
* // sourceConfiguration: { // AgentSkillsSourceConfiguration Union: only one key present
|
|
189
|
+
* // s3: { // S3SourceConfiguration
|
|
190
|
+
* // bucketOwnerAccountId: "STRING_VALUE",
|
|
191
|
+
* // },
|
|
192
|
+
* // },
|
|
154
193
|
* // },
|
|
155
194
|
* // },
|
|
156
195
|
* // custom: { // CustomDescriptor
|
|
@@ -166,13 +205,14 @@ declare const GetRegistryRecordCommand_base: {
|
|
|
166
205
|
* // credentialProvider: {// Union: only one key present
|
|
167
206
|
* // oauthCredentialProvider: {
|
|
168
207
|
* // providerArn: "STRING_VALUE", // required
|
|
169
|
-
* // grantType: "CLIENT_CREDENTIALS",
|
|
208
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
170
209
|
* // scopes: [
|
|
171
210
|
* // "STRING_VALUE",
|
|
172
211
|
* // ],
|
|
173
212
|
* // customParameters: {
|
|
174
213
|
* // "<keys>": "STRING_VALUE",
|
|
175
214
|
* // },
|
|
215
|
+
* // returnUrl: "STRING_VALUE",
|
|
176
216
|
* // },
|
|
177
217
|
* // iamCredentialProvider: {
|
|
178
218
|
* // roleArn: "STRING_VALUE",
|
|
@@ -186,37 +226,19 @@ declare const GetRegistryRecordCommand_base: {
|
|
|
186
226
|
* // },
|
|
187
227
|
* // },
|
|
188
228
|
* // agui: { // AgUiDescriptor
|
|
189
|
-
* // source:
|
|
190
|
-
* //
|
|
191
|
-
* //
|
|
192
|
-
* //
|
|
193
|
-
* //
|
|
194
|
-
* //
|
|
195
|
-
* //
|
|
196
|
-
* //
|
|
197
|
-
* // providerArn: "STRING_VALUE", // required
|
|
198
|
-
* // grantType: "CLIENT_CREDENTIALS",
|
|
199
|
-
* // scopes: [
|
|
200
|
-
* // "STRING_VALUE",
|
|
201
|
-
* // ],
|
|
202
|
-
* // customParameters: {
|
|
203
|
-
* // "<keys>": "STRING_VALUE",
|
|
204
|
-
* // },
|
|
205
|
-
* // },
|
|
206
|
-
* // iamCredentialProvider: {
|
|
207
|
-
* // roleArn: "STRING_VALUE",
|
|
208
|
-
* // service: "STRING_VALUE",
|
|
209
|
-
* // region: "STRING_VALUE",
|
|
210
|
-
* // },
|
|
211
|
-
* // },
|
|
212
|
-
* // },
|
|
213
|
-
* // ],
|
|
214
|
-
* // },
|
|
229
|
+
* // source: "<DescriptorSource>",
|
|
230
|
+
* // },
|
|
231
|
+
* // signatureAgentCard: { // SignatureAgentCardDescriptor
|
|
232
|
+
* // data: "STRING_VALUE",
|
|
233
|
+
* // dataSchemaVersion: "STRING_VALUE",
|
|
234
|
+
* // source: "<DescriptorSource>",
|
|
235
|
+
* // additionalData: { // SignatureAgentCardAdditionalData
|
|
236
|
+
* // 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",
|
|
215
237
|
* // },
|
|
216
238
|
* // },
|
|
217
239
|
* // },
|
|
218
240
|
* // recordVersion: "STRING_VALUE",
|
|
219
|
-
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
|
|
241
|
+
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
|
|
220
242
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
221
243
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
222
244
|
* // statusReason: "STRING_VALUE",
|
|
@@ -392,6 +414,23 @@ declare const GetRegistryRecordCommand_base: {
|
|
|
392
414
|
* // createdBy: "STRING_VALUE",
|
|
393
415
|
* // customMetadata: "DOCUMENT_VALUE",
|
|
394
416
|
* // customMetadataSchemaComplianceStatus: "COMPLIANT" || "NON_COMPLIANT",
|
|
417
|
+
* // artifact: { // RegistryRecordArtifactDownload
|
|
418
|
+
* // sha256: "STRING_VALUE",
|
|
419
|
+
* // downloadUrl: "STRING_VALUE",
|
|
420
|
+
* // },
|
|
421
|
+
* // synchronizedSource: { // RegistryRecordSynchronizedSource Union: only one key present
|
|
422
|
+
* // s3: { // S3SynchronizedSource
|
|
423
|
+
* // url: "STRING_VALUE", // required
|
|
424
|
+
* // synchronizedAt: new Date("TIMESTAMP"), // required
|
|
425
|
+
* // versionId: "STRING_VALUE",
|
|
426
|
+
* // eTag: "STRING_VALUE",
|
|
427
|
+
* // },
|
|
428
|
+
* // gitHub: { // GitHubSynchronizedSource
|
|
429
|
+
* // url: "STRING_VALUE", // required
|
|
430
|
+
* // synchronizedAt: new Date("TIMESTAMP"), // required
|
|
431
|
+
* // commitId: "STRING_VALUE", // required
|
|
432
|
+
* // },
|
|
433
|
+
* // },
|
|
395
434
|
* // };
|
|
396
435
|
*
|
|
397
436
|
* ```
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListPublisherAssociationsRequest, ListPublisherAssociationsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListPublisherAssociationsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListPublisherAssociationsCommandInput extends ListPublisherAssociationsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListPublisherAssociationsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListPublisherAssociationsCommandOutput extends ListPublisherAssociationsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListPublisherAssociationsCommand_base: {
|
|
22
|
+
new (input: ListPublisherAssociationsCommandInput): import("@smithy/core/client").CommandImpl<ListPublisherAssociationsCommandInput, ListPublisherAssociationsCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListPublisherAssociationsCommandInput]): import("@smithy/core/client").CommandImpl<ListPublisherAssociationsCommandInput, ListPublisherAssociationsCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* List the registry record associations your account created. Pass publisherArn to list only the
|
|
28
|
+
* associations for that publisher; omit it to list associations across all publishers. Results are
|
|
29
|
+
* eventually consistent, so an association you just created or removed can take a few seconds to
|
|
30
|
+
* appear in or disappear from the list.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { AgentRegistryControlClient, ListPublisherAssociationsCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
35
|
+
* // const { AgentRegistryControlClient, ListPublisherAssociationsCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
|
|
36
|
+
* // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
|
|
37
|
+
* const config = {}; // type is AgentRegistryControlClientConfig
|
|
38
|
+
* const client = new AgentRegistryControlClient(config);
|
|
39
|
+
* const input = { // ListPublisherAssociationsRequest
|
|
40
|
+
* publisherArn: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* nextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListPublisherAssociationsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListPublisherAssociationsResponse
|
|
47
|
+
* // items: [ // PublisherAssociationList // required
|
|
48
|
+
* // { // PublisherAssociation
|
|
49
|
+
* // recordArn: "STRING_VALUE", // required
|
|
50
|
+
* // publicIdentifier: "STRING_VALUE", // required
|
|
51
|
+
* // publisher: "STRING_VALUE", // required
|
|
52
|
+
* // status: "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "SUSPENDED", // required
|
|
53
|
+
* // statusReason: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // nextToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param ListPublisherAssociationsCommandInput - {@link ListPublisherAssociationsCommandInput}
|
|
62
|
+
* @returns {@link ListPublisherAssociationsCommandOutput}
|
|
63
|
+
* @see {@link ListPublisherAssociationsCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link ListPublisherAssociationsCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class ListPublisherAssociationsCommand extends ListPublisherAssociationsCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: ListPublisherAssociationsRequest;
|
|
90
|
+
output: ListPublisherAssociationsResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: ListPublisherAssociationsCommandInput;
|
|
94
|
+
output: ListPublisherAssociationsCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|