@aws-sdk/client-agent-registry-control 3.1105.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 (133) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +286 -0
  3. package/dist-cjs/index.js +1536 -0
  4. package/dist-es/AgentRegistryControl.js +49 -0
  5. package/dist-es/AgentRegistryControlClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/CreateRegistryCommand.js +4 -0
  10. package/dist-es/commands/CreateRegistryRecordCommand.js +4 -0
  11. package/dist-es/commands/DeleteRegistryCommand.js +4 -0
  12. package/dist-es/commands/DeleteRegistryRecordCommand.js +4 -0
  13. package/dist-es/commands/GetRegistryCommand.js +4 -0
  14. package/dist-es/commands/GetRegistryRecordCommand.js +4 -0
  15. package/dist-es/commands/ListRegistriesCommand.js +4 -0
  16. package/dist-es/commands/ListRegistryRecordsCommand.js +4 -0
  17. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  18. package/dist-es/commands/SubmitRegistryRecordForApprovalCommand.js +4 -0
  19. package/dist-es/commands/TagResourceCommand.js +4 -0
  20. package/dist-es/commands/UntagResourceCommand.js +4 -0
  21. package/dist-es/commands/UpdateRegistryCommand.js +4 -0
  22. package/dist-es/commands/UpdateRegistryRecordCommand.js +4 -0
  23. package/dist-es/commands/UpdateRegistryRecordStatusCommand.js +4 -0
  24. package/dist-es/commands/index.js +15 -0
  25. package/dist-es/endpoint/EndpointParameters.js +9 -0
  26. package/dist-es/endpoint/bdd.js +22 -0
  27. package/dist-es/endpoint/endpointResolver.js +14 -0
  28. package/dist-es/extensionConfiguration.js +1 -0
  29. package/dist-es/index.js +11 -0
  30. package/dist-es/models/AgentRegistryControlServiceException.js +8 -0
  31. package/dist-es/models/enums.js +69 -0
  32. package/dist-es/models/errors.js +89 -0
  33. package/dist-es/models/models_0.js +1 -0
  34. package/dist-es/pagination/Interfaces.js +1 -0
  35. package/dist-es/pagination/ListRegistriesPaginator.js +4 -0
  36. package/dist-es/pagination/ListRegistryRecordsPaginator.js +4 -0
  37. package/dist-es/pagination/index.js +3 -0
  38. package/dist-es/runtimeConfig.browser.js +29 -0
  39. package/dist-es/runtimeConfig.js +43 -0
  40. package/dist-es/runtimeConfig.native.js +9 -0
  41. package/dist-es/runtimeConfig.shared.js +40 -0
  42. package/dist-es/runtimeExtensions.js +9 -0
  43. package/dist-es/schemas/schemas_0.js +783 -0
  44. package/dist-es/waiters/index.js +2 -0
  45. package/dist-es/waiters/waitForRegistryReady.js +58 -0
  46. package/dist-es/waiters/waitForRegistryRecordApproved.js +58 -0
  47. package/dist-types/AgentRegistryControl.d.ts +143 -0
  48. package/dist-types/AgentRegistryControlClient.d.ts +201 -0
  49. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  50. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  51. package/dist-types/commandBuilder.d.ts +18 -0
  52. package/dist-types/commands/CreateRegistryCommand.d.ts +172 -0
  53. package/dist-types/commands/CreateRegistryRecordCommand.d.ts +212 -0
  54. package/dist-types/commands/DeleteRegistryCommand.d.ts +89 -0
  55. package/dist-types/commands/DeleteRegistryRecordCommand.d.ts +88 -0
  56. package/dist-types/commands/GetRegistryCommand.d.ts +173 -0
  57. package/dist-types/commands/GetRegistryRecordCommand.d.ts +211 -0
  58. package/dist-types/commands/ListRegistriesCommand.d.ts +179 -0
  59. package/dist-types/commands/ListRegistryRecordsCommand.d.ts +114 -0
  60. package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
  61. package/dist-types/commands/SubmitRegistryRecordForApprovalCommand.d.ts +94 -0
  62. package/dist-types/commands/TagResourceCommand.d.ts +90 -0
  63. package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
  64. package/dist-types/commands/UpdateRegistryCommand.d.ts +266 -0
  65. package/dist-types/commands/UpdateRegistryRecordCommand.d.ts +375 -0
  66. package/dist-types/commands/UpdateRegistryRecordStatusCommand.d.ts +97 -0
  67. package/dist-types/commands/index.d.ts +15 -0
  68. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  69. package/dist-types/endpoint/bdd.d.ts +2 -0
  70. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  71. package/dist-types/extensionConfiguration.d.ts +9 -0
  72. package/dist-types/index.d.ts +19 -0
  73. package/dist-types/models/AgentRegistryControlServiceException.d.ts +14 -0
  74. package/dist-types/models/enums.d.ts +173 -0
  75. package/dist-types/models/errors.d.ts +98 -0
  76. package/dist-types/models/models_0.d.ts +1886 -0
  77. package/dist-types/pagination/Interfaces.d.ts +8 -0
  78. package/dist-types/pagination/ListRegistriesPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListRegistryRecordsPaginator.d.ts +7 -0
  80. package/dist-types/pagination/index.d.ts +3 -0
  81. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  82. package/dist-types/runtimeConfig.d.ts +57 -0
  83. package/dist-types/runtimeConfig.native.d.ts +56 -0
  84. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  85. package/dist-types/runtimeExtensions.d.ts +17 -0
  86. package/dist-types/schemas/schemas_0.d.ts +118 -0
  87. package/dist-types/ts3.4/AgentRegistryControl.d.ts +295 -0
  88. package/dist-types/ts3.4/AgentRegistryControlClient.d.ts +187 -0
  89. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +27 -0
  90. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  91. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  92. package/dist-types/ts3.4/commands/CreateRegistryCommand.d.ts +38 -0
  93. package/dist-types/ts3.4/commands/CreateRegistryRecordCommand.d.ts +39 -0
  94. package/dist-types/ts3.4/commands/DeleteRegistryCommand.d.ts +38 -0
  95. package/dist-types/ts3.4/commands/DeleteRegistryRecordCommand.d.ts +39 -0
  96. package/dist-types/ts3.4/commands/GetRegistryCommand.d.ts +38 -0
  97. package/dist-types/ts3.4/commands/GetRegistryRecordCommand.d.ts +39 -0
  98. package/dist-types/ts3.4/commands/ListRegistriesCommand.d.ts +38 -0
  99. package/dist-types/ts3.4/commands/ListRegistryRecordsCommand.d.ts +39 -0
  100. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  101. package/dist-types/ts3.4/commands/SubmitRegistryRecordForApprovalCommand.d.ts +42 -0
  102. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  103. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  104. package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +38 -0
  105. package/dist-types/ts3.4/commands/UpdateRegistryRecordCommand.d.ts +39 -0
  106. package/dist-types/ts3.4/commands/UpdateRegistryRecordStatusCommand.d.ts +42 -0
  107. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  108. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +39 -0
  109. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  110. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  111. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  112. package/dist-types/ts3.4/index.d.ts +14 -0
  113. package/dist-types/ts3.4/models/AgentRegistryControlServiceException.d.ts +9 -0
  114. package/dist-types/ts3.4/models/enums.d.ts +90 -0
  115. package/dist-types/ts3.4/models/errors.d.ts +41 -0
  116. package/dist-types/ts3.4/models/models_0.d.ts +528 -0
  117. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  118. package/dist-types/ts3.4/pagination/ListRegistriesPaginator.d.ts +11 -0
  119. package/dist-types/ts3.4/pagination/ListRegistryRecordsPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  121. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  122. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  123. package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
  124. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  125. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  126. package/dist-types/ts3.4/schemas/schemas_0.d.ts +118 -0
  127. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  128. package/dist-types/ts3.4/waiters/waitForRegistryReady.d.ts +12 -0
  129. package/dist-types/ts3.4/waiters/waitForRegistryRecordApproved.d.ts +15 -0
  130. package/dist-types/waiters/index.d.ts +2 -0
  131. package/dist-types/waiters/waitForRegistryReady.d.ts +15 -0
  132. package/dist-types/waiters/waitForRegistryRecordApproved.d.ts +15 -0
  133. package/package.json +69 -0
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateRegistryRecordStatusRequest, UpdateRegistryRecordStatusResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateRegistryRecordStatusCommand}.
11
+ */
12
+ export interface UpdateRegistryRecordStatusCommandInput extends UpdateRegistryRecordStatusRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateRegistryRecordStatusCommand}.
18
+ */
19
+ export interface UpdateRegistryRecordStatusCommandOutput extends UpdateRegistryRecordStatusResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateRegistryRecordStatusCommand_base: {
22
+ new (input: UpdateRegistryRecordStatusCommandInput): import("@smithy/core/client").CommandImpl<UpdateRegistryRecordStatusCommandInput, UpdateRegistryRecordStatusCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateRegistryRecordStatusCommandInput): import("@smithy/core/client").CommandImpl<UpdateRegistryRecordStatusCommandInput, UpdateRegistryRecordStatusCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates the status of a registry record as part of the registry's curation workflow, for example to approve or reject a record that is pending approval, or to deprecate an approved record so that it is no longer discoverable</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AgentRegistryControlClient, UpdateRegistryRecordStatusCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
32
+ * // const { AgentRegistryControlClient, UpdateRegistryRecordStatusCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
33
+ * // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
34
+ * const config = {}; // type is AgentRegistryControlClientConfig
35
+ * const client = new AgentRegistryControlClient(config);
36
+ * const input = { // UpdateRegistryRecordStatusRequest
37
+ * registryId: "STRING_VALUE", // required
38
+ * recordId: "STRING_VALUE", // required
39
+ * status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
40
+ * statusReason: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new UpdateRegistryRecordStatusCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // UpdateRegistryRecordStatusResponse
45
+ * // registryArn: "STRING_VALUE", // required
46
+ * // recordArn: "STRING_VALUE", // required
47
+ * // recordId: "STRING_VALUE", // required
48
+ * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
49
+ * // statusReason: "STRING_VALUE", // required
50
+ * // updatedAt: new Date("TIMESTAMP"), // required
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param UpdateRegistryRecordStatusCommandInput - {@link UpdateRegistryRecordStatusCommandInput}
56
+ * @returns {@link UpdateRegistryRecordStatusCommandOutput}
57
+ * @see {@link UpdateRegistryRecordStatusCommandInput} for command's `input` shape.
58
+ * @see {@link UpdateRegistryRecordStatusCommandOutput} for command's `response` shape.
59
+ * @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>The caller is not authorized to perform the requested action.</p>
63
+ *
64
+ * @throws {@link ConflictException} (client fault)
65
+ * <p>The request conflicts with the current state of the resource.</p>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p>The request failed due to an unexpected internal error; the caller may retry.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The requested resource was not found.</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 UpdateRegistryRecordStatusCommand extends UpdateRegistryRecordStatusCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: UpdateRegistryRecordStatusRequest;
90
+ output: UpdateRegistryRecordStatusResponse;
91
+ };
92
+ sdk: {
93
+ input: UpdateRegistryRecordStatusCommandInput;
94
+ output: UpdateRegistryRecordStatusCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,15 @@
1
+ export * from "./CreateRegistryCommand";
2
+ export * from "./CreateRegistryRecordCommand";
3
+ export * from "./DeleteRegistryCommand";
4
+ export * from "./DeleteRegistryRecordCommand";
5
+ export * from "./GetRegistryCommand";
6
+ export * from "./GetRegistryRecordCommand";
7
+ export * from "./ListRegistriesCommand";
8
+ export * from "./ListRegistryRecordsCommand";
9
+ export * from "./ListTagsForResourceCommand";
10
+ export * from "./SubmitRegistryRecordForApprovalCommand";
11
+ export * from "./TagResourceCommand";
12
+ export * from "./UntagResourceCommand";
13
+ export * from "./UpdateRegistryCommand";
14
+ export * from "./UpdateRegistryRecordCommand";
15
+ export * from "./UpdateRegistryRecordStatusCommand";
@@ -0,0 +1,38 @@
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | undefined | Provider<string | undefined>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ }
9
+ /**
10
+ * @public
11
+ */
12
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
13
+ defaultSigningName: string;
14
+ };
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
19
+ /**
20
+ * @internal
21
+ */
22
+ export declare const commonParams: {
23
+ readonly Endpoint: {
24
+ readonly type: "builtInParams";
25
+ readonly name: "endpoint";
26
+ };
27
+ readonly Region: {
28
+ readonly type: "builtInParams";
29
+ readonly name: "region";
30
+ };
31
+ };
32
+ /**
33
+ * @internal
34
+ */
35
+ export interface EndpointParameters extends __EndpointParameters {
36
+ Region?: string | undefined;
37
+ Endpoint?: string | undefined;
38
+ }
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -0,0 +1,8 @@
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
7
+ logger?: Logger;
8
+ }) => EndpointV2;
@@ -0,0 +1,9 @@
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface AgentRegistryControlExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * <p>AWS Agent Registry is a managed catalog for publishing and discovering resources such as MCP servers, agents, and agent skills. Agent Registry Control is its control-plane API: use it to create and manage registries and the records they contain, configure discovery and authorization, govern record approval and curation workflows, and manage automatic detection of resources. Data-plane search and MCP invocation operations are provided by the companion Agent Registry API.</p>
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./AgentRegistryControlClient";
7
+ export * from "./AgentRegistryControl";
8
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { AgentRegistryControlExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
13
+ export * from "./schemas/schemas_0";
14
+ export * from "./pagination";
15
+ export * from "./waiters";
16
+ export * from "./models/enums";
17
+ export * from "./models/errors";
18
+ export * from "./models/models_0";
19
+ export { AgentRegistryControlServiceException } from "./models/AgentRegistryControlServiceException";
@@ -0,0 +1,14 @@
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from AgentRegistryControl service.
8
+ */
9
+ export declare class AgentRegistryControlServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1,173 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const RegistryRecordOAuthGrantType: {
6
+ readonly CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
7
+ };
8
+ /**
9
+ * @public
10
+ */
11
+ export type RegistryRecordOAuthGrantType = (typeof RegistryRecordOAuthGrantType)[keyof typeof RegistryRecordOAuthGrantType];
12
+ /**
13
+ * @public
14
+ * @enum
15
+ */
16
+ export declare const RegistryRecordCredentialProviderType: {
17
+ readonly IAM: "IAM";
18
+ readonly OAUTH: "OAUTH";
19
+ };
20
+ /**
21
+ * @public
22
+ */
23
+ export type RegistryRecordCredentialProviderType = (typeof RegistryRecordCredentialProviderType)[keyof typeof RegistryRecordCredentialProviderType];
24
+ /**
25
+ * @public
26
+ * @enum
27
+ */
28
+ export declare const ValidationExceptionReason: {
29
+ readonly CANNOT_PARSE: "CannotParse";
30
+ readonly FIELD_VALIDATION_FAILED: "FieldValidationFailed";
31
+ readonly IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: "IdempotentParameterMismatchException";
32
+ readonly RESOURCE_CONFLICT: "ResourceConflict";
33
+ readonly ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession";
34
+ };
35
+ /**
36
+ * @public
37
+ */
38
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
39
+ /**
40
+ * @public
41
+ * @enum
42
+ */
43
+ export declare const RecordType: {
44
+ readonly AGENT: "AGENT";
45
+ readonly CUSTOM: "CUSTOM";
46
+ readonly MCP: "MCP";
47
+ readonly SKILL: "SKILL";
48
+ };
49
+ /**
50
+ * @public
51
+ */
52
+ export type RecordType = (typeof RecordType)[keyof typeof RecordType];
53
+ /**
54
+ * @public
55
+ * @enum
56
+ */
57
+ export declare const RegistryRecordStatus: {
58
+ readonly APPROVED: "APPROVED";
59
+ readonly CREATE_FAILED: "CREATE_FAILED";
60
+ readonly CREATING: "CREATING";
61
+ readonly DEPRECATED: "DEPRECATED";
62
+ readonly DRAFT: "DRAFT";
63
+ readonly PENDING_APPROVAL: "PENDING_APPROVAL";
64
+ readonly REJECTED: "REJECTED";
65
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
66
+ readonly UPDATING: "UPDATING";
67
+ };
68
+ /**
69
+ * @public
70
+ */
71
+ export type RegistryRecordStatus = (typeof RegistryRecordStatus)[keyof typeof RegistryRecordStatus];
72
+ /**
73
+ * @public
74
+ * @enum
75
+ */
76
+ export declare const RegistryRecordFilterName: {
77
+ readonly NAME: "name";
78
+ readonly RECORD_TYPE: "recordType";
79
+ readonly STATUS: "status";
80
+ };
81
+ /**
82
+ * @public
83
+ */
84
+ export type RegistryRecordFilterName = (typeof RegistryRecordFilterName)[keyof typeof RegistryRecordFilterName];
85
+ /**
86
+ * @public
87
+ * @enum
88
+ */
89
+ export declare const AutoApprovalRule: {
90
+ readonly APPROVE_ALL: "APPROVE_ALL";
91
+ };
92
+ /**
93
+ * @public
94
+ */
95
+ export type AutoApprovalRule = (typeof AutoApprovalRule)[keyof typeof AutoApprovalRule];
96
+ /**
97
+ * @public
98
+ * @enum
99
+ */
100
+ export declare const ClaimMatchOperatorType: {
101
+ readonly CONTAINS: "CONTAINS";
102
+ readonly CONTAINS_ANY: "CONTAINS_ANY";
103
+ readonly EQUALS: "EQUALS";
104
+ };
105
+ /**
106
+ * @public
107
+ */
108
+ export type ClaimMatchOperatorType = (typeof ClaimMatchOperatorType)[keyof typeof ClaimMatchOperatorType];
109
+ /**
110
+ * @public
111
+ * @enum
112
+ */
113
+ export declare const InboundTokenClaimValueType: {
114
+ readonly STRING: "STRING";
115
+ readonly STRING_ARRAY: "STRING_ARRAY";
116
+ };
117
+ /**
118
+ * @public
119
+ */
120
+ export type InboundTokenClaimValueType = (typeof InboundTokenClaimValueType)[keyof typeof InboundTokenClaimValueType];
121
+ /**
122
+ * @public
123
+ * @enum
124
+ */
125
+ export declare const EndpointIpAddressType: {
126
+ readonly IPV4: "IPV4";
127
+ readonly IPV6: "IPV6";
128
+ };
129
+ /**
130
+ * @public
131
+ */
132
+ export type EndpointIpAddressType = (typeof EndpointIpAddressType)[keyof typeof EndpointIpAddressType];
133
+ /**
134
+ * @public
135
+ * @enum
136
+ */
137
+ export declare const RegistryAuthorizerType: {
138
+ readonly AWS_IAM: "AWS_IAM";
139
+ readonly CUSTOM_JWT: "CUSTOM_JWT";
140
+ };
141
+ /**
142
+ * @public
143
+ */
144
+ export type RegistryAuthorizerType = (typeof RegistryAuthorizerType)[keyof typeof RegistryAuthorizerType];
145
+ /**
146
+ * @public
147
+ * @enum
148
+ */
149
+ export declare const RegistryStatus: {
150
+ readonly CREATE_FAILED: "CREATE_FAILED";
151
+ readonly CREATING: "CREATING";
152
+ readonly DELETE_FAILED: "DELETE_FAILED";
153
+ readonly DELETING: "DELETING";
154
+ readonly READY: "READY";
155
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
156
+ readonly UPDATING: "UPDATING";
157
+ };
158
+ /**
159
+ * @public
160
+ */
161
+ export type RegistryStatus = (typeof RegistryStatus)[keyof typeof RegistryStatus];
162
+ /**
163
+ * @public
164
+ * @enum
165
+ */
166
+ export declare const RegistryFilterName: {
167
+ readonly DISCOVERY_CONFIGURATION_AUTHORIZER_TYPE: "discoveryConfiguration.authorizerType";
168
+ readonly STATUS: "status";
169
+ };
170
+ /**
171
+ * @public
172
+ */
173
+ export type RegistryFilterName = (typeof RegistryFilterName)[keyof typeof RegistryFilterName];
@@ -0,0 +1,98 @@
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { AgentRegistryControlServiceException as __BaseException } from "./AgentRegistryControlServiceException";
3
+ import type { ValidationExceptionReason } from "./enums";
4
+ import type { ValidationExceptionField } from "./models_0";
5
+ /**
6
+ * <p>The caller is not authorized to perform the requested action.</p>
7
+ * @public
8
+ */
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
16
+ }
17
+ /**
18
+ * <p>The request failed due to an unexpected internal error; the caller may retry.</p>
19
+ * @public
20
+ */
21
+ export declare class InternalServerException extends __BaseException {
22
+ readonly name: "InternalServerException";
23
+ readonly $fault: "server";
24
+ /**
25
+ * @internal
26
+ */
27
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
28
+ }
29
+ /**
30
+ * <p>The requested resource was not found.</p>
31
+ * @public
32
+ */
33
+ export declare class ResourceNotFoundException extends __BaseException {
34
+ readonly name: "ResourceNotFoundException";
35
+ readonly $fault: "client";
36
+ /**
37
+ * @internal
38
+ */
39
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
40
+ }
41
+ /**
42
+ * <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
43
+ * @public
44
+ */
45
+ export declare class ThrottlingException extends __BaseException {
46
+ readonly name: "ThrottlingException";
47
+ readonly $fault: "client";
48
+ /**
49
+ * @internal
50
+ */
51
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
52
+ }
53
+ /**
54
+ * <p>The request failed validation of one or more input fields.</p>
55
+ * @public
56
+ */
57
+ export declare class ValidationException extends __BaseException {
58
+ readonly name: "ValidationException";
59
+ readonly $fault: "client";
60
+ /**
61
+ * <p>The reason the request failed validation.</p>
62
+ * @public
63
+ */
64
+ reason: ValidationExceptionReason | undefined;
65
+ /**
66
+ * <p>The list of input fields that failed validation.</p>
67
+ * @public
68
+ */
69
+ fieldList?: ValidationExceptionField[] | undefined;
70
+ /**
71
+ * @internal
72
+ */
73
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
74
+ }
75
+ /**
76
+ * <p>The request conflicts with the current state of the resource.</p>
77
+ * @public
78
+ */
79
+ export declare class ConflictException extends __BaseException {
80
+ readonly name: "ConflictException";
81
+ readonly $fault: "client";
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
86
+ }
87
+ /**
88
+ * <p>The request would exceed a service quota.</p>
89
+ * @public
90
+ */
91
+ export declare class ServiceQuotaExceededException extends __BaseException {
92
+ readonly name: "ServiceQuotaExceededException";
93
+ readonly $fault: "client";
94
+ /**
95
+ * @internal
96
+ */
97
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
98
+ }