@aws-sdk/client-drs 3.54.0 → 3.56.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 (47) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/DrsClient.js +13 -13
  3. package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +3 -3
  4. package/dist-cjs/commands/DeleteJobCommand.js +3 -3
  5. package/dist-cjs/commands/DeleteRecoveryInstanceCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteSourceServerCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeJobLogItemsCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeJobsCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeRecoveryInstancesCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeRecoverySnapshotsCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeSourceServersCommand.js +3 -3
  14. package/dist-cjs/commands/DisconnectRecoveryInstanceCommand.js +3 -3
  15. package/dist-cjs/commands/DisconnectSourceServerCommand.js +3 -3
  16. package/dist-cjs/commands/GetFailbackReplicationConfigurationCommand.js +3 -3
  17. package/dist-cjs/commands/GetLaunchConfigurationCommand.js +3 -3
  18. package/dist-cjs/commands/GetReplicationConfigurationCommand.js +3 -3
  19. package/dist-cjs/commands/InitializeServiceCommand.js +3 -3
  20. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  21. package/dist-cjs/commands/RetryDataReplicationCommand.js +3 -3
  22. package/dist-cjs/commands/StartFailbackLaunchCommand.js +3 -3
  23. package/dist-cjs/commands/StartRecoveryCommand.js +3 -3
  24. package/dist-cjs/commands/StopFailbackCommand.js +3 -3
  25. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  26. package/dist-cjs/commands/TerminateRecoveryInstancesCommand.js +3 -3
  27. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  28. package/dist-cjs/commands/UpdateFailbackReplicationConfigurationCommand.js +3 -3
  29. package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +3 -3
  30. package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +3 -3
  31. package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +3 -3
  32. package/dist-cjs/endpoints.js +1 -1
  33. package/dist-cjs/protocols/Aws_restJson1.js +288 -288
  34. package/dist-cjs/runtimeConfig.browser.js +4 -4
  35. package/dist-cjs/runtimeConfig.js +9 -9
  36. package/dist-cjs/runtimeConfig.native.js +1 -1
  37. package/dist-es/Drs.js +29 -29
  38. package/dist-es/pagination/DescribeJobLogItemsPaginator.js +4 -4
  39. package/dist-es/pagination/DescribeJobsPaginator.js +4 -4
  40. package/dist-es/pagination/DescribeRecoveryInstancesPaginator.js +4 -4
  41. package/dist-es/pagination/DescribeRecoverySnapshotsPaginator.js +4 -4
  42. package/dist-es/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +4 -4
  43. package/dist-es/pagination/DescribeSourceServersPaginator.js +4 -4
  44. package/dist-es/protocols/Aws_restJson1.js +29 -29
  45. package/dist-types/runtimeConfig.native.d.ts +2 -2
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  47. package/package.json +34 -34
@@ -13,7 +13,7 @@ export var serializeAws_restJson1CreateReplicationConfigurationTemplateCommand =
13
13
  headers = {
14
14
  "content-type": "application/json",
15
15
  };
16
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/CreateReplicationConfigurationTemplate";
16
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/CreateReplicationConfigurationTemplate";
17
17
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.associateDefaultSecurityGroup !== undefined &&
18
18
  input.associateDefaultSecurityGroup !== null && {
19
19
  associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
@@ -60,7 +60,7 @@ export var serializeAws_restJson1DeleteJobCommand = function (input, context) {
60
60
  headers = {
61
61
  "content-type": "application/json",
62
62
  };
63
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteJob";
63
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteJob";
64
64
  body = JSON.stringify(__assign({}, (input.jobID !== undefined && input.jobID !== null && { jobID: input.jobID })));
65
65
  return [2, new __HttpRequest({
66
66
  protocol: protocol,
@@ -84,7 +84,7 @@ export var serializeAws_restJson1DeleteRecoveryInstanceCommand = function (input
84
84
  headers = {
85
85
  "content-type": "application/json",
86
86
  };
87
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteRecoveryInstance";
87
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteRecoveryInstance";
88
88
  body = JSON.stringify(__assign({}, (input.recoveryInstanceID !== undefined &&
89
89
  input.recoveryInstanceID !== null && { recoveryInstanceID: input.recoveryInstanceID })));
90
90
  return [2, new __HttpRequest({
@@ -109,7 +109,7 @@ export var serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand =
109
109
  headers = {
110
110
  "content-type": "application/json",
111
111
  };
112
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteReplicationConfigurationTemplate";
112
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteReplicationConfigurationTemplate";
113
113
  body = JSON.stringify(__assign({}, (input.replicationConfigurationTemplateID !== undefined &&
114
114
  input.replicationConfigurationTemplateID !== null && {
115
115
  replicationConfigurationTemplateID: input.replicationConfigurationTemplateID,
@@ -136,7 +136,7 @@ export var serializeAws_restJson1DeleteSourceServerCommand = function (input, co
136
136
  headers = {
137
137
  "content-type": "application/json",
138
138
  };
139
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteSourceServer";
139
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteSourceServer";
140
140
  body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
141
141
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
142
142
  return [2, new __HttpRequest({
@@ -161,7 +161,7 @@ export var serializeAws_restJson1DescribeJobLogItemsCommand = function (input, c
161
161
  headers = {
162
162
  "content-type": "application/json",
163
163
  };
164
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeJobLogItems";
164
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeJobLogItems";
165
165
  body = JSON.stringify(__assign(__assign(__assign({}, (input.jobID !== undefined && input.jobID !== null && { jobID: input.jobID })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
166
166
  return [2, new __HttpRequest({
167
167
  protocol: protocol,
@@ -185,7 +185,7 @@ export var serializeAws_restJson1DescribeJobsCommand = function (input, context)
185
185
  headers = {
186
186
  "content-type": "application/json",
187
187
  };
188
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeJobs";
188
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeJobs";
189
189
  body = JSON.stringify(__assign(__assign(__assign({}, (input.filters !== undefined &&
190
190
  input.filters !== null && { filters: serializeAws_restJson1DescribeJobsRequestFilters(input.filters, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
191
191
  return [2, new __HttpRequest({
@@ -210,7 +210,7 @@ export var serializeAws_restJson1DescribeRecoveryInstancesCommand = function (in
210
210
  headers = {
211
211
  "content-type": "application/json",
212
212
  };
213
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeRecoveryInstances";
213
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeRecoveryInstances";
214
214
  body = JSON.stringify(__assign(__assign(__assign({}, (input.filters !== undefined &&
215
215
  input.filters !== null && {
216
216
  filters: serializeAws_restJson1DescribeRecoveryInstancesRequestFilters(input.filters, context),
@@ -237,7 +237,7 @@ export var serializeAws_restJson1DescribeRecoverySnapshotsCommand = function (in
237
237
  headers = {
238
238
  "content-type": "application/json",
239
239
  };
240
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeRecoverySnapshots";
240
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeRecoverySnapshots";
241
241
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.filters !== undefined &&
242
242
  input.filters !== null && {
243
243
  filters: serializeAws_restJson1DescribeRecoverySnapshotsRequestFilters(input.filters, context),
@@ -265,7 +265,7 @@ export var serializeAws_restJson1DescribeReplicationConfigurationTemplatesComman
265
265
  headers = {
266
266
  "content-type": "application/json",
267
267
  };
268
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
268
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
269
269
  "/DescribeReplicationConfigurationTemplates";
270
270
  body = JSON.stringify(__assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.replicationConfigurationTemplateIDs !== undefined &&
271
271
  input.replicationConfigurationTemplateIDs !== null && {
@@ -293,7 +293,7 @@ export var serializeAws_restJson1DescribeSourceServersCommand = function (input,
293
293
  headers = {
294
294
  "content-type": "application/json",
295
295
  };
296
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeSourceServers";
296
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeSourceServers";
297
297
  body = JSON.stringify(__assign(__assign(__assign({}, (input.filters !== undefined &&
298
298
  input.filters !== null && {
299
299
  filters: serializeAws_restJson1DescribeSourceServersRequestFilters(input.filters, context),
@@ -320,7 +320,7 @@ export var serializeAws_restJson1DisconnectRecoveryInstanceCommand = function (i
320
320
  headers = {
321
321
  "content-type": "application/json",
322
322
  };
323
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DisconnectRecoveryInstance";
323
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DisconnectRecoveryInstance";
324
324
  body = JSON.stringify(__assign({}, (input.recoveryInstanceID !== undefined &&
325
325
  input.recoveryInstanceID !== null && { recoveryInstanceID: input.recoveryInstanceID })));
326
326
  return [2, new __HttpRequest({
@@ -345,7 +345,7 @@ export var serializeAws_restJson1DisconnectSourceServerCommand = function (input
345
345
  headers = {
346
346
  "content-type": "application/json",
347
347
  };
348
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DisconnectSourceServer";
348
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DisconnectSourceServer";
349
349
  body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
350
350
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
351
351
  return [2, new __HttpRequest({
@@ -370,7 +370,7 @@ export var serializeAws_restJson1GetFailbackReplicationConfigurationCommand = fu
370
370
  headers = {
371
371
  "content-type": "application/json",
372
372
  };
373
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetFailbackReplicationConfiguration";
373
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetFailbackReplicationConfiguration";
374
374
  body = JSON.stringify(__assign({}, (input.recoveryInstanceID !== undefined &&
375
375
  input.recoveryInstanceID !== null && { recoveryInstanceID: input.recoveryInstanceID })));
376
376
  return [2, new __HttpRequest({
@@ -395,7 +395,7 @@ export var serializeAws_restJson1GetLaunchConfigurationCommand = function (input
395
395
  headers = {
396
396
  "content-type": "application/json",
397
397
  };
398
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetLaunchConfiguration";
398
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetLaunchConfiguration";
399
399
  body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
400
400
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
401
401
  return [2, new __HttpRequest({
@@ -420,7 +420,7 @@ export var serializeAws_restJson1GetReplicationConfigurationCommand = function (
420
420
  headers = {
421
421
  "content-type": "application/json",
422
422
  };
423
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetReplicationConfiguration";
423
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetReplicationConfiguration";
424
424
  body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
425
425
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
426
426
  return [2, new __HttpRequest({
@@ -445,7 +445,7 @@ export var serializeAws_restJson1InitializeServiceCommand = function (input, con
445
445
  headers = {
446
446
  "content-type": "application/json",
447
447
  };
448
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/InitializeService";
448
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/InitializeService";
449
449
  body = "";
450
450
  return [2, new __HttpRequest({
451
451
  protocol: protocol,
@@ -467,7 +467,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
467
467
  case 1:
468
468
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
469
469
  headers = {};
470
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
470
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
471
471
  if (input.resourceArn !== undefined) {
472
472
  labelValue = input.resourceArn;
473
473
  if (labelValue.length <= 0) {
@@ -500,7 +500,7 @@ export var serializeAws_restJson1RetryDataReplicationCommand = function (input,
500
500
  headers = {
501
501
  "content-type": "application/json",
502
502
  };
503
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/RetryDataReplication";
503
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/RetryDataReplication";
504
504
  body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
505
505
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
506
506
  return [2, new __HttpRequest({
@@ -525,7 +525,7 @@ export var serializeAws_restJson1StartFailbackLaunchCommand = function (input, c
525
525
  headers = {
526
526
  "content-type": "application/json",
527
527
  };
528
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartFailbackLaunch";
528
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartFailbackLaunch";
529
529
  body = JSON.stringify(__assign(__assign({}, (input.recoveryInstanceIDs !== undefined &&
530
530
  input.recoveryInstanceIDs !== null && {
531
531
  recoveryInstanceIDs: serializeAws_restJson1StartFailbackRequestRecoveryInstanceIDs(input.recoveryInstanceIDs, context),
@@ -553,7 +553,7 @@ export var serializeAws_restJson1StartRecoveryCommand = function (input, context
553
553
  headers = {
554
554
  "content-type": "application/json",
555
555
  };
556
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartRecovery";
556
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartRecovery";
557
557
  body = JSON.stringify(__assign(__assign(__assign({}, (input.isDrill !== undefined && input.isDrill !== null && { isDrill: input.isDrill })), (input.sourceServers !== undefined &&
558
558
  input.sourceServers !== null && {
559
559
  sourceServers: serializeAws_restJson1StartRecoveryRequestSourceServers(input.sourceServers, context),
@@ -581,7 +581,7 @@ export var serializeAws_restJson1StopFailbackCommand = function (input, context)
581
581
  headers = {
582
582
  "content-type": "application/json",
583
583
  };
584
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StopFailback";
584
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StopFailback";
585
585
  body = JSON.stringify(__assign({}, (input.recoveryInstanceID !== undefined &&
586
586
  input.recoveryInstanceID !== null && { recoveryInstanceID: input.recoveryInstanceID })));
587
587
  return [2, new __HttpRequest({
@@ -606,7 +606,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
606
606
  headers = {
607
607
  "content-type": "application/json",
608
608
  };
609
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
609
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
610
610
  if (input.resourceArn !== undefined) {
611
611
  labelValue = input.resourceArn;
612
612
  if (labelValue.length <= 0) {
@@ -641,7 +641,7 @@ export var serializeAws_restJson1TerminateRecoveryInstancesCommand = function (i
641
641
  headers = {
642
642
  "content-type": "application/json",
643
643
  };
644
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/TerminateRecoveryInstances";
644
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/TerminateRecoveryInstances";
645
645
  body = JSON.stringify(__assign({}, (input.recoveryInstanceIDs !== undefined &&
646
646
  input.recoveryInstanceIDs !== null && {
647
647
  recoveryInstanceIDs: serializeAws_restJson1RecoveryInstancesForTerminationRequest(input.recoveryInstanceIDs, context),
@@ -666,7 +666,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
666
666
  case 1:
667
667
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
668
668
  headers = {};
669
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
669
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
670
670
  if (input.resourceArn !== undefined) {
671
671
  labelValue = input.resourceArn;
672
672
  if (labelValue.length <= 0) {
@@ -701,7 +701,7 @@ export var serializeAws_restJson1UpdateFailbackReplicationConfigurationCommand =
701
701
  headers = {
702
702
  "content-type": "application/json",
703
703
  };
704
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateFailbackReplicationConfiguration";
704
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateFailbackReplicationConfiguration";
705
705
  body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.bandwidthThrottling !== undefined &&
706
706
  input.bandwidthThrottling !== null && { bandwidthThrottling: input.bandwidthThrottling })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.recoveryInstanceID !== undefined &&
707
707
  input.recoveryInstanceID !== null && { recoveryInstanceID: input.recoveryInstanceID })), (input.usePrivateIP !== undefined && input.usePrivateIP !== null && { usePrivateIP: input.usePrivateIP })));
@@ -727,7 +727,7 @@ export var serializeAws_restJson1UpdateLaunchConfigurationCommand = function (in
727
727
  headers = {
728
728
  "content-type": "application/json",
729
729
  };
730
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateLaunchConfiguration";
730
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateLaunchConfiguration";
731
731
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.copyPrivateIp !== undefined && input.copyPrivateIp !== null && { copyPrivateIp: input.copyPrivateIp })), (input.copyTags !== undefined && input.copyTags !== null && { copyTags: input.copyTags })), (input.launchDisposition !== undefined &&
732
732
  input.launchDisposition !== null && { launchDisposition: input.launchDisposition })), (input.licensing !== undefined &&
733
733
  input.licensing !== null && { licensing: serializeAws_restJson1Licensing(input.licensing, context) })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.sourceServerID !== undefined &&
@@ -757,7 +757,7 @@ export var serializeAws_restJson1UpdateReplicationConfigurationCommand = functio
757
757
  headers = {
758
758
  "content-type": "application/json",
759
759
  };
760
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateReplicationConfiguration";
760
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateReplicationConfiguration";
761
761
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.associateDefaultSecurityGroup !== undefined &&
762
762
  input.associateDefaultSecurityGroup !== null && {
763
763
  associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
@@ -807,7 +807,7 @@ export var serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand =
807
807
  headers = {
808
808
  "content-type": "application/json",
809
809
  };
810
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateReplicationConfigurationTemplate";
810
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateReplicationConfigurationTemplate";
811
811
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })), (input.associateDefaultSecurityGroup !== undefined &&
812
812
  input.associateDefaultSecurityGroup !== null && {
813
813
  associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: DrsClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: DrsClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-drs",
3
3
  "description": "AWS SDK for JavaScript Drs Client for Node.js, Browser and React Native",
4
- "version": "3.54.0",
4
+ "version": "3.56.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,47 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.54.0",
22
- "@aws-sdk/config-resolver": "3.54.0",
23
- "@aws-sdk/credential-provider-node": "3.54.0",
24
- "@aws-sdk/fetch-http-handler": "3.54.0",
25
- "@aws-sdk/hash-node": "3.54.0",
26
- "@aws-sdk/invalid-dependency": "3.54.0",
27
- "@aws-sdk/middleware-content-length": "3.54.0",
28
- "@aws-sdk/middleware-host-header": "3.54.0",
29
- "@aws-sdk/middleware-logger": "3.54.0",
30
- "@aws-sdk/middleware-retry": "3.54.0",
31
- "@aws-sdk/middleware-serde": "3.54.0",
32
- "@aws-sdk/middleware-signing": "3.54.0",
33
- "@aws-sdk/middleware-stack": "3.54.0",
34
- "@aws-sdk/middleware-user-agent": "3.54.0",
35
- "@aws-sdk/node-config-provider": "3.54.0",
36
- "@aws-sdk/node-http-handler": "3.54.0",
37
- "@aws-sdk/protocol-http": "3.54.0",
38
- "@aws-sdk/smithy-client": "3.54.0",
39
- "@aws-sdk/types": "3.54.0",
40
- "@aws-sdk/url-parser": "3.54.0",
41
- "@aws-sdk/util-base64-browser": "3.52.0",
42
- "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.54.0",
44
- "@aws-sdk/util-body-length-node": "3.54.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.54.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.54.0",
47
- "@aws-sdk/util-user-agent-browser": "3.54.0",
48
- "@aws-sdk/util-user-agent-node": "3.54.0",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "tslib": "^2.3.0"
21
+ "@aws-sdk/client-sts": "3.56.0",
22
+ "@aws-sdk/config-resolver": "3.56.0",
23
+ "@aws-sdk/credential-provider-node": "3.56.0",
24
+ "@aws-sdk/fetch-http-handler": "3.55.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.55.0",
28
+ "@aws-sdk/middleware-host-header": "3.55.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.56.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.56.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.55.0",
35
+ "@aws-sdk/node-config-provider": "3.56.0",
36
+ "@aws-sdk/node-http-handler": "3.55.0",
37
+ "@aws-sdk/protocol-http": "3.55.0",
38
+ "@aws-sdk/smithy-client": "3.55.0",
39
+ "@aws-sdk/types": "3.55.0",
40
+ "@aws-sdk/url-parser": "3.55.0",
41
+ "@aws-sdk/util-base64-browser": "3.55.0",
42
+ "@aws-sdk/util-base64-node": "3.55.0",
43
+ "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-node": "3.55.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.56.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.55.0",
48
+ "@aws-sdk/util-user-agent-node": "3.56.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "tslib": "^2.3.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.55.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",
58
58
  "downlevel-dts": "0.7.0",
59
59
  "rimraf": "3.0.2",
60
60
  "typedoc": "0.19.2",
61
- "typescript": "~4.3.5"
61
+ "typescript": "~4.6.2"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=12.0.0"