@aws-sdk/client-drs 3.928.0 → 3.929.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 +2066 -2337
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/DrsClient.js +2 -0
- package/dist-es/commands/AssociateSourceNetworkStackCommand.js +3 -10
- package/dist-es/commands/CreateExtendedSourceServerCommand.js +3 -10
- package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +3 -10
- package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +3 -10
- package/dist-es/commands/CreateSourceNetworkCommand.js +3 -10
- package/dist-es/commands/DeleteJobCommand.js +3 -9
- package/dist-es/commands/DeleteLaunchActionCommand.js +3 -9
- package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteRecoveryInstanceCommand.js +3 -9
- package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteSourceNetworkCommand.js +3 -9
- package/dist-es/commands/DeleteSourceServerCommand.js +3 -9
- package/dist-es/commands/DescribeJobLogItemsCommand.js +3 -9
- package/dist-es/commands/DescribeJobsCommand.js +3 -10
- package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +3 -10
- package/dist-es/commands/DescribeRecoveryInstancesCommand.js +3 -10
- package/dist-es/commands/DescribeRecoverySnapshotsCommand.js +3 -9
- package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +3 -10
- package/dist-es/commands/DescribeSourceNetworksCommand.js +3 -10
- package/dist-es/commands/DescribeSourceServersCommand.js +3 -10
- package/dist-es/commands/DisconnectRecoveryInstanceCommand.js +3 -9
- package/dist-es/commands/DisconnectSourceServerCommand.js +3 -10
- package/dist-es/commands/ExportSourceNetworkCfnTemplateCommand.js +3 -9
- package/dist-es/commands/GetFailbackReplicationConfigurationCommand.js +3 -9
- package/dist-es/commands/GetLaunchConfigurationCommand.js +3 -9
- package/dist-es/commands/GetReplicationConfigurationCommand.js +3 -10
- package/dist-es/commands/InitializeServiceCommand.js +3 -9
- package/dist-es/commands/ListExtensibleSourceServersCommand.js +3 -10
- package/dist-es/commands/ListLaunchActionsCommand.js +3 -9
- package/dist-es/commands/ListStagingAccountsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/PutLaunchActionCommand.js +3 -9
- package/dist-es/commands/RetryDataReplicationCommand.js +3 -10
- package/dist-es/commands/ReverseReplicationCommand.js +3 -9
- package/dist-es/commands/StartFailbackLaunchCommand.js +3 -10
- package/dist-es/commands/StartRecoveryCommand.js +3 -10
- package/dist-es/commands/StartReplicationCommand.js +3 -10
- package/dist-es/commands/StartSourceNetworkRecoveryCommand.js +3 -10
- package/dist-es/commands/StartSourceNetworkReplicationCommand.js +3 -10
- package/dist-es/commands/StopFailbackCommand.js +3 -9
- package/dist-es/commands/StopReplicationCommand.js +3 -10
- package/dist-es/commands/StopSourceNetworkReplicationCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/TerminateRecoveryInstancesCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -10
- package/dist-es/commands/UpdateFailbackReplicationConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateLaunchConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +3 -10
- package/dist-es/commands/UpdateReplicationConfigurationCommand.js +3 -10
- package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -177
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1961 -0
- package/dist-types/DrsClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -164
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +260 -0
- package/dist-types/ts3.4/DrsClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -119
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +267 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -1751
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -452
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -605
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateFailbackReplicationConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateFailbackReplicationConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ElasticDisasterRecoveryService", "UpdateFailbackReplicationConfiguration", {})
|
|
17
13
|
.n("DrsClient", "UpdateFailbackReplicationConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateFailbackReplicationConfigurationCommand)
|
|
20
|
-
.de(de_UpdateFailbackReplicationConfigurationCommand)
|
|
14
|
+
.sc(UpdateFailbackReplicationConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateLaunchConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateLaunchConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ElasticDisasterRecoveryService", "UpdateLaunchConfiguration", {})
|
|
17
13
|
.n("DrsClient", "UpdateLaunchConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateLaunchConfigurationCommand)
|
|
20
|
-
.de(de_UpdateLaunchConfigurationCommand)
|
|
14
|
+
.sc(UpdateLaunchConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateLaunchConfigurationTemplateCommand, se_UpdateLaunchConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateLaunchConfigurationTemplate } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateLaunchConfigurationTemplateCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("ElasticDisasterRecoveryService", "UpdateLaunchConfigurationTemplate", {})
|
|
18
13
|
.n("DrsClient", "UpdateLaunchConfigurationTemplateCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateLaunchConfigurationTemplateCommand)
|
|
21
|
-
.de(de_UpdateLaunchConfigurationTemplateCommand)
|
|
14
|
+
.sc(UpdateLaunchConfigurationTemplate)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateReplicationConfigurationCommand, se_UpdateReplicationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateReplicationConfiguration } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateReplicationConfigurationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("ElasticDisasterRecoveryService", "UpdateReplicationConfiguration", {})
|
|
18
13
|
.n("DrsClient", "UpdateReplicationConfigurationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateReplicationConfigurationCommand)
|
|
21
|
-
.de(de_UpdateReplicationConfigurationCommand)
|
|
14
|
+
.sc(UpdateReplicationConfiguration)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateReplicationConfigurationTemplateCommand, se_UpdateReplicationConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateReplicationConfigurationTemplate } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateReplicationConfigurationTemplateCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("ElasticDisasterRecoveryService", "UpdateReplicationConfigurationTemplate", {})
|
|
18
13
|
.n("DrsClient", "UpdateReplicationConfigurationTemplateCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateReplicationConfigurationTemplateCommand)
|
|
21
|
-
.de(de_UpdateReplicationConfigurationTemplateCommand)
|
|
14
|
+
.sc(UpdateReplicationConfigurationTemplate)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { DrsServiceException as __BaseException } from "./DrsServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -460,179 +459,3 @@ export const ReplicationConfigurationReplicatedDiskStagingDiskType = {
|
|
|
460
459
|
ST1: "ST1",
|
|
461
460
|
STANDARD: "STANDARD",
|
|
462
461
|
};
|
|
463
|
-
export const AssociateSourceNetworkStackRequestFilterSensitiveLog = (obj) => ({
|
|
464
|
-
...obj,
|
|
465
|
-
...(obj.cfnStackName && { cfnStackName: SENSITIVE_STRING }),
|
|
466
|
-
});
|
|
467
|
-
export const JobFilterSensitiveLog = (obj) => ({
|
|
468
|
-
...obj,
|
|
469
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
470
|
-
...(obj.participatingResources && { participatingResources: obj.participatingResources.map((item) => item) }),
|
|
471
|
-
});
|
|
472
|
-
export const AssociateSourceNetworkStackResponseFilterSensitiveLog = (obj) => ({
|
|
473
|
-
...obj,
|
|
474
|
-
...(obj.job && { job: JobFilterSensitiveLog(obj.job) }),
|
|
475
|
-
});
|
|
476
|
-
export const CreateExtendedSourceServerRequestFilterSensitiveLog = (obj) => ({
|
|
477
|
-
...obj,
|
|
478
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
479
|
-
});
|
|
480
|
-
export const SourceServerFilterSensitiveLog = (obj) => ({
|
|
481
|
-
...obj,
|
|
482
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
483
|
-
});
|
|
484
|
-
export const CreateExtendedSourceServerResponseFilterSensitiveLog = (obj) => ({
|
|
485
|
-
...obj,
|
|
486
|
-
...(obj.sourceServer && { sourceServer: SourceServerFilterSensitiveLog(obj.sourceServer) }),
|
|
487
|
-
});
|
|
488
|
-
export const CreateLaunchConfigurationTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
489
|
-
...obj,
|
|
490
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
491
|
-
});
|
|
492
|
-
export const LaunchConfigurationTemplateFilterSensitiveLog = (obj) => ({
|
|
493
|
-
...obj,
|
|
494
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
495
|
-
});
|
|
496
|
-
export const CreateLaunchConfigurationTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
497
|
-
...obj,
|
|
498
|
-
...(obj.launchConfigurationTemplate && {
|
|
499
|
-
launchConfigurationTemplate: LaunchConfigurationTemplateFilterSensitiveLog(obj.launchConfigurationTemplate),
|
|
500
|
-
}),
|
|
501
|
-
});
|
|
502
|
-
export const CreateReplicationConfigurationTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
503
|
-
...obj,
|
|
504
|
-
...(obj.stagingAreaTags && { stagingAreaTags: SENSITIVE_STRING }),
|
|
505
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
506
|
-
});
|
|
507
|
-
export const ReplicationConfigurationTemplateFilterSensitiveLog = (obj) => ({
|
|
508
|
-
...obj,
|
|
509
|
-
...(obj.stagingAreaTags && { stagingAreaTags: SENSITIVE_STRING }),
|
|
510
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
511
|
-
});
|
|
512
|
-
export const CreateSourceNetworkRequestFilterSensitiveLog = (obj) => ({
|
|
513
|
-
...obj,
|
|
514
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
515
|
-
});
|
|
516
|
-
export const DescribeJobsResponseFilterSensitiveLog = (obj) => ({
|
|
517
|
-
...obj,
|
|
518
|
-
...(obj.items && { items: obj.items.map((item) => JobFilterSensitiveLog(item)) }),
|
|
519
|
-
});
|
|
520
|
-
export const DescribeLaunchConfigurationTemplatesResponseFilterSensitiveLog = (obj) => ({
|
|
521
|
-
...obj,
|
|
522
|
-
...(obj.items && { items: obj.items.map((item) => LaunchConfigurationTemplateFilterSensitiveLog(item)) }),
|
|
523
|
-
});
|
|
524
|
-
export const RecoveryInstanceFilterSensitiveLog = (obj) => ({
|
|
525
|
-
...obj,
|
|
526
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
527
|
-
});
|
|
528
|
-
export const DescribeRecoveryInstancesResponseFilterSensitiveLog = (obj) => ({
|
|
529
|
-
...obj,
|
|
530
|
-
...(obj.items && { items: obj.items.map((item) => RecoveryInstanceFilterSensitiveLog(item)) }),
|
|
531
|
-
});
|
|
532
|
-
export const DescribeReplicationConfigurationTemplatesResponseFilterSensitiveLog = (obj) => ({
|
|
533
|
-
...obj,
|
|
534
|
-
...(obj.items && { items: obj.items.map((item) => ReplicationConfigurationTemplateFilterSensitiveLog(item)) }),
|
|
535
|
-
});
|
|
536
|
-
export const SourceNetworkFilterSensitiveLog = (obj) => ({
|
|
537
|
-
...obj,
|
|
538
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
539
|
-
...(obj.replicationStatusDetails && { replicationStatusDetails: SENSITIVE_STRING }),
|
|
540
|
-
...(obj.cfnStackName && { cfnStackName: SENSITIVE_STRING }),
|
|
541
|
-
});
|
|
542
|
-
export const DescribeSourceNetworksResponseFilterSensitiveLog = (obj) => ({
|
|
543
|
-
...obj,
|
|
544
|
-
...(obj.items && { items: obj.items.map((item) => SourceNetworkFilterSensitiveLog(item)) }),
|
|
545
|
-
});
|
|
546
|
-
export const DescribeSourceServersResponseFilterSensitiveLog = (obj) => ({
|
|
547
|
-
...obj,
|
|
548
|
-
...(obj.items && { items: obj.items.map((item) => SourceServerFilterSensitiveLog(item)) }),
|
|
549
|
-
});
|
|
550
|
-
export const UpdateLaunchConfigurationTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
551
|
-
...obj,
|
|
552
|
-
...(obj.launchConfigurationTemplate && {
|
|
553
|
-
launchConfigurationTemplate: LaunchConfigurationTemplateFilterSensitiveLog(obj.launchConfigurationTemplate),
|
|
554
|
-
}),
|
|
555
|
-
});
|
|
556
|
-
export const StagingSourceServerFilterSensitiveLog = (obj) => ({
|
|
557
|
-
...obj,
|
|
558
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
559
|
-
});
|
|
560
|
-
export const ListExtensibleSourceServersResponseFilterSensitiveLog = (obj) => ({
|
|
561
|
-
...obj,
|
|
562
|
-
...(obj.items && { items: obj.items.map((item) => StagingSourceServerFilterSensitiveLog(item)) }),
|
|
563
|
-
});
|
|
564
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
565
|
-
...obj,
|
|
566
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
567
|
-
});
|
|
568
|
-
export const StartFailbackLaunchRequestFilterSensitiveLog = (obj) => ({
|
|
569
|
-
...obj,
|
|
570
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
571
|
-
});
|
|
572
|
-
export const StartFailbackLaunchResponseFilterSensitiveLog = (obj) => ({
|
|
573
|
-
...obj,
|
|
574
|
-
...(obj.job && { job: JobFilterSensitiveLog(obj.job) }),
|
|
575
|
-
});
|
|
576
|
-
export const TerminateRecoveryInstancesResponseFilterSensitiveLog = (obj) => ({
|
|
577
|
-
...obj,
|
|
578
|
-
...(obj.job && { job: JobFilterSensitiveLog(obj.job) }),
|
|
579
|
-
});
|
|
580
|
-
export const UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
581
|
-
...obj,
|
|
582
|
-
...(obj.stagingAreaTags && { stagingAreaTags: SENSITIVE_STRING }),
|
|
583
|
-
});
|
|
584
|
-
export const StartSourceNetworkRecoveryRequestNetworkEntryFilterSensitiveLog = (obj) => ({
|
|
585
|
-
...obj,
|
|
586
|
-
...(obj.cfnStackName && { cfnStackName: SENSITIVE_STRING }),
|
|
587
|
-
});
|
|
588
|
-
export const StartSourceNetworkRecoveryRequestFilterSensitiveLog = (obj) => ({
|
|
589
|
-
...obj,
|
|
590
|
-
...(obj.sourceNetworks && {
|
|
591
|
-
sourceNetworks: obj.sourceNetworks.map((item) => StartSourceNetworkRecoveryRequestNetworkEntryFilterSensitiveLog(item)),
|
|
592
|
-
}),
|
|
593
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
594
|
-
});
|
|
595
|
-
export const StartSourceNetworkRecoveryResponseFilterSensitiveLog = (obj) => ({
|
|
596
|
-
...obj,
|
|
597
|
-
...(obj.job && { job: JobFilterSensitiveLog(obj.job) }),
|
|
598
|
-
});
|
|
599
|
-
export const StartSourceNetworkReplicationResponseFilterSensitiveLog = (obj) => ({
|
|
600
|
-
...obj,
|
|
601
|
-
...(obj.sourceNetwork && { sourceNetwork: SourceNetworkFilterSensitiveLog(obj.sourceNetwork) }),
|
|
602
|
-
});
|
|
603
|
-
export const StopSourceNetworkReplicationResponseFilterSensitiveLog = (obj) => ({
|
|
604
|
-
...obj,
|
|
605
|
-
...(obj.sourceNetwork && { sourceNetwork: SourceNetworkFilterSensitiveLog(obj.sourceNetwork) }),
|
|
606
|
-
});
|
|
607
|
-
export const ReplicationConfigurationFilterSensitiveLog = (obj) => ({
|
|
608
|
-
...obj,
|
|
609
|
-
...(obj.stagingAreaTags && { stagingAreaTags: SENSITIVE_STRING }),
|
|
610
|
-
});
|
|
611
|
-
export const StartRecoveryRequestFilterSensitiveLog = (obj) => ({
|
|
612
|
-
...obj,
|
|
613
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
614
|
-
});
|
|
615
|
-
export const StartRecoveryResponseFilterSensitiveLog = (obj) => ({
|
|
616
|
-
...obj,
|
|
617
|
-
...(obj.job && { job: JobFilterSensitiveLog(obj.job) }),
|
|
618
|
-
});
|
|
619
|
-
export const StartReplicationResponseFilterSensitiveLog = (obj) => ({
|
|
620
|
-
...obj,
|
|
621
|
-
...(obj.sourceServer && { sourceServer: SourceServerFilterSensitiveLog(obj.sourceServer) }),
|
|
622
|
-
});
|
|
623
|
-
export const StopReplicationResponseFilterSensitiveLog = (obj) => ({
|
|
624
|
-
...obj,
|
|
625
|
-
...(obj.sourceServer && { sourceServer: SourceServerFilterSensitiveLog(obj.sourceServer) }),
|
|
626
|
-
});
|
|
627
|
-
export const UpdateReplicationConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
628
|
-
...obj,
|
|
629
|
-
...(obj.stagingAreaTags && { stagingAreaTags: SENSITIVE_STRING }),
|
|
630
|
-
});
|
|
631
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
632
|
-
...obj,
|
|
633
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
634
|
-
});
|
|
635
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
636
|
-
...obj,
|
|
637
|
-
...(obj.tagKeys && { tagKeys: SENSITIVE_STRING }),
|
|
638
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.drs" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "drs",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|