@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
@@ -1,42 +1,64 @@
1
1
  import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { AgentRegistryControlClient } from "./AgentRegistryControlClient";
3
+ import { AssociatePublisherCommand, } from "./commands/AssociatePublisherCommand";
4
+ import { CreatePublisherCommand, } from "./commands/CreatePublisherCommand";
3
5
  import { CreateRegistryCommand, } from "./commands/CreateRegistryCommand";
4
6
  import { CreateRegistryRecordCommand, } from "./commands/CreateRegistryRecordCommand";
7
+ import { DeletePublisherCommand, } from "./commands/DeletePublisherCommand";
5
8
  import { DeleteRegistryCommand, } from "./commands/DeleteRegistryCommand";
6
9
  import { DeleteRegistryRecordCommand, } from "./commands/DeleteRegistryRecordCommand";
10
+ import { DisassociatePublisherCommand, } from "./commands/DisassociatePublisherCommand";
11
+ import { GetPublisherCommand, } from "./commands/GetPublisherCommand";
7
12
  import { GetRegistryCommand, } from "./commands/GetRegistryCommand";
8
13
  import { GetRegistryRecordCommand, } from "./commands/GetRegistryRecordCommand";
14
+ import { ListPublisherAssociationsCommand, } from "./commands/ListPublisherAssociationsCommand";
15
+ import { ListPublishersCommand, } from "./commands/ListPublishersCommand";
9
16
  import { ListRegistriesCommand, } from "./commands/ListRegistriesCommand";
10
17
  import { ListRegistryRecordsCommand, } from "./commands/ListRegistryRecordsCommand";
11
18
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
12
19
  import { SubmitRegistryRecordForApprovalCommand, } from "./commands/SubmitRegistryRecordForApprovalCommand";
13
20
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
14
21
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
22
+ import { UpdatePublisherAssociationApprovalStatusCommand, } from "./commands/UpdatePublisherAssociationApprovalStatusCommand";
15
23
  import { UpdateRegistryCommand, } from "./commands/UpdateRegistryCommand";
16
24
  import { UpdateRegistryRecordCommand, } from "./commands/UpdateRegistryRecordCommand";
17
25
  import { UpdateRegistryRecordStatusCommand, } from "./commands/UpdateRegistryRecordStatusCommand";
26
+ import { ValidatePublisherCommand, } from "./commands/ValidatePublisherCommand";
27
+ import { paginateListPublisherAssociations } from "./pagination/ListPublisherAssociationsPaginator";
28
+ import { paginateListPublishers } from "./pagination/ListPublishersPaginator";
18
29
  import { paginateListRegistries } from "./pagination/ListRegistriesPaginator";
19
30
  import { paginateListRegistryRecords } from "./pagination/ListRegistryRecordsPaginator";
20
31
  import { waitUntilRegistryReady } from "./waiters/waitForRegistryReady";
21
32
  import { waitUntilRegistryRecordApproved } from "./waiters/waitForRegistryRecordApproved";
22
33
  const commands = {
34
+ AssociatePublisherCommand,
35
+ CreatePublisherCommand,
23
36
  CreateRegistryCommand,
24
37
  CreateRegistryRecordCommand,
38
+ DeletePublisherCommand,
25
39
  DeleteRegistryCommand,
26
40
  DeleteRegistryRecordCommand,
41
+ DisassociatePublisherCommand,
42
+ GetPublisherCommand,
27
43
  GetRegistryCommand,
28
44
  GetRegistryRecordCommand,
45
+ ListPublisherAssociationsCommand,
46
+ ListPublishersCommand,
29
47
  ListRegistriesCommand,
30
48
  ListRegistryRecordsCommand,
31
49
  ListTagsForResourceCommand,
32
50
  SubmitRegistryRecordForApprovalCommand,
33
51
  TagResourceCommand,
34
52
  UntagResourceCommand,
53
+ UpdatePublisherAssociationApprovalStatusCommand,
35
54
  UpdateRegistryCommand,
36
55
  UpdateRegistryRecordCommand,
37
56
  UpdateRegistryRecordStatusCommand,
57
+ ValidatePublisherCommand,
38
58
  };
39
59
  const paginators = {
60
+ paginateListPublisherAssociations,
61
+ paginateListPublishers,
40
62
  paginateListRegistries,
41
63
  paginateListRegistryRecords,
42
64
  };
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { AssociatePublisher$ } from "../schemas/schemas_0";
3
+ export class AssociatePublisherCommand extends command(_ep0, _mw0, "AssociatePublisher", AssociatePublisher$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreatePublisher$ } from "../schemas/schemas_0";
3
+ export class CreatePublisherCommand extends command(_ep0, _mw0, "CreatePublisher", CreatePublisher$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeletePublisher$ } from "../schemas/schemas_0";
3
+ export class DeletePublisherCommand extends command(_ep0, _mw0, "DeletePublisher", DeletePublisher$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DisassociatePublisher$ } from "../schemas/schemas_0";
3
+ export class DisassociatePublisherCommand extends command(_ep0, _mw0, "DisassociatePublisher", DisassociatePublisher$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetPublisher$ } from "../schemas/schemas_0";
3
+ export class GetPublisherCommand extends command(_ep0, _mw0, "GetPublisher", GetPublisher$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListPublisherAssociations$ } from "../schemas/schemas_0";
3
+ export class ListPublisherAssociationsCommand extends command(_ep0, _mw0, "ListPublisherAssociations", ListPublisherAssociations$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListPublishers$ } from "../schemas/schemas_0";
3
+ export class ListPublishersCommand extends command(_ep0, _mw0, "ListPublishers", ListPublishers$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdatePublisherAssociationApprovalStatus$ } from "../schemas/schemas_0";
3
+ export class UpdatePublisherAssociationApprovalStatusCommand extends command(_ep0, _mw0, "UpdatePublisherAssociationApprovalStatus", UpdatePublisherAssociationApprovalStatus$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ValidatePublisher$ } from "../schemas/schemas_0";
3
+ export class ValidatePublisherCommand extends command(_ep0, _mw0, "ValidatePublisher", ValidatePublisher$) {
4
+ }
@@ -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";
@@ -1,4 +1,5 @@
1
1
  export const RegistryRecordOAuthGrantType = {
2
+ AUTHORIZATION_CODE: "AUTHORIZATION_CODE",
2
3
  CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS",
3
4
  };
4
5
  export const RegistryRecordCredentialProviderType = {
@@ -27,12 +28,56 @@ export const AgentCoreRuntimeServerProtocol = {
27
28
  HTTP: "HTTP",
28
29
  MCP: "MCP",
29
30
  };
31
+ export const AssociationStatus = {
32
+ APPROVED: "APPROVED",
33
+ PENDING_APPROVAL: "PENDING_APPROVAL",
34
+ REJECTED: "REJECTED",
35
+ SUSPENDED: "SUSPENDED",
36
+ };
30
37
  export const ValidationExceptionReason = {
31
38
  CANNOT_PARSE: "CannotParse",
32
39
  FIELD_VALIDATION_FAILED: "FieldValidationFailed",
33
40
  IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: "IdempotentParameterMismatchException",
34
41
  RESOURCE_CONFLICT: "ResourceConflict",
35
42
  ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession",
43
+ UNSUPPORTED_IN_REGION: "UnsupportedInRegion",
44
+ };
45
+ export const AssociationApprovalStatus = {
46
+ APPROVED: "APPROVED",
47
+ REJECTED: "REJECTED",
48
+ };
49
+ export const IdentifierType = {
50
+ DOMAIN: "DOMAIN",
51
+ };
52
+ export const VerificationStatus = {
53
+ ACTION_REQUIRED: "ACTION_REQUIRED",
54
+ ACTIVE: "ACTIVE",
55
+ DELETING: "DELETING",
56
+ FAILED: "FAILED",
57
+ SUSPENDED: "SUSPENDED",
58
+ };
59
+ export const AgentSkillsRepositoryProvider = {
60
+ GITHUB: "GITHUB",
61
+ };
62
+ export const BotCategory = {
63
+ ADVERTISING: "advertising",
64
+ AI_ASSISTANT: "ai_assistant",
65
+ AI_CONTENT_OPTIMIZATION: "ai_content_optimization",
66
+ AI_SEARCH: "ai_search",
67
+ AI_TRAINING: "ai_training",
68
+ ARCHIVER: "archiver",
69
+ CONTENT_FETCHER: "content_fetcher",
70
+ EMAIL_CLIENT: "email_client",
71
+ HTTP_LIBRARY: "http_library",
72
+ LINK_CHECKER: "link_checker",
73
+ MISCELLANEOUS: "miscellaneous",
74
+ MONITORING: "monitoring",
75
+ PAGE_PREVIEW: "page_preview",
76
+ SCRAPING_FRAMEWORK: "scraping_framework",
77
+ SEARCH_ENGINE: "search_engine",
78
+ SECURITY: "security",
79
+ SEO: "seo",
80
+ SOCIAL_MEDIA: "social_media",
36
81
  };
37
82
  export const ProvenanceRelation = {
38
83
  DETECTED_FROM: "DETECTED_FROM",
@@ -47,16 +92,19 @@ export const RecordType = {
47
92
  GATEWAY: "GATEWAY",
48
93
  MCP: "MCP",
49
94
  SKILL: "SKILL",
95
+ WEB_BOT: "WEB_BOT",
50
96
  };
51
97
  export const RegistryRecordStatus = {
52
98
  APPROVED: "APPROVED",
53
99
  CREATE_FAILED: "CREATE_FAILED",
100
+ CREATE_PENDING_AUTH: "CREATE_PENDING_AUTH",
54
101
  CREATING: "CREATING",
55
102
  DEPRECATED: "DEPRECATED",
56
103
  DRAFT: "DRAFT",
57
104
  PENDING_APPROVAL: "PENDING_APPROVAL",
58
105
  REJECTED: "REJECTED",
59
106
  UPDATE_FAILED: "UPDATE_FAILED",
107
+ UPDATE_PENDING_AUTH: "UPDATE_PENDING_AUTH",
60
108
  UPDATING: "UPDATING",
61
109
  };
62
110
  export const CustomMetadataSchemaComplianceStatus = {
@@ -12,6 +12,33 @@ export class AccessDeniedException extends __BaseException {
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
15
+ export class ConflictException extends __BaseException {
16
+ static shapeId = "com.amazonaws.agentregistrycontrol#ConflictException";
17
+ name = "ConflictException";
18
+ $fault = "client";
19
+ constructor(opts) {
20
+ super({
21
+ name: "ConflictException",
22
+ $fault: "client",
23
+ ...opts,
24
+ });
25
+ Object.setPrototypeOf(this, ConflictException.prototype);
26
+ }
27
+ }
28
+ export class DependencyException extends __BaseException {
29
+ static shapeId = "com.amazonaws.agentregistrycontrol#DependencyException";
30
+ name = "DependencyException";
31
+ $fault = "server";
32
+ $retryable = {};
33
+ constructor(opts) {
34
+ super({
35
+ name: "DependencyException",
36
+ $fault: "server",
37
+ ...opts,
38
+ });
39
+ Object.setPrototypeOf(this, DependencyException.prototype);
40
+ }
41
+ }
15
42
  export class InternalServerException extends __BaseException {
16
43
  static shapeId = "com.amazonaws.agentregistrycontrol#InternalServerException";
17
44
  name = "InternalServerException";
@@ -25,17 +52,17 @@ export class InternalServerException extends __BaseException {
25
52
  Object.setPrototypeOf(this, InternalServerException.prototype);
26
53
  }
27
54
  }
28
- export class ResourceNotFoundException extends __BaseException {
29
- static shapeId = "com.amazonaws.agentregistrycontrol#ResourceNotFoundException";
30
- name = "ResourceNotFoundException";
55
+ export class ServiceQuotaExceededException extends __BaseException {
56
+ static shapeId = "com.amazonaws.agentregistrycontrol#ServiceQuotaExceededException";
57
+ name = "ServiceQuotaExceededException";
31
58
  $fault = "client";
32
59
  constructor(opts) {
33
60
  super({
34
- name: "ResourceNotFoundException",
61
+ name: "ServiceQuotaExceededException",
35
62
  $fault: "client",
36
63
  ...opts,
37
64
  });
38
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
65
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
39
66
  }
40
67
  }
41
68
  export class ThrottlingException extends __BaseException {
@@ -68,29 +95,16 @@ export class ValidationException extends __BaseException {
68
95
  this.fieldList = opts.fieldList;
69
96
  }
70
97
  }
71
- export class ConflictException extends __BaseException {
72
- static shapeId = "com.amazonaws.agentregistrycontrol#ConflictException";
73
- name = "ConflictException";
74
- $fault = "client";
75
- constructor(opts) {
76
- super({
77
- name: "ConflictException",
78
- $fault: "client",
79
- ...opts,
80
- });
81
- Object.setPrototypeOf(this, ConflictException.prototype);
82
- }
83
- }
84
- export class ServiceQuotaExceededException extends __BaseException {
85
- static shapeId = "com.amazonaws.agentregistrycontrol#ServiceQuotaExceededException";
86
- name = "ServiceQuotaExceededException";
98
+ export class ResourceNotFoundException extends __BaseException {
99
+ static shapeId = "com.amazonaws.agentregistrycontrol#ResourceNotFoundException";
100
+ name = "ResourceNotFoundException";
87
101
  $fault = "client";
88
102
  constructor(opts) {
89
103
  super({
90
- name: "ServiceQuotaExceededException",
104
+ name: "ResourceNotFoundException",
91
105
  $fault: "client",
92
106
  ...opts,
93
107
  });
94
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
108
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
95
109
  }
96
110
  }
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { AgentRegistryControlClient } from "../AgentRegistryControlClient";
3
+ import { ListPublisherAssociationsCommand, } from "../commands/ListPublisherAssociationsCommand";
4
+ export const paginateListPublisherAssociations = createPaginator(AgentRegistryControlClient, ListPublisherAssociationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { AgentRegistryControlClient } from "../AgentRegistryControlClient";
3
+ import { ListPublishersCommand, } from "../commands/ListPublishersCommand";
4
+ export const paginateListPublishers = createPaginator(AgentRegistryControlClient, ListPublishersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,3 +1,5 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListPublisherAssociationsPaginator";
3
+ export * from "./ListPublishersPaginator";
2
4
  export * from "./ListRegistriesPaginator";
3
5
  export * from "./ListRegistryRecordsPaginator";