@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 { EnvironmentDescriptionFilterSensitiveLog, TerminateEnvironmentMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryTerminateEnvironmentCommand, serializeAws_queryTerminateEnvironmentCommand, } from "../protocols/Aws_query";
6
- var TerminateEnvironmentCommand = (function (_super) {
7
- __extends(TerminateEnvironmentCommand, _super);
8
- function TerminateEnvironmentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class TerminateEnvironmentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TerminateEnvironmentCommand.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 = "TerminateEnvironmentCommand";
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 = "TerminateEnvironmentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TerminateEnvironmentMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: EnvironmentDescriptionFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- TerminateEnvironmentCommand.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_queryTerminateEnvironmentCommand(input, context);
33
- };
34
- TerminateEnvironmentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryTerminateEnvironmentCommand(output, context);
36
- };
37
- return TerminateEnvironmentCommand;
38
- }($Command));
39
- export { TerminateEnvironmentCommand };
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 { ApplicationDescriptionMessageFilterSensitiveLog, UpdateApplicationMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateApplicationCommand, serializeAws_queryUpdateApplicationCommand, } from "../protocols/Aws_query";
6
- var UpdateApplicationCommand = (function (_super) {
7
- __extends(UpdateApplicationCommand, _super);
8
- function UpdateApplicationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateApplicationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateApplicationCommand.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 = "UpdateApplicationCommand";
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 = "UpdateApplicationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateApplicationMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ApplicationDescriptionMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateApplicationCommand.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_queryUpdateApplicationCommand(input, context);
33
- };
34
- UpdateApplicationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateApplicationCommand(output, context);
36
- };
37
- return UpdateApplicationCommand;
38
- }($Command));
39
- export { UpdateApplicationCommand };
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 { ApplicationResourceLifecycleDescriptionMessageFilterSensitiveLog, UpdateApplicationResourceLifecycleMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateApplicationResourceLifecycleCommand, serializeAws_queryUpdateApplicationResourceLifecycleCommand, } from "../protocols/Aws_query";
6
- var UpdateApplicationResourceLifecycleCommand = (function (_super) {
7
- __extends(UpdateApplicationResourceLifecycleCommand, _super);
8
- function UpdateApplicationResourceLifecycleCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateApplicationResourceLifecycleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateApplicationResourceLifecycleCommand.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 = "UpdateApplicationResourceLifecycleCommand";
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 = "UpdateApplicationResourceLifecycleCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateApplicationResourceLifecycleMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ApplicationResourceLifecycleDescriptionMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateApplicationResourceLifecycleCommand.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_queryUpdateApplicationResourceLifecycleCommand(input, context);
33
- };
34
- UpdateApplicationResourceLifecycleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateApplicationResourceLifecycleCommand(output, context);
36
- };
37
- return UpdateApplicationResourceLifecycleCommand;
38
- }($Command));
39
- export { UpdateApplicationResourceLifecycleCommand };
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 { ApplicationVersionDescriptionMessageFilterSensitiveLog, UpdateApplicationVersionMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateApplicationVersionCommand, serializeAws_queryUpdateApplicationVersionCommand, } from "../protocols/Aws_query";
6
- var UpdateApplicationVersionCommand = (function (_super) {
7
- __extends(UpdateApplicationVersionCommand, _super);
8
- function UpdateApplicationVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateApplicationVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateApplicationVersionCommand.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 = "UpdateApplicationVersionCommand";
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 = "UpdateApplicationVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateApplicationVersionMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ApplicationVersionDescriptionMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateApplicationVersionCommand.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_queryUpdateApplicationVersionCommand(input, context);
33
- };
34
- UpdateApplicationVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateApplicationVersionCommand(output, context);
36
- };
37
- return UpdateApplicationVersionCommand;
38
- }($Command));
39
- export { UpdateApplicationVersionCommand };
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 { ConfigurationSettingsDescriptionFilterSensitiveLog, UpdateConfigurationTemplateMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateConfigurationTemplateCommand, serializeAws_queryUpdateConfigurationTemplateCommand, } from "../protocols/Aws_query";
6
- var UpdateConfigurationTemplateCommand = (function (_super) {
7
- __extends(UpdateConfigurationTemplateCommand, _super);
8
- function UpdateConfigurationTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateConfigurationTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateConfigurationTemplateCommand.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 = "UpdateConfigurationTemplateCommand";
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 = "UpdateConfigurationTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateConfigurationTemplateMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ConfigurationSettingsDescriptionFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateConfigurationTemplateCommand.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_queryUpdateConfigurationTemplateCommand(input, context);
33
- };
34
- UpdateConfigurationTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateConfigurationTemplateCommand(output, context);
36
- };
37
- return UpdateConfigurationTemplateCommand;
38
- }($Command));
39
- export { UpdateConfigurationTemplateCommand };
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 { EnvironmentDescriptionFilterSensitiveLog, UpdateEnvironmentMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateEnvironmentCommand, serializeAws_queryUpdateEnvironmentCommand, } from "../protocols/Aws_query";
6
- var UpdateEnvironmentCommand = (function (_super) {
7
- __extends(UpdateEnvironmentCommand, _super);
8
- function UpdateEnvironmentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateEnvironmentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateEnvironmentCommand.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 = "UpdateEnvironmentCommand";
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 = "UpdateEnvironmentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateEnvironmentMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: EnvironmentDescriptionFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateEnvironmentCommand.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_queryUpdateEnvironmentCommand(input, context);
33
- };
34
- UpdateEnvironmentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateEnvironmentCommand(output, context);
36
- };
37
- return UpdateEnvironmentCommand;
38
- }($Command));
39
- export { UpdateEnvironmentCommand };
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 { UpdateTagsForResourceMessageFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateTagsForResourceCommand, serializeAws_queryUpdateTagsForResourceCommand, } from "../protocols/Aws_query";
6
- var UpdateTagsForResourceCommand = (function (_super) {
7
- __extends(UpdateTagsForResourceCommand, _super);
8
- function UpdateTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateTagsForResourceCommand.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 = "UpdateTagsForResourceCommand";
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 = "UpdateTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateTagsForResourceMessageFilterSensitiveLog,
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
- UpdateTagsForResourceCommand.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_queryUpdateTagsForResourceCommand(input, context);
33
- };
34
- UpdateTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateTagsForResourceCommand(output, context);
36
- };
37
- return UpdateTagsForResourceCommand;
38
- }($Command));
39
- export { UpdateTagsForResourceCommand };
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 { ConfigurationSettingsValidationMessagesFilterSensitiveLog, ValidateConfigurationSettingsMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryValidateConfigurationSettingsCommand, serializeAws_queryValidateConfigurationSettingsCommand, } from "../protocols/Aws_query";
6
- var ValidateConfigurationSettingsCommand = (function (_super) {
7
- __extends(ValidateConfigurationSettingsCommand, _super);
8
- function ValidateConfigurationSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ValidateConfigurationSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ValidateConfigurationSettingsCommand.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 = "ValidateConfigurationSettingsCommand";
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 = "ValidateConfigurationSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ValidateConfigurationSettingsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ConfigurationSettingsValidationMessagesFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ValidateConfigurationSettingsCommand.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_queryValidateConfigurationSettingsCommand(input, context);
33
- };
34
- ValidateConfigurationSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryValidateConfigurationSettingsCommand(output, context);
36
- };
37
- return ValidateConfigurationSettingsCommand;
38
- }($Command));
39
- export { ValidateConfigurationSettingsCommand };
31
+ }
32
+ }
@@ -1,6 +1,5 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {
2
+ const regionHash = {
4
3
  "us-east-1": {
5
4
  variants: [
6
5
  {
@@ -52,7 +51,7 @@ var regionHash = {
52
51
  ],
53
52
  },
54
53
  };
55
- var partitionHash = {
54
+ const partitionHash = {
56
55
  aws: {
57
56
  regions: [
58
57
  "af-south-1",
@@ -176,8 +175,9 @@ var partitionHash = {
176
175
  ],
177
176
  },
178
177
  };
179
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
180
- return __generator(this, function (_a) {
181
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "elasticbeanstalk", regionHash: regionHash, partitionHash: partitionHash }))];
182
- });
183
- }); };
178
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
179
+ ...options,
180
+ signingService: "elasticbeanstalk",
181
+ regionHash,
182
+ partitionHash,
183
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var ElasticBeanstalkServiceException = (function (_super) {
4
- __extends(ElasticBeanstalkServiceException, _super);
5
- function ElasticBeanstalkServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, ElasticBeanstalkServiceException.prototype);
8
- return _this;
2
+ export class ElasticBeanstalkServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, ElasticBeanstalkServiceException.prototype);
9
6
  }
10
- return ElasticBeanstalkServiceException;
11
- }(__ServiceException));
12
- export { ElasticBeanstalkServiceException };
7
+ }