@aws-sdk/client-bedrock-agentcore-control 3.908.0 → 3.910.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.
- package/dist-cjs/index.js +98 -18
- package/dist-es/commands/CreateAgentRuntimeEndpointCommand.js +2 -2
- package/dist-es/commands/DeleteAgentRuntimeEndpointCommand.js +2 -2
- package/dist-es/models/models_0.js +63 -0
- package/dist-es/protocols/Aws_restJson1.js +28 -16
- package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +2 -0
- package/dist-types/commands/CreateApiKeyCredentialProviderCommand.d.ts +3 -0
- package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +127 -1
- package/dist-types/commands/CreateWorkloadIdentityCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +2 -0
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +35 -1
- package/dist-types/commands/ListOauth2CredentialProvidersCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +55 -2
- package/dist-types/models/models_0.d.ts +426 -32
- package/dist-types/ts3.4/models/models_0.d.ts +230 -11
- package/package.json +34 -34
package/dist-cjs/index.js
CHANGED
|
@@ -599,12 +599,31 @@ exports.ModifyExtractionConfiguration = void 0;
|
|
|
599
599
|
};
|
|
600
600
|
})(exports.ModifyExtractionConfiguration || (exports.ModifyExtractionConfiguration = {}));
|
|
601
601
|
const CredentialProviderVendorType = {
|
|
602
|
+
AtlassianOauth2: "AtlassianOauth2",
|
|
603
|
+
Auth0Oauth2: "Auth0Oauth2",
|
|
604
|
+
CognitoOauth2: "CognitoOauth2",
|
|
602
605
|
CustomOauth2: "CustomOauth2",
|
|
606
|
+
CyberArkOauth2: "CyberArkOauth2",
|
|
607
|
+
DropboxOauth2: "DropboxOauth2",
|
|
608
|
+
FacebookOauth2: "FacebookOauth2",
|
|
609
|
+
FusionAuthOauth2: "FusionAuthOauth2",
|
|
603
610
|
GithubOauth2: "GithubOauth2",
|
|
604
611
|
GoogleOauth2: "GoogleOauth2",
|
|
612
|
+
HubspotOauth2: "HubspotOauth2",
|
|
613
|
+
LinkedinOauth2: "LinkedinOauth2",
|
|
605
614
|
MicrosoftOauth2: "MicrosoftOauth2",
|
|
615
|
+
NotionOauth2: "NotionOauth2",
|
|
616
|
+
OktaOauth2: "OktaOauth2",
|
|
617
|
+
OneLoginOauth2: "OneLoginOauth2",
|
|
618
|
+
PingOneOauth2: "PingOneOauth2",
|
|
619
|
+
RedditOauth2: "RedditOauth2",
|
|
606
620
|
SalesforceOauth2: "SalesforceOauth2",
|
|
607
621
|
SlackOauth2: "SlackOauth2",
|
|
622
|
+
SpotifyOauth2: "SpotifyOauth2",
|
|
623
|
+
TwitchOauth2: "TwitchOauth2",
|
|
624
|
+
XOauth2: "XOauth2",
|
|
625
|
+
YandexOauth2: "YandexOauth2",
|
|
626
|
+
ZoomOauth2: "ZoomOauth2",
|
|
608
627
|
};
|
|
609
628
|
exports.Oauth2Discovery = void 0;
|
|
610
629
|
(function (Oauth2Discovery) {
|
|
@@ -631,6 +650,12 @@ exports.Oauth2ProviderConfigInput = void 0;
|
|
|
631
650
|
return visitor.salesforceOauth2ProviderConfig(value.salesforceOauth2ProviderConfig);
|
|
632
651
|
if (value.microsoftOauth2ProviderConfig !== undefined)
|
|
633
652
|
return visitor.microsoftOauth2ProviderConfig(value.microsoftOauth2ProviderConfig);
|
|
653
|
+
if (value.atlassianOauth2ProviderConfig !== undefined)
|
|
654
|
+
return visitor.atlassianOauth2ProviderConfig(value.atlassianOauth2ProviderConfig);
|
|
655
|
+
if (value.linkedinOauth2ProviderConfig !== undefined)
|
|
656
|
+
return visitor.linkedinOauth2ProviderConfig(value.linkedinOauth2ProviderConfig);
|
|
657
|
+
if (value.includedOauth2ProviderConfig !== undefined)
|
|
658
|
+
return visitor.includedOauth2ProviderConfig(value.includedOauth2ProviderConfig);
|
|
634
659
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
635
660
|
};
|
|
636
661
|
})(exports.Oauth2ProviderConfigInput || (exports.Oauth2ProviderConfigInput = {}));
|
|
@@ -649,6 +674,12 @@ exports.Oauth2ProviderConfigOutput = void 0;
|
|
|
649
674
|
return visitor.salesforceOauth2ProviderConfig(value.salesforceOauth2ProviderConfig);
|
|
650
675
|
if (value.microsoftOauth2ProviderConfig !== undefined)
|
|
651
676
|
return visitor.microsoftOauth2ProviderConfig(value.microsoftOauth2ProviderConfig);
|
|
677
|
+
if (value.atlassianOauth2ProviderConfig !== undefined)
|
|
678
|
+
return visitor.atlassianOauth2ProviderConfig(value.atlassianOauth2ProviderConfig);
|
|
679
|
+
if (value.linkedinOauth2ProviderConfig !== undefined)
|
|
680
|
+
return visitor.linkedinOauth2ProviderConfig(value.linkedinOauth2ProviderConfig);
|
|
681
|
+
if (value.includedOauth2ProviderConfig !== undefined)
|
|
682
|
+
return visitor.includedOauth2ProviderConfig(value.includedOauth2ProviderConfig);
|
|
652
683
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
653
684
|
};
|
|
654
685
|
})(exports.Oauth2ProviderConfigOutput || (exports.Oauth2ProviderConfigOutput = {}));
|
|
@@ -700,10 +731,18 @@ const CreateAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
|
700
731
|
...obj,
|
|
701
732
|
...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
|
|
702
733
|
});
|
|
734
|
+
const CreateAgentRuntimeEndpointResponseFilterSensitiveLog = (obj) => ({
|
|
735
|
+
...obj,
|
|
736
|
+
...(obj.endpointName && { endpointName: smithyClient.SENSITIVE_STRING }),
|
|
737
|
+
});
|
|
703
738
|
const DeleteAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
704
739
|
...obj,
|
|
705
740
|
...(obj.endpointName && { endpointName: smithyClient.SENSITIVE_STRING }),
|
|
706
741
|
});
|
|
742
|
+
const DeleteAgentRuntimeEndpointResponseFilterSensitiveLog = (obj) => ({
|
|
743
|
+
...obj,
|
|
744
|
+
...(obj.endpointName && { endpointName: smithyClient.SENSITIVE_STRING }),
|
|
745
|
+
});
|
|
707
746
|
const GetAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
708
747
|
...obj,
|
|
709
748
|
...(obj.endpointName && { endpointName: smithyClient.SENSITIVE_STRING }),
|
|
@@ -1136,6 +1175,10 @@ const UpdateMemoryOutputFilterSensitiveLog = (obj) => ({
|
|
|
1136
1175
|
...obj,
|
|
1137
1176
|
...(obj.memory && { memory: MemoryFilterSensitiveLog(obj.memory) }),
|
|
1138
1177
|
});
|
|
1178
|
+
const AtlassianOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1179
|
+
...obj,
|
|
1180
|
+
...(obj.clientSecret && { clientSecret: smithyClient.SENSITIVE_STRING }),
|
|
1181
|
+
});
|
|
1139
1182
|
const CustomOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1140
1183
|
...obj,
|
|
1141
1184
|
...(obj.oauthDiscovery && { oauthDiscovery: obj.oauthDiscovery }),
|
|
@@ -1149,6 +1192,14 @@ const GoogleOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
|
1149
1192
|
...obj,
|
|
1150
1193
|
...(obj.clientSecret && { clientSecret: smithyClient.SENSITIVE_STRING }),
|
|
1151
1194
|
});
|
|
1195
|
+
const IncludedOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1196
|
+
...obj,
|
|
1197
|
+
...(obj.clientSecret && { clientSecret: smithyClient.SENSITIVE_STRING }),
|
|
1198
|
+
});
|
|
1199
|
+
const LinkedinOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1200
|
+
...obj,
|
|
1201
|
+
...(obj.clientSecret && { clientSecret: smithyClient.SENSITIVE_STRING }),
|
|
1202
|
+
});
|
|
1152
1203
|
const MicrosoftOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1153
1204
|
...obj,
|
|
1154
1205
|
...(obj.clientSecret && { clientSecret: smithyClient.SENSITIVE_STRING }),
|
|
@@ -1186,6 +1237,18 @@ const Oauth2ProviderConfigInputFilterSensitiveLog = (obj) => {
|
|
|
1186
1237
|
return {
|
|
1187
1238
|
microsoftOauth2ProviderConfig: MicrosoftOauth2ProviderConfigInputFilterSensitiveLog(obj.microsoftOauth2ProviderConfig),
|
|
1188
1239
|
};
|
|
1240
|
+
if (obj.atlassianOauth2ProviderConfig !== undefined)
|
|
1241
|
+
return {
|
|
1242
|
+
atlassianOauth2ProviderConfig: AtlassianOauth2ProviderConfigInputFilterSensitiveLog(obj.atlassianOauth2ProviderConfig),
|
|
1243
|
+
};
|
|
1244
|
+
if (obj.linkedinOauth2ProviderConfig !== undefined)
|
|
1245
|
+
return {
|
|
1246
|
+
linkedinOauth2ProviderConfig: LinkedinOauth2ProviderConfigInputFilterSensitiveLog(obj.linkedinOauth2ProviderConfig),
|
|
1247
|
+
};
|
|
1248
|
+
if (obj.includedOauth2ProviderConfig !== undefined)
|
|
1249
|
+
return {
|
|
1250
|
+
includedOauth2ProviderConfig: IncludedOauth2ProviderConfigInputFilterSensitiveLog(obj.includedOauth2ProviderConfig),
|
|
1251
|
+
};
|
|
1189
1252
|
if (obj.$unknown !== undefined)
|
|
1190
1253
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1191
1254
|
};
|
|
@@ -1342,6 +1405,7 @@ const se_CreateApiKeyCredentialProviderCommand = async (input, context) => {
|
|
|
1342
1405
|
body = JSON.stringify(smithyClient.take(input, {
|
|
1343
1406
|
apiKey: [],
|
|
1344
1407
|
name: [],
|
|
1408
|
+
tags: (_) => smithyClient._json(_),
|
|
1345
1409
|
}));
|
|
1346
1410
|
b.m("POST").h(headers).b(body);
|
|
1347
1411
|
return b.build();
|
|
@@ -1455,6 +1519,7 @@ const se_CreateOauth2CredentialProviderCommand = async (input, context) => {
|
|
|
1455
1519
|
credentialProviderVendor: [],
|
|
1456
1520
|
name: [],
|
|
1457
1521
|
oauth2ProviderConfigInput: (_) => smithyClient._json(_),
|
|
1522
|
+
tags: (_) => smithyClient._json(_),
|
|
1458
1523
|
}));
|
|
1459
1524
|
b.m("POST").h(headers).b(body);
|
|
1460
1525
|
return b.build();
|
|
@@ -1469,6 +1534,7 @@ const se_CreateWorkloadIdentityCommand = async (input, context) => {
|
|
|
1469
1534
|
body = JSON.stringify(smithyClient.take(input, {
|
|
1470
1535
|
allowedResourceOauth2ReturnUrls: (_) => smithyClient._json(_),
|
|
1471
1536
|
name: [],
|
|
1537
|
+
tags: (_) => smithyClient._json(_),
|
|
1472
1538
|
}));
|
|
1473
1539
|
b.m("POST").h(headers).b(body);
|
|
1474
1540
|
return b.build();
|
|
@@ -2059,7 +2125,7 @@ const se_UpdateWorkloadIdentityCommand = async (input, context) => {
|
|
|
2059
2125
|
return b.build();
|
|
2060
2126
|
};
|
|
2061
2127
|
const de_CreateAgentRuntimeCommand = async (output, context) => {
|
|
2062
|
-
if (output.statusCode !==
|
|
2128
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2063
2129
|
return de_CommandError(output, context);
|
|
2064
2130
|
}
|
|
2065
2131
|
const contents = smithyClient.map({
|
|
@@ -2078,7 +2144,7 @@ const de_CreateAgentRuntimeCommand = async (output, context) => {
|
|
|
2078
2144
|
return contents;
|
|
2079
2145
|
};
|
|
2080
2146
|
const de_CreateAgentRuntimeEndpointCommand = async (output, context) => {
|
|
2081
|
-
if (output.statusCode !==
|
|
2147
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2082
2148
|
return de_CommandError(output, context);
|
|
2083
2149
|
}
|
|
2084
2150
|
const contents = smithyClient.map({
|
|
@@ -2088,7 +2154,9 @@ const de_CreateAgentRuntimeEndpointCommand = async (output, context) => {
|
|
|
2088
2154
|
const doc = smithyClient.take(data, {
|
|
2089
2155
|
agentRuntimeArn: smithyClient.expectString,
|
|
2090
2156
|
agentRuntimeEndpointArn: smithyClient.expectString,
|
|
2157
|
+
agentRuntimeId: smithyClient.expectString,
|
|
2091
2158
|
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2159
|
+
endpointName: smithyClient.expectString,
|
|
2092
2160
|
status: smithyClient.expectString,
|
|
2093
2161
|
targetVersion: smithyClient.expectString,
|
|
2094
2162
|
});
|
|
@@ -2096,7 +2164,7 @@ const de_CreateAgentRuntimeEndpointCommand = async (output, context) => {
|
|
|
2096
2164
|
return contents;
|
|
2097
2165
|
};
|
|
2098
2166
|
const de_CreateApiKeyCredentialProviderCommand = async (output, context) => {
|
|
2099
|
-
if (output.statusCode !==
|
|
2167
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2100
2168
|
return de_CommandError(output, context);
|
|
2101
2169
|
}
|
|
2102
2170
|
const contents = smithyClient.map({
|
|
@@ -2112,7 +2180,7 @@ const de_CreateApiKeyCredentialProviderCommand = async (output, context) => {
|
|
|
2112
2180
|
return contents;
|
|
2113
2181
|
};
|
|
2114
2182
|
const de_CreateBrowserCommand = async (output, context) => {
|
|
2115
|
-
if (output.statusCode !==
|
|
2183
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2116
2184
|
return de_CommandError(output, context);
|
|
2117
2185
|
}
|
|
2118
2186
|
const contents = smithyClient.map({
|
|
@@ -2129,7 +2197,7 @@ const de_CreateBrowserCommand = async (output, context) => {
|
|
|
2129
2197
|
return contents;
|
|
2130
2198
|
};
|
|
2131
2199
|
const de_CreateCodeInterpreterCommand = async (output, context) => {
|
|
2132
|
-
if (output.statusCode !==
|
|
2200
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2133
2201
|
return de_CommandError(output, context);
|
|
2134
2202
|
}
|
|
2135
2203
|
const contents = smithyClient.map({
|
|
@@ -2214,7 +2282,7 @@ const de_CreateMemoryCommand = async (output, context) => {
|
|
|
2214
2282
|
return contents;
|
|
2215
2283
|
};
|
|
2216
2284
|
const de_CreateOauth2CredentialProviderCommand = async (output, context) => {
|
|
2217
|
-
if (output.statusCode !==
|
|
2285
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2218
2286
|
return de_CommandError(output, context);
|
|
2219
2287
|
}
|
|
2220
2288
|
const contents = smithyClient.map({
|
|
@@ -2222,15 +2290,17 @@ const de_CreateOauth2CredentialProviderCommand = async (output, context) => {
|
|
|
2222
2290
|
});
|
|
2223
2291
|
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
2224
2292
|
const doc = smithyClient.take(data, {
|
|
2293
|
+
callbackUrl: smithyClient.expectString,
|
|
2225
2294
|
clientSecretArn: smithyClient._json,
|
|
2226
2295
|
credentialProviderArn: smithyClient.expectString,
|
|
2227
2296
|
name: smithyClient.expectString,
|
|
2297
|
+
oauth2ProviderConfigOutput: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
2228
2298
|
});
|
|
2229
2299
|
Object.assign(contents, doc);
|
|
2230
2300
|
return contents;
|
|
2231
2301
|
};
|
|
2232
2302
|
const de_CreateWorkloadIdentityCommand = async (output, context) => {
|
|
2233
|
-
if (output.statusCode !==
|
|
2303
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2234
2304
|
return de_CommandError(output, context);
|
|
2235
2305
|
}
|
|
2236
2306
|
const contents = smithyClient.map({
|
|
@@ -2246,7 +2316,7 @@ const de_CreateWorkloadIdentityCommand = async (output, context) => {
|
|
|
2246
2316
|
return contents;
|
|
2247
2317
|
};
|
|
2248
2318
|
const de_DeleteAgentRuntimeCommand = async (output, context) => {
|
|
2249
|
-
if (output.statusCode !==
|
|
2319
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2250
2320
|
return de_CommandError(output, context);
|
|
2251
2321
|
}
|
|
2252
2322
|
const contents = smithyClient.map({
|
|
@@ -2254,13 +2324,14 @@ const de_DeleteAgentRuntimeCommand = async (output, context) => {
|
|
|
2254
2324
|
});
|
|
2255
2325
|
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
2256
2326
|
const doc = smithyClient.take(data, {
|
|
2327
|
+
agentRuntimeId: smithyClient.expectString,
|
|
2257
2328
|
status: smithyClient.expectString,
|
|
2258
2329
|
});
|
|
2259
2330
|
Object.assign(contents, doc);
|
|
2260
2331
|
return contents;
|
|
2261
2332
|
};
|
|
2262
2333
|
const de_DeleteAgentRuntimeEndpointCommand = async (output, context) => {
|
|
2263
|
-
if (output.statusCode !==
|
|
2334
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2264
2335
|
return de_CommandError(output, context);
|
|
2265
2336
|
}
|
|
2266
2337
|
const contents = smithyClient.map({
|
|
@@ -2268,13 +2339,15 @@ const de_DeleteAgentRuntimeEndpointCommand = async (output, context) => {
|
|
|
2268
2339
|
});
|
|
2269
2340
|
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
2270
2341
|
const doc = smithyClient.take(data, {
|
|
2342
|
+
agentRuntimeId: smithyClient.expectString,
|
|
2343
|
+
endpointName: smithyClient.expectString,
|
|
2271
2344
|
status: smithyClient.expectString,
|
|
2272
2345
|
});
|
|
2273
2346
|
Object.assign(contents, doc);
|
|
2274
2347
|
return contents;
|
|
2275
2348
|
};
|
|
2276
2349
|
const de_DeleteApiKeyCredentialProviderCommand = async (output, context) => {
|
|
2277
|
-
if (output.statusCode !==
|
|
2350
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2278
2351
|
return de_CommandError(output, context);
|
|
2279
2352
|
}
|
|
2280
2353
|
const contents = smithyClient.map({
|
|
@@ -2284,7 +2357,7 @@ const de_DeleteApiKeyCredentialProviderCommand = async (output, context) => {
|
|
|
2284
2357
|
return contents;
|
|
2285
2358
|
};
|
|
2286
2359
|
const de_DeleteBrowserCommand = async (output, context) => {
|
|
2287
|
-
if (output.statusCode !==
|
|
2360
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2288
2361
|
return de_CommandError(output, context);
|
|
2289
2362
|
}
|
|
2290
2363
|
const contents = smithyClient.map({
|
|
@@ -2300,7 +2373,7 @@ const de_DeleteBrowserCommand = async (output, context) => {
|
|
|
2300
2373
|
return contents;
|
|
2301
2374
|
};
|
|
2302
2375
|
const de_DeleteCodeInterpreterCommand = async (output, context) => {
|
|
2303
|
-
if (output.statusCode !==
|
|
2376
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2304
2377
|
return de_CommandError(output, context);
|
|
2305
2378
|
}
|
|
2306
2379
|
const contents = smithyClient.map({
|
|
@@ -2364,7 +2437,7 @@ const de_DeleteMemoryCommand = async (output, context) => {
|
|
|
2364
2437
|
return contents;
|
|
2365
2438
|
};
|
|
2366
2439
|
const de_DeleteOauth2CredentialProviderCommand = async (output, context) => {
|
|
2367
|
-
if (output.statusCode !==
|
|
2440
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2368
2441
|
return de_CommandError(output, context);
|
|
2369
2442
|
}
|
|
2370
2443
|
const contents = smithyClient.map({
|
|
@@ -2374,7 +2447,7 @@ const de_DeleteOauth2CredentialProviderCommand = async (output, context) => {
|
|
|
2374
2447
|
return contents;
|
|
2375
2448
|
};
|
|
2376
2449
|
const de_DeleteWorkloadIdentityCommand = async (output, context) => {
|
|
2377
|
-
if (output.statusCode !==
|
|
2450
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2378
2451
|
return de_CommandError(output, context);
|
|
2379
2452
|
}
|
|
2380
2453
|
const contents = smithyClient.map({
|
|
@@ -2579,6 +2652,7 @@ const de_GetOauth2CredentialProviderCommand = async (output, context) => {
|
|
|
2579
2652
|
});
|
|
2580
2653
|
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
2581
2654
|
const doc = smithyClient.take(data, {
|
|
2655
|
+
callbackUrl: smithyClient.expectString,
|
|
2582
2656
|
clientSecretArn: smithyClient._json,
|
|
2583
2657
|
createdTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2584
2658
|
credentialProviderArn: smithyClient.expectString,
|
|
@@ -2854,7 +2928,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
2854
2928
|
return contents;
|
|
2855
2929
|
};
|
|
2856
2930
|
const de_UpdateAgentRuntimeCommand = async (output, context) => {
|
|
2857
|
-
if (output.statusCode !==
|
|
2931
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2858
2932
|
return de_CommandError(output, context);
|
|
2859
2933
|
}
|
|
2860
2934
|
const contents = smithyClient.map({
|
|
@@ -2874,7 +2948,7 @@ const de_UpdateAgentRuntimeCommand = async (output, context) => {
|
|
|
2874
2948
|
return contents;
|
|
2875
2949
|
};
|
|
2876
2950
|
const de_UpdateAgentRuntimeEndpointCommand = async (output, context) => {
|
|
2877
|
-
if (output.statusCode !==
|
|
2951
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2878
2952
|
return de_CommandError(output, context);
|
|
2879
2953
|
}
|
|
2880
2954
|
const contents = smithyClient.map({
|
|
@@ -2988,6 +3062,7 @@ const de_UpdateOauth2CredentialProviderCommand = async (output, context) => {
|
|
|
2988
3062
|
});
|
|
2989
3063
|
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
2990
3064
|
const doc = smithyClient.take(data, {
|
|
3065
|
+
callbackUrl: smithyClient.expectString,
|
|
2991
3066
|
clientSecretArn: smithyClient._json,
|
|
2992
3067
|
createdTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2993
3068
|
credentialProviderArn: smithyClient.expectString,
|
|
@@ -3674,7 +3749,7 @@ class CreateAgentRuntimeEndpointCommand extends smithyClient.Command
|
|
|
3674
3749
|
})
|
|
3675
3750
|
.s("AmazonBedrockAgentCoreControl", "CreateAgentRuntimeEndpoint", {})
|
|
3676
3751
|
.n("BedrockAgentCoreControlClient", "CreateAgentRuntimeEndpointCommand")
|
|
3677
|
-
.f(CreateAgentRuntimeEndpointRequestFilterSensitiveLog,
|
|
3752
|
+
.f(CreateAgentRuntimeEndpointRequestFilterSensitiveLog, CreateAgentRuntimeEndpointResponseFilterSensitiveLog)
|
|
3678
3753
|
.ser(se_CreateAgentRuntimeEndpointCommand)
|
|
3679
3754
|
.de(de_CreateAgentRuntimeEndpointCommand)
|
|
3680
3755
|
.build() {
|
|
@@ -3844,7 +3919,7 @@ class DeleteAgentRuntimeEndpointCommand extends smithyClient.Command
|
|
|
3844
3919
|
})
|
|
3845
3920
|
.s("AmazonBedrockAgentCoreControl", "DeleteAgentRuntimeEndpoint", {})
|
|
3846
3921
|
.n("BedrockAgentCoreControlClient", "DeleteAgentRuntimeEndpointCommand")
|
|
3847
|
-
.f(DeleteAgentRuntimeEndpointRequestFilterSensitiveLog,
|
|
3922
|
+
.f(DeleteAgentRuntimeEndpointRequestFilterSensitiveLog, DeleteAgentRuntimeEndpointResponseFilterSensitiveLog)
|
|
3848
3923
|
.ser(se_DeleteAgentRuntimeEndpointCommand)
|
|
3849
3924
|
.de(de_DeleteAgentRuntimeEndpointCommand)
|
|
3850
3925
|
.build() {
|
|
@@ -4727,6 +4802,7 @@ exports.AgentRuntimeFilterSensitiveLog = AgentRuntimeFilterSensitiveLog;
|
|
|
4727
4802
|
exports.AgentRuntimeStatus = AgentRuntimeStatus;
|
|
4728
4803
|
exports.ApiKeyCredentialLocation = ApiKeyCredentialLocation;
|
|
4729
4804
|
exports.ApiSchemaConfigurationFilterSensitiveLog = ApiSchemaConfigurationFilterSensitiveLog;
|
|
4805
|
+
exports.AtlassianOauth2ProviderConfigInputFilterSensitiveLog = AtlassianOauth2ProviderConfigInputFilterSensitiveLog;
|
|
4730
4806
|
exports.AuthorizerType = AuthorizerType;
|
|
4731
4807
|
exports.BedrockAgentCoreControl = BedrockAgentCoreControl;
|
|
4732
4808
|
exports.BedrockAgentCoreControlClient = BedrockAgentCoreControlClient;
|
|
@@ -4743,6 +4819,7 @@ exports.ConsolidationConfigurationFilterSensitiveLog = ConsolidationConfiguratio
|
|
|
4743
4819
|
exports.CreateAgentRuntimeCommand = CreateAgentRuntimeCommand;
|
|
4744
4820
|
exports.CreateAgentRuntimeEndpointCommand = CreateAgentRuntimeEndpointCommand;
|
|
4745
4821
|
exports.CreateAgentRuntimeEndpointRequestFilterSensitiveLog = CreateAgentRuntimeEndpointRequestFilterSensitiveLog;
|
|
4822
|
+
exports.CreateAgentRuntimeEndpointResponseFilterSensitiveLog = CreateAgentRuntimeEndpointResponseFilterSensitiveLog;
|
|
4746
4823
|
exports.CreateAgentRuntimeRequestFilterSensitiveLog = CreateAgentRuntimeRequestFilterSensitiveLog;
|
|
4747
4824
|
exports.CreateApiKeyCredentialProviderCommand = CreateApiKeyCredentialProviderCommand;
|
|
4748
4825
|
exports.CreateApiKeyCredentialProviderRequestFilterSensitiveLog = CreateApiKeyCredentialProviderRequestFilterSensitiveLog;
|
|
@@ -4777,6 +4854,7 @@ exports.DecryptionFailure = DecryptionFailure;
|
|
|
4777
4854
|
exports.DeleteAgentRuntimeCommand = DeleteAgentRuntimeCommand;
|
|
4778
4855
|
exports.DeleteAgentRuntimeEndpointCommand = DeleteAgentRuntimeEndpointCommand;
|
|
4779
4856
|
exports.DeleteAgentRuntimeEndpointRequestFilterSensitiveLog = DeleteAgentRuntimeEndpointRequestFilterSensitiveLog;
|
|
4857
|
+
exports.DeleteAgentRuntimeEndpointResponseFilterSensitiveLog = DeleteAgentRuntimeEndpointResponseFilterSensitiveLog;
|
|
4780
4858
|
exports.DeleteApiKeyCredentialProviderCommand = DeleteApiKeyCredentialProviderCommand;
|
|
4781
4859
|
exports.DeleteBrowserCommand = DeleteBrowserCommand;
|
|
4782
4860
|
exports.DeleteCodeInterpreterCommand = DeleteCodeInterpreterCommand;
|
|
@@ -4813,8 +4891,10 @@ exports.GetTokenVaultCommand = GetTokenVaultCommand;
|
|
|
4813
4891
|
exports.GetWorkloadIdentityCommand = GetWorkloadIdentityCommand;
|
|
4814
4892
|
exports.GithubOauth2ProviderConfigInputFilterSensitiveLog = GithubOauth2ProviderConfigInputFilterSensitiveLog;
|
|
4815
4893
|
exports.GoogleOauth2ProviderConfigInputFilterSensitiveLog = GoogleOauth2ProviderConfigInputFilterSensitiveLog;
|
|
4894
|
+
exports.IncludedOauth2ProviderConfigInputFilterSensitiveLog = IncludedOauth2ProviderConfigInputFilterSensitiveLog;
|
|
4816
4895
|
exports.InternalServerException = InternalServerException;
|
|
4817
4896
|
exports.KeyType = KeyType;
|
|
4897
|
+
exports.LinkedinOauth2ProviderConfigInputFilterSensitiveLog = LinkedinOauth2ProviderConfigInputFilterSensitiveLog;
|
|
4818
4898
|
exports.ListAgentRuntimeEndpointsCommand = ListAgentRuntimeEndpointsCommand;
|
|
4819
4899
|
exports.ListAgentRuntimeEndpointsResponseFilterSensitiveLog = ListAgentRuntimeEndpointsResponseFilterSensitiveLog;
|
|
4820
4900
|
exports.ListAgentRuntimeVersionsCommand = ListAgentRuntimeVersionsCommand;
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { CreateAgentRuntimeEndpointRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { CreateAgentRuntimeEndpointRequestFilterSensitiveLog, CreateAgentRuntimeEndpointResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateAgentRuntimeEndpointCommand, se_CreateAgentRuntimeEndpointCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CreateAgentRuntimeEndpointCommand extends $Command
|
|
@@ -16,7 +16,7 @@ export class CreateAgentRuntimeEndpointCommand extends $Command
|
|
|
16
16
|
})
|
|
17
17
|
.s("AmazonBedrockAgentCoreControl", "CreateAgentRuntimeEndpoint", {})
|
|
18
18
|
.n("BedrockAgentCoreControlClient", "CreateAgentRuntimeEndpointCommand")
|
|
19
|
-
.f(CreateAgentRuntimeEndpointRequestFilterSensitiveLog,
|
|
19
|
+
.f(CreateAgentRuntimeEndpointRequestFilterSensitiveLog, CreateAgentRuntimeEndpointResponseFilterSensitiveLog)
|
|
20
20
|
.ser(se_CreateAgentRuntimeEndpointCommand)
|
|
21
21
|
.de(de_CreateAgentRuntimeEndpointCommand)
|
|
22
22
|
.build() {
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { DeleteAgentRuntimeEndpointRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { DeleteAgentRuntimeEndpointRequestFilterSensitiveLog, DeleteAgentRuntimeEndpointResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_DeleteAgentRuntimeEndpointCommand, se_DeleteAgentRuntimeEndpointCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class DeleteAgentRuntimeEndpointCommand extends $Command
|
|
@@ -16,7 +16,7 @@ export class DeleteAgentRuntimeEndpointCommand extends $Command
|
|
|
16
16
|
})
|
|
17
17
|
.s("AmazonBedrockAgentCoreControl", "DeleteAgentRuntimeEndpoint", {})
|
|
18
18
|
.n("BedrockAgentCoreControlClient", "DeleteAgentRuntimeEndpointCommand")
|
|
19
|
-
.f(DeleteAgentRuntimeEndpointRequestFilterSensitiveLog,
|
|
19
|
+
.f(DeleteAgentRuntimeEndpointRequestFilterSensitiveLog, DeleteAgentRuntimeEndpointResponseFilterSensitiveLog)
|
|
20
20
|
.ser(se_DeleteAgentRuntimeEndpointCommand)
|
|
21
21
|
.de(de_DeleteAgentRuntimeEndpointCommand)
|
|
22
22
|
.build() {
|
|
@@ -480,12 +480,31 @@ export var ModifyExtractionConfiguration;
|
|
|
480
480
|
};
|
|
481
481
|
})(ModifyExtractionConfiguration || (ModifyExtractionConfiguration = {}));
|
|
482
482
|
export const CredentialProviderVendorType = {
|
|
483
|
+
AtlassianOauth2: "AtlassianOauth2",
|
|
484
|
+
Auth0Oauth2: "Auth0Oauth2",
|
|
485
|
+
CognitoOauth2: "CognitoOauth2",
|
|
483
486
|
CustomOauth2: "CustomOauth2",
|
|
487
|
+
CyberArkOauth2: "CyberArkOauth2",
|
|
488
|
+
DropboxOauth2: "DropboxOauth2",
|
|
489
|
+
FacebookOauth2: "FacebookOauth2",
|
|
490
|
+
FusionAuthOauth2: "FusionAuthOauth2",
|
|
484
491
|
GithubOauth2: "GithubOauth2",
|
|
485
492
|
GoogleOauth2: "GoogleOauth2",
|
|
493
|
+
HubspotOauth2: "HubspotOauth2",
|
|
494
|
+
LinkedinOauth2: "LinkedinOauth2",
|
|
486
495
|
MicrosoftOauth2: "MicrosoftOauth2",
|
|
496
|
+
NotionOauth2: "NotionOauth2",
|
|
497
|
+
OktaOauth2: "OktaOauth2",
|
|
498
|
+
OneLoginOauth2: "OneLoginOauth2",
|
|
499
|
+
PingOneOauth2: "PingOneOauth2",
|
|
500
|
+
RedditOauth2: "RedditOauth2",
|
|
487
501
|
SalesforceOauth2: "SalesforceOauth2",
|
|
488
502
|
SlackOauth2: "SlackOauth2",
|
|
503
|
+
SpotifyOauth2: "SpotifyOauth2",
|
|
504
|
+
TwitchOauth2: "TwitchOauth2",
|
|
505
|
+
XOauth2: "XOauth2",
|
|
506
|
+
YandexOauth2: "YandexOauth2",
|
|
507
|
+
ZoomOauth2: "ZoomOauth2",
|
|
489
508
|
};
|
|
490
509
|
export var Oauth2Discovery;
|
|
491
510
|
(function (Oauth2Discovery) {
|
|
@@ -512,6 +531,12 @@ export var Oauth2ProviderConfigInput;
|
|
|
512
531
|
return visitor.salesforceOauth2ProviderConfig(value.salesforceOauth2ProviderConfig);
|
|
513
532
|
if (value.microsoftOauth2ProviderConfig !== undefined)
|
|
514
533
|
return visitor.microsoftOauth2ProviderConfig(value.microsoftOauth2ProviderConfig);
|
|
534
|
+
if (value.atlassianOauth2ProviderConfig !== undefined)
|
|
535
|
+
return visitor.atlassianOauth2ProviderConfig(value.atlassianOauth2ProviderConfig);
|
|
536
|
+
if (value.linkedinOauth2ProviderConfig !== undefined)
|
|
537
|
+
return visitor.linkedinOauth2ProviderConfig(value.linkedinOauth2ProviderConfig);
|
|
538
|
+
if (value.includedOauth2ProviderConfig !== undefined)
|
|
539
|
+
return visitor.includedOauth2ProviderConfig(value.includedOauth2ProviderConfig);
|
|
515
540
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
516
541
|
};
|
|
517
542
|
})(Oauth2ProviderConfigInput || (Oauth2ProviderConfigInput = {}));
|
|
@@ -530,6 +555,12 @@ export var Oauth2ProviderConfigOutput;
|
|
|
530
555
|
return visitor.salesforceOauth2ProviderConfig(value.salesforceOauth2ProviderConfig);
|
|
531
556
|
if (value.microsoftOauth2ProviderConfig !== undefined)
|
|
532
557
|
return visitor.microsoftOauth2ProviderConfig(value.microsoftOauth2ProviderConfig);
|
|
558
|
+
if (value.atlassianOauth2ProviderConfig !== undefined)
|
|
559
|
+
return visitor.atlassianOauth2ProviderConfig(value.atlassianOauth2ProviderConfig);
|
|
560
|
+
if (value.linkedinOauth2ProviderConfig !== undefined)
|
|
561
|
+
return visitor.linkedinOauth2ProviderConfig(value.linkedinOauth2ProviderConfig);
|
|
562
|
+
if (value.includedOauth2ProviderConfig !== undefined)
|
|
563
|
+
return visitor.includedOauth2ProviderConfig(value.includedOauth2ProviderConfig);
|
|
533
564
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
534
565
|
};
|
|
535
566
|
})(Oauth2ProviderConfigOutput || (Oauth2ProviderConfigOutput = {}));
|
|
@@ -581,10 +612,18 @@ export const CreateAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
|
581
612
|
...obj,
|
|
582
613
|
...(obj.name && { name: SENSITIVE_STRING }),
|
|
583
614
|
});
|
|
615
|
+
export const CreateAgentRuntimeEndpointResponseFilterSensitiveLog = (obj) => ({
|
|
616
|
+
...obj,
|
|
617
|
+
...(obj.endpointName && { endpointName: SENSITIVE_STRING }),
|
|
618
|
+
});
|
|
584
619
|
export const DeleteAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
585
620
|
...obj,
|
|
586
621
|
...(obj.endpointName && { endpointName: SENSITIVE_STRING }),
|
|
587
622
|
});
|
|
623
|
+
export const DeleteAgentRuntimeEndpointResponseFilterSensitiveLog = (obj) => ({
|
|
624
|
+
...obj,
|
|
625
|
+
...(obj.endpointName && { endpointName: SENSITIVE_STRING }),
|
|
626
|
+
});
|
|
588
627
|
export const GetAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
589
628
|
...obj,
|
|
590
629
|
...(obj.endpointName && { endpointName: SENSITIVE_STRING }),
|
|
@@ -1017,6 +1056,10 @@ export const UpdateMemoryOutputFilterSensitiveLog = (obj) => ({
|
|
|
1017
1056
|
...obj,
|
|
1018
1057
|
...(obj.memory && { memory: MemoryFilterSensitiveLog(obj.memory) }),
|
|
1019
1058
|
});
|
|
1059
|
+
export const AtlassianOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1060
|
+
...obj,
|
|
1061
|
+
...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
|
|
1062
|
+
});
|
|
1020
1063
|
export const CustomOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1021
1064
|
...obj,
|
|
1022
1065
|
...(obj.oauthDiscovery && { oauthDiscovery: obj.oauthDiscovery }),
|
|
@@ -1030,6 +1073,14 @@ export const GoogleOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
|
1030
1073
|
...obj,
|
|
1031
1074
|
...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
|
|
1032
1075
|
});
|
|
1076
|
+
export const IncludedOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1077
|
+
...obj,
|
|
1078
|
+
...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
|
|
1079
|
+
});
|
|
1080
|
+
export const LinkedinOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1081
|
+
...obj,
|
|
1082
|
+
...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
|
|
1083
|
+
});
|
|
1033
1084
|
export const MicrosoftOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1034
1085
|
...obj,
|
|
1035
1086
|
...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
|
|
@@ -1067,6 +1118,18 @@ export const Oauth2ProviderConfigInputFilterSensitiveLog = (obj) => {
|
|
|
1067
1118
|
return {
|
|
1068
1119
|
microsoftOauth2ProviderConfig: MicrosoftOauth2ProviderConfigInputFilterSensitiveLog(obj.microsoftOauth2ProviderConfig),
|
|
1069
1120
|
};
|
|
1121
|
+
if (obj.atlassianOauth2ProviderConfig !== undefined)
|
|
1122
|
+
return {
|
|
1123
|
+
atlassianOauth2ProviderConfig: AtlassianOauth2ProviderConfigInputFilterSensitiveLog(obj.atlassianOauth2ProviderConfig),
|
|
1124
|
+
};
|
|
1125
|
+
if (obj.linkedinOauth2ProviderConfig !== undefined)
|
|
1126
|
+
return {
|
|
1127
|
+
linkedinOauth2ProviderConfig: LinkedinOauth2ProviderConfigInputFilterSensitiveLog(obj.linkedinOauth2ProviderConfig),
|
|
1128
|
+
};
|
|
1129
|
+
if (obj.includedOauth2ProviderConfig !== undefined)
|
|
1130
|
+
return {
|
|
1131
|
+
includedOauth2ProviderConfig: IncludedOauth2ProviderConfigInputFilterSensitiveLog(obj.includedOauth2ProviderConfig),
|
|
1132
|
+
};
|
|
1070
1133
|
if (obj.$unknown !== undefined)
|
|
1071
1134
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1072
1135
|
};
|