@aws-sdk/client-elastic-beanstalk 3.180.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 (67) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist-cjs/protocols/Aws_query.js +64 -56
  3. package/dist-es/ElasticBeanstalk.js +190 -197
  4. package/dist-es/ElasticBeanstalkClient.js +22 -28
  5. package/dist-es/commands/AbortEnvironmentUpdateCommand.js +22 -29
  6. package/dist-es/commands/ApplyEnvironmentManagedActionCommand.js +21 -28
  7. package/dist-es/commands/AssociateEnvironmentOperationsRoleCommand.js +22 -29
  8. package/dist-es/commands/CheckDNSAvailabilityCommand.js +21 -28
  9. package/dist-es/commands/ComposeEnvironmentsCommand.js +21 -28
  10. package/dist-es/commands/CreateApplicationCommand.js +21 -28
  11. package/dist-es/commands/CreateApplicationVersionCommand.js +21 -28
  12. package/dist-es/commands/CreateConfigurationTemplateCommand.js +21 -28
  13. package/dist-es/commands/CreateEnvironmentCommand.js +21 -28
  14. package/dist-es/commands/CreatePlatformVersionCommand.js +21 -28
  15. package/dist-es/commands/CreateStorageLocationCommand.js +22 -29
  16. package/dist-es/commands/DeleteApplicationCommand.js +22 -29
  17. package/dist-es/commands/DeleteApplicationVersionCommand.js +22 -29
  18. package/dist-es/commands/DeleteConfigurationTemplateCommand.js +22 -29
  19. package/dist-es/commands/DeleteEnvironmentConfigurationCommand.js +22 -29
  20. package/dist-es/commands/DeletePlatformVersionCommand.js +21 -28
  21. package/dist-es/commands/DescribeAccountAttributesCommand.js +22 -29
  22. package/dist-es/commands/DescribeApplicationVersionsCommand.js +21 -28
  23. package/dist-es/commands/DescribeApplicationsCommand.js +21 -28
  24. package/dist-es/commands/DescribeConfigurationOptionsCommand.js +21 -28
  25. package/dist-es/commands/DescribeConfigurationSettingsCommand.js +21 -28
  26. package/dist-es/commands/DescribeEnvironmentHealthCommand.js +21 -28
  27. package/dist-es/commands/DescribeEnvironmentManagedActionHistoryCommand.js +21 -28
  28. package/dist-es/commands/DescribeEnvironmentManagedActionsCommand.js +21 -28
  29. package/dist-es/commands/DescribeEnvironmentResourcesCommand.js +21 -28
  30. package/dist-es/commands/DescribeEnvironmentsCommand.js +21 -28
  31. package/dist-es/commands/DescribeEventsCommand.js +21 -28
  32. package/dist-es/commands/DescribeInstancesHealthCommand.js +21 -28
  33. package/dist-es/commands/DescribePlatformVersionCommand.js +21 -28
  34. package/dist-es/commands/DisassociateEnvironmentOperationsRoleCommand.js +22 -29
  35. package/dist-es/commands/ListAvailableSolutionStacksCommand.js +22 -29
  36. package/dist-es/commands/ListPlatformBranchesCommand.js +21 -28
  37. package/dist-es/commands/ListPlatformVersionsCommand.js +21 -28
  38. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  39. package/dist-es/commands/RebuildEnvironmentCommand.js +22 -29
  40. package/dist-es/commands/RequestEnvironmentInfoCommand.js +22 -29
  41. package/dist-es/commands/RestartAppServerCommand.js +22 -29
  42. package/dist-es/commands/RetrieveEnvironmentInfoCommand.js +21 -28
  43. package/dist-es/commands/SwapEnvironmentCNAMEsCommand.js +22 -29
  44. package/dist-es/commands/TerminateEnvironmentCommand.js +21 -28
  45. package/dist-es/commands/UpdateApplicationCommand.js +21 -28
  46. package/dist-es/commands/UpdateApplicationResourceLifecycleCommand.js +21 -28
  47. package/dist-es/commands/UpdateApplicationVersionCommand.js +21 -28
  48. package/dist-es/commands/UpdateConfigurationTemplateCommand.js +21 -28
  49. package/dist-es/commands/UpdateEnvironmentCommand.js +21 -28
  50. package/dist-es/commands/UpdateTagsForResourceCommand.js +22 -29
  51. package/dist-es/commands/ValidateConfigurationSettingsCommand.js +21 -28
  52. package/dist-es/endpoints.js +8 -8
  53. package/dist-es/models/ElasticBeanstalkServiceException.js +5 -10
  54. package/dist-es/models/models_0.js +587 -336
  55. package/dist-es/pagination/DescribeEnvironmentManagedActionHistoryPaginator.js +25 -68
  56. package/dist-es/pagination/DescribeEventsPaginator.js +25 -68
  57. package/dist-es/pagination/ListPlatformBranchesPaginator.js +25 -68
  58. package/dist-es/pagination/ListPlatformVersionsPaginator.js +25 -68
  59. package/dist-es/protocols/Aws_query.js +2951 -3966
  60. package/dist-es/runtimeConfig.browser.js +26 -12
  61. package/dist-es/runtimeConfig.js +30 -12
  62. package/dist-es/runtimeConfig.native.js +8 -5
  63. package/dist-es/runtimeConfig.shared.js +8 -11
  64. package/dist-es/waiters/waitForEnvironmentExists.js +52 -93
  65. package/dist-es/waiters/waitForEnvironmentTerminated.js +52 -93
  66. package/dist-es/waiters/waitForEnvironmentUpdated.js +52 -93
  67. 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 { CreatePlatformVersionRequestFilterSensitiveLog, CreatePlatformVersionResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryCreatePlatformVersionCommand, serializeAws_queryCreatePlatformVersionCommand, } from "../protocols/Aws_query";
6
- var CreatePlatformVersionCommand = (function (_super) {
7
- __extends(CreatePlatformVersionCommand, _super);
8
- function CreatePlatformVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreatePlatformVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreatePlatformVersionCommand.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 = "CreatePlatformVersionCommand";
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 = "CreatePlatformVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreatePlatformVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreatePlatformVersionResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreatePlatformVersionCommand.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_queryCreatePlatformVersionCommand(input, context);
33
- };
34
- CreatePlatformVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryCreatePlatformVersionCommand(output, context);
36
- };
37
- return CreatePlatformVersionCommand;
38
- }($Command));
39
- export { CreatePlatformVersionCommand };
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 { CreateStorageLocationResultMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryCreateStorageLocationCommand, serializeAws_queryCreateStorageLocationCommand, } from "../protocols/Aws_query";
6
- var CreateStorageLocationCommand = (function (_super) {
7
- __extends(CreateStorageLocationCommand, _super);
8
- function CreateStorageLocationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateStorageLocationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateStorageLocationCommand.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 = "CreateStorageLocationCommand";
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 = "CreateStorageLocationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: (input) => input,
24
21
  outputFilterSensitiveLog: CreateStorageLocationResultMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateStorageLocationCommand.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_queryCreateStorageLocationCommand(input, context);
33
- };
34
- CreateStorageLocationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryCreateStorageLocationCommand(output, context);
36
- };
37
- return CreateStorageLocationCommand;
38
- }($Command));
39
- export { CreateStorageLocationCommand };
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 { DeleteApplicationMessageFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteApplicationCommand, serializeAws_queryDeleteApplicationCommand, } from "../protocols/Aws_query";
6
- var DeleteApplicationCommand = (function (_super) {
7
- __extends(DeleteApplicationCommand, _super);
8
- function DeleteApplicationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteApplicationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteApplicationCommand.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 = "DeleteApplicationCommand";
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 = "DeleteApplicationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteApplicationMessageFilterSensitiveLog,
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
- DeleteApplicationCommand.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_queryDeleteApplicationCommand(input, context);
33
- };
34
- DeleteApplicationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteApplicationCommand(output, context);
36
- };
37
- return DeleteApplicationCommand;
38
- }($Command));
39
- export { DeleteApplicationCommand };
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 { DeleteApplicationVersionMessageFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteApplicationVersionCommand, serializeAws_queryDeleteApplicationVersionCommand, } from "../protocols/Aws_query";
6
- var DeleteApplicationVersionCommand = (function (_super) {
7
- __extends(DeleteApplicationVersionCommand, _super);
8
- function DeleteApplicationVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteApplicationVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteApplicationVersionCommand.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 = "DeleteApplicationVersionCommand";
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 = "DeleteApplicationVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteApplicationVersionMessageFilterSensitiveLog,
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
- DeleteApplicationVersionCommand.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_queryDeleteApplicationVersionCommand(input, context);
33
- };
34
- DeleteApplicationVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteApplicationVersionCommand(output, context);
36
- };
37
- return DeleteApplicationVersionCommand;
38
- }($Command));
39
- export { DeleteApplicationVersionCommand };
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 { DeleteConfigurationTemplateMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteConfigurationTemplateCommand, serializeAws_queryDeleteConfigurationTemplateCommand, } from "../protocols/Aws_query";
6
- var DeleteConfigurationTemplateCommand = (function (_super) {
7
- __extends(DeleteConfigurationTemplateCommand, _super);
8
- function DeleteConfigurationTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteConfigurationTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteConfigurationTemplateCommand.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 = "DeleteConfigurationTemplateCommand";
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 = "DeleteConfigurationTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteConfigurationTemplateMessageFilterSensitiveLog,
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
- DeleteConfigurationTemplateCommand.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_queryDeleteConfigurationTemplateCommand(input, context);
33
- };
34
- DeleteConfigurationTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteConfigurationTemplateCommand(output, context);
36
- };
37
- return DeleteConfigurationTemplateCommand;
38
- }($Command));
39
- export { DeleteConfigurationTemplateCommand };
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 { DeleteEnvironmentConfigurationMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteEnvironmentConfigurationCommand, serializeAws_queryDeleteEnvironmentConfigurationCommand, } from "../protocols/Aws_query";
6
- var DeleteEnvironmentConfigurationCommand = (function (_super) {
7
- __extends(DeleteEnvironmentConfigurationCommand, _super);
8
- function DeleteEnvironmentConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteEnvironmentConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteEnvironmentConfigurationCommand.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 = "DeleteEnvironmentConfigurationCommand";
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 = "DeleteEnvironmentConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteEnvironmentConfigurationMessageFilterSensitiveLog,
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
- DeleteEnvironmentConfigurationCommand.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_queryDeleteEnvironmentConfigurationCommand(input, context);
33
- };
34
- DeleteEnvironmentConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteEnvironmentConfigurationCommand(output, context);
36
- };
37
- return DeleteEnvironmentConfigurationCommand;
38
- }($Command));
39
- export { DeleteEnvironmentConfigurationCommand };
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 { DeletePlatformVersionRequestFilterSensitiveLog, DeletePlatformVersionResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeletePlatformVersionCommand, serializeAws_queryDeletePlatformVersionCommand, } from "../protocols/Aws_query";
6
- var DeletePlatformVersionCommand = (function (_super) {
7
- __extends(DeletePlatformVersionCommand, _super);
8
- function DeletePlatformVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeletePlatformVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeletePlatformVersionCommand.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 = "DeletePlatformVersionCommand";
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 = "DeletePlatformVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeletePlatformVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeletePlatformVersionResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeletePlatformVersionCommand.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_queryDeletePlatformVersionCommand(input, context);
33
- };
34
- DeletePlatformVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeletePlatformVersionCommand(output, context);
36
- };
37
- return DeletePlatformVersionCommand;
38
- }($Command));
39
- export { DeletePlatformVersionCommand };
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 { DescribeAccountAttributesResultFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeAccountAttributesCommand, serializeAws_queryDescribeAccountAttributesCommand, } from "../protocols/Aws_query";
6
- var DescribeAccountAttributesCommand = (function (_super) {
7
- __extends(DescribeAccountAttributesCommand, _super);
8
- function DescribeAccountAttributesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeAccountAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAccountAttributesCommand.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 = "DescribeAccountAttributesCommand";
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 = "DescribeAccountAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: (input) => input,
24
21
  outputFilterSensitiveLog: DescribeAccountAttributesResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeAccountAttributesCommand.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_queryDescribeAccountAttributesCommand(input, context);
33
- };
34
- DescribeAccountAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeAccountAttributesCommand(output, context);
36
- };
37
- return DescribeAccountAttributesCommand;
38
- }($Command));
39
- export { DescribeAccountAttributesCommand };
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 { ApplicationVersionDescriptionsMessageFilterSensitiveLog, DescribeApplicationVersionsMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeApplicationVersionsCommand, serializeAws_queryDescribeApplicationVersionsCommand, } from "../protocols/Aws_query";
6
- var DescribeApplicationVersionsCommand = (function (_super) {
7
- __extends(DescribeApplicationVersionsCommand, _super);
8
- function DescribeApplicationVersionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeApplicationVersionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeApplicationVersionsCommand.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 = "DescribeApplicationVersionsCommand";
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 = "DescribeApplicationVersionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeApplicationVersionsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ApplicationVersionDescriptionsMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeApplicationVersionsCommand.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_queryDescribeApplicationVersionsCommand(input, context);
33
- };
34
- DescribeApplicationVersionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeApplicationVersionsCommand(output, context);
36
- };
37
- return DescribeApplicationVersionsCommand;
38
- }($Command));
39
- export { DescribeApplicationVersionsCommand };
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 { ApplicationDescriptionsMessageFilterSensitiveLog, DescribeApplicationsMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeApplicationsCommand, serializeAws_queryDescribeApplicationsCommand, } from "../protocols/Aws_query";
6
- var DescribeApplicationsCommand = (function (_super) {
7
- __extends(DescribeApplicationsCommand, _super);
8
- function DescribeApplicationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeApplicationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeApplicationsCommand.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 = "DescribeApplicationsCommand";
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 = "DescribeApplicationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeApplicationsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ApplicationDescriptionsMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeApplicationsCommand.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_queryDescribeApplicationsCommand(input, context);
33
- };
34
- DescribeApplicationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeApplicationsCommand(output, context);
36
- };
37
- return DescribeApplicationsCommand;
38
- }($Command));
39
- export { DescribeApplicationsCommand };
31
+ }
32
+ }