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