@aws-sdk/client-mgn 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 (46) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/MgnClient.js +13 -13
  3. package/dist-cjs/commands/ChangeServerLifeCycleStateCommand.js +3 -3
  4. package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +3 -3
  5. package/dist-cjs/commands/DeleteJobCommand.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/DeleteVcenterClientCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeJobLogItemsCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeJobsCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeSourceServersCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeVcenterClientsCommand.js +3 -3
  14. package/dist-cjs/commands/DisconnectFromServiceCommand.js +3 -3
  15. package/dist-cjs/commands/FinalizeCutoverCommand.js +3 -3
  16. package/dist-cjs/commands/GetLaunchConfigurationCommand.js +3 -3
  17. package/dist-cjs/commands/GetReplicationConfigurationCommand.js +3 -3
  18. package/dist-cjs/commands/InitializeServiceCommand.js +3 -3
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  20. package/dist-cjs/commands/MarkAsArchivedCommand.js +3 -3
  21. package/dist-cjs/commands/RetryDataReplicationCommand.js +3 -3
  22. package/dist-cjs/commands/StartCutoverCommand.js +3 -3
  23. package/dist-cjs/commands/StartReplicationCommand.js +3 -3
  24. package/dist-cjs/commands/StartTestCommand.js +3 -3
  25. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  26. package/dist-cjs/commands/TerminateTargetInstancesCommand.js +3 -3
  27. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  28. package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +3 -3
  29. package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +3 -3
  30. package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +3 -3
  31. package/dist-cjs/commands/UpdateSourceServerReplicationTypeCommand.js +3 -3
  32. package/dist-cjs/endpoints.js +1 -1
  33. package/dist-cjs/protocols/Aws_restJson1.js +287 -287
  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/Mgn.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/DescribeReplicationConfigurationTemplatesPaginator.js +4 -4
  41. package/dist-es/pagination/DescribeSourceServersPaginator.js +4 -4
  42. package/dist-es/pagination/DescribeVcenterClientsPaginator.js +4 -4
  43. package/dist-es/protocols/Aws_restJson1.js +29 -29
  44. package/dist-types/runtimeConfig.native.d.ts +2 -2
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  46. package/package.json +34 -34
@@ -13,7 +13,7 @@ export var serializeAws_restJson1ChangeServerLifeCycleStateCommand = function (i
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 || "") + "/ChangeServerLifeCycleState";
16
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ChangeServerLifeCycleState";
17
17
  body = JSON.stringify(__assign(__assign({}, (input.lifeCycle !== undefined &&
18
18
  input.lifeCycle !== null && {
19
19
  lifeCycle: serializeAws_restJson1ChangeServerLifeCycleStateSourceServerLifecycle(input.lifeCycle, context),
@@ -41,7 +41,7 @@ export var serializeAws_restJson1CreateReplicationConfigurationTemplateCommand =
41
41
  headers = {
42
42
  "content-type": "application/json",
43
43
  };
44
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/CreateReplicationConfigurationTemplate";
44
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/CreateReplicationConfigurationTemplate";
45
45
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.associateDefaultSecurityGroup !== undefined &&
46
46
  input.associateDefaultSecurityGroup !== null && {
47
47
  associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
@@ -87,7 +87,7 @@ export var serializeAws_restJson1DeleteJobCommand = function (input, context) {
87
87
  headers = {
88
88
  "content-type": "application/json",
89
89
  };
90
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteJob";
90
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteJob";
91
91
  body = JSON.stringify(__assign({}, (input.jobID !== undefined && input.jobID !== null && { jobID: input.jobID })));
92
92
  return [2, new __HttpRequest({
93
93
  protocol: protocol,
@@ -111,7 +111,7 @@ export var serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand =
111
111
  headers = {
112
112
  "content-type": "application/json",
113
113
  };
114
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteReplicationConfigurationTemplate";
114
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteReplicationConfigurationTemplate";
115
115
  body = JSON.stringify(__assign({}, (input.replicationConfigurationTemplateID !== undefined &&
116
116
  input.replicationConfigurationTemplateID !== null && {
117
117
  replicationConfigurationTemplateID: input.replicationConfigurationTemplateID,
@@ -138,7 +138,7 @@ export var serializeAws_restJson1DeleteSourceServerCommand = function (input, co
138
138
  headers = {
139
139
  "content-type": "application/json",
140
140
  };
141
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteSourceServer";
141
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteSourceServer";
142
142
  body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
143
143
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
144
144
  return [2, new __HttpRequest({
@@ -163,7 +163,7 @@ export var serializeAws_restJson1DeleteVcenterClientCommand = function (input, c
163
163
  headers = {
164
164
  "content-type": "application/json",
165
165
  };
166
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteVcenterClient";
166
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteVcenterClient";
167
167
  body = JSON.stringify(__assign({}, (input.vcenterClientID !== undefined &&
168
168
  input.vcenterClientID !== null && { vcenterClientID: input.vcenterClientID })));
169
169
  return [2, new __HttpRequest({
@@ -188,7 +188,7 @@ export var serializeAws_restJson1DescribeJobLogItemsCommand = function (input, c
188
188
  headers = {
189
189
  "content-type": "application/json",
190
190
  };
191
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeJobLogItems";
191
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeJobLogItems";
192
192
  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 })));
193
193
  return [2, new __HttpRequest({
194
194
  protocol: protocol,
@@ -212,7 +212,7 @@ export var serializeAws_restJson1DescribeJobsCommand = function (input, context)
212
212
  headers = {
213
213
  "content-type": "application/json",
214
214
  };
215
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeJobs";
215
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeJobs";
216
216
  body = JSON.stringify(__assign(__assign(__assign({}, (input.filters !== undefined &&
217
217
  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 })));
218
218
  return [2, new __HttpRequest({
@@ -237,7 +237,7 @@ export var serializeAws_restJson1DescribeReplicationConfigurationTemplatesComman
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 || "") +
240
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
241
241
  "/DescribeReplicationConfigurationTemplates";
242
242
  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 &&
243
243
  input.replicationConfigurationTemplateIDs !== null && {
@@ -265,7 +265,7 @@ export var serializeAws_restJson1DescribeSourceServersCommand = function (input,
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 || "") + "/DescribeSourceServers";
268
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeSourceServers";
269
269
  body = JSON.stringify(__assign(__assign(__assign({}, (input.filters !== undefined &&
270
270
  input.filters !== null && {
271
271
  filters: serializeAws_restJson1DescribeSourceServersRequestFilters(input.filters, context),
@@ -290,7 +290,7 @@ export var serializeAws_restJson1DescribeVcenterClientsCommand = function (input
290
290
  case 1:
291
291
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
292
292
  headers = {};
293
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeVcenterClients";
293
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeVcenterClients";
294
294
  query = __assign(__assign({}, (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
295
295
  return [2, new __HttpRequest({
296
296
  protocol: protocol,
@@ -315,7 +315,7 @@ export var serializeAws_restJson1DisconnectFromServiceCommand = function (input,
315
315
  headers = {
316
316
  "content-type": "application/json",
317
317
  };
318
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DisconnectFromService";
318
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DisconnectFromService";
319
319
  body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
320
320
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
321
321
  return [2, new __HttpRequest({
@@ -340,7 +340,7 @@ export var serializeAws_restJson1FinalizeCutoverCommand = function (input, conte
340
340
  headers = {
341
341
  "content-type": "application/json",
342
342
  };
343
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/FinalizeCutover";
343
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/FinalizeCutover";
344
344
  body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
345
345
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
346
346
  return [2, new __HttpRequest({
@@ -365,7 +365,7 @@ export var serializeAws_restJson1GetLaunchConfigurationCommand = function (input
365
365
  headers = {
366
366
  "content-type": "application/json",
367
367
  };
368
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetLaunchConfiguration";
368
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetLaunchConfiguration";
369
369
  body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
370
370
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
371
371
  return [2, new __HttpRequest({
@@ -390,7 +390,7 @@ export var serializeAws_restJson1GetReplicationConfigurationCommand = function (
390
390
  headers = {
391
391
  "content-type": "application/json",
392
392
  };
393
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetReplicationConfiguration";
393
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetReplicationConfiguration";
394
394
  body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
395
395
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
396
396
  return [2, new __HttpRequest({
@@ -415,7 +415,7 @@ export var serializeAws_restJson1InitializeServiceCommand = function (input, con
415
415
  headers = {
416
416
  "content-type": "application/json",
417
417
  };
418
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/InitializeService";
418
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/InitializeService";
419
419
  body = "";
420
420
  return [2, new __HttpRequest({
421
421
  protocol: protocol,
@@ -437,7 +437,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
437
437
  case 1:
438
438
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
439
439
  headers = {};
440
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
440
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
441
441
  if (input.resourceArn !== undefined) {
442
442
  labelValue = input.resourceArn;
443
443
  if (labelValue.length <= 0) {
@@ -470,7 +470,7 @@ export var serializeAws_restJson1MarkAsArchivedCommand = function (input, contex
470
470
  headers = {
471
471
  "content-type": "application/json",
472
472
  };
473
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/MarkAsArchived";
473
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/MarkAsArchived";
474
474
  body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
475
475
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
476
476
  return [2, new __HttpRequest({
@@ -495,7 +495,7 @@ export var serializeAws_restJson1RetryDataReplicationCommand = function (input,
495
495
  headers = {
496
496
  "content-type": "application/json",
497
497
  };
498
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/RetryDataReplication";
498
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/RetryDataReplication";
499
499
  body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
500
500
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
501
501
  return [2, new __HttpRequest({
@@ -520,7 +520,7 @@ export var serializeAws_restJson1StartCutoverCommand = function (input, context)
520
520
  headers = {
521
521
  "content-type": "application/json",
522
522
  };
523
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartCutover";
523
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartCutover";
524
524
  body = JSON.stringify(__assign(__assign({}, (input.sourceServerIDs !== undefined &&
525
525
  input.sourceServerIDs !== null && {
526
526
  sourceServerIDs: serializeAws_restJson1StartCutoverRequestSourceServerIDs(input.sourceServerIDs, context),
@@ -548,7 +548,7 @@ export var serializeAws_restJson1StartReplicationCommand = function (input, cont
548
548
  headers = {
549
549
  "content-type": "application/json",
550
550
  };
551
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartReplication";
551
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartReplication";
552
552
  body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
553
553
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
554
554
  return [2, new __HttpRequest({
@@ -573,7 +573,7 @@ export var serializeAws_restJson1StartTestCommand = function (input, context) {
573
573
  headers = {
574
574
  "content-type": "application/json",
575
575
  };
576
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartTest";
576
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartTest";
577
577
  body = JSON.stringify(__assign(__assign({}, (input.sourceServerIDs !== undefined &&
578
578
  input.sourceServerIDs !== null && {
579
579
  sourceServerIDs: serializeAws_restJson1StartTestRequestSourceServerIDs(input.sourceServerIDs, context),
@@ -601,7 +601,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
601
601
  headers = {
602
602
  "content-type": "application/json",
603
603
  };
604
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
604
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
605
605
  if (input.resourceArn !== undefined) {
606
606
  labelValue = input.resourceArn;
607
607
  if (labelValue.length <= 0) {
@@ -636,7 +636,7 @@ export var serializeAws_restJson1TerminateTargetInstancesCommand = function (inp
636
636
  headers = {
637
637
  "content-type": "application/json",
638
638
  };
639
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/TerminateTargetInstances";
639
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/TerminateTargetInstances";
640
640
  body = JSON.stringify(__assign(__assign({}, (input.sourceServerIDs !== undefined &&
641
641
  input.sourceServerIDs !== null && {
642
642
  sourceServerIDs: serializeAws_restJson1TerminateTargetInstancesRequestSourceServerIDs(input.sourceServerIDs, context),
@@ -662,7 +662,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
662
662
  case 1:
663
663
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
664
664
  headers = {};
665
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
665
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
666
666
  if (input.resourceArn !== undefined) {
667
667
  labelValue = input.resourceArn;
668
668
  if (labelValue.length <= 0) {
@@ -697,7 +697,7 @@ export var serializeAws_restJson1UpdateLaunchConfigurationCommand = function (in
697
697
  headers = {
698
698
  "content-type": "application/json",
699
699
  };
700
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateLaunchConfiguration";
700
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateLaunchConfiguration";
701
701
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.bootMode !== undefined && input.bootMode !== null && { bootMode: input.bootMode })), (input.copyPrivateIp !== undefined && input.copyPrivateIp !== null && { copyPrivateIp: input.copyPrivateIp })), (input.copyTags !== undefined && input.copyTags !== null && { copyTags: input.copyTags })), (input.launchDisposition !== undefined &&
702
702
  input.launchDisposition !== null && { launchDisposition: input.launchDisposition })), (input.licensing !== undefined &&
703
703
  input.licensing !== null && { licensing: serializeAws_restJson1Licensing(input.licensing, context) })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.sourceServerID !== undefined &&
@@ -727,7 +727,7 @@ export var serializeAws_restJson1UpdateReplicationConfigurationCommand = functio
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 || "") + "/UpdateReplicationConfiguration";
730
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateReplicationConfiguration";
731
731
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.associateDefaultSecurityGroup !== undefined &&
732
732
  input.associateDefaultSecurityGroup !== null && {
733
733
  associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
@@ -776,7 +776,7 @@ export var serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand =
776
776
  headers = {
777
777
  "content-type": "application/json",
778
778
  };
779
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateReplicationConfigurationTemplate";
779
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateReplicationConfigurationTemplate";
780
780
  body = JSON.stringify(__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 &&
781
781
  input.associateDefaultSecurityGroup !== null && {
782
782
  associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
@@ -824,7 +824,7 @@ export var serializeAws_restJson1UpdateSourceServerReplicationTypeCommand = func
824
824
  headers = {
825
825
  "content-type": "application/json",
826
826
  };
827
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateSourceServerReplicationType";
827
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateSourceServerReplicationType";
828
828
  body = JSON.stringify(__assign(__assign({}, (input.replicationType !== undefined &&
829
829
  input.replicationType !== null && { replicationType: input.replicationType })), (input.sourceServerID !== undefined &&
830
830
  input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
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: MgnClientConfig) => {
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-mgn",
3
3
  "description": "AWS SDK for JavaScript Mgn 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"