@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 CreateRegistryRecordCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Creates a registry record within a registry. A registry record describes a discoverable resource, such as an MCP server, an agent, an agent skill, or a custom resource. Creation is asynchronous: the record is returned with the CREATING status while it is processed.</p>
27
+ * <p>Creates a registry record within a registry. A registry record describes a discoverable resource, such as an MCP server, an agent, an agent skill, or a custom resource. For an agent skill, you can upload a skill package in <code>artifact</code>, or synchronize the skill from an Amazon S3 or GitHub source. Creation is asynchronous: the operation returns the record with the <code>CREATING</code> status while the registry processes it. If a GitHub user must first authorize access to the source, the operation returns the record with the <code>CREATE_PENDING_AUTH</code> status instead.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -58,13 +58,14 @@ declare const CreateRegistryRecordCommand_base: {
58
58
  * credentialProvider: { // RegistryRecordCredentialProviderUnion Union: only one key present
59
59
  * oauthCredentialProvider: { // RegistryRecordOAuthCredentialProvider
60
60
  * providerArn: "STRING_VALUE", // required
61
- * grantType: "CLIENT_CREDENTIALS",
61
+ * grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
62
62
  * scopes: [ // ScopeList
63
63
  * "STRING_VALUE",
64
64
  * ],
65
65
  * customParameters: { // CustomParameterMap
66
66
  * "<keys>": "STRING_VALUE",
67
67
  * },
68
+ * returnUrl: "STRING_VALUE",
68
69
  * },
69
70
  * iamCredentialProvider: { // RegistryRecordIamCredentialProvider
70
71
  * roleArn: "STRING_VALUE",
@@ -89,13 +90,14 @@ declare const CreateRegistryRecordCommand_base: {
89
90
  * credentialProvider: {// Union: only one key present
90
91
  * oauthCredentialProvider: {
91
92
  * providerArn: "STRING_VALUE", // required
92
- * grantType: "CLIENT_CREDENTIALS",
93
+ * grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
93
94
  * scopes: [
94
95
  * "STRING_VALUE",
95
96
  * ],
96
97
  * customParameters: {
97
98
  * "<keys>": "STRING_VALUE",
98
99
  * },
100
+ * returnUrl: "STRING_VALUE",
99
101
  * },
100
102
  * iamCredentialProvider: {
101
103
  * roleArn: "STRING_VALUE",
@@ -124,13 +126,14 @@ declare const CreateRegistryRecordCommand_base: {
124
126
  * credentialProvider: {// Union: only one key present
125
127
  * oauthCredentialProvider: {
126
128
  * providerArn: "STRING_VALUE", // required
127
- * grantType: "CLIENT_CREDENTIALS",
129
+ * grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
128
130
  * scopes: [
129
131
  * "STRING_VALUE",
130
132
  * ],
131
133
  * customParameters: {
132
134
  * "<keys>": "STRING_VALUE",
133
135
  * },
136
+ * returnUrl: "STRING_VALUE",
134
137
  * },
135
138
  * iamCredentialProvider: {
136
139
  * roleArn: "STRING_VALUE",
@@ -143,6 +146,42 @@ declare const CreateRegistryRecordCommand_base: {
143
146
  * },
144
147
  * },
145
148
  * },
149
+ * skillPackage: { // AgentSkillsPackageDescriptor
150
+ * source: {
151
+ * fromUrl: {
152
+ * url: "STRING_VALUE", // required
153
+ * credentialProviderConfigurations: [
154
+ * {
155
+ * credentialProviderType: "OAUTH" || "IAM", // required
156
+ * credentialProvider: {// Union: only one key present
157
+ * oauthCredentialProvider: {
158
+ * providerArn: "STRING_VALUE", // required
159
+ * grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
160
+ * scopes: [
161
+ * "STRING_VALUE",
162
+ * ],
163
+ * customParameters: {
164
+ * "<keys>": "STRING_VALUE",
165
+ * },
166
+ * returnUrl: "STRING_VALUE",
167
+ * },
168
+ * iamCredentialProvider: {
169
+ * roleArn: "STRING_VALUE",
170
+ * service: "STRING_VALUE",
171
+ * region: "STRING_VALUE",
172
+ * },
173
+ * },
174
+ * },
175
+ * ],
176
+ * },
177
+ * },
178
+ * },
179
+ * repositoryProvider: "GITHUB",
180
+ * sourceConfiguration: { // AgentSkillsSourceConfiguration Union: only one key present
181
+ * s3: { // S3SourceConfiguration
182
+ * bucketOwnerAccountId: "STRING_VALUE",
183
+ * },
184
+ * },
146
185
  * },
147
186
  * },
148
187
  * custom: { // CustomDescriptor
@@ -158,13 +197,14 @@ declare const CreateRegistryRecordCommand_base: {
158
197
  * credentialProvider: {// Union: only one key present
159
198
  * oauthCredentialProvider: {
160
199
  * providerArn: "STRING_VALUE", // required
161
- * grantType: "CLIENT_CREDENTIALS",
200
+ * grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
162
201
  * scopes: [
163
202
  * "STRING_VALUE",
164
203
  * ],
165
204
  * customParameters: {
166
205
  * "<keys>": "STRING_VALUE",
167
206
  * },
207
+ * returnUrl: "STRING_VALUE",
168
208
  * },
169
209
  * iamCredentialProvider: {
170
210
  * roleArn: "STRING_VALUE",
@@ -178,35 +218,13 @@ declare const CreateRegistryRecordCommand_base: {
178
218
  * },
179
219
  * },
180
220
  * agui: { // AgUiDescriptor
181
- * source: {
182
- * fromUrl: {
183
- * url: "STRING_VALUE", // required
184
- * credentialProviderConfigurations: [
185
- * {
186
- * credentialProviderType: "OAUTH" || "IAM", // required
187
- * credentialProvider: {// Union: only one key present
188
- * oauthCredentialProvider: {
189
- * providerArn: "STRING_VALUE", // required
190
- * grantType: "CLIENT_CREDENTIALS",
191
- * scopes: [
192
- * "STRING_VALUE",
193
- * ],
194
- * customParameters: {
195
- * "<keys>": "STRING_VALUE",
196
- * },
197
- * },
198
- * iamCredentialProvider: {
199
- * roleArn: "STRING_VALUE",
200
- * service: "STRING_VALUE",
201
- * region: "STRING_VALUE",
202
- * },
203
- * },
204
- * },
205
- * ],
206
- * },
207
- * },
221
+ * source: "<DescriptorSource>",
208
222
  * },
209
223
  * },
224
+ * artifact: { // RegistryRecordArtifactUpload
225
+ * content: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
226
+ * sha256: "STRING_VALUE",
227
+ * },
210
228
  * recordVersion: "STRING_VALUE",
211
229
  * clientToken: "STRING_VALUE",
212
230
  * provenance: [ // ProvenanceList
@@ -384,7 +402,15 @@ declare const CreateRegistryRecordCommand_base: {
384
402
  * const response = await client.send(command);
385
403
  * // { // CreateRegistryRecordResponse
386
404
  * // recordArn: "STRING_VALUE", // required
387
- * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
405
+ * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
406
+ * // authorizationData: { // AuthorizationData Union: only one key present
407
+ * // oauth2: { // OAuth2AuthorizationData
408
+ * // authorizationUrl: "STRING_VALUE", // required
409
+ * // userId: "STRING_VALUE",
410
+ * // authorizationAttemptId: "STRING_VALUE",
411
+ * // expiresAt: new Date("TIMESTAMP"),
412
+ * // },
413
+ * // },
388
414
  * // };
389
415
  *
390
416
  * ```
@@ -24,7 +24,7 @@ declare const GetRegistryRecordCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Retrieves the details of a registry record</p>
27
+ * <p>Retrieves the details of a registry record. The response describes the record's latest revision, including a revision that isn't approved yet. For a skill record, the operation also returns the skill package in <code>artifact</code> and the source that the registry last synchronized the skill from in <code>synchronizedSource</code>.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -66,13 +66,14 @@ declare const GetRegistryRecordCommand_base: {
66
66
  * // credentialProvider: { // RegistryRecordCredentialProviderUnion Union: only one key present
67
67
  * // oauthCredentialProvider: { // RegistryRecordOAuthCredentialProvider
68
68
  * // providerArn: "STRING_VALUE", // required
69
- * // grantType: "CLIENT_CREDENTIALS",
69
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
70
70
  * // scopes: [ // ScopeList
71
71
  * // "STRING_VALUE",
72
72
  * // ],
73
73
  * // customParameters: { // CustomParameterMap
74
74
  * // "<keys>": "STRING_VALUE",
75
75
  * // },
76
+ * // returnUrl: "STRING_VALUE",
76
77
  * // },
77
78
  * // iamCredentialProvider: { // RegistryRecordIamCredentialProvider
78
79
  * // roleArn: "STRING_VALUE",
@@ -97,13 +98,14 @@ declare const GetRegistryRecordCommand_base: {
97
98
  * // credentialProvider: {// Union: only one key present
98
99
  * // oauthCredentialProvider: {
99
100
  * // providerArn: "STRING_VALUE", // required
100
- * // grantType: "CLIENT_CREDENTIALS",
101
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
101
102
  * // scopes: [
102
103
  * // "STRING_VALUE",
103
104
  * // ],
104
105
  * // customParameters: {
105
106
  * // "<keys>": "STRING_VALUE",
106
107
  * // },
108
+ * // returnUrl: "STRING_VALUE",
107
109
  * // },
108
110
  * // iamCredentialProvider: {
109
111
  * // roleArn: "STRING_VALUE",
@@ -132,13 +134,14 @@ declare const GetRegistryRecordCommand_base: {
132
134
  * // credentialProvider: {// Union: only one key present
133
135
  * // oauthCredentialProvider: {
134
136
  * // providerArn: "STRING_VALUE", // required
135
- * // grantType: "CLIENT_CREDENTIALS",
137
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
136
138
  * // scopes: [
137
139
  * // "STRING_VALUE",
138
140
  * // ],
139
141
  * // customParameters: {
140
142
  * // "<keys>": "STRING_VALUE",
141
143
  * // },
144
+ * // returnUrl: "STRING_VALUE",
142
145
  * // },
143
146
  * // iamCredentialProvider: {
144
147
  * // roleArn: "STRING_VALUE",
@@ -151,6 +154,42 @@ declare const GetRegistryRecordCommand_base: {
151
154
  * // },
152
155
  * // },
153
156
  * // },
157
+ * // skillPackage: { // AgentSkillsPackageDescriptor
158
+ * // source: {
159
+ * // fromUrl: {
160
+ * // url: "STRING_VALUE", // required
161
+ * // credentialProviderConfigurations: [
162
+ * // {
163
+ * // credentialProviderType: "OAUTH" || "IAM", // required
164
+ * // credentialProvider: {// Union: only one key present
165
+ * // oauthCredentialProvider: {
166
+ * // providerArn: "STRING_VALUE", // required
167
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
168
+ * // scopes: [
169
+ * // "STRING_VALUE",
170
+ * // ],
171
+ * // customParameters: {
172
+ * // "<keys>": "STRING_VALUE",
173
+ * // },
174
+ * // returnUrl: "STRING_VALUE",
175
+ * // },
176
+ * // iamCredentialProvider: {
177
+ * // roleArn: "STRING_VALUE",
178
+ * // service: "STRING_VALUE",
179
+ * // region: "STRING_VALUE",
180
+ * // },
181
+ * // },
182
+ * // },
183
+ * // ],
184
+ * // },
185
+ * // },
186
+ * // },
187
+ * // repositoryProvider: "GITHUB",
188
+ * // sourceConfiguration: { // AgentSkillsSourceConfiguration Union: only one key present
189
+ * // s3: { // S3SourceConfiguration
190
+ * // bucketOwnerAccountId: "STRING_VALUE",
191
+ * // },
192
+ * // },
154
193
  * // },
155
194
  * // },
156
195
  * // custom: { // CustomDescriptor
@@ -166,13 +205,14 @@ declare const GetRegistryRecordCommand_base: {
166
205
  * // credentialProvider: {// Union: only one key present
167
206
  * // oauthCredentialProvider: {
168
207
  * // providerArn: "STRING_VALUE", // required
169
- * // grantType: "CLIENT_CREDENTIALS",
208
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
170
209
  * // scopes: [
171
210
  * // "STRING_VALUE",
172
211
  * // ],
173
212
  * // customParameters: {
174
213
  * // "<keys>": "STRING_VALUE",
175
214
  * // },
215
+ * // returnUrl: "STRING_VALUE",
176
216
  * // },
177
217
  * // iamCredentialProvider: {
178
218
  * // roleArn: "STRING_VALUE",
@@ -186,37 +226,11 @@ declare const GetRegistryRecordCommand_base: {
186
226
  * // },
187
227
  * // },
188
228
  * // agui: { // AgUiDescriptor
189
- * // source: {
190
- * // fromUrl: {
191
- * // url: "STRING_VALUE", // required
192
- * // credentialProviderConfigurations: [
193
- * // {
194
- * // credentialProviderType: "OAUTH" || "IAM", // required
195
- * // credentialProvider: {// Union: only one key present
196
- * // oauthCredentialProvider: {
197
- * // providerArn: "STRING_VALUE", // required
198
- * // grantType: "CLIENT_CREDENTIALS",
199
- * // scopes: [
200
- * // "STRING_VALUE",
201
- * // ],
202
- * // customParameters: {
203
- * // "<keys>": "STRING_VALUE",
204
- * // },
205
- * // },
206
- * // iamCredentialProvider: {
207
- * // roleArn: "STRING_VALUE",
208
- * // service: "STRING_VALUE",
209
- * // region: "STRING_VALUE",
210
- * // },
211
- * // },
212
- * // },
213
- * // ],
214
- * // },
215
- * // },
229
+ * // source: "<DescriptorSource>",
216
230
  * // },
217
231
  * // },
218
232
  * // recordVersion: "STRING_VALUE",
219
- * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
233
+ * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
220
234
  * // createdAt: new Date("TIMESTAMP"), // required
221
235
  * // updatedAt: new Date("TIMESTAMP"), // required
222
236
  * // statusReason: "STRING_VALUE",
@@ -392,6 +406,23 @@ declare const GetRegistryRecordCommand_base: {
392
406
  * // createdBy: "STRING_VALUE",
393
407
  * // customMetadata: "DOCUMENT_VALUE",
394
408
  * // customMetadataSchemaComplianceStatus: "COMPLIANT" || "NON_COMPLIANT",
409
+ * // artifact: { // RegistryRecordArtifactDownload
410
+ * // sha256: "STRING_VALUE",
411
+ * // downloadUrl: "STRING_VALUE",
412
+ * // },
413
+ * // synchronizedSource: { // RegistryRecordSynchronizedSource Union: only one key present
414
+ * // s3: { // S3SynchronizedSource
415
+ * // url: "STRING_VALUE", // required
416
+ * // synchronizedAt: new Date("TIMESTAMP"), // required
417
+ * // versionId: "STRING_VALUE",
418
+ * // eTag: "STRING_VALUE",
419
+ * // },
420
+ * // gitHub: { // GitHubSynchronizedSource
421
+ * // url: "STRING_VALUE", // required
422
+ * // synchronizedAt: new Date("TIMESTAMP"), // required
423
+ * // commitId: "STRING_VALUE", // required
424
+ * // },
425
+ * // },
395
426
  * // };
396
427
  *
397
428
  * ```
@@ -59,7 +59,7 @@ declare const ListRegistryRecordsCommand_base: {
59
59
  * // description: "STRING_VALUE",
60
60
  * // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY", // required
61
61
  * // recordVersion: "STRING_VALUE", // required
62
- * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
62
+ * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
63
63
  * // createdAt: new Date("TIMESTAMP"), // required
64
64
  * // updatedAt: new Date("TIMESTAMP"), // required
65
65
  * // createdByAutoDetection: true || false,
@@ -43,7 +43,7 @@ declare const SubmitRegistryRecordForApprovalCommand_base: {
43
43
  * // registryArn: "STRING_VALUE", // required
44
44
  * // recordArn: "STRING_VALUE", // required
45
45
  * // recordId: "STRING_VALUE", // required
46
- * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
46
+ * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
47
47
  * // updatedAt: new Date("TIMESTAMP"), // required
48
48
  * // };
49
49
  *