@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.
Files changed (67) hide show
  1. package/README.md +70 -7
  2. package/dist-cjs/index.js +603 -77
  3. package/dist-es/AgentRegistryControl.js +22 -0
  4. package/dist-es/commands/AssociatePublisherCommand.js +4 -0
  5. package/dist-es/commands/CreatePublisherCommand.js +4 -0
  6. package/dist-es/commands/DeletePublisherCommand.js +4 -0
  7. package/dist-es/commands/DisassociatePublisherCommand.js +4 -0
  8. package/dist-es/commands/GetPublisherCommand.js +4 -0
  9. package/dist-es/commands/ListPublisherAssociationsCommand.js +4 -0
  10. package/dist-es/commands/ListPublishersCommand.js +4 -0
  11. package/dist-es/commands/UpdatePublisherAssociationApprovalStatusCommand.js +4 -0
  12. package/dist-es/commands/ValidatePublisherCommand.js +4 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/enums.js +48 -0
  15. package/dist-es/models/errors.js +37 -23
  16. package/dist-es/pagination/ListPublisherAssociationsPaginator.js +4 -0
  17. package/dist-es/pagination/ListPublishersPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +2 -0
  19. package/dist-es/schemas/schemas_0.js +409 -55
  20. package/dist-types/AgentRegistryControl.d.ts +79 -0
  21. package/dist-types/AgentRegistryControlClient.d.ts +11 -2
  22. package/dist-types/commands/AssociatePublisherCommand.d.ts +113 -0
  23. package/dist-types/commands/CreatePublisherCommand.d.ts +119 -0
  24. package/dist-types/commands/CreateRegistryCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateRegistryRecordCommand.d.ts +67 -33
  26. package/dist-types/commands/DeletePublisherCommand.d.ts +93 -0
  27. package/dist-types/commands/DisassociatePublisherCommand.d.ts +83 -0
  28. package/dist-types/commands/GetPublisherCommand.d.ts +103 -0
  29. package/dist-types/commands/GetRegistryCommand.d.ts +1 -1
  30. package/dist-types/commands/GetRegistryRecordCommand.d.ts +72 -33
  31. package/dist-types/commands/ListPublisherAssociationsCommand.d.ts +97 -0
  32. package/dist-types/commands/ListPublishersCommand.d.ts +97 -0
  33. package/dist-types/commands/ListRegistryRecordsCommand.d.ts +2 -2
  34. package/dist-types/commands/SubmitRegistryRecordForApprovalCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdatePublisherAssociationApprovalStatusCommand.d.ts +92 -0
  36. package/dist-types/commands/UpdateRegistryCommand.d.ts +2 -2
  37. package/dist-types/commands/UpdateRegistryRecordCommand.d.ts +106 -89
  38. package/dist-types/commands/UpdateRegistryRecordStatusCommand.d.ts +2 -2
  39. package/dist-types/commands/ValidatePublisherCommand.d.ts +105 -0
  40. package/dist-types/commands/index.d.ts +9 -0
  41. package/dist-types/models/enums.d.ts +99 -0
  42. package/dist-types/models/errors.d.ts +38 -21
  43. package/dist-types/models/models_0.d.ts +1153 -33
  44. package/dist-types/pagination/ListPublisherAssociationsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/ListPublishersPaginator.d.ts +7 -0
  46. package/dist-types/pagination/index.d.ts +2 -0
  47. package/dist-types/schemas/schemas_0.d.ts +51 -0
  48. package/dist-types/ts3.4/AgentRegistryControl.d.ts +169 -0
  49. package/dist-types/ts3.4/AgentRegistryControlClient.d.ts +56 -2
  50. package/dist-types/ts3.4/commands/AssociatePublisherCommand.d.ts +39 -0
  51. package/dist-types/ts3.4/commands/CreatePublisherCommand.d.ts +38 -0
  52. package/dist-types/ts3.4/commands/DeletePublisherCommand.d.ts +38 -0
  53. package/dist-types/ts3.4/commands/DisassociatePublisherCommand.d.ts +38 -0
  54. package/dist-types/ts3.4/commands/GetPublisherCommand.d.ts +38 -0
  55. package/dist-types/ts3.4/commands/ListPublisherAssociationsCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/ListPublishersCommand.d.ts +38 -0
  57. package/dist-types/ts3.4/commands/UpdatePublisherAssociationApprovalStatusCommand.d.ts +42 -0
  58. package/dist-types/ts3.4/commands/ValidatePublisherCommand.d.ts +39 -0
  59. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  60. package/dist-types/ts3.4/models/enums.d.ts +56 -0
  61. package/dist-types/ts3.4/models/errors.d.ts +19 -12
  62. package/dist-types/ts3.4/models/models_0.d.ts +275 -3
  63. package/dist-types/ts3.4/pagination/ListPublisherAssociationsPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/ListPublishersPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  66. package/dist-types/ts3.4/schemas/schemas_0.d.ts +51 -0
  67. package/package.json +1 -1
@@ -0,0 +1,105 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ValidatePublisherRequest, ValidatePublisherResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ValidatePublisherCommand}.
11
+ */
12
+ export interface ValidatePublisherCommandInput extends ValidatePublisherRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ValidatePublisherCommand}.
18
+ */
19
+ export interface ValidatePublisherCommandOutput extends ValidatePublisherResponse, __MetadataBearer {
20
+ }
21
+ declare const ValidatePublisherCommand_base: {
22
+ new (input: ValidatePublisherCommandInput): import("@smithy/core/client").CommandImpl<ValidatePublisherCommandInput, ValidatePublisherCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ValidatePublisherCommandInput): import("@smithy/core/client").CommandImpl<ValidatePublisherCommandInput, ValidatePublisherCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Restart domain verification for a publisher in FAILED or SUSPENDED. The publisher returns to
28
+ * ACTION_REQUIRED with a new domainChallenge, which the response includes. Update the DNS TXT record
29
+ * with the new recordValue; the previous value no longer verifies the domain. The request fails with
30
+ * ConflictException when the publisher is ACTIVE, verification is already in progress
31
+ * (ACTION_REQUIRED), or the publisher is being deleted.
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { AgentRegistryControlClient, ValidatePublisherCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
36
+ * // const { AgentRegistryControlClient, ValidatePublisherCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
37
+ * // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
38
+ * const config = {}; // type is AgentRegistryControlClientConfig
39
+ * const client = new AgentRegistryControlClient(config);
40
+ * const input = { // ValidatePublisherRequest
41
+ * publisherArn: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new ValidatePublisherCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ValidatePublisherResponse
46
+ * // value: { // Identifier Union: only one key present
47
+ * // domain: "STRING_VALUE",
48
+ * // },
49
+ * // identifierType: "DOMAIN",
50
+ * // status: "ACTION_REQUIRED" || "ACTIVE" || "FAILED" || "SUSPENDED" || "DELETING", // required
51
+ * // statusReason: "STRING_VALUE",
52
+ * // domainChallenge: { // DomainChallenge
53
+ * // recordName: "STRING_VALUE", // required
54
+ * // recordValue: "STRING_VALUE", // required
55
+ * // },
56
+ * // tags: { // TagMap
57
+ * // "<keys>": "STRING_VALUE",
58
+ * // },
59
+ * // createdAt: new Date("TIMESTAMP"), // required
60
+ * // updatedAt: new Date("TIMESTAMP"), // required
61
+ * // publisherArn: "STRING_VALUE", // required
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param ValidatePublisherCommandInput - {@link ValidatePublisherCommandInput}
67
+ * @returns {@link ValidatePublisherCommandOutput}
68
+ * @see {@link ValidatePublisherCommandInput} for command's `input` shape.
69
+ * @see {@link ValidatePublisherCommandOutput} for command's `response` shape.
70
+ * @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>The caller is not authorized to perform the requested action.</p>
74
+ *
75
+ * @throws {@link ConflictException} (client fault)
76
+ * <p>The request conflicts with the current state of the resource.</p>
77
+ *
78
+ * @throws {@link InternalServerException} (server fault)
79
+ * <p>The request failed due to an unexpected internal error; the caller may retry.</p>
80
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * <p>The request failed validation of one or more input fields.</p>
86
+ *
87
+ * @throws {@link AgentRegistryControlServiceException}
88
+ * <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class ValidatePublisherCommand extends ValidatePublisherCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: ValidatePublisherRequest;
98
+ output: ValidatePublisherResponse;
99
+ };
100
+ sdk: {
101
+ input: ValidatePublisherCommandInput;
102
+ output: ValidatePublisherCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -1,15 +1,24 @@
1
+ export * from "./AssociatePublisherCommand";
2
+ export * from "./CreatePublisherCommand";
1
3
  export * from "./CreateRegistryCommand";
2
4
  export * from "./CreateRegistryRecordCommand";
5
+ export * from "./DeletePublisherCommand";
3
6
  export * from "./DeleteRegistryCommand";
4
7
  export * from "./DeleteRegistryRecordCommand";
8
+ export * from "./DisassociatePublisherCommand";
9
+ export * from "./GetPublisherCommand";
5
10
  export * from "./GetRegistryCommand";
6
11
  export * from "./GetRegistryRecordCommand";
12
+ export * from "./ListPublisherAssociationsCommand";
13
+ export * from "./ListPublishersCommand";
7
14
  export * from "./ListRegistriesCommand";
8
15
  export * from "./ListRegistryRecordsCommand";
9
16
  export * from "./ListTagsForResourceCommand";
10
17
  export * from "./SubmitRegistryRecordForApprovalCommand";
11
18
  export * from "./TagResourceCommand";
12
19
  export * from "./UntagResourceCommand";
20
+ export * from "./UpdatePublisherAssociationApprovalStatusCommand";
13
21
  export * from "./UpdateRegistryCommand";
14
22
  export * from "./UpdateRegistryRecordCommand";
15
23
  export * from "./UpdateRegistryRecordStatusCommand";
24
+ export * from "./ValidatePublisherCommand";
@@ -3,6 +3,7 @@
3
3
  * @enum
4
4
  */
5
5
  export declare const RegistryRecordOAuthGrantType: {
6
+ readonly AUTHORIZATION_CODE: "AUTHORIZATION_CODE";
6
7
  readonly CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
7
8
  };
8
9
  /**
@@ -83,6 +84,20 @@ export declare const AgentCoreRuntimeServerProtocol: {
83
84
  * @public
84
85
  */
85
86
  export type AgentCoreRuntimeServerProtocol = (typeof AgentCoreRuntimeServerProtocol)[keyof typeof AgentCoreRuntimeServerProtocol];
87
+ /**
88
+ * @public
89
+ * @enum
90
+ */
91
+ export declare const AssociationStatus: {
92
+ readonly APPROVED: "APPROVED";
93
+ readonly PENDING_APPROVAL: "PENDING_APPROVAL";
94
+ readonly REJECTED: "REJECTED";
95
+ readonly SUSPENDED: "SUSPENDED";
96
+ };
97
+ /**
98
+ * @public
99
+ */
100
+ export type AssociationStatus = (typeof AssociationStatus)[keyof typeof AssociationStatus];
86
101
  /**
87
102
  * @public
88
103
  * @enum
@@ -93,11 +108,92 @@ export declare const ValidationExceptionReason: {
93
108
  readonly IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: "IdempotentParameterMismatchException";
94
109
  readonly RESOURCE_CONFLICT: "ResourceConflict";
95
110
  readonly ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession";
111
+ readonly UNSUPPORTED_IN_REGION: "UnsupportedInRegion";
96
112
  };
97
113
  /**
98
114
  * @public
99
115
  */
100
116
  export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
117
+ /**
118
+ * @public
119
+ * @enum
120
+ */
121
+ export declare const AssociationApprovalStatus: {
122
+ readonly APPROVED: "APPROVED";
123
+ readonly REJECTED: "REJECTED";
124
+ };
125
+ /**
126
+ * @public
127
+ */
128
+ export type AssociationApprovalStatus = (typeof AssociationApprovalStatus)[keyof typeof AssociationApprovalStatus];
129
+ /**
130
+ * @public
131
+ * @enum
132
+ */
133
+ export declare const IdentifierType: {
134
+ readonly DOMAIN: "DOMAIN";
135
+ };
136
+ /**
137
+ * @public
138
+ */
139
+ export type IdentifierType = (typeof IdentifierType)[keyof typeof IdentifierType];
140
+ /**
141
+ * @public
142
+ * @enum
143
+ */
144
+ export declare const VerificationStatus: {
145
+ readonly ACTION_REQUIRED: "ACTION_REQUIRED";
146
+ readonly ACTIVE: "ACTIVE";
147
+ /**
148
+ * A delete is in progress.
149
+ */
150
+ readonly DELETING: "DELETING";
151
+ readonly FAILED: "FAILED";
152
+ readonly SUSPENDED: "SUSPENDED";
153
+ };
154
+ /**
155
+ * @public
156
+ */
157
+ export type VerificationStatus = (typeof VerificationStatus)[keyof typeof VerificationStatus];
158
+ /**
159
+ * @public
160
+ * @enum
161
+ */
162
+ export declare const AgentSkillsRepositoryProvider: {
163
+ readonly GITHUB: "GITHUB";
164
+ };
165
+ /**
166
+ * @public
167
+ */
168
+ export type AgentSkillsRepositoryProvider = (typeof AgentSkillsRepositoryProvider)[keyof typeof AgentSkillsRepositoryProvider];
169
+ /**
170
+ * @public
171
+ * @enum
172
+ */
173
+ export declare const BotCategory: {
174
+ readonly ADVERTISING: "advertising";
175
+ readonly AI_ASSISTANT: "ai_assistant";
176
+ readonly AI_CONTENT_OPTIMIZATION: "ai_content_optimization";
177
+ readonly AI_SEARCH: "ai_search";
178
+ readonly AI_TRAINING: "ai_training";
179
+ readonly ARCHIVER: "archiver";
180
+ readonly CONTENT_FETCHER: "content_fetcher";
181
+ readonly EMAIL_CLIENT: "email_client";
182
+ readonly HTTP_LIBRARY: "http_library";
183
+ readonly LINK_CHECKER: "link_checker";
184
+ readonly MISCELLANEOUS: "miscellaneous";
185
+ readonly MONITORING: "monitoring";
186
+ readonly PAGE_PREVIEW: "page_preview";
187
+ readonly SCRAPING_FRAMEWORK: "scraping_framework";
188
+ readonly SEARCH_ENGINE: "search_engine";
189
+ readonly SECURITY: "security";
190
+ readonly SEO: "seo";
191
+ readonly SOCIAL_MEDIA: "social_media";
192
+ };
193
+ /**
194
+ * @public
195
+ */
196
+ export type BotCategory = (typeof BotCategory)[keyof typeof BotCategory];
101
197
  /**
102
198
  * @public
103
199
  * @enum
@@ -131,6 +227,7 @@ export declare const RecordType: {
131
227
  readonly GATEWAY: "GATEWAY";
132
228
  readonly MCP: "MCP";
133
229
  readonly SKILL: "SKILL";
230
+ readonly WEB_BOT: "WEB_BOT";
134
231
  };
135
232
  /**
136
233
  * @public
@@ -143,12 +240,14 @@ export type RecordType = (typeof RecordType)[keyof typeof RecordType];
143
240
  export declare const RegistryRecordStatus: {
144
241
  readonly APPROVED: "APPROVED";
145
242
  readonly CREATE_FAILED: "CREATE_FAILED";
243
+ readonly CREATE_PENDING_AUTH: "CREATE_PENDING_AUTH";
146
244
  readonly CREATING: "CREATING";
147
245
  readonly DEPRECATED: "DEPRECATED";
148
246
  readonly DRAFT: "DRAFT";
149
247
  readonly PENDING_APPROVAL: "PENDING_APPROVAL";
150
248
  readonly REJECTED: "REJECTED";
151
249
  readonly UPDATE_FAILED: "UPDATE_FAILED";
250
+ readonly UPDATE_PENDING_AUTH: "UPDATE_PENDING_AUTH";
152
251
  readonly UPDATING: "UPDATING";
153
252
  };
154
253
  /**
@@ -15,6 +15,36 @@ export declare class AccessDeniedException extends __BaseException {
15
15
  */
16
16
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
17
17
  }
18
+ /**
19
+ * <p>The request conflicts with the current state of the resource.</p>
20
+ * @public
21
+ */
22
+ export declare class ConflictException extends __BaseException {
23
+ static readonly shapeId: string;
24
+ readonly name: "ConflictException";
25
+ readonly $fault: "client";
26
+ /**
27
+ * @internal
28
+ */
29
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
30
+ }
31
+ /**
32
+ * This exception is thrown on a database (or other dependency) error. Modeled as a
33
+ * server error so SDKs retry it (5xx) and it feeds server-error alarming. Marked
34
+ * @retryable because it represents a transient downstream failure that is safe to retry
35
+ * (matches the forwarder's own retry-on-DependencyException behavior).
36
+ * @public
37
+ */
38
+ export declare class DependencyException extends __BaseException {
39
+ static readonly shapeId: string;
40
+ readonly name: "DependencyException";
41
+ readonly $fault: "server";
42
+ $retryable: {};
43
+ /**
44
+ * @internal
45
+ */
46
+ constructor(opts: __ExceptionOptionType<DependencyException, __BaseException>);
47
+ }
18
48
  /**
19
49
  * <p>The request failed due to an unexpected internal error; the caller may retry.</p>
20
50
  * @public
@@ -29,17 +59,17 @@ export declare class InternalServerException extends __BaseException {
29
59
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
30
60
  }
31
61
  /**
32
- * <p>The requested resource was not found.</p>
62
+ * <p>The request would exceed a service quota.</p>
33
63
  * @public
34
64
  */
35
- export declare class ResourceNotFoundException extends __BaseException {
65
+ export declare class ServiceQuotaExceededException extends __BaseException {
36
66
  static readonly shapeId: string;
37
- readonly name: "ResourceNotFoundException";
67
+ readonly name: "ServiceQuotaExceededException";
38
68
  readonly $fault: "client";
39
69
  /**
40
70
  * @internal
41
71
  */
42
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
72
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
43
73
  }
44
74
  /**
45
75
  * <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
@@ -78,28 +108,15 @@ export declare class ValidationException extends __BaseException {
78
108
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
79
109
  }
80
110
  /**
81
- * <p>The request conflicts with the current state of the resource.</p>
82
- * @public
83
- */
84
- export declare class ConflictException extends __BaseException {
85
- static readonly shapeId: string;
86
- readonly name: "ConflictException";
87
- readonly $fault: "client";
88
- /**
89
- * @internal
90
- */
91
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
92
- }
93
- /**
94
- * <p>The request would exceed a service quota.</p>
111
+ * <p>The requested resource was not found.</p>
95
112
  * @public
96
113
  */
97
- export declare class ServiceQuotaExceededException extends __BaseException {
114
+ export declare class ResourceNotFoundException extends __BaseException {
98
115
  static readonly shapeId: string;
99
- readonly name: "ServiceQuotaExceededException";
116
+ readonly name: "ResourceNotFoundException";
100
117
  readonly $fault: "client";
101
118
  /**
102
119
  * @internal
103
120
  */
104
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
121
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
105
122
  }