@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,266 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateRegistryRequest, UpdateRegistryResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateRegistryCommand}.
11
+ */
12
+ export interface UpdateRegistryCommandInput extends UpdateRegistryRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateRegistryCommand}.
18
+ */
19
+ export interface UpdateRegistryCommandOutput extends UpdateRegistryResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateRegistryCommand_base: {
22
+ new (input: UpdateRegistryCommandInput): import("@smithy/core/client").CommandImpl<UpdateRegistryCommandInput, UpdateRegistryCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateRegistryCommandInput): import("@smithy/core/client").CommandImpl<UpdateRegistryCommandInput, UpdateRegistryCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates an existing registry. This operation uses PATCH semantics: specify only the fields you want to change, and omit the rest to leave them unchanged. Updates are applied asynchronously and the registry transitions to the UPDATING status while they are processed.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AgentRegistryControlClient, UpdateRegistryCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
32
+ * // const { AgentRegistryControlClient, UpdateRegistryCommand } = 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 = { // UpdateRegistryRequest
37
+ * registryId: "STRING_VALUE", // required
38
+ * name: "STRING_VALUE",
39
+ * description: { // UpdatedDescription
40
+ * optionalValue: "STRING_VALUE",
41
+ * },
42
+ * discoveryConfiguration: { // UpdatedDiscoveryConfiguration
43
+ * authorizerConfiguration: { // UpdatedAuthorizerConfiguration
44
+ * optionalValue: { // AuthorizerConfiguration Union: only one key present
45
+ * customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
46
+ * discoveryUrl: "STRING_VALUE", // required
47
+ * allowedAudience: [ // AllowedAudienceList
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * allowedClients: [ // AllowedClientsList
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * allowedScopes: [ // AllowedScopesType
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * customClaims: [ // CustomClaimValidationsType
57
+ * { // CustomClaimValidationType
58
+ * inboundTokenClaimName: "STRING_VALUE", // required
59
+ * inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
60
+ * authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
61
+ * claimMatchValue: { // ClaimMatchValueType Union: only one key present
62
+ * matchValueString: "STRING_VALUE",
63
+ * matchValueStringList: [ // MatchValueStringList
64
+ * "STRING_VALUE",
65
+ * ],
66
+ * },
67
+ * claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
68
+ * },
69
+ * },
70
+ * ],
71
+ * privateEndpoint: { // PrivateEndpoint Union: only one key present
72
+ * selfManagedLatticeResource: { // SelfManagedLatticeResource Union: only one key present
73
+ * resourceConfigurationIdentifier: "STRING_VALUE",
74
+ * },
75
+ * managedVpcResource: { // ManagedVpcResource
76
+ * vpcIdentifier: "STRING_VALUE", // required
77
+ * subnetIds: [ // SubnetIds // required
78
+ * "STRING_VALUE",
79
+ * ],
80
+ * endpointIpAddressType: "IPV4" || "IPV6", // required
81
+ * securityGroupIds: [ // SecurityGroupIds
82
+ * "STRING_VALUE",
83
+ * ],
84
+ * tags: { // TagsMap
85
+ * "<keys>": "STRING_VALUE",
86
+ * },
87
+ * routingDomain: "STRING_VALUE",
88
+ * },
89
+ * },
90
+ * privateEndpointOverrides: [ // PrivateEndpointOverrides
91
+ * { // PrivateEndpointOverride
92
+ * domain: "STRING_VALUE", // required
93
+ * privateEndpoint: {// Union: only one key present
94
+ * selfManagedLatticeResource: {// Union: only one key present
95
+ * resourceConfigurationIdentifier: "STRING_VALUE",
96
+ * },
97
+ * managedVpcResource: {
98
+ * vpcIdentifier: "STRING_VALUE", // required
99
+ * subnetIds: [ // required
100
+ * "STRING_VALUE",
101
+ * ],
102
+ * endpointIpAddressType: "IPV4" || "IPV6", // required
103
+ * securityGroupIds: [
104
+ * "STRING_VALUE",
105
+ * ],
106
+ * tags: {
107
+ * "<keys>": "STRING_VALUE",
108
+ * },
109
+ * routingDomain: "STRING_VALUE",
110
+ * },
111
+ * },
112
+ * },
113
+ * ],
114
+ * },
115
+ * },
116
+ * },
117
+ * },
118
+ * approvalConfiguration: { // UpdatedApprovalConfiguration
119
+ * optionalValue: { // ApprovalConfiguration
120
+ * autoApprovalRules: [ // AutoApprovalRuleList
121
+ * "APPROVE_ALL",
122
+ * ],
123
+ * },
124
+ * },
125
+ * };
126
+ * const command = new UpdateRegistryCommand(input);
127
+ * const response = await client.send(command);
128
+ * // { // UpdateRegistryResponse
129
+ * // name: "STRING_VALUE", // required
130
+ * // description: "STRING_VALUE",
131
+ * // registryId: "STRING_VALUE", // required
132
+ * // registryArn: "STRING_VALUE", // required
133
+ * // discoveryConfiguration: { // DiscoveryConfiguration
134
+ * // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
135
+ * // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
136
+ * // discoveryUrl: "STRING_VALUE", // required
137
+ * // allowedAudience: [ // AllowedAudienceList
138
+ * // "STRING_VALUE",
139
+ * // ],
140
+ * // allowedClients: [ // AllowedClientsList
141
+ * // "STRING_VALUE",
142
+ * // ],
143
+ * // allowedScopes: [ // AllowedScopesType
144
+ * // "STRING_VALUE",
145
+ * // ],
146
+ * // customClaims: [ // CustomClaimValidationsType
147
+ * // { // CustomClaimValidationType
148
+ * // inboundTokenClaimName: "STRING_VALUE", // required
149
+ * // inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
150
+ * // authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
151
+ * // claimMatchValue: { // ClaimMatchValueType Union: only one key present
152
+ * // matchValueString: "STRING_VALUE",
153
+ * // matchValueStringList: [ // MatchValueStringList
154
+ * // "STRING_VALUE",
155
+ * // ],
156
+ * // },
157
+ * // claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
158
+ * // },
159
+ * // },
160
+ * // ],
161
+ * // privateEndpoint: { // PrivateEndpoint Union: only one key present
162
+ * // selfManagedLatticeResource: { // SelfManagedLatticeResource Union: only one key present
163
+ * // resourceConfigurationIdentifier: "STRING_VALUE",
164
+ * // },
165
+ * // managedVpcResource: { // ManagedVpcResource
166
+ * // vpcIdentifier: "STRING_VALUE", // required
167
+ * // subnetIds: [ // SubnetIds // required
168
+ * // "STRING_VALUE",
169
+ * // ],
170
+ * // endpointIpAddressType: "IPV4" || "IPV6", // required
171
+ * // securityGroupIds: [ // SecurityGroupIds
172
+ * // "STRING_VALUE",
173
+ * // ],
174
+ * // tags: { // TagsMap
175
+ * // "<keys>": "STRING_VALUE",
176
+ * // },
177
+ * // routingDomain: "STRING_VALUE",
178
+ * // },
179
+ * // },
180
+ * // privateEndpointOverrides: [ // PrivateEndpointOverrides
181
+ * // { // PrivateEndpointOverride
182
+ * // domain: "STRING_VALUE", // required
183
+ * // privateEndpoint: {// Union: only one key present
184
+ * // selfManagedLatticeResource: {// Union: only one key present
185
+ * // resourceConfigurationIdentifier: "STRING_VALUE",
186
+ * // },
187
+ * // managedVpcResource: {
188
+ * // vpcIdentifier: "STRING_VALUE", // required
189
+ * // subnetIds: [ // required
190
+ * // "STRING_VALUE",
191
+ * // ],
192
+ * // endpointIpAddressType: "IPV4" || "IPV6", // required
193
+ * // securityGroupIds: [
194
+ * // "STRING_VALUE",
195
+ * // ],
196
+ * // tags: {
197
+ * // "<keys>": "STRING_VALUE",
198
+ * // },
199
+ * // routingDomain: "STRING_VALUE",
200
+ * // },
201
+ * // },
202
+ * // },
203
+ * // ],
204
+ * // },
205
+ * // },
206
+ * // authorizerType: "CUSTOM_JWT" || "AWS_IAM",
207
+ * // },
208
+ * // approvalConfiguration: { // ApprovalConfiguration
209
+ * // autoApprovalRules: [ // AutoApprovalRuleList
210
+ * // "APPROVE_ALL",
211
+ * // ],
212
+ * // },
213
+ * // status: "CREATING" || "READY" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED", // required
214
+ * // statusReason: "STRING_VALUE",
215
+ * // createdAt: new Date("TIMESTAMP"), // required
216
+ * // updatedAt: new Date("TIMESTAMP"), // required
217
+ * // };
218
+ *
219
+ * ```
220
+ *
221
+ * @param UpdateRegistryCommandInput - {@link UpdateRegistryCommandInput}
222
+ * @returns {@link UpdateRegistryCommandOutput}
223
+ * @see {@link UpdateRegistryCommandInput} for command's `input` shape.
224
+ * @see {@link UpdateRegistryCommandOutput} for command's `response` shape.
225
+ * @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
226
+ *
227
+ * @throws {@link AccessDeniedException} (client fault)
228
+ * <p>The caller is not authorized to perform the requested action.</p>
229
+ *
230
+ * @throws {@link ConflictException} (client fault)
231
+ * <p>The request conflicts with the current state of the resource.</p>
232
+ *
233
+ * @throws {@link InternalServerException} (server fault)
234
+ * <p>The request failed due to an unexpected internal error; the caller may retry.</p>
235
+ *
236
+ * @throws {@link ResourceNotFoundException} (client fault)
237
+ * <p>The requested resource was not found.</p>
238
+ *
239
+ * @throws {@link ServiceQuotaExceededException} (client fault)
240
+ * <p>The request would exceed a service quota.</p>
241
+ *
242
+ * @throws {@link ThrottlingException} (client fault)
243
+ * <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
244
+ *
245
+ * @throws {@link ValidationException} (client fault)
246
+ * <p>The request failed validation of one or more input fields.</p>
247
+ *
248
+ * @throws {@link AgentRegistryControlServiceException}
249
+ * <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
250
+ *
251
+ *
252
+ * @public
253
+ */
254
+ export declare class UpdateRegistryCommand extends UpdateRegistryCommand_base {
255
+ /** @internal type navigation helper, not in runtime. */
256
+ protected static __types: {
257
+ api: {
258
+ input: UpdateRegistryRequest;
259
+ output: UpdateRegistryResponse;
260
+ };
261
+ sdk: {
262
+ input: UpdateRegistryCommandInput;
263
+ output: UpdateRegistryCommandOutput;
264
+ };
265
+ };
266
+ }
@@ -0,0 +1,375 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateRegistryRecordRequest, UpdateRegistryRecordResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateRegistryRecordCommand}.
11
+ */
12
+ export interface UpdateRegistryRecordCommandInput extends UpdateRegistryRecordRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateRegistryRecordCommand}.
18
+ */
19
+ export interface UpdateRegistryRecordCommandOutput extends UpdateRegistryRecordResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateRegistryRecordCommand_base: {
22
+ new (input: UpdateRegistryRecordCommandInput): import("@smithy/core/client").CommandImpl<UpdateRegistryRecordCommandInput, UpdateRegistryRecordCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateRegistryRecordCommandInput): import("@smithy/core/client").CommandImpl<UpdateRegistryRecordCommandInput, UpdateRegistryRecordCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates a registry record. The update is asynchronous: the record is returned with the UPDATING status while it is processed. Fields that use update wrappers follow PATCH semantics: omit the field to leave it unchanged.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AgentRegistryControlClient, UpdateRegistryRecordCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
32
+ * // const { AgentRegistryControlClient, UpdateRegistryRecordCommand } = 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 = { // UpdateRegistryRecordRequest
37
+ * registryId: "STRING_VALUE", // required
38
+ * recordId: "STRING_VALUE", // required
39
+ * name: "STRING_VALUE",
40
+ * displayName: { // UpdatedDisplayName
41
+ * optionalValue: "STRING_VALUE",
42
+ * },
43
+ * description: { // UpdatedDescription
44
+ * optionalValue: "STRING_VALUE",
45
+ * },
46
+ * recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL",
47
+ * descriptors: { // UpdatedDescriptors
48
+ * optionalValue: { // UpdatedDescriptorsFields
49
+ * mcpServer: { // UpdatedMcpServerDescriptor
50
+ * optionalValue: { // UpdatedMcpServerDescriptorFields
51
+ * data: { // UpdatedDescriptorData
52
+ * optionalValue: "STRING_VALUE",
53
+ * },
54
+ * dataSchemaVersion: { // UpdatedDataSchemaVersion
55
+ * optionalValue: "STRING_VALUE",
56
+ * },
57
+ * source: { // UpdatedDescriptorSource
58
+ * optionalValue: { // DescriptorSource
59
+ * fromUrl: { // DescriptorSourceFromUrl
60
+ * url: "STRING_VALUE", // required
61
+ * credentialProviderConfigurations: [ // RegistryRecordCredentialProviderConfigurationList
62
+ * { // RegistryRecordCredentialProviderConfiguration
63
+ * credentialProviderType: "OAUTH" || "IAM", // required
64
+ * credentialProvider: { // RegistryRecordCredentialProviderUnion Union: only one key present
65
+ * oauthCredentialProvider: { // RegistryRecordOAuthCredentialProvider
66
+ * providerArn: "STRING_VALUE", // required
67
+ * grantType: "CLIENT_CREDENTIALS",
68
+ * scopes: [ // ScopeList
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * customParameters: { // CustomParameterMap
72
+ * "<keys>": "STRING_VALUE",
73
+ * },
74
+ * },
75
+ * iamCredentialProvider: { // RegistryRecordIamCredentialProvider
76
+ * roleArn: "STRING_VALUE",
77
+ * service: "STRING_VALUE",
78
+ * region: "STRING_VALUE",
79
+ * },
80
+ * },
81
+ * },
82
+ * ],
83
+ * },
84
+ * },
85
+ * },
86
+ * additionalData: { // UpdatedMcpServerAdditionalData
87
+ * optionalValue: { // UpdatedMcpServerAdditionalDataFields
88
+ * tools: { // UpdatedMcpToolsDescriptor
89
+ * optionalValue: { // UpdatedMcpToolsDescriptorFields
90
+ * data: {
91
+ * optionalValue: "STRING_VALUE",
92
+ * },
93
+ * dataSchemaVersion: {
94
+ * optionalValue: "STRING_VALUE",
95
+ * },
96
+ * },
97
+ * },
98
+ * },
99
+ * },
100
+ * },
101
+ * },
102
+ * a2aAgentCard: { // UpdatedA2aAgentCardDescriptor
103
+ * optionalValue: { // UpdatedA2aAgentCardDescriptorFields
104
+ * data: {
105
+ * optionalValue: "STRING_VALUE",
106
+ * },
107
+ * dataSchemaVersion: {
108
+ * optionalValue: "STRING_VALUE",
109
+ * },
110
+ * source: {
111
+ * optionalValue: {
112
+ * fromUrl: {
113
+ * url: "STRING_VALUE", // required
114
+ * credentialProviderConfigurations: [
115
+ * {
116
+ * credentialProviderType: "OAUTH" || "IAM", // required
117
+ * credentialProvider: {// Union: only one key present
118
+ * oauthCredentialProvider: {
119
+ * providerArn: "STRING_VALUE", // required
120
+ * grantType: "CLIENT_CREDENTIALS",
121
+ * scopes: [
122
+ * "STRING_VALUE",
123
+ * ],
124
+ * customParameters: {
125
+ * "<keys>": "STRING_VALUE",
126
+ * },
127
+ * },
128
+ * iamCredentialProvider: {
129
+ * roleArn: "STRING_VALUE",
130
+ * service: "STRING_VALUE",
131
+ * region: "STRING_VALUE",
132
+ * },
133
+ * },
134
+ * },
135
+ * ],
136
+ * },
137
+ * },
138
+ * },
139
+ * },
140
+ * },
141
+ * agentSkillsDefinition: { // UpdatedAgentSkillsDefinitionDescriptor
142
+ * optionalValue: { // UpdatedAgentSkillsDefinitionDescriptorFields
143
+ * data: {
144
+ * optionalValue: "STRING_VALUE",
145
+ * },
146
+ * dataSchemaVersion: {
147
+ * optionalValue: "STRING_VALUE",
148
+ * },
149
+ * additionalData: { // UpdatedAgentSkillsAdditionalData
150
+ * optionalValue: { // UpdatedAgentSkillsAdditionalDataFields
151
+ * skillMd: { // UpdatedAgentSkillsMdDescriptor
152
+ * optionalValue: { // UpdatedAgentSkillsMdDescriptorFields
153
+ * data: {
154
+ * optionalValue: "STRING_VALUE",
155
+ * },
156
+ * dataSchemaVersion: {
157
+ * optionalValue: "STRING_VALUE",
158
+ * },
159
+ * source: {
160
+ * optionalValue: {
161
+ * fromUrl: {
162
+ * url: "STRING_VALUE", // required
163
+ * credentialProviderConfigurations: [
164
+ * {
165
+ * credentialProviderType: "OAUTH" || "IAM", // required
166
+ * credentialProvider: {// Union: only one key present
167
+ * oauthCredentialProvider: {
168
+ * providerArn: "STRING_VALUE", // required
169
+ * grantType: "CLIENT_CREDENTIALS",
170
+ * scopes: [
171
+ * "STRING_VALUE",
172
+ * ],
173
+ * customParameters: {
174
+ * "<keys>": "STRING_VALUE",
175
+ * },
176
+ * },
177
+ * iamCredentialProvider: {
178
+ * roleArn: "STRING_VALUE",
179
+ * service: "STRING_VALUE",
180
+ * region: "STRING_VALUE",
181
+ * },
182
+ * },
183
+ * },
184
+ * ],
185
+ * },
186
+ * },
187
+ * },
188
+ * },
189
+ * },
190
+ * },
191
+ * },
192
+ * },
193
+ * },
194
+ * custom: { // UpdatedCustomDescriptor
195
+ * optionalValue: { // UpdatedCustomDescriptorFields
196
+ * data: "<UpdatedDescriptorData>",
197
+ * },
198
+ * },
199
+ * },
200
+ * },
201
+ * recordVersion: "STRING_VALUE",
202
+ * triggerSynchronization: true || false,
203
+ * };
204
+ * const command = new UpdateRegistryRecordCommand(input);
205
+ * const response = await client.send(command);
206
+ * // { // UpdateRegistryRecordResponse
207
+ * // registryArn: "STRING_VALUE", // required
208
+ * // recordArn: "STRING_VALUE", // required
209
+ * // recordId: "STRING_VALUE", // required
210
+ * // name: "STRING_VALUE", // required
211
+ * // displayName: "STRING_VALUE",
212
+ * // description: "STRING_VALUE",
213
+ * // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL", // required
214
+ * // descriptors: { // Descriptors
215
+ * // mcpServer: { // McpServerDescriptor
216
+ * // data: "STRING_VALUE",
217
+ * // dataSchemaVersion: "STRING_VALUE",
218
+ * // additionalData: { // McpServerAdditionalData
219
+ * // tools: { // McpToolsDescriptor
220
+ * // data: "STRING_VALUE",
221
+ * // dataSchemaVersion: "STRING_VALUE",
222
+ * // },
223
+ * // },
224
+ * // source: { // DescriptorSource
225
+ * // fromUrl: { // DescriptorSourceFromUrl
226
+ * // url: "STRING_VALUE", // required
227
+ * // credentialProviderConfigurations: [ // RegistryRecordCredentialProviderConfigurationList
228
+ * // { // RegistryRecordCredentialProviderConfiguration
229
+ * // credentialProviderType: "OAUTH" || "IAM", // required
230
+ * // credentialProvider: { // RegistryRecordCredentialProviderUnion Union: only one key present
231
+ * // oauthCredentialProvider: { // RegistryRecordOAuthCredentialProvider
232
+ * // providerArn: "STRING_VALUE", // required
233
+ * // grantType: "CLIENT_CREDENTIALS",
234
+ * // scopes: [ // ScopeList
235
+ * // "STRING_VALUE",
236
+ * // ],
237
+ * // customParameters: { // CustomParameterMap
238
+ * // "<keys>": "STRING_VALUE",
239
+ * // },
240
+ * // },
241
+ * // iamCredentialProvider: { // RegistryRecordIamCredentialProvider
242
+ * // roleArn: "STRING_VALUE",
243
+ * // service: "STRING_VALUE",
244
+ * // region: "STRING_VALUE",
245
+ * // },
246
+ * // },
247
+ * // },
248
+ * // ],
249
+ * // },
250
+ * // },
251
+ * // },
252
+ * // a2aAgentCard: { // A2aAgentCardDescriptor
253
+ * // data: "STRING_VALUE",
254
+ * // dataSchemaVersion: "STRING_VALUE",
255
+ * // source: {
256
+ * // fromUrl: {
257
+ * // url: "STRING_VALUE", // required
258
+ * // credentialProviderConfigurations: [
259
+ * // {
260
+ * // credentialProviderType: "OAUTH" || "IAM", // required
261
+ * // credentialProvider: {// Union: only one key present
262
+ * // oauthCredentialProvider: {
263
+ * // providerArn: "STRING_VALUE", // required
264
+ * // grantType: "CLIENT_CREDENTIALS",
265
+ * // scopes: [
266
+ * // "STRING_VALUE",
267
+ * // ],
268
+ * // customParameters: {
269
+ * // "<keys>": "STRING_VALUE",
270
+ * // },
271
+ * // },
272
+ * // iamCredentialProvider: {
273
+ * // roleArn: "STRING_VALUE",
274
+ * // service: "STRING_VALUE",
275
+ * // region: "STRING_VALUE",
276
+ * // },
277
+ * // },
278
+ * // },
279
+ * // ],
280
+ * // },
281
+ * // },
282
+ * // },
283
+ * // agentSkillsDefinition: { // AgentSkillsDefinitionDescriptor
284
+ * // data: "STRING_VALUE",
285
+ * // dataSchemaVersion: "STRING_VALUE",
286
+ * // additionalData: { // AgentSkillsAdditionalData
287
+ * // skillMd: { // AgentSkillsMdDescriptor
288
+ * // data: "STRING_VALUE",
289
+ * // dataSchemaVersion: "STRING_VALUE",
290
+ * // source: {
291
+ * // fromUrl: {
292
+ * // url: "STRING_VALUE", // required
293
+ * // credentialProviderConfigurations: [
294
+ * // {
295
+ * // credentialProviderType: "OAUTH" || "IAM", // required
296
+ * // credentialProvider: {// Union: only one key present
297
+ * // oauthCredentialProvider: {
298
+ * // providerArn: "STRING_VALUE", // required
299
+ * // grantType: "CLIENT_CREDENTIALS",
300
+ * // scopes: [
301
+ * // "STRING_VALUE",
302
+ * // ],
303
+ * // customParameters: {
304
+ * // "<keys>": "STRING_VALUE",
305
+ * // },
306
+ * // },
307
+ * // iamCredentialProvider: {
308
+ * // roleArn: "STRING_VALUE",
309
+ * // service: "STRING_VALUE",
310
+ * // region: "STRING_VALUE",
311
+ * // },
312
+ * // },
313
+ * // },
314
+ * // ],
315
+ * // },
316
+ * // },
317
+ * // },
318
+ * // },
319
+ * // },
320
+ * // custom: { // CustomDescriptor
321
+ * // data: "STRING_VALUE",
322
+ * // },
323
+ * // },
324
+ * // recordVersion: "STRING_VALUE",
325
+ * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
326
+ * // createdAt: new Date("TIMESTAMP"), // required
327
+ * // updatedAt: new Date("TIMESTAMP"), // required
328
+ * // statusReason: "STRING_VALUE",
329
+ * // };
330
+ *
331
+ * ```
332
+ *
333
+ * @param UpdateRegistryRecordCommandInput - {@link UpdateRegistryRecordCommandInput}
334
+ * @returns {@link UpdateRegistryRecordCommandOutput}
335
+ * @see {@link UpdateRegistryRecordCommandInput} for command's `input` shape.
336
+ * @see {@link UpdateRegistryRecordCommandOutput} for command's `response` shape.
337
+ * @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
338
+ *
339
+ * @throws {@link AccessDeniedException} (client fault)
340
+ * <p>The caller is not authorized to perform the requested action.</p>
341
+ *
342
+ * @throws {@link ConflictException} (client fault)
343
+ * <p>The request conflicts with the current state of the resource.</p>
344
+ *
345
+ * @throws {@link InternalServerException} (server fault)
346
+ * <p>The request failed due to an unexpected internal error; the caller may retry.</p>
347
+ *
348
+ * @throws {@link ResourceNotFoundException} (client fault)
349
+ * <p>The requested resource was not found.</p>
350
+ *
351
+ * @throws {@link ThrottlingException} (client fault)
352
+ * <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
353
+ *
354
+ * @throws {@link ValidationException} (client fault)
355
+ * <p>The request failed validation of one or more input fields.</p>
356
+ *
357
+ * @throws {@link AgentRegistryControlServiceException}
358
+ * <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
359
+ *
360
+ *
361
+ * @public
362
+ */
363
+ export declare class UpdateRegistryRecordCommand extends UpdateRegistryRecordCommand_base {
364
+ /** @internal type navigation helper, not in runtime. */
365
+ protected static __types: {
366
+ api: {
367
+ input: UpdateRegistryRecordRequest;
368
+ output: UpdateRegistryRecordResponse;
369
+ };
370
+ sdk: {
371
+ input: UpdateRegistryRecordCommandInput;
372
+ output: UpdateRegistryRecordCommandOutput;
373
+ };
374
+ };
375
+ }