@aws-sdk/client-drs 3.128.0 → 3.137.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/CHANGELOG.md +33 -0
- package/dist-cjs/commands/CreateExtendedSourceServerCommand.js +2 -2
- package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +2 -2
- package/dist-cjs/commands/DeleteJobCommand.js +2 -2
- package/dist-cjs/commands/DeleteRecoveryInstanceCommand.js +1 -1
- package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +2 -2
- package/dist-cjs/commands/DeleteSourceServerCommand.js +2 -2
- package/dist-cjs/commands/DescribeJobLogItemsCommand.js +2 -2
- package/dist-cjs/commands/DescribeJobsCommand.js +2 -2
- package/dist-cjs/commands/DescribeRecoveryInstancesCommand.js +2 -2
- package/dist-cjs/commands/DescribeRecoverySnapshotsCommand.js +2 -2
- package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +2 -2
- package/dist-cjs/commands/DescribeSourceServersCommand.js +2 -2
- package/dist-cjs/commands/DisconnectRecoveryInstanceCommand.js +1 -1
- package/dist-cjs/commands/DisconnectSourceServerCommand.js +2 -2
- package/dist-cjs/commands/GetFailbackReplicationConfigurationCommand.js +2 -2
- package/dist-cjs/commands/GetLaunchConfigurationCommand.js +2 -2
- package/dist-cjs/commands/GetReplicationConfigurationCommand.js +2 -2
- package/dist-cjs/commands/InitializeServiceCommand.js +2 -2
- package/dist-cjs/commands/ListExtensibleSourceServersCommand.js +2 -2
- package/dist-cjs/commands/ListStagingAccountsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/RetryDataReplicationCommand.js +2 -2
- package/dist-cjs/commands/StartFailbackLaunchCommand.js +2 -2
- package/dist-cjs/commands/StartRecoveryCommand.js +2 -2
- package/dist-cjs/commands/StopFailbackCommand.js +1 -1
- package/dist-cjs/commands/TagResourceCommand.js +1 -1
- package/dist-cjs/commands/TerminateRecoveryInstancesCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +1 -1
- package/dist-cjs/commands/UpdateFailbackReplicationConfigurationCommand.js +1 -1
- package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +2 -2
- package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +2 -2
- package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +2 -2
- package/dist-cjs/models/models_0.js +410 -599
- package/dist-cjs/protocols/Aws_restJson1.js +5 -0
- package/dist-es/commands/CreateExtendedSourceServerCommand.js +3 -3
- package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +3 -3
- package/dist-es/commands/DeleteJobCommand.js +3 -3
- package/dist-es/commands/DeleteRecoveryInstanceCommand.js +2 -2
- package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +3 -3
- package/dist-es/commands/DeleteSourceServerCommand.js +3 -3
- package/dist-es/commands/DescribeJobLogItemsCommand.js +3 -3
- package/dist-es/commands/DescribeJobsCommand.js +3 -3
- package/dist-es/commands/DescribeRecoveryInstancesCommand.js +3 -3
- package/dist-es/commands/DescribeRecoverySnapshotsCommand.js +3 -3
- package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +3 -3
- package/dist-es/commands/DescribeSourceServersCommand.js +3 -3
- package/dist-es/commands/DisconnectRecoveryInstanceCommand.js +2 -2
- package/dist-es/commands/DisconnectSourceServerCommand.js +3 -3
- package/dist-es/commands/GetFailbackReplicationConfigurationCommand.js +3 -3
- package/dist-es/commands/GetLaunchConfigurationCommand.js +3 -3
- package/dist-es/commands/GetReplicationConfigurationCommand.js +3 -3
- package/dist-es/commands/InitializeServiceCommand.js +3 -3
- package/dist-es/commands/ListExtensibleSourceServersCommand.js +3 -3
- package/dist-es/commands/ListStagingAccountsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/RetryDataReplicationCommand.js +3 -3
- package/dist-es/commands/StartFailbackLaunchCommand.js +3 -3
- package/dist-es/commands/StartRecoveryCommand.js +3 -3
- package/dist-es/commands/StopFailbackCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TerminateRecoveryInstancesCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateFailbackReplicationConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateLaunchConfigurationCommand.js +3 -3
- package/dist-es/commands/UpdateReplicationConfigurationCommand.js +3 -3
- package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +3 -3
- package/dist-es/models/models_0.js +96 -380
- package/dist-es/protocols/Aws_restJson1.js +5 -1
- package/dist-types/models/models_0.d.ts +387 -572
- package/dist-types/ts3.4/models/models_0.d.ts +192 -379
- package/package.json +9 -9
|
@@ -3784,7 +3784,7 @@ var serializeAws_restJson1RecoveryInstancesForTerminationRequest = function (inp
|
|
|
3784
3784
|
});
|
|
3785
3785
|
};
|
|
3786
3786
|
var serializeAws_restJson1ReplicationConfigurationReplicatedDisk = function (input, context) {
|
|
3787
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.deviceName != null && { deviceName: input.deviceName })), (input.iops != null && { iops: input.iops })), (input.isBootDisk != null && { isBootDisk: input.isBootDisk })), (input.stagingDiskType != null && { stagingDiskType: input.stagingDiskType })), (input.throughput != null && { throughput: input.throughput }));
|
|
3787
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.deviceName != null && { deviceName: input.deviceName })), (input.iops != null && { iops: input.iops })), (input.isBootDisk != null && { isBootDisk: input.isBootDisk })), (input.optimizedStagingDiskType != null && { optimizedStagingDiskType: input.optimizedStagingDiskType })), (input.stagingDiskType != null && { stagingDiskType: input.stagingDiskType })), (input.throughput != null && { throughput: input.throughput }));
|
|
3788
3788
|
};
|
|
3789
3789
|
var serializeAws_restJson1ReplicationConfigurationReplicatedDisks = function (input, context) {
|
|
3790
3790
|
return input
|
|
@@ -4341,6 +4341,7 @@ var deserializeAws_restJson1ReplicationConfigurationReplicatedDisk = function (o
|
|
|
4341
4341
|
deviceName: __expectString(output.deviceName),
|
|
4342
4342
|
iops: __expectLong(output.iops),
|
|
4343
4343
|
isBootDisk: __expectBoolean(output.isBootDisk),
|
|
4344
|
+
optimizedStagingDiskType: __expectString(output.optimizedStagingDiskType),
|
|
4344
4345
|
stagingDiskType: __expectString(output.stagingDiskType),
|
|
4345
4346
|
throughput: __expectLong(output.throughput),
|
|
4346
4347
|
};
|
|
@@ -4555,6 +4556,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
4555
4556
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
4556
4557
|
var sanitizeErrorCode = function (rawValue) {
|
|
4557
4558
|
var cleanValue = rawValue;
|
|
4559
|
+
if (typeof cleanValue === "number") {
|
|
4560
|
+
cleanValue = cleanValue.toString();
|
|
4561
|
+
}
|
|
4558
4562
|
if (cleanValue.indexOf(":") >= 0) {
|
|
4559
4563
|
cleanValue = cleanValue.split(":")[0];
|
|
4560
4564
|
}
|