@aws-sdk/client-bedrock-agentcore-control 3.907.0 → 3.909.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/README.md +8 -0
- package/dist-cjs/index.js +234 -21
- package/dist-es/BedrockAgentCoreControl.js +2 -0
- package/dist-es/commands/CreateAgentRuntimeEndpointCommand.js +2 -2
- package/dist-es/commands/DeleteAgentRuntimeEndpointCommand.js +2 -2
- package/dist-es/commands/SynchronizeGatewayTargetsCommand.js +23 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +115 -0
- package/dist-es/protocols/Aws_restJson1.js +91 -19
- package/dist-types/BedrockAgentCoreControl.d.ts +7 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +3 -2
- package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +2 -0
- package/dist-types/commands/CreateApiKeyCredentialProviderCommand.d.ts +3 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +9 -2
- package/dist-types/commands/CreateMemoryCommand.d.ts +41 -1
- 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/DeleteGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +5 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +21 -1
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +35 -1
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/commands/ListOauth2CredentialProvidersCommand.d.ts +1 -1
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +192 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +9 -2
- package/dist-types/commands/UpdateMemoryCommand.d.ts +61 -1
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +55 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +899 -51
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +418 -13
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +14 -14
|
@@ -44,6 +44,7 @@ import { ListOauth2CredentialProvidersCommand, } from "./commands/ListOauth2Cred
|
|
|
44
44
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
45
45
|
import { ListWorkloadIdentitiesCommand, } from "./commands/ListWorkloadIdentitiesCommand";
|
|
46
46
|
import { SetTokenVaultCMKCommand, } from "./commands/SetTokenVaultCMKCommand";
|
|
47
|
+
import { SynchronizeGatewayTargetsCommand, } from "./commands/SynchronizeGatewayTargetsCommand";
|
|
47
48
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
48
49
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
49
50
|
import { UpdateAgentRuntimeCommand, } from "./commands/UpdateAgentRuntimeCommand";
|
|
@@ -99,6 +100,7 @@ const commands = {
|
|
|
99
100
|
ListTagsForResourceCommand,
|
|
100
101
|
ListWorkloadIdentitiesCommand,
|
|
101
102
|
SetTokenVaultCMKCommand,
|
|
103
|
+
SynchronizeGatewayTargetsCommand,
|
|
102
104
|
TagResourceCommand,
|
|
103
105
|
UntagResourceCommand,
|
|
104
106
|
UpdateAgentRuntimeCommand,
|
|
@@ -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() {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { SynchronizeGatewayTargetsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_SynchronizeGatewayTargetsCommand, se_SynchronizeGatewayTargetsCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class SynchronizeGatewayTargetsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockAgentCoreControl", "SynchronizeGatewayTargets", {})
|
|
18
|
+
.n("BedrockAgentCoreControlClient", "SynchronizeGatewayTargetsCommand")
|
|
19
|
+
.f(void 0, SynchronizeGatewayTargetsResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_SynchronizeGatewayTargetsCommand)
|
|
21
|
+
.de(de_SynchronizeGatewayTargetsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -42,6 +42,7 @@ export * from "./ListOauth2CredentialProvidersCommand";
|
|
|
42
42
|
export * from "./ListTagsForResourceCommand";
|
|
43
43
|
export * from "./ListWorkloadIdentitiesCommand";
|
|
44
44
|
export * from "./SetTokenVaultCMKCommand";
|
|
45
|
+
export * from "./SynchronizeGatewayTargetsCommand";
|
|
45
46
|
export * from "./TagResourceCommand";
|
|
46
47
|
export * from "./UntagResourceCommand";
|
|
47
48
|
export * from "./UpdateAgentRuntimeCommand";
|
|
@@ -292,6 +292,8 @@ export const TargetStatus = {
|
|
|
292
292
|
DELETING: "DELETING",
|
|
293
293
|
FAILED: "FAILED",
|
|
294
294
|
READY: "READY",
|
|
295
|
+
SYNCHRONIZE_UNSUCCESSFUL: "SYNCHRONIZE_UNSUCCESSFUL",
|
|
296
|
+
SYNCHRONIZING: "SYNCHRONIZING",
|
|
295
297
|
UPDATE_UNSUCCESSFUL: "UPDATE_UNSUCCESSFUL",
|
|
296
298
|
UPDATING: "UPDATING",
|
|
297
299
|
};
|
|
@@ -299,6 +301,18 @@ export const KeyType = {
|
|
|
299
301
|
CustomerManagedKey: "CustomerManagedKey",
|
|
300
302
|
ServiceManagedKey: "ServiceManagedKey",
|
|
301
303
|
};
|
|
304
|
+
export var TriggerConditionInput;
|
|
305
|
+
(function (TriggerConditionInput) {
|
|
306
|
+
TriggerConditionInput.visit = (value, visitor) => {
|
|
307
|
+
if (value.messageBasedTrigger !== undefined)
|
|
308
|
+
return visitor.messageBasedTrigger(value.messageBasedTrigger);
|
|
309
|
+
if (value.tokenBasedTrigger !== undefined)
|
|
310
|
+
return visitor.tokenBasedTrigger(value.tokenBasedTrigger);
|
|
311
|
+
if (value.timeBasedTrigger !== undefined)
|
|
312
|
+
return visitor.timeBasedTrigger(value.timeBasedTrigger);
|
|
313
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
314
|
+
};
|
|
315
|
+
})(TriggerConditionInput || (TriggerConditionInput = {}));
|
|
302
316
|
export var CustomConfigurationInput;
|
|
303
317
|
(function (CustomConfigurationInput) {
|
|
304
318
|
CustomConfigurationInput.visit = (value, visitor) => {
|
|
@@ -308,6 +322,8 @@ export var CustomConfigurationInput;
|
|
|
308
322
|
return visitor.summaryOverride(value.summaryOverride);
|
|
309
323
|
if (value.userPreferenceOverride !== undefined)
|
|
310
324
|
return visitor.userPreferenceOverride(value.userPreferenceOverride);
|
|
325
|
+
if (value.selfManagedConfiguration !== undefined)
|
|
326
|
+
return visitor.selfManagedConfiguration(value.selfManagedConfiguration);
|
|
311
327
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
312
328
|
};
|
|
313
329
|
})(CustomConfigurationInput || (CustomConfigurationInput = {}));
|
|
@@ -369,7 +385,20 @@ export var ExtractionConfiguration;
|
|
|
369
385
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
370
386
|
};
|
|
371
387
|
})(ExtractionConfiguration || (ExtractionConfiguration = {}));
|
|
388
|
+
export var TriggerCondition;
|
|
389
|
+
(function (TriggerCondition) {
|
|
390
|
+
TriggerCondition.visit = (value, visitor) => {
|
|
391
|
+
if (value.messageBasedTrigger !== undefined)
|
|
392
|
+
return visitor.messageBasedTrigger(value.messageBasedTrigger);
|
|
393
|
+
if (value.tokenBasedTrigger !== undefined)
|
|
394
|
+
return visitor.tokenBasedTrigger(value.tokenBasedTrigger);
|
|
395
|
+
if (value.timeBasedTrigger !== undefined)
|
|
396
|
+
return visitor.timeBasedTrigger(value.timeBasedTrigger);
|
|
397
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
398
|
+
};
|
|
399
|
+
})(TriggerCondition || (TriggerCondition = {}));
|
|
372
400
|
export const OverrideType = {
|
|
401
|
+
SELF_MANAGED: "SELF_MANAGED",
|
|
373
402
|
SEMANTIC_OVERRIDE: "SEMANTIC_OVERRIDE",
|
|
374
403
|
SUMMARY_OVERRIDE: "SUMMARY_OVERRIDE",
|
|
375
404
|
USER_PREFERENCE_OVERRIDE: "USER_PREFERENCE_OVERRIDE",
|
|
@@ -451,12 +480,31 @@ export var ModifyExtractionConfiguration;
|
|
|
451
480
|
};
|
|
452
481
|
})(ModifyExtractionConfiguration || (ModifyExtractionConfiguration = {}));
|
|
453
482
|
export const CredentialProviderVendorType = {
|
|
483
|
+
AtlassianOauth2: "AtlassianOauth2",
|
|
484
|
+
Auth0Oauth2: "Auth0Oauth2",
|
|
485
|
+
CognitoOauth2: "CognitoOauth2",
|
|
454
486
|
CustomOauth2: "CustomOauth2",
|
|
487
|
+
CyberArkOauth2: "CyberArkOauth2",
|
|
488
|
+
DropboxOauth2: "DropboxOauth2",
|
|
489
|
+
FacebookOauth2: "FacebookOauth2",
|
|
490
|
+
FusionAuthOauth2: "FusionAuthOauth2",
|
|
455
491
|
GithubOauth2: "GithubOauth2",
|
|
456
492
|
GoogleOauth2: "GoogleOauth2",
|
|
493
|
+
HubspotOauth2: "HubspotOauth2",
|
|
494
|
+
LinkedinOauth2: "LinkedinOauth2",
|
|
457
495
|
MicrosoftOauth2: "MicrosoftOauth2",
|
|
496
|
+
NotionOauth2: "NotionOauth2",
|
|
497
|
+
OktaOauth2: "OktaOauth2",
|
|
498
|
+
OneLoginOauth2: "OneLoginOauth2",
|
|
499
|
+
PingOneOauth2: "PingOneOauth2",
|
|
500
|
+
RedditOauth2: "RedditOauth2",
|
|
458
501
|
SalesforceOauth2: "SalesforceOauth2",
|
|
459
502
|
SlackOauth2: "SlackOauth2",
|
|
503
|
+
SpotifyOauth2: "SpotifyOauth2",
|
|
504
|
+
TwitchOauth2: "TwitchOauth2",
|
|
505
|
+
XOauth2: "XOauth2",
|
|
506
|
+
YandexOauth2: "YandexOauth2",
|
|
507
|
+
ZoomOauth2: "ZoomOauth2",
|
|
460
508
|
};
|
|
461
509
|
export var Oauth2Discovery;
|
|
462
510
|
(function (Oauth2Discovery) {
|
|
@@ -483,6 +531,12 @@ export var Oauth2ProviderConfigInput;
|
|
|
483
531
|
return visitor.salesforceOauth2ProviderConfig(value.salesforceOauth2ProviderConfig);
|
|
484
532
|
if (value.microsoftOauth2ProviderConfig !== undefined)
|
|
485
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);
|
|
486
540
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
487
541
|
};
|
|
488
542
|
})(Oauth2ProviderConfigInput || (Oauth2ProviderConfigInput = {}));
|
|
@@ -501,6 +555,12 @@ export var Oauth2ProviderConfigOutput;
|
|
|
501
555
|
return visitor.salesforceOauth2ProviderConfig(value.salesforceOauth2ProviderConfig);
|
|
502
556
|
if (value.microsoftOauth2ProviderConfig !== undefined)
|
|
503
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);
|
|
504
564
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
505
565
|
};
|
|
506
566
|
})(Oauth2ProviderConfigOutput || (Oauth2ProviderConfigOutput = {}));
|
|
@@ -535,6 +595,8 @@ export var McpTargetConfiguration;
|
|
|
535
595
|
return visitor.smithyModel(value.smithyModel);
|
|
536
596
|
if (value.lambda !== undefined)
|
|
537
597
|
return visitor.lambda(value.lambda);
|
|
598
|
+
if (value.mcpServer !== undefined)
|
|
599
|
+
return visitor.mcpServer(value.mcpServer);
|
|
538
600
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
539
601
|
};
|
|
540
602
|
})(McpTargetConfiguration || (McpTargetConfiguration = {}));
|
|
@@ -550,10 +612,18 @@ export const CreateAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
|
550
612
|
...obj,
|
|
551
613
|
...(obj.name && { name: SENSITIVE_STRING }),
|
|
552
614
|
});
|
|
615
|
+
export const CreateAgentRuntimeEndpointResponseFilterSensitiveLog = (obj) => ({
|
|
616
|
+
...obj,
|
|
617
|
+
...(obj.endpointName && { endpointName: SENSITIVE_STRING }),
|
|
618
|
+
});
|
|
553
619
|
export const DeleteAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
554
620
|
...obj,
|
|
555
621
|
...(obj.endpointName && { endpointName: SENSITIVE_STRING }),
|
|
556
622
|
});
|
|
623
|
+
export const DeleteAgentRuntimeEndpointResponseFilterSensitiveLog = (obj) => ({
|
|
624
|
+
...obj,
|
|
625
|
+
...(obj.endpointName && { endpointName: SENSITIVE_STRING }),
|
|
626
|
+
});
|
|
557
627
|
export const GetAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
558
628
|
...obj,
|
|
559
629
|
...(obj.endpointName && { endpointName: SENSITIVE_STRING }),
|
|
@@ -784,6 +854,8 @@ export const CustomConfigurationInputFilterSensitiveLog = (obj) => {
|
|
|
784
854
|
return {
|
|
785
855
|
userPreferenceOverride: UserPreferenceOverrideConfigurationInputFilterSensitiveLog(obj.userPreferenceOverride),
|
|
786
856
|
};
|
|
857
|
+
if (obj.selfManagedConfiguration !== undefined)
|
|
858
|
+
return { selfManagedConfiguration: obj.selfManagedConfiguration };
|
|
787
859
|
if (obj.$unknown !== undefined)
|
|
788
860
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
789
861
|
};
|
|
@@ -891,6 +963,7 @@ export const StrategyConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
891
963
|
...obj,
|
|
892
964
|
...(obj.extraction && { extraction: ExtractionConfigurationFilterSensitiveLog(obj.extraction) }),
|
|
893
965
|
...(obj.consolidation && { consolidation: ConsolidationConfigurationFilterSensitiveLog(obj.consolidation) }),
|
|
966
|
+
...(obj.selfManagedConfiguration && { selfManagedConfiguration: obj.selfManagedConfiguration }),
|
|
894
967
|
});
|
|
895
968
|
export const MemoryStrategyFilterSensitiveLog = (obj) => ({
|
|
896
969
|
...obj,
|
|
@@ -958,6 +1031,7 @@ export const ModifyStrategyConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
958
1031
|
...obj,
|
|
959
1032
|
...(obj.extraction && { extraction: ModifyExtractionConfigurationFilterSensitiveLog(obj.extraction) }),
|
|
960
1033
|
...(obj.consolidation && { consolidation: ModifyConsolidationConfigurationFilterSensitiveLog(obj.consolidation) }),
|
|
1034
|
+
...(obj.selfManagedConfiguration && { selfManagedConfiguration: obj.selfManagedConfiguration }),
|
|
961
1035
|
});
|
|
962
1036
|
export const ModifyMemoryStrategyInputFilterSensitiveLog = (obj) => ({
|
|
963
1037
|
...obj,
|
|
@@ -982,6 +1056,10 @@ export const UpdateMemoryOutputFilterSensitiveLog = (obj) => ({
|
|
|
982
1056
|
...obj,
|
|
983
1057
|
...(obj.memory && { memory: MemoryFilterSensitiveLog(obj.memory) }),
|
|
984
1058
|
});
|
|
1059
|
+
export const AtlassianOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1060
|
+
...obj,
|
|
1061
|
+
...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
|
|
1062
|
+
});
|
|
985
1063
|
export const CustomOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
986
1064
|
...obj,
|
|
987
1065
|
...(obj.oauthDiscovery && { oauthDiscovery: obj.oauthDiscovery }),
|
|
@@ -995,6 +1073,14 @@ export const GoogleOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
|
995
1073
|
...obj,
|
|
996
1074
|
...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
|
|
997
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
|
+
});
|
|
998
1084
|
export const MicrosoftOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
999
1085
|
...obj,
|
|
1000
1086
|
...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
|
|
@@ -1032,6 +1118,18 @@ export const Oauth2ProviderConfigInputFilterSensitiveLog = (obj) => {
|
|
|
1032
1118
|
return {
|
|
1033
1119
|
microsoftOauth2ProviderConfig: MicrosoftOauth2ProviderConfigInputFilterSensitiveLog(obj.microsoftOauth2ProviderConfig),
|
|
1034
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
|
+
};
|
|
1035
1133
|
if (obj.$unknown !== undefined)
|
|
1036
1134
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1037
1135
|
};
|
|
@@ -1054,6 +1152,8 @@ export const McpTargetConfigurationFilterSensitiveLog = (obj) => {
|
|
|
1054
1152
|
return { smithyModel: ApiSchemaConfigurationFilterSensitiveLog(obj.smithyModel) };
|
|
1055
1153
|
if (obj.lambda !== undefined)
|
|
1056
1154
|
return { lambda: obj.lambda };
|
|
1155
|
+
if (obj.mcpServer !== undefined)
|
|
1156
|
+
return { mcpServer: obj.mcpServer };
|
|
1057
1157
|
if (obj.$unknown !== undefined)
|
|
1058
1158
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1059
1159
|
};
|
|
@@ -1085,6 +1185,17 @@ export const CreateGatewayTargetResponseFilterSensitiveLog = (obj) => ({
|
|
|
1085
1185
|
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => CredentialProviderConfigurationFilterSensitiveLog(item)),
|
|
1086
1186
|
}),
|
|
1087
1187
|
});
|
|
1188
|
+
export const GatewayTargetFilterSensitiveLog = (obj) => ({
|
|
1189
|
+
...obj,
|
|
1190
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
1191
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
1192
|
+
...(obj.targetConfiguration && {
|
|
1193
|
+
targetConfiguration: TargetConfigurationFilterSensitiveLog(obj.targetConfiguration),
|
|
1194
|
+
}),
|
|
1195
|
+
...(obj.credentialProviderConfigurations && {
|
|
1196
|
+
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => CredentialProviderConfigurationFilterSensitiveLog(item)),
|
|
1197
|
+
}),
|
|
1198
|
+
});
|
|
1088
1199
|
export const GetGatewayTargetResponseFilterSensitiveLog = (obj) => ({
|
|
1089
1200
|
...obj,
|
|
1090
1201
|
...(obj.name && { name: SENSITIVE_STRING }),
|
|
@@ -1118,3 +1229,7 @@ export const UpdateGatewayTargetResponseFilterSensitiveLog = (obj) => ({
|
|
|
1118
1229
|
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => CredentialProviderConfigurationFilterSensitiveLog(item)),
|
|
1119
1230
|
}),
|
|
1120
1231
|
});
|
|
1232
|
+
export const SynchronizeGatewayTargetsResponseFilterSensitiveLog = (obj) => ({
|
|
1233
|
+
...obj,
|
|
1234
|
+
...(obj.targets && { targets: obj.targets.map((item) => GatewayTargetFilterSensitiveLog(item)) }),
|
|
1235
|
+
});
|