@aws-sdk/client-drs 3.183.0 → 3.186.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 +19 -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 +33 -33
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class DrsClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var DrsClient = (function (_super) {
13
+ __extends(DrsClient, _super);
14
+ function DrsClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ DrsClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return DrsClient;
38
+ }(__Client));
39
+ export { DrsClient };
@@ -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 { CreateExtendedSourceServerRequestFilterSensitiveLog, CreateExtendedSourceServerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateExtendedSourceServerCommand, serializeAws_restJson1CreateExtendedSourceServerCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateExtendedSourceServerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateExtendedSourceServerCommand = (function (_super) {
7
+ __extends(CreateExtendedSourceServerCommand, _super);
8
+ function CreateExtendedSourceServerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateExtendedSourceServerCommand.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 = "CreateExtendedSourceServerCommand";
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 = "CreateExtendedSourceServerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateExtendedSourceServerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateExtendedSourceServerResponseFilterSensitiveLog,
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
+ CreateExtendedSourceServerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateExtendedSourceServerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateExtendedSourceServerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateExtendedSourceServerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateExtendedSourceServerCommand;
38
+ }($Command));
39
+ export { CreateExtendedSourceServerCommand };
@@ -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 { CreateReplicationConfigurationTemplateRequestFilterSensitiveLog, ReplicationConfigurationTemplateFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand, serializeAws_restJson1CreateReplicationConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateReplicationConfigurationTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateReplicationConfigurationTemplateCommand = (function (_super) {
7
+ __extends(CreateReplicationConfigurationTemplateCommand, _super);
8
+ function CreateReplicationConfigurationTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateReplicationConfigurationTemplateCommand.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 = "CreateReplicationConfigurationTemplateCommand";
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 = "CreateReplicationConfigurationTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateReplicationConfigurationTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ReplicationConfigurationTemplateFilterSensitiveLog,
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
+ CreateReplicationConfigurationTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateReplicationConfigurationTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateReplicationConfigurationTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateReplicationConfigurationTemplateCommand;
38
+ }($Command));
39
+ export { CreateReplicationConfigurationTemplateCommand };
@@ -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 { DeleteJobRequestFilterSensitiveLog, DeleteJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteJobCommand, serializeAws_restJson1DeleteJobCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteJobCommand = (function (_super) {
7
+ __extends(DeleteJobCommand, _super);
8
+ function DeleteJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteJobCommand.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 = "DeleteJobCommand";
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 = "DeleteJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteJobResponseFilterSensitiveLog,
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
+ DeleteJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteJobCommand;
38
+ }($Command));
39
+ export { DeleteJobCommand };
@@ -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 { DeleteRecoveryInstanceRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteRecoveryInstanceCommand, serializeAws_restJson1DeleteRecoveryInstanceCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteRecoveryInstanceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteRecoveryInstanceCommand = (function (_super) {
7
+ __extends(DeleteRecoveryInstanceCommand, _super);
8
+ function DeleteRecoveryInstanceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteRecoveryInstanceCommand.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 = "DeleteRecoveryInstanceCommand";
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 = "DeleteRecoveryInstanceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteRecoveryInstanceRequestFilterSensitiveLog,
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
+ DeleteRecoveryInstanceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteRecoveryInstanceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteRecoveryInstanceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteRecoveryInstanceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteRecoveryInstanceCommand;
38
+ }($Command));
39
+ export { DeleteRecoveryInstanceCommand };
@@ -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 { DeleteReplicationConfigurationTemplateRequestFilterSensitiveLog, DeleteReplicationConfigurationTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommand, serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteReplicationConfigurationTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteReplicationConfigurationTemplateCommand = (function (_super) {
7
+ __extends(DeleteReplicationConfigurationTemplateCommand, _super);
8
+ function DeleteReplicationConfigurationTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteReplicationConfigurationTemplateCommand.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 = "DeleteReplicationConfigurationTemplateCommand";
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 = "DeleteReplicationConfigurationTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteReplicationConfigurationTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteReplicationConfigurationTemplateResponseFilterSensitiveLog,
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
+ DeleteReplicationConfigurationTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteReplicationConfigurationTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteReplicationConfigurationTemplateCommand;
38
+ }($Command));
39
+ export { DeleteReplicationConfigurationTemplateCommand };
@@ -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 { DeleteSourceServerRequestFilterSensitiveLog, DeleteSourceServerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteSourceServerCommand, serializeAws_restJson1DeleteSourceServerCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteSourceServerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSourceServerCommand = (function (_super) {
7
+ __extends(DeleteSourceServerCommand, _super);
8
+ function DeleteSourceServerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSourceServerCommand.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 = "DeleteSourceServerCommand";
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 = "DeleteSourceServerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSourceServerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSourceServerResponseFilterSensitiveLog,
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
+ DeleteSourceServerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteSourceServerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSourceServerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteSourceServerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSourceServerCommand;
38
+ }($Command));
39
+ export { DeleteSourceServerCommand };
@@ -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 { DescribeJobLogItemsRequestFilterSensitiveLog, DescribeJobLogItemsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeJobLogItemsCommand, serializeAws_restJson1DescribeJobLogItemsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeJobLogItemsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeJobLogItemsCommand = (function (_super) {
7
+ __extends(DescribeJobLogItemsCommand, _super);
8
+ function DescribeJobLogItemsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeJobLogItemsCommand.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 = "DescribeJobLogItemsCommand";
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 = "DescribeJobLogItemsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeJobLogItemsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeJobLogItemsResponseFilterSensitiveLog,
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
+ DescribeJobLogItemsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeJobLogItemsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeJobLogItemsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeJobLogItemsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeJobLogItemsCommand;
38
+ }($Command));
39
+ export { DescribeJobLogItemsCommand };
@@ -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 { DescribeJobsRequestFilterSensitiveLog, DescribeJobsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeJobsCommand, serializeAws_restJson1DescribeJobsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeJobsCommand = (function (_super) {
7
+ __extends(DescribeJobsCommand, _super);
8
+ function DescribeJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeJobsCommand.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 = "DescribeJobsCommand";
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 = "DescribeJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeJobsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeJobsResponseFilterSensitiveLog,
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
+ DescribeJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeJobsCommand;
38
+ }($Command));
39
+ export { DescribeJobsCommand };
@@ -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 { DescribeRecoveryInstancesRequestFilterSensitiveLog, DescribeRecoveryInstancesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeRecoveryInstancesCommand, serializeAws_restJson1DescribeRecoveryInstancesCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeRecoveryInstancesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeRecoveryInstancesCommand = (function (_super) {
7
+ __extends(DescribeRecoveryInstancesCommand, _super);
8
+ function DescribeRecoveryInstancesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeRecoveryInstancesCommand.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 = "DescribeRecoveryInstancesCommand";
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 = "DescribeRecoveryInstancesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeRecoveryInstancesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeRecoveryInstancesResponseFilterSensitiveLog,
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
+ DescribeRecoveryInstancesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeRecoveryInstancesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeRecoveryInstancesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeRecoveryInstancesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeRecoveryInstancesCommand;
38
+ }($Command));
39
+ export { DescribeRecoveryInstancesCommand };