@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.
Files changed (72) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist-cjs/commands/CreateExtendedSourceServerCommand.js +2 -2
  3. package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteJobCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteRecoveryInstanceCommand.js +1 -1
  6. package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteSourceServerCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeJobLogItemsCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeJobsCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeRecoveryInstancesCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeRecoverySnapshotsCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +2 -2
  13. package/dist-cjs/commands/DescribeSourceServersCommand.js +2 -2
  14. package/dist-cjs/commands/DisconnectRecoveryInstanceCommand.js +1 -1
  15. package/dist-cjs/commands/DisconnectSourceServerCommand.js +2 -2
  16. package/dist-cjs/commands/GetFailbackReplicationConfigurationCommand.js +2 -2
  17. package/dist-cjs/commands/GetLaunchConfigurationCommand.js +2 -2
  18. package/dist-cjs/commands/GetReplicationConfigurationCommand.js +2 -2
  19. package/dist-cjs/commands/InitializeServiceCommand.js +2 -2
  20. package/dist-cjs/commands/ListExtensibleSourceServersCommand.js +2 -2
  21. package/dist-cjs/commands/ListStagingAccountsCommand.js +2 -2
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  23. package/dist-cjs/commands/RetryDataReplicationCommand.js +2 -2
  24. package/dist-cjs/commands/StartFailbackLaunchCommand.js +2 -2
  25. package/dist-cjs/commands/StartRecoveryCommand.js +2 -2
  26. package/dist-cjs/commands/StopFailbackCommand.js +1 -1
  27. package/dist-cjs/commands/TagResourceCommand.js +1 -1
  28. package/dist-cjs/commands/TerminateRecoveryInstancesCommand.js +2 -2
  29. package/dist-cjs/commands/UntagResourceCommand.js +1 -1
  30. package/dist-cjs/commands/UpdateFailbackReplicationConfigurationCommand.js +1 -1
  31. package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +2 -2
  32. package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +2 -2
  33. package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +2 -2
  34. package/dist-cjs/models/models_0.js +410 -599
  35. package/dist-cjs/protocols/Aws_restJson1.js +5 -0
  36. package/dist-es/commands/CreateExtendedSourceServerCommand.js +3 -3
  37. package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +3 -3
  38. package/dist-es/commands/DeleteJobCommand.js +3 -3
  39. package/dist-es/commands/DeleteRecoveryInstanceCommand.js +2 -2
  40. package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +3 -3
  41. package/dist-es/commands/DeleteSourceServerCommand.js +3 -3
  42. package/dist-es/commands/DescribeJobLogItemsCommand.js +3 -3
  43. package/dist-es/commands/DescribeJobsCommand.js +3 -3
  44. package/dist-es/commands/DescribeRecoveryInstancesCommand.js +3 -3
  45. package/dist-es/commands/DescribeRecoverySnapshotsCommand.js +3 -3
  46. package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +3 -3
  47. package/dist-es/commands/DescribeSourceServersCommand.js +3 -3
  48. package/dist-es/commands/DisconnectRecoveryInstanceCommand.js +2 -2
  49. package/dist-es/commands/DisconnectSourceServerCommand.js +3 -3
  50. package/dist-es/commands/GetFailbackReplicationConfigurationCommand.js +3 -3
  51. package/dist-es/commands/GetLaunchConfigurationCommand.js +3 -3
  52. package/dist-es/commands/GetReplicationConfigurationCommand.js +3 -3
  53. package/dist-es/commands/InitializeServiceCommand.js +3 -3
  54. package/dist-es/commands/ListExtensibleSourceServersCommand.js +3 -3
  55. package/dist-es/commands/ListStagingAccountsCommand.js +3 -3
  56. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  57. package/dist-es/commands/RetryDataReplicationCommand.js +3 -3
  58. package/dist-es/commands/StartFailbackLaunchCommand.js +3 -3
  59. package/dist-es/commands/StartRecoveryCommand.js +3 -3
  60. package/dist-es/commands/StopFailbackCommand.js +2 -2
  61. package/dist-es/commands/TagResourceCommand.js +2 -2
  62. package/dist-es/commands/TerminateRecoveryInstancesCommand.js +3 -3
  63. package/dist-es/commands/UntagResourceCommand.js +2 -2
  64. package/dist-es/commands/UpdateFailbackReplicationConfigurationCommand.js +2 -2
  65. package/dist-es/commands/UpdateLaunchConfigurationCommand.js +3 -3
  66. package/dist-es/commands/UpdateReplicationConfigurationCommand.js +3 -3
  67. package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +3 -3
  68. package/dist-es/models/models_0.js +96 -380
  69. package/dist-es/protocols/Aws_restJson1.js +5 -1
  70. package/dist-types/models/models_0.d.ts +387 -572
  71. package/dist-types/ts3.4/models/models_0.d.ts +192 -379
  72. 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
  }