@aws-sdk/client-agent-registry-control 3.1171.0 → 3.1173.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.
@@ -24,7 +24,7 @@ declare const UpdateRegistryRecordCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
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>
27
+ * <p>Updates a registry record. The update is asynchronous: the operation returns the record with the <code>UPDATING</code> status while the registry processes it. If a GitHub user must first authorize access to the record's skill source, the operation returns the record with the <code>UPDATE_PENDING_AUTH</code> status instead. Fields that use update wrappers follow PATCH semantics: omit the field to leave it unchanged.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -64,13 +64,14 @@ declare const UpdateRegistryRecordCommand_base: {
64
64
  * credentialProvider: { // RegistryRecordCredentialProviderUnion Union: only one key present
65
65
  * oauthCredentialProvider: { // RegistryRecordOAuthCredentialProvider
66
66
  * providerArn: "STRING_VALUE", // required
67
- * grantType: "CLIENT_CREDENTIALS",
67
+ * grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
68
68
  * scopes: [ // ScopeList
69
69
  * "STRING_VALUE",
70
70
  * ],
71
71
  * customParameters: { // CustomParameterMap
72
72
  * "<keys>": "STRING_VALUE",
73
73
  * },
74
+ * returnUrl: "STRING_VALUE",
74
75
  * },
75
76
  * iamCredentialProvider: { // RegistryRecordIamCredentialProvider
76
77
  * roleArn: "STRING_VALUE",
@@ -117,13 +118,14 @@ declare const UpdateRegistryRecordCommand_base: {
117
118
  * credentialProvider: {// Union: only one key present
118
119
  * oauthCredentialProvider: {
119
120
  * providerArn: "STRING_VALUE", // required
120
- * grantType: "CLIENT_CREDENTIALS",
121
+ * grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
121
122
  * scopes: [
122
123
  * "STRING_VALUE",
123
124
  * ],
124
125
  * customParameters: {
125
126
  * "<keys>": "STRING_VALUE",
126
127
  * },
128
+ * returnUrl: "STRING_VALUE",
127
129
  * },
128
130
  * iamCredentialProvider: {
129
131
  * roleArn: "STRING_VALUE",
@@ -166,13 +168,14 @@ declare const UpdateRegistryRecordCommand_base: {
166
168
  * credentialProvider: {// Union: only one key present
167
169
  * oauthCredentialProvider: {
168
170
  * providerArn: "STRING_VALUE", // required
169
- * grantType: "CLIENT_CREDENTIALS",
171
+ * grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
170
172
  * scopes: [
171
173
  * "STRING_VALUE",
172
174
  * ],
173
175
  * customParameters: {
174
176
  * "<keys>": "STRING_VALUE",
175
177
  * },
178
+ * returnUrl: "STRING_VALUE",
176
179
  * },
177
180
  * iamCredentialProvider: {
178
181
  * roleArn: "STRING_VALUE",
@@ -187,6 +190,21 @@ declare const UpdateRegistryRecordCommand_base: {
187
190
  * },
188
191
  * },
189
192
  * },
193
+ * skillPackage: { // UpdatedAgentSkillsPackageDescriptor
194
+ * optionalValue: { // AgentSkillsPackageDescriptor
195
+ * source: "<DescriptorSource>",
196
+ * },
197
+ * },
198
+ * repositoryProvider: { // UpdatedAgentSkillsRepositoryProvider
199
+ * optionalValue: "GITHUB",
200
+ * },
201
+ * sourceConfiguration: { // UpdatedAgentSkillsSourceConfiguration
202
+ * optionalValue: { // AgentSkillsSourceConfiguration Union: only one key present
203
+ * s3: { // S3SourceConfiguration
204
+ * bucketOwnerAccountId: "STRING_VALUE",
205
+ * },
206
+ * },
207
+ * },
190
208
  * },
191
209
  * },
192
210
  * },
@@ -199,76 +217,31 @@ declare const UpdateRegistryRecordCommand_base: {
199
217
  * http: { // UpdatedHttpDescriptor
200
218
  * optionalValue: { // UpdatedHttpDescriptorFields
201
219
  * source: {
202
- * optionalValue: {
203
- * fromUrl: {
204
- * url: "STRING_VALUE", // required
205
- * credentialProviderConfigurations: [
206
- * {
207
- * credentialProviderType: "OAUTH" || "IAM", // required
208
- * credentialProvider: {// Union: only one key present
209
- * oauthCredentialProvider: {
210
- * providerArn: "STRING_VALUE", // required
211
- * grantType: "CLIENT_CREDENTIALS",
212
- * scopes: [
213
- * "STRING_VALUE",
214
- * ],
215
- * customParameters: {
216
- * "<keys>": "STRING_VALUE",
217
- * },
218
- * },
219
- * iamCredentialProvider: {
220
- * roleArn: "STRING_VALUE",
221
- * service: "STRING_VALUE",
222
- * region: "STRING_VALUE",
223
- * },
224
- * },
225
- * },
226
- * ],
227
- * },
228
- * },
220
+ * optionalValue: "<DescriptorSource>",
229
221
  * },
230
222
  * },
231
223
  * },
232
224
  * agui: { // UpdatedAgUiDescriptor
233
225
  * optionalValue: { // UpdatedAgUiDescriptorFields
234
226
  * source: {
235
- * optionalValue: {
236
- * fromUrl: {
237
- * url: "STRING_VALUE", // required
238
- * credentialProviderConfigurations: [
239
- * {
240
- * credentialProviderType: "OAUTH" || "IAM", // required
241
- * credentialProvider: {// Union: only one key present
242
- * oauthCredentialProvider: {
243
- * providerArn: "STRING_VALUE", // required
244
- * grantType: "CLIENT_CREDENTIALS",
245
- * scopes: [
246
- * "STRING_VALUE",
247
- * ],
248
- * customParameters: {
249
- * "<keys>": "STRING_VALUE",
250
- * },
251
- * },
252
- * iamCredentialProvider: {
253
- * roleArn: "STRING_VALUE",
254
- * service: "STRING_VALUE",
255
- * region: "STRING_VALUE",
256
- * },
257
- * },
258
- * },
259
- * ],
260
- * },
261
- * },
227
+ * optionalValue: "<DescriptorSource>",
262
228
  * },
263
229
  * },
264
230
  * },
265
231
  * },
266
232
  * },
233
+ * artifact: { // UpdatedRegistryRecordArtifact
234
+ * optionalValue: { // RegistryRecordArtifactUpload
235
+ * content: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
236
+ * sha256: "STRING_VALUE",
237
+ * },
238
+ * },
267
239
  * recordVersion: "STRING_VALUE",
268
240
  * customMetadata: { // UpdatedCustomMetadataMap
269
241
  * optionalValue: "DOCUMENT_VALUE",
270
242
  * },
271
243
  * triggerSynchronization: true || false,
244
+ * forceAuthentication: true || false,
272
245
  * provenance: [ // ProvenanceList
273
246
  * { // Provenance
274
247
  * relation: "DETECTED_FROM", // required
@@ -467,13 +440,14 @@ declare const UpdateRegistryRecordCommand_base: {
467
440
  * // credentialProvider: { // RegistryRecordCredentialProviderUnion Union: only one key present
468
441
  * // oauthCredentialProvider: { // RegistryRecordOAuthCredentialProvider
469
442
  * // providerArn: "STRING_VALUE", // required
470
- * // grantType: "CLIENT_CREDENTIALS",
443
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
471
444
  * // scopes: [ // ScopeList
472
445
  * // "STRING_VALUE",
473
446
  * // ],
474
447
  * // customParameters: { // CustomParameterMap
475
448
  * // "<keys>": "STRING_VALUE",
476
449
  * // },
450
+ * // returnUrl: "STRING_VALUE",
477
451
  * // },
478
452
  * // iamCredentialProvider: { // RegistryRecordIamCredentialProvider
479
453
  * // roleArn: "STRING_VALUE",
@@ -498,13 +472,14 @@ declare const UpdateRegistryRecordCommand_base: {
498
472
  * // credentialProvider: {// Union: only one key present
499
473
  * // oauthCredentialProvider: {
500
474
  * // providerArn: "STRING_VALUE", // required
501
- * // grantType: "CLIENT_CREDENTIALS",
475
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
502
476
  * // scopes: [
503
477
  * // "STRING_VALUE",
504
478
  * // ],
505
479
  * // customParameters: {
506
480
  * // "<keys>": "STRING_VALUE",
507
481
  * // },
482
+ * // returnUrl: "STRING_VALUE",
508
483
  * // },
509
484
  * // iamCredentialProvider: {
510
485
  * // roleArn: "STRING_VALUE",
@@ -533,13 +508,14 @@ declare const UpdateRegistryRecordCommand_base: {
533
508
  * // credentialProvider: {// Union: only one key present
534
509
  * // oauthCredentialProvider: {
535
510
  * // providerArn: "STRING_VALUE", // required
536
- * // grantType: "CLIENT_CREDENTIALS",
511
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
537
512
  * // scopes: [
538
513
  * // "STRING_VALUE",
539
514
  * // ],
540
515
  * // customParameters: {
541
516
  * // "<keys>": "STRING_VALUE",
542
517
  * // },
518
+ * // returnUrl: "STRING_VALUE",
543
519
  * // },
544
520
  * // iamCredentialProvider: {
545
521
  * // roleArn: "STRING_VALUE",
@@ -552,6 +528,42 @@ declare const UpdateRegistryRecordCommand_base: {
552
528
  * // },
553
529
  * // },
554
530
  * // },
531
+ * // skillPackage: { // AgentSkillsPackageDescriptor
532
+ * // source: {
533
+ * // fromUrl: {
534
+ * // url: "STRING_VALUE", // required
535
+ * // credentialProviderConfigurations: [
536
+ * // {
537
+ * // credentialProviderType: "OAUTH" || "IAM", // required
538
+ * // credentialProvider: {// Union: only one key present
539
+ * // oauthCredentialProvider: {
540
+ * // providerArn: "STRING_VALUE", // required
541
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
542
+ * // scopes: [
543
+ * // "STRING_VALUE",
544
+ * // ],
545
+ * // customParameters: {
546
+ * // "<keys>": "STRING_VALUE",
547
+ * // },
548
+ * // returnUrl: "STRING_VALUE",
549
+ * // },
550
+ * // iamCredentialProvider: {
551
+ * // roleArn: "STRING_VALUE",
552
+ * // service: "STRING_VALUE",
553
+ * // region: "STRING_VALUE",
554
+ * // },
555
+ * // },
556
+ * // },
557
+ * // ],
558
+ * // },
559
+ * // },
560
+ * // },
561
+ * // repositoryProvider: "GITHUB",
562
+ * // sourceConfiguration: { // AgentSkillsSourceConfiguration Union: only one key present
563
+ * // s3: { // S3SourceConfiguration
564
+ * // bucketOwnerAccountId: "STRING_VALUE",
565
+ * // },
566
+ * // },
555
567
  * // },
556
568
  * // },
557
569
  * // custom: { // CustomDescriptor
@@ -567,13 +579,14 @@ declare const UpdateRegistryRecordCommand_base: {
567
579
  * // credentialProvider: {// Union: only one key present
568
580
  * // oauthCredentialProvider: {
569
581
  * // providerArn: "STRING_VALUE", // required
570
- * // grantType: "CLIENT_CREDENTIALS",
582
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
571
583
  * // scopes: [
572
584
  * // "STRING_VALUE",
573
585
  * // ],
574
586
  * // customParameters: {
575
587
  * // "<keys>": "STRING_VALUE",
576
588
  * // },
589
+ * // returnUrl: "STRING_VALUE",
577
590
  * // },
578
591
  * // iamCredentialProvider: {
579
592
  * // roleArn: "STRING_VALUE",
@@ -587,37 +600,11 @@ declare const UpdateRegistryRecordCommand_base: {
587
600
  * // },
588
601
  * // },
589
602
  * // agui: { // AgUiDescriptor
590
- * // source: {
591
- * // fromUrl: {
592
- * // url: "STRING_VALUE", // required
593
- * // credentialProviderConfigurations: [
594
- * // {
595
- * // credentialProviderType: "OAUTH" || "IAM", // required
596
- * // credentialProvider: {// Union: only one key present
597
- * // oauthCredentialProvider: {
598
- * // providerArn: "STRING_VALUE", // required
599
- * // grantType: "CLIENT_CREDENTIALS",
600
- * // scopes: [
601
- * // "STRING_VALUE",
602
- * // ],
603
- * // customParameters: {
604
- * // "<keys>": "STRING_VALUE",
605
- * // },
606
- * // },
607
- * // iamCredentialProvider: {
608
- * // roleArn: "STRING_VALUE",
609
- * // service: "STRING_VALUE",
610
- * // region: "STRING_VALUE",
611
- * // },
612
- * // },
613
- * // },
614
- * // ],
615
- * // },
616
- * // },
603
+ * // source: "<DescriptorSource>",
617
604
  * // },
618
605
  * // },
619
606
  * // recordVersion: "STRING_VALUE",
620
- * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
607
+ * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
621
608
  * // createdAt: new Date("TIMESTAMP"), // required
622
609
  * // updatedAt: new Date("TIMESTAMP"), // required
623
610
  * // statusReason: "STRING_VALUE",
@@ -793,6 +780,14 @@ declare const UpdateRegistryRecordCommand_base: {
793
780
  * // createdBy: "STRING_VALUE",
794
781
  * // customMetadata: "DOCUMENT_VALUE",
795
782
  * // customMetadataSchemaComplianceStatus: "COMPLIANT" || "NON_COMPLIANT",
783
+ * // authorizationData: { // AuthorizationData Union: only one key present
784
+ * // oauth2: { // OAuth2AuthorizationData
785
+ * // authorizationUrl: "STRING_VALUE", // required
786
+ * // userId: "STRING_VALUE",
787
+ * // authorizationAttemptId: "STRING_VALUE",
788
+ * // expiresAt: new Date("TIMESTAMP"),
789
+ * // },
790
+ * // },
796
791
  * // };
797
792
  *
798
793
  * ```
@@ -36,7 +36,7 @@ declare const UpdateRegistryRecordStatusCommand_base: {
36
36
  * const input = { // UpdateRegistryRecordStatusRequest
37
37
  * registryId: "STRING_VALUE", // required
38
38
  * recordId: "STRING_VALUE", // required
39
- * status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
39
+ * status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
40
40
  * statusReason: "STRING_VALUE", // required
41
41
  * };
42
42
  * const command = new UpdateRegistryRecordStatusCommand(input);
@@ -45,7 +45,7 @@ declare const UpdateRegistryRecordStatusCommand_base: {
45
45
  * // registryArn: "STRING_VALUE", // required
46
46
  * // recordArn: "STRING_VALUE", // required
47
47
  * // recordId: "STRING_VALUE", // required
48
- * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
48
+ * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
49
49
  * // statusReason: "STRING_VALUE", // required
50
50
  * // updatedAt: new Date("TIMESTAMP"), // required
51
51
  * // };
@@ -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
  /**
@@ -93,11 +94,23 @@ export declare const ValidationExceptionReason: {
93
94
  readonly IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: "IdempotentParameterMismatchException";
94
95
  readonly RESOURCE_CONFLICT: "ResourceConflict";
95
96
  readonly ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession";
97
+ readonly UNSUPPORTED_IN_REGION: "UnsupportedInRegion";
96
98
  };
97
99
  /**
98
100
  * @public
99
101
  */
100
102
  export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
103
+ /**
104
+ * @public
105
+ * @enum
106
+ */
107
+ export declare const AgentSkillsRepositoryProvider: {
108
+ readonly GITHUB: "GITHUB";
109
+ };
110
+ /**
111
+ * @public
112
+ */
113
+ export type AgentSkillsRepositoryProvider = (typeof AgentSkillsRepositoryProvider)[keyof typeof AgentSkillsRepositoryProvider];
101
114
  /**
102
115
  * @public
103
116
  * @enum
@@ -143,12 +156,14 @@ export type RecordType = (typeof RecordType)[keyof typeof RecordType];
143
156
  export declare const RegistryRecordStatus: {
144
157
  readonly APPROVED: "APPROVED";
145
158
  readonly CREATE_FAILED: "CREATE_FAILED";
159
+ readonly CREATE_PENDING_AUTH: "CREATE_PENDING_AUTH";
146
160
  readonly CREATING: "CREATING";
147
161
  readonly DEPRECATED: "DEPRECATED";
148
162
  readonly DRAFT: "DRAFT";
149
163
  readonly PENDING_APPROVAL: "PENDING_APPROVAL";
150
164
  readonly REJECTED: "REJECTED";
151
165
  readonly UPDATE_FAILED: "UPDATE_FAILED";
166
+ readonly UPDATE_PENDING_AUTH: "UPDATE_PENDING_AUTH";
152
167
  readonly UPDATING: "UPDATING";
153
168
  };
154
169
  /**