@aws-sdk/client-drs 3.183.0 → 3.185.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 (53) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Drs.js +137 -130
  4. package/dist-es/DrsClient.js +28 -22
  5. package/dist-es/commands/CreateExtendedSourceServerCommand.js +28 -21
  6. package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +28 -21
  7. package/dist-es/commands/DeleteJobCommand.js +28 -21
  8. package/dist-es/commands/DeleteRecoveryInstanceCommand.js +29 -22
  9. package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +28 -21
  10. package/dist-es/commands/DeleteSourceServerCommand.js +28 -21
  11. package/dist-es/commands/DescribeJobLogItemsCommand.js +28 -21
  12. package/dist-es/commands/DescribeJobsCommand.js +28 -21
  13. package/dist-es/commands/DescribeRecoveryInstancesCommand.js +28 -21
  14. package/dist-es/commands/DescribeRecoverySnapshotsCommand.js +28 -21
  15. package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +28 -21
  16. package/dist-es/commands/DescribeSourceServersCommand.js +28 -21
  17. package/dist-es/commands/DisconnectRecoveryInstanceCommand.js +29 -22
  18. package/dist-es/commands/DisconnectSourceServerCommand.js +28 -21
  19. package/dist-es/commands/GetFailbackReplicationConfigurationCommand.js +28 -21
  20. package/dist-es/commands/GetLaunchConfigurationCommand.js +28 -21
  21. package/dist-es/commands/GetReplicationConfigurationCommand.js +28 -21
  22. package/dist-es/commands/InitializeServiceCommand.js +28 -21
  23. package/dist-es/commands/ListExtensibleSourceServersCommand.js +28 -21
  24. package/dist-es/commands/ListStagingAccountsCommand.js +28 -21
  25. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  26. package/dist-es/commands/RetryDataReplicationCommand.js +28 -21
  27. package/dist-es/commands/StartFailbackLaunchCommand.js +28 -21
  28. package/dist-es/commands/StartRecoveryCommand.js +28 -21
  29. package/dist-es/commands/StopFailbackCommand.js +29 -22
  30. package/dist-es/commands/TagResourceCommand.js +29 -22
  31. package/dist-es/commands/TerminateRecoveryInstancesCommand.js +28 -21
  32. package/dist-es/commands/UntagResourceCommand.js +29 -22
  33. package/dist-es/commands/UpdateFailbackReplicationConfigurationCommand.js +29 -22
  34. package/dist-es/commands/UpdateLaunchConfigurationCommand.js +28 -21
  35. package/dist-es/commands/UpdateReplicationConfigurationCommand.js +28 -21
  36. package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +28 -21
  37. package/dist-es/endpoints.js +8 -8
  38. package/dist-es/models/DrsServiceException.js +10 -5
  39. package/dist-es/models/models_0.js +204 -419
  40. package/dist-es/pagination/DescribeJobLogItemsPaginator.js +68 -25
  41. package/dist-es/pagination/DescribeJobsPaginator.js +68 -25
  42. package/dist-es/pagination/DescribeRecoveryInstancesPaginator.js +68 -25
  43. package/dist-es/pagination/DescribeRecoverySnapshotsPaginator.js +68 -25
  44. package/dist-es/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +68 -25
  45. package/dist-es/pagination/DescribeSourceServersPaginator.js +68 -25
  46. package/dist-es/pagination/ListExtensibleSourceServersPaginator.js +68 -25
  47. package/dist-es/pagination/ListStagingAccountsPaginator.js +68 -25
  48. package/dist-es/protocols/Aws_restJson1.js +3774 -2882
  49. package/dist-es/runtimeConfig.browser.js +12 -26
  50. package/dist-es/runtimeConfig.js +12 -30
  51. package/dist-es/runtimeConfig.native.js +5 -8
  52. package/dist-es/runtimeConfig.shared.js +11 -8
  53. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeRecoverySnapshotsRequestFilterSensitiveLog, DescribeRecoverySnapshotsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeRecoverySnapshotsCommand, serializeAws_restJson1DescribeRecoverySnapshotsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeRecoverySnapshotsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeRecoverySnapshotsCommand = (function (_super) {
7
+ __extends(DescribeRecoverySnapshotsCommand, _super);
8
+ function DescribeRecoverySnapshotsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeRecoverySnapshotsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DrsClient";
15
- const commandName = "DescribeRecoverySnapshotsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "DescribeRecoverySnapshotsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeRecoverySnapshotsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeRecoverySnapshotsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeRecoverySnapshotsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeRecoverySnapshotsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeRecoverySnapshotsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeRecoverySnapshotsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeRecoverySnapshotsCommand;
38
+ }($Command));
39
+ export { DescribeRecoverySnapshotsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeReplicationConfigurationTemplatesRequestFilterSensitiveLog, DescribeReplicationConfigurationTemplatesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand, serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeReplicationConfigurationTemplatesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeReplicationConfigurationTemplatesCommand = (function (_super) {
7
+ __extends(DescribeReplicationConfigurationTemplatesCommand, _super);
8
+ function DescribeReplicationConfigurationTemplatesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeReplicationConfigurationTemplatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DrsClient";
15
- const commandName = "DescribeReplicationConfigurationTemplatesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "DescribeReplicationConfigurationTemplatesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeReplicationConfigurationTemplatesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeReplicationConfigurationTemplatesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeReplicationConfigurationTemplatesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeReplicationConfigurationTemplatesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeReplicationConfigurationTemplatesCommand;
38
+ }($Command));
39
+ export { DescribeReplicationConfigurationTemplatesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeSourceServersRequestFilterSensitiveLog, DescribeSourceServersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeSourceServersCommand, serializeAws_restJson1DescribeSourceServersCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeSourceServersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeSourceServersCommand = (function (_super) {
7
+ __extends(DescribeSourceServersCommand, _super);
8
+ function DescribeSourceServersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeSourceServersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DrsClient";
15
- const commandName = "DescribeSourceServersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "DescribeSourceServersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeSourceServersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeSourceServersResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeSourceServersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeSourceServersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeSourceServersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeSourceServersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeSourceServersCommand;
38
+ }($Command));
39
+ export { DescribeSourceServersCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DisconnectRecoveryInstanceRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisconnectRecoveryInstanceCommand, serializeAws_restJson1DisconnectRecoveryInstanceCommand, } from "../protocols/Aws_restJson1";
5
- export class DisconnectRecoveryInstanceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisconnectRecoveryInstanceCommand = (function (_super) {
7
+ __extends(DisconnectRecoveryInstanceCommand, _super);
8
+ function DisconnectRecoveryInstanceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisconnectRecoveryInstanceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DrsClient";
15
- const commandName = "DisconnectRecoveryInstanceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "DisconnectRecoveryInstanceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisconnectRecoveryInstanceRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisconnectRecoveryInstanceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisconnectRecoveryInstanceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisconnectRecoveryInstanceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisconnectRecoveryInstanceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisconnectRecoveryInstanceCommand;
38
+ }($Command));
39
+ export { DisconnectRecoveryInstanceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DisconnectSourceServerRequestFilterSensitiveLog, SourceServerFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisconnectSourceServerCommand, serializeAws_restJson1DisconnectSourceServerCommand, } from "../protocols/Aws_restJson1";
5
- export class DisconnectSourceServerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisconnectSourceServerCommand = (function (_super) {
7
+ __extends(DisconnectSourceServerCommand, _super);
8
+ function DisconnectSourceServerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisconnectSourceServerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DrsClient";
15
- const commandName = "DisconnectSourceServerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "DisconnectSourceServerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisconnectSourceServerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SourceServerFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisconnectSourceServerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisconnectSourceServerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisconnectSourceServerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisconnectSourceServerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisconnectSourceServerCommand;
38
+ }($Command));
39
+ export { DisconnectSourceServerCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetFailbackReplicationConfigurationRequestFilterSensitiveLog, GetFailbackReplicationConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetFailbackReplicationConfigurationCommand, serializeAws_restJson1GetFailbackReplicationConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetFailbackReplicationConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetFailbackReplicationConfigurationCommand = (function (_super) {
7
+ __extends(GetFailbackReplicationConfigurationCommand, _super);
8
+ function GetFailbackReplicationConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetFailbackReplicationConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DrsClient";
15
- const commandName = "GetFailbackReplicationConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "GetFailbackReplicationConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetFailbackReplicationConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetFailbackReplicationConfigurationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetFailbackReplicationConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetFailbackReplicationConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetFailbackReplicationConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetFailbackReplicationConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetFailbackReplicationConfigurationCommand;
38
+ }($Command));
39
+ export { GetFailbackReplicationConfigurationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetLaunchConfigurationRequestFilterSensitiveLog, LaunchConfigurationFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetLaunchConfigurationCommand, serializeAws_restJson1GetLaunchConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetLaunchConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetLaunchConfigurationCommand = (function (_super) {
7
+ __extends(GetLaunchConfigurationCommand, _super);
8
+ function GetLaunchConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetLaunchConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DrsClient";
15
- const commandName = "GetLaunchConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "GetLaunchConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetLaunchConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: LaunchConfigurationFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetLaunchConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetLaunchConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetLaunchConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetLaunchConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetLaunchConfigurationCommand;
38
+ }($Command));
39
+ export { GetLaunchConfigurationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetReplicationConfigurationRequestFilterSensitiveLog, ReplicationConfigurationFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetReplicationConfigurationCommand, serializeAws_restJson1GetReplicationConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetReplicationConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetReplicationConfigurationCommand = (function (_super) {
7
+ __extends(GetReplicationConfigurationCommand, _super);
8
+ function GetReplicationConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetReplicationConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DrsClient";
15
- const commandName = "GetReplicationConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "GetReplicationConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetReplicationConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ReplicationConfigurationFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetReplicationConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetReplicationConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetReplicationConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetReplicationConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetReplicationConfigurationCommand;
38
+ }($Command));
39
+ export { GetReplicationConfigurationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { InitializeServiceRequestFilterSensitiveLog, InitializeServiceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1InitializeServiceCommand, serializeAws_restJson1InitializeServiceCommand, } from "../protocols/Aws_restJson1";
5
- export class InitializeServiceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var InitializeServiceCommand = (function (_super) {
7
+ __extends(InitializeServiceCommand, _super);
8
+ function InitializeServiceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ InitializeServiceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DrsClient";
15
- const commandName = "InitializeServiceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "InitializeServiceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: InitializeServiceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: InitializeServiceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ InitializeServiceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1InitializeServiceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ InitializeServiceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1InitializeServiceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return InitializeServiceCommand;
38
+ }($Command));
39
+ export { InitializeServiceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListExtensibleSourceServersRequestFilterSensitiveLog, ListExtensibleSourceServersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListExtensibleSourceServersCommand, serializeAws_restJson1ListExtensibleSourceServersCommand, } from "../protocols/Aws_restJson1";
5
- export class ListExtensibleSourceServersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListExtensibleSourceServersCommand = (function (_super) {
7
+ __extends(ListExtensibleSourceServersCommand, _super);
8
+ function ListExtensibleSourceServersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListExtensibleSourceServersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DrsClient";
15
- const commandName = "ListExtensibleSourceServersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "ListExtensibleSourceServersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListExtensibleSourceServersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListExtensibleSourceServersResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListExtensibleSourceServersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListExtensibleSourceServersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListExtensibleSourceServersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListExtensibleSourceServersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListExtensibleSourceServersCommand;
38
+ }($Command));
39
+ export { ListExtensibleSourceServersCommand };