@aws-sdk/client-drs 3.301.0 → 3.306.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/models/models_0.js +247 -277
- package/dist-cjs/protocols/Aws_restJson1.js +16 -0
- package/dist-es/models/models_0.js +247 -277
- package/dist-es/protocols/Aws_restJson1.js +16 -0
- package/dist-types/Drs.d.ts +5 -1
- package/dist-types/commands/CreateReplicationConfigurationTemplateCommand.d.ts +1 -0
- package/dist-types/commands/RetryDataReplicationCommand.d.ts +5 -1
- package/dist-types/commands/UpdateReplicationConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +417 -247
- package/dist-types/ts3.4/models/models_0.d.ts +306 -247
- package/package.json +34 -34
|
@@ -34,6 +34,7 @@ export const serializeAws_restJson1CreateReplicationConfigurationTemplateCommand
|
|
|
34
34
|
...(input.associateDefaultSecurityGroup != null && {
|
|
35
35
|
associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
|
|
36
36
|
}),
|
|
37
|
+
...(input.autoReplicateNewDisks != null && { autoReplicateNewDisks: input.autoReplicateNewDisks }),
|
|
37
38
|
...(input.bandwidthThrottling != null && { bandwidthThrottling: input.bandwidthThrottling }),
|
|
38
39
|
...(input.createPublicIP != null && { createPublicIP: input.createPublicIP }),
|
|
39
40
|
...(input.dataPlaneRouting != null && { dataPlaneRouting: input.dataPlaneRouting }),
|
|
@@ -744,6 +745,7 @@ export const serializeAws_restJson1UpdateReplicationConfigurationCommand = async
|
|
|
744
745
|
...(input.associateDefaultSecurityGroup != null && {
|
|
745
746
|
associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
|
|
746
747
|
}),
|
|
748
|
+
...(input.autoReplicateNewDisks != null && { autoReplicateNewDisks: input.autoReplicateNewDisks }),
|
|
747
749
|
...(input.bandwidthThrottling != null && { bandwidthThrottling: input.bandwidthThrottling }),
|
|
748
750
|
...(input.createPublicIP != null && { createPublicIP: input.createPublicIP }),
|
|
749
751
|
...(input.dataPlaneRouting != null && { dataPlaneRouting: input.dataPlaneRouting }),
|
|
@@ -794,6 +796,7 @@ export const serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand
|
|
|
794
796
|
...(input.associateDefaultSecurityGroup != null && {
|
|
795
797
|
associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
|
|
796
798
|
}),
|
|
799
|
+
...(input.autoReplicateNewDisks != null && { autoReplicateNewDisks: input.autoReplicateNewDisks }),
|
|
797
800
|
...(input.bandwidthThrottling != null && { bandwidthThrottling: input.bandwidthThrottling }),
|
|
798
801
|
...(input.createPublicIP != null && { createPublicIP: input.createPublicIP }),
|
|
799
802
|
...(input.dataPlaneRouting != null && { dataPlaneRouting: input.dataPlaneRouting }),
|
|
@@ -895,6 +898,9 @@ export const deserializeAws_restJson1CreateReplicationConfigurationTemplateComma
|
|
|
895
898
|
if (data.associateDefaultSecurityGroup != null) {
|
|
896
899
|
contents.associateDefaultSecurityGroup = __expectBoolean(data.associateDefaultSecurityGroup);
|
|
897
900
|
}
|
|
901
|
+
if (data.autoReplicateNewDisks != null) {
|
|
902
|
+
contents.autoReplicateNewDisks = __expectBoolean(data.autoReplicateNewDisks);
|
|
903
|
+
}
|
|
898
904
|
if (data.bandwidthThrottling != null) {
|
|
899
905
|
contents.bandwidthThrottling = __expectLong(data.bandwidthThrottling);
|
|
900
906
|
}
|
|
@@ -1666,6 +1672,9 @@ export const deserializeAws_restJson1GetReplicationConfigurationCommand = async
|
|
|
1666
1672
|
if (data.associateDefaultSecurityGroup != null) {
|
|
1667
1673
|
contents.associateDefaultSecurityGroup = __expectBoolean(data.associateDefaultSecurityGroup);
|
|
1668
1674
|
}
|
|
1675
|
+
if (data.autoReplicateNewDisks != null) {
|
|
1676
|
+
contents.autoReplicateNewDisks = __expectBoolean(data.autoReplicateNewDisks);
|
|
1677
|
+
}
|
|
1669
1678
|
if (data.bandwidthThrottling != null) {
|
|
1670
1679
|
contents.bandwidthThrottling = __expectLong(data.bandwidthThrottling);
|
|
1671
1680
|
}
|
|
@@ -2527,6 +2536,9 @@ export const deserializeAws_restJson1UpdateReplicationConfigurationCommand = asy
|
|
|
2527
2536
|
if (data.associateDefaultSecurityGroup != null) {
|
|
2528
2537
|
contents.associateDefaultSecurityGroup = __expectBoolean(data.associateDefaultSecurityGroup);
|
|
2529
2538
|
}
|
|
2539
|
+
if (data.autoReplicateNewDisks != null) {
|
|
2540
|
+
contents.autoReplicateNewDisks = __expectBoolean(data.autoReplicateNewDisks);
|
|
2541
|
+
}
|
|
2530
2542
|
if (data.bandwidthThrottling != null) {
|
|
2531
2543
|
contents.bandwidthThrottling = __expectLong(data.bandwidthThrottling);
|
|
2532
2544
|
}
|
|
@@ -2626,6 +2638,9 @@ export const deserializeAws_restJson1UpdateReplicationConfigurationTemplateComma
|
|
|
2626
2638
|
if (data.associateDefaultSecurityGroup != null) {
|
|
2627
2639
|
contents.associateDefaultSecurityGroup = __expectBoolean(data.associateDefaultSecurityGroup);
|
|
2628
2640
|
}
|
|
2641
|
+
if (data.autoReplicateNewDisks != null) {
|
|
2642
|
+
contents.autoReplicateNewDisks = __expectBoolean(data.autoReplicateNewDisks);
|
|
2643
|
+
}
|
|
2629
2644
|
if (data.bandwidthThrottling != null) {
|
|
2630
2645
|
contents.bandwidthThrottling = __expectLong(data.bandwidthThrottling);
|
|
2631
2646
|
}
|
|
@@ -3529,6 +3544,7 @@ const deserializeAws_restJson1ReplicationConfigurationTemplate = (output, contex
|
|
|
3529
3544
|
return {
|
|
3530
3545
|
arn: __expectString(output.arn),
|
|
3531
3546
|
associateDefaultSecurityGroup: __expectBoolean(output.associateDefaultSecurityGroup),
|
|
3547
|
+
autoReplicateNewDisks: __expectBoolean(output.autoReplicateNewDisks),
|
|
3532
3548
|
bandwidthThrottling: __expectLong(output.bandwidthThrottling),
|
|
3533
3549
|
createPublicIP: __expectBoolean(output.createPublicIP),
|
|
3534
3550
|
dataPlaneRouting: __expectString(output.dataPlaneRouting),
|
package/dist-types/Drs.d.ts
CHANGED
|
@@ -192,7 +192,11 @@ export declare class Drs extends DrsClient {
|
|
|
192
192
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
193
193
|
/**
|
|
194
194
|
* @public
|
|
195
|
-
*
|
|
195
|
+
* @deprecated
|
|
196
|
+
*
|
|
197
|
+
* <p>WARNING: RetryDataReplication is deprecated.
|
|
198
|
+
* Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
|
|
199
|
+
* </p>
|
|
196
200
|
*/
|
|
197
201
|
retryDataReplication(args: RetryDataReplicationCommandInput, options?: __HttpHandlerOptions): Promise<RetryDataReplicationCommandOutput>;
|
|
198
202
|
retryDataReplication(args: RetryDataReplicationCommandInput, cb: (err: any, data?: RetryDataReplicationCommandOutput) => void): void;
|
|
@@ -55,6 +55,7 @@ export interface CreateReplicationConfigurationTemplateCommandOutput extends Rep
|
|
|
55
55
|
* tags: {
|
|
56
56
|
* "<keys>": "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
|
+
* autoReplicateNewDisks: true || false,
|
|
58
59
|
* };
|
|
59
60
|
* const command = new CreateReplicationConfigurationTemplateCommand(input);
|
|
60
61
|
* const response = await client.send(command);
|
|
@@ -19,7 +19,11 @@ export interface RetryDataReplicationCommandOutput extends SourceServer, __Metad
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
*
|
|
22
|
+
* @deprecated
|
|
23
|
+
*
|
|
24
|
+
* <p>WARNING: RetryDataReplication is deprecated.
|
|
25
|
+
* Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
|
|
26
|
+
* </p>
|
|
23
27
|
* @example
|
|
24
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
29
|
* ```javascript
|
|
@@ -64,6 +64,7 @@ export interface UpdateReplicationConfigurationCommandOutput extends Replication
|
|
|
64
64
|
* enabled: true || false,
|
|
65
65
|
* },
|
|
66
66
|
* ],
|
|
67
|
+
* autoReplicateNewDisks: true || false,
|
|
67
68
|
* };
|
|
68
69
|
* const command = new UpdateReplicationConfigurationCommand(input);
|
|
69
70
|
* const response = await client.send(command);
|
|
@@ -54,6 +54,7 @@ export interface UpdateReplicationConfigurationTemplateCommandOutput extends Rep
|
|
|
54
54
|
* enabled: true || false,
|
|
55
55
|
* },
|
|
56
56
|
* ],
|
|
57
|
+
* autoReplicateNewDisks: true || false,
|
|
57
58
|
* };
|
|
58
59
|
* const command = new UpdateReplicationConfigurationTemplateCommand(input);
|
|
59
60
|
* const response = await client.send(command);
|