@aws-sdk/client-elastic-beanstalk 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 (67) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_query.js +2 -2
  3. package/dist-es/ElasticBeanstalk.js +197 -190
  4. package/dist-es/ElasticBeanstalkClient.js +28 -22
  5. package/dist-es/commands/AbortEnvironmentUpdateCommand.js +29 -22
  6. package/dist-es/commands/ApplyEnvironmentManagedActionCommand.js +28 -21
  7. package/dist-es/commands/AssociateEnvironmentOperationsRoleCommand.js +29 -22
  8. package/dist-es/commands/CheckDNSAvailabilityCommand.js +28 -21
  9. package/dist-es/commands/ComposeEnvironmentsCommand.js +28 -21
  10. package/dist-es/commands/CreateApplicationCommand.js +28 -21
  11. package/dist-es/commands/CreateApplicationVersionCommand.js +28 -21
  12. package/dist-es/commands/CreateConfigurationTemplateCommand.js +28 -21
  13. package/dist-es/commands/CreateEnvironmentCommand.js +28 -21
  14. package/dist-es/commands/CreatePlatformVersionCommand.js +28 -21
  15. package/dist-es/commands/CreateStorageLocationCommand.js +29 -22
  16. package/dist-es/commands/DeleteApplicationCommand.js +29 -22
  17. package/dist-es/commands/DeleteApplicationVersionCommand.js +29 -22
  18. package/dist-es/commands/DeleteConfigurationTemplateCommand.js +29 -22
  19. package/dist-es/commands/DeleteEnvironmentConfigurationCommand.js +29 -22
  20. package/dist-es/commands/DeletePlatformVersionCommand.js +28 -21
  21. package/dist-es/commands/DescribeAccountAttributesCommand.js +29 -22
  22. package/dist-es/commands/DescribeApplicationVersionsCommand.js +28 -21
  23. package/dist-es/commands/DescribeApplicationsCommand.js +28 -21
  24. package/dist-es/commands/DescribeConfigurationOptionsCommand.js +28 -21
  25. package/dist-es/commands/DescribeConfigurationSettingsCommand.js +28 -21
  26. package/dist-es/commands/DescribeEnvironmentHealthCommand.js +28 -21
  27. package/dist-es/commands/DescribeEnvironmentManagedActionHistoryCommand.js +28 -21
  28. package/dist-es/commands/DescribeEnvironmentManagedActionsCommand.js +28 -21
  29. package/dist-es/commands/DescribeEnvironmentResourcesCommand.js +28 -21
  30. package/dist-es/commands/DescribeEnvironmentsCommand.js +28 -21
  31. package/dist-es/commands/DescribeEventsCommand.js +28 -21
  32. package/dist-es/commands/DescribeInstancesHealthCommand.js +28 -21
  33. package/dist-es/commands/DescribePlatformVersionCommand.js +28 -21
  34. package/dist-es/commands/DisassociateEnvironmentOperationsRoleCommand.js +29 -22
  35. package/dist-es/commands/ListAvailableSolutionStacksCommand.js +29 -22
  36. package/dist-es/commands/ListPlatformBranchesCommand.js +28 -21
  37. package/dist-es/commands/ListPlatformVersionsCommand.js +28 -21
  38. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  39. package/dist-es/commands/RebuildEnvironmentCommand.js +29 -22
  40. package/dist-es/commands/RequestEnvironmentInfoCommand.js +29 -22
  41. package/dist-es/commands/RestartAppServerCommand.js +29 -22
  42. package/dist-es/commands/RetrieveEnvironmentInfoCommand.js +28 -21
  43. package/dist-es/commands/SwapEnvironmentCNAMEsCommand.js +29 -22
  44. package/dist-es/commands/TerminateEnvironmentCommand.js +28 -21
  45. package/dist-es/commands/UpdateApplicationCommand.js +28 -21
  46. package/dist-es/commands/UpdateApplicationResourceLifecycleCommand.js +28 -21
  47. package/dist-es/commands/UpdateApplicationVersionCommand.js +28 -21
  48. package/dist-es/commands/UpdateConfigurationTemplateCommand.js +28 -21
  49. package/dist-es/commands/UpdateEnvironmentCommand.js +28 -21
  50. package/dist-es/commands/UpdateTagsForResourceCommand.js +29 -22
  51. package/dist-es/commands/ValidateConfigurationSettingsCommand.js +28 -21
  52. package/dist-es/endpoints.js +8 -8
  53. package/dist-es/models/ElasticBeanstalkServiceException.js +10 -5
  54. package/dist-es/models/models_0.js +336 -587
  55. package/dist-es/pagination/DescribeEnvironmentManagedActionHistoryPaginator.js +68 -25
  56. package/dist-es/pagination/DescribeEventsPaginator.js +68 -25
  57. package/dist-es/pagination/ListPlatformBranchesPaginator.js +68 -25
  58. package/dist-es/pagination/ListPlatformVersionsPaginator.js +68 -25
  59. package/dist-es/protocols/Aws_query.js +3981 -2951
  60. package/dist-es/runtimeConfig.browser.js +12 -26
  61. package/dist-es/runtimeConfig.js +12 -30
  62. package/dist-es/runtimeConfig.native.js +5 -8
  63. package/dist-es/runtimeConfig.shared.js +11 -8
  64. package/dist-es/waiters/waitForEnvironmentExists.js +93 -52
  65. package/dist-es/waiters/waitForEnvironmentTerminated.js +93 -52
  66. package/dist-es/waiters/waitForEnvironmentUpdated.js +93 -52
  67. package/package.json +34 -34
@@ -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 { DisassociateEnvironmentOperationsRoleMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDisassociateEnvironmentOperationsRoleCommand, serializeAws_queryDisassociateEnvironmentOperationsRoleCommand, } from "../protocols/Aws_query";
5
- export class DisassociateEnvironmentOperationsRoleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateEnvironmentOperationsRoleCommand = (function (_super) {
7
+ __extends(DisassociateEnvironmentOperationsRoleCommand, _super);
8
+ function DisassociateEnvironmentOperationsRoleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateEnvironmentOperationsRoleCommand.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 = "ElasticBeanstalkClient";
15
- const commandName = "DisassociateEnvironmentOperationsRoleCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "DisassociateEnvironmentOperationsRoleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateEnvironmentOperationsRoleMessageFilterSensitiveLog,
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
+ DisassociateEnvironmentOperationsRoleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDisassociateEnvironmentOperationsRoleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateEnvironmentOperationsRoleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDisassociateEnvironmentOperationsRoleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateEnvironmentOperationsRoleCommand;
38
+ }($Command));
39
+ export { DisassociateEnvironmentOperationsRoleCommand };
@@ -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 { ListAvailableSolutionStacksResultMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryListAvailableSolutionStacksCommand, serializeAws_queryListAvailableSolutionStacksCommand, } from "../protocols/Aws_query";
5
- export class ListAvailableSolutionStacksCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAvailableSolutionStacksCommand = (function (_super) {
7
+ __extends(ListAvailableSolutionStacksCommand, _super);
8
+ function ListAvailableSolutionStacksCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAvailableSolutionStacksCommand.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 = "ElasticBeanstalkClient";
15
- const commandName = "ListAvailableSolutionStacksCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
20
- inputFilterSensitiveLog: (input) => input,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "ListAvailableSolutionStacksCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: function (input) { return input; },
21
24
  outputFilterSensitiveLog: ListAvailableSolutionStacksResultMessageFilterSensitiveLog,
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
+ ListAvailableSolutionStacksCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryListAvailableSolutionStacksCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAvailableSolutionStacksCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryListAvailableSolutionStacksCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAvailableSolutionStacksCommand;
38
+ }($Command));
39
+ export { ListAvailableSolutionStacksCommand };
@@ -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 { ListPlatformBranchesRequestFilterSensitiveLog, ListPlatformBranchesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryListPlatformBranchesCommand, serializeAws_queryListPlatformBranchesCommand, } from "../protocols/Aws_query";
5
- export class ListPlatformBranchesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPlatformBranchesCommand = (function (_super) {
7
+ __extends(ListPlatformBranchesCommand, _super);
8
+ function ListPlatformBranchesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPlatformBranchesCommand.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 = "ElasticBeanstalkClient";
15
- const commandName = "ListPlatformBranchesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "ListPlatformBranchesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPlatformBranchesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPlatformBranchesResultFilterSensitiveLog,
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
+ ListPlatformBranchesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryListPlatformBranchesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPlatformBranchesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryListPlatformBranchesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPlatformBranchesCommand;
38
+ }($Command));
39
+ export { ListPlatformBranchesCommand };
@@ -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 { ListPlatformVersionsRequestFilterSensitiveLog, ListPlatformVersionsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryListPlatformVersionsCommand, serializeAws_queryListPlatformVersionsCommand, } from "../protocols/Aws_query";
5
- export class ListPlatformVersionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPlatformVersionsCommand = (function (_super) {
7
+ __extends(ListPlatformVersionsCommand, _super);
8
+ function ListPlatformVersionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPlatformVersionsCommand.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 = "ElasticBeanstalkClient";
15
- const commandName = "ListPlatformVersionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "ListPlatformVersionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPlatformVersionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPlatformVersionsResultFilterSensitiveLog,
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
+ ListPlatformVersionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryListPlatformVersionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPlatformVersionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryListPlatformVersionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPlatformVersionsCommand;
38
+ }($Command));
39
+ export { ListPlatformVersionsCommand };
@@ -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 { ListTagsForResourceMessageFilterSensitiveLog, ResourceTagsDescriptionMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryListTagsForResourceCommand, serializeAws_queryListTagsForResourceCommand, } from "../protocols/Aws_query";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "ElasticBeanstalkClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ResourceTagsDescriptionMessageFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { RebuildEnvironmentMessageFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_queryRebuildEnvironmentCommand, serializeAws_queryRebuildEnvironmentCommand, } from "../protocols/Aws_query";
5
- export class RebuildEnvironmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RebuildEnvironmentCommand = (function (_super) {
7
+ __extends(RebuildEnvironmentCommand, _super);
8
+ function RebuildEnvironmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RebuildEnvironmentCommand.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 = "ElasticBeanstalkClient";
15
- const commandName = "RebuildEnvironmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "RebuildEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RebuildEnvironmentMessageFilterSensitiveLog,
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
+ RebuildEnvironmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryRebuildEnvironmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RebuildEnvironmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryRebuildEnvironmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RebuildEnvironmentCommand;
38
+ }($Command));
39
+ export { RebuildEnvironmentCommand };
@@ -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 { RequestEnvironmentInfoMessageFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_queryRequestEnvironmentInfoCommand, serializeAws_queryRequestEnvironmentInfoCommand, } from "../protocols/Aws_query";
5
- export class RequestEnvironmentInfoCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RequestEnvironmentInfoCommand = (function (_super) {
7
+ __extends(RequestEnvironmentInfoCommand, _super);
8
+ function RequestEnvironmentInfoCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RequestEnvironmentInfoCommand.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 = "ElasticBeanstalkClient";
15
- const commandName = "RequestEnvironmentInfoCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "RequestEnvironmentInfoCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RequestEnvironmentInfoMessageFilterSensitiveLog,
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
+ RequestEnvironmentInfoCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryRequestEnvironmentInfoCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RequestEnvironmentInfoCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryRequestEnvironmentInfoCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RequestEnvironmentInfoCommand;
38
+ }($Command));
39
+ export { RequestEnvironmentInfoCommand };
@@ -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 { RestartAppServerMessageFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_queryRestartAppServerCommand, serializeAws_queryRestartAppServerCommand, } from "../protocols/Aws_query";
5
- export class RestartAppServerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RestartAppServerCommand = (function (_super) {
7
+ __extends(RestartAppServerCommand, _super);
8
+ function RestartAppServerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RestartAppServerCommand.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 = "ElasticBeanstalkClient";
15
- const commandName = "RestartAppServerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "RestartAppServerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RestartAppServerMessageFilterSensitiveLog,
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
+ RestartAppServerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryRestartAppServerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RestartAppServerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryRestartAppServerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RestartAppServerCommand;
38
+ }($Command));
39
+ export { RestartAppServerCommand };
@@ -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 { RetrieveEnvironmentInfoMessageFilterSensitiveLog, RetrieveEnvironmentInfoResultMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryRetrieveEnvironmentInfoCommand, serializeAws_queryRetrieveEnvironmentInfoCommand, } from "../protocols/Aws_query";
5
- export class RetrieveEnvironmentInfoCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RetrieveEnvironmentInfoCommand = (function (_super) {
7
+ __extends(RetrieveEnvironmentInfoCommand, _super);
8
+ function RetrieveEnvironmentInfoCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RetrieveEnvironmentInfoCommand.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 = "ElasticBeanstalkClient";
15
- const commandName = "RetrieveEnvironmentInfoCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "RetrieveEnvironmentInfoCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RetrieveEnvironmentInfoMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RetrieveEnvironmentInfoResultMessageFilterSensitiveLog,
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
+ RetrieveEnvironmentInfoCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryRetrieveEnvironmentInfoCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RetrieveEnvironmentInfoCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryRetrieveEnvironmentInfoCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RetrieveEnvironmentInfoCommand;
38
+ }($Command));
39
+ export { RetrieveEnvironmentInfoCommand };
@@ -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 { SwapEnvironmentCNAMEsMessageFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_querySwapEnvironmentCNAMEsCommand, serializeAws_querySwapEnvironmentCNAMEsCommand, } from "../protocols/Aws_query";
5
- export class SwapEnvironmentCNAMEsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SwapEnvironmentCNAMEsCommand = (function (_super) {
7
+ __extends(SwapEnvironmentCNAMEsCommand, _super);
8
+ function SwapEnvironmentCNAMEsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SwapEnvironmentCNAMEsCommand.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 = "ElasticBeanstalkClient";
15
- const commandName = "SwapEnvironmentCNAMEsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "SwapEnvironmentCNAMEsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SwapEnvironmentCNAMEsMessageFilterSensitiveLog,
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
+ SwapEnvironmentCNAMEsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_querySwapEnvironmentCNAMEsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SwapEnvironmentCNAMEsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_querySwapEnvironmentCNAMEsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SwapEnvironmentCNAMEsCommand;
38
+ }($Command));
39
+ export { SwapEnvironmentCNAMEsCommand };