@aws-sdk/client-elastic-beanstalk 3.183.0 → 3.185.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 +11 -0
  2. package/dist-cjs/protocols/Aws_query.js +2 -2
  3. package/dist-es/ElasticBeanstalk.js +197 -190
  4. package/dist-es/ElasticBeanstalkClient.js +28 -22
  5. package/dist-es/commands/AbortEnvironmentUpdateCommand.js +29 -22
  6. package/dist-es/commands/ApplyEnvironmentManagedActionCommand.js +28 -21
  7. package/dist-es/commands/AssociateEnvironmentOperationsRoleCommand.js +29 -22
  8. package/dist-es/commands/CheckDNSAvailabilityCommand.js +28 -21
  9. package/dist-es/commands/ComposeEnvironmentsCommand.js +28 -21
  10. package/dist-es/commands/CreateApplicationCommand.js +28 -21
  11. package/dist-es/commands/CreateApplicationVersionCommand.js +28 -21
  12. package/dist-es/commands/CreateConfigurationTemplateCommand.js +28 -21
  13. package/dist-es/commands/CreateEnvironmentCommand.js +28 -21
  14. package/dist-es/commands/CreatePlatformVersionCommand.js +28 -21
  15. package/dist-es/commands/CreateStorageLocationCommand.js +29 -22
  16. package/dist-es/commands/DeleteApplicationCommand.js +29 -22
  17. package/dist-es/commands/DeleteApplicationVersionCommand.js +29 -22
  18. package/dist-es/commands/DeleteConfigurationTemplateCommand.js +29 -22
  19. package/dist-es/commands/DeleteEnvironmentConfigurationCommand.js +29 -22
  20. package/dist-es/commands/DeletePlatformVersionCommand.js +28 -21
  21. package/dist-es/commands/DescribeAccountAttributesCommand.js +29 -22
  22. package/dist-es/commands/DescribeApplicationVersionsCommand.js +28 -21
  23. package/dist-es/commands/DescribeApplicationsCommand.js +28 -21
  24. package/dist-es/commands/DescribeConfigurationOptionsCommand.js +28 -21
  25. package/dist-es/commands/DescribeConfigurationSettingsCommand.js +28 -21
  26. package/dist-es/commands/DescribeEnvironmentHealthCommand.js +28 -21
  27. package/dist-es/commands/DescribeEnvironmentManagedActionHistoryCommand.js +28 -21
  28. package/dist-es/commands/DescribeEnvironmentManagedActionsCommand.js +28 -21
  29. package/dist-es/commands/DescribeEnvironmentResourcesCommand.js +28 -21
  30. package/dist-es/commands/DescribeEnvironmentsCommand.js +28 -21
  31. package/dist-es/commands/DescribeEventsCommand.js +28 -21
  32. package/dist-es/commands/DescribeInstancesHealthCommand.js +28 -21
  33. package/dist-es/commands/DescribePlatformVersionCommand.js +28 -21
  34. package/dist-es/commands/DisassociateEnvironmentOperationsRoleCommand.js +29 -22
  35. package/dist-es/commands/ListAvailableSolutionStacksCommand.js +29 -22
  36. package/dist-es/commands/ListPlatformBranchesCommand.js +28 -21
  37. package/dist-es/commands/ListPlatformVersionsCommand.js +28 -21
  38. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  39. package/dist-es/commands/RebuildEnvironmentCommand.js +29 -22
  40. package/dist-es/commands/RequestEnvironmentInfoCommand.js +29 -22
  41. package/dist-es/commands/RestartAppServerCommand.js +29 -22
  42. package/dist-es/commands/RetrieveEnvironmentInfoCommand.js +28 -21
  43. package/dist-es/commands/SwapEnvironmentCNAMEsCommand.js +29 -22
  44. package/dist-es/commands/TerminateEnvironmentCommand.js +28 -21
  45. package/dist-es/commands/UpdateApplicationCommand.js +28 -21
  46. package/dist-es/commands/UpdateApplicationResourceLifecycleCommand.js +28 -21
  47. package/dist-es/commands/UpdateApplicationVersionCommand.js +28 -21
  48. package/dist-es/commands/UpdateConfigurationTemplateCommand.js +28 -21
  49. package/dist-es/commands/UpdateEnvironmentCommand.js +28 -21
  50. package/dist-es/commands/UpdateTagsForResourceCommand.js +29 -22
  51. package/dist-es/commands/ValidateConfigurationSettingsCommand.js +28 -21
  52. package/dist-es/endpoints.js +8 -8
  53. package/dist-es/models/ElasticBeanstalkServiceException.js +10 -5
  54. package/dist-es/models/models_0.js +336 -587
  55. package/dist-es/pagination/DescribeEnvironmentManagedActionHistoryPaginator.js +68 -25
  56. package/dist-es/pagination/DescribeEventsPaginator.js +68 -25
  57. package/dist-es/pagination/ListPlatformBranchesPaginator.js +68 -25
  58. package/dist-es/pagination/ListPlatformVersionsPaginator.js +68 -25
  59. package/dist-es/protocols/Aws_query.js +3981 -2951
  60. package/dist-es/runtimeConfig.browser.js +12 -26
  61. package/dist-es/runtimeConfig.js +12 -30
  62. package/dist-es/runtimeConfig.native.js +5 -8
  63. package/dist-es/runtimeConfig.shared.js +11 -8
  64. package/dist-es/waiters/waitForEnvironmentExists.js +93 -52
  65. package/dist-es/waiters/waitForEnvironmentTerminated.js +93 -52
  66. package/dist-es/waiters/waitForEnvironmentUpdated.js +93 -52
  67. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { EnvironmentDescriptionFilterSensitiveLog, TerminateEnvironmentMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryTerminateEnvironmentCommand, serializeAws_queryTerminateEnvironmentCommand, } from "../protocols/Aws_query";
5
- export class TerminateEnvironmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TerminateEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ElasticBeanstalkClient";
15
- const commandName = "TerminateEnvironmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "TerminateEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TerminateEnvironmentMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: EnvironmentDescriptionFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TerminateEnvironmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryTerminateEnvironmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TerminateEnvironmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryTerminateEnvironmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TerminateEnvironmentCommand;
38
+ }($Command));
39
+ export { TerminateEnvironmentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ApplicationDescriptionMessageFilterSensitiveLog, UpdateApplicationMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryUpdateApplicationCommand, serializeAws_queryUpdateApplicationCommand, } from "../protocols/Aws_query";
5
- export class UpdateApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ElasticBeanstalkClient";
15
- const commandName = "UpdateApplicationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "UpdateApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateApplicationMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ApplicationDescriptionMessageFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateApplicationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryUpdateApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryUpdateApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateApplicationCommand;
38
+ }($Command));
39
+ export { UpdateApplicationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ApplicationResourceLifecycleDescriptionMessageFilterSensitiveLog, UpdateApplicationResourceLifecycleMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryUpdateApplicationResourceLifecycleCommand, serializeAws_queryUpdateApplicationResourceLifecycleCommand, } from "../protocols/Aws_query";
5
- export class UpdateApplicationResourceLifecycleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateApplicationResourceLifecycleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ElasticBeanstalkClient";
15
- const commandName = "UpdateApplicationResourceLifecycleCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "UpdateApplicationResourceLifecycleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateApplicationResourceLifecycleMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ApplicationResourceLifecycleDescriptionMessageFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateApplicationResourceLifecycleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryUpdateApplicationResourceLifecycleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateApplicationResourceLifecycleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryUpdateApplicationResourceLifecycleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateApplicationResourceLifecycleCommand;
38
+ }($Command));
39
+ export { UpdateApplicationResourceLifecycleCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ApplicationVersionDescriptionMessageFilterSensitiveLog, UpdateApplicationVersionMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryUpdateApplicationVersionCommand, serializeAws_queryUpdateApplicationVersionCommand, } from "../protocols/Aws_query";
5
- export class UpdateApplicationVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateApplicationVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ElasticBeanstalkClient";
15
- const commandName = "UpdateApplicationVersionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "UpdateApplicationVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateApplicationVersionMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ApplicationVersionDescriptionMessageFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateApplicationVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryUpdateApplicationVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateApplicationVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryUpdateApplicationVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateApplicationVersionCommand;
38
+ }($Command));
39
+ export { UpdateApplicationVersionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ConfigurationSettingsDescriptionFilterSensitiveLog, UpdateConfigurationTemplateMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryUpdateConfigurationTemplateCommand, serializeAws_queryUpdateConfigurationTemplateCommand, } from "../protocols/Aws_query";
5
- export class UpdateConfigurationTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateConfigurationTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ElasticBeanstalkClient";
15
- const commandName = "UpdateConfigurationTemplateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "UpdateConfigurationTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateConfigurationTemplateMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ConfigurationSettingsDescriptionFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateConfigurationTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryUpdateConfigurationTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateConfigurationTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryUpdateConfigurationTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateConfigurationTemplateCommand;
38
+ }($Command));
39
+ export { UpdateConfigurationTemplateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { EnvironmentDescriptionFilterSensitiveLog, UpdateEnvironmentMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryUpdateEnvironmentCommand, serializeAws_queryUpdateEnvironmentCommand, } from "../protocols/Aws_query";
5
- export class UpdateEnvironmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ElasticBeanstalkClient";
15
- const commandName = "UpdateEnvironmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "UpdateEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateEnvironmentMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: EnvironmentDescriptionFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateEnvironmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryUpdateEnvironmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateEnvironmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryUpdateEnvironmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateEnvironmentCommand;
38
+ }($Command));
39
+ export { UpdateEnvironmentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateTagsForResourceMessageFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_queryUpdateTagsForResourceCommand, serializeAws_queryUpdateTagsForResourceCommand, } from "../protocols/Aws_query";
5
- export class UpdateTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ElasticBeanstalkClient";
15
- const commandName = "UpdateTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "UpdateTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateTagsForResourceMessageFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryUpdateTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryUpdateTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateTagsForResourceCommand;
38
+ }($Command));
39
+ export { UpdateTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ConfigurationSettingsValidationMessagesFilterSensitiveLog, ValidateConfigurationSettingsMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryValidateConfigurationSettingsCommand, serializeAws_queryValidateConfigurationSettingsCommand, } from "../protocols/Aws_query";
5
- export class ValidateConfigurationSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ValidateConfigurationSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ElasticBeanstalkClient";
15
- const commandName = "ValidateConfigurationSettingsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ElasticBeanstalkClient";
18
+ var commandName = "ValidateConfigurationSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ValidateConfigurationSettingsMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ConfigurationSettingsValidationMessagesFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ValidateConfigurationSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryValidateConfigurationSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ValidateConfigurationSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryValidateConfigurationSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ValidateConfigurationSettingsCommand;
38
+ }($Command));
39
+ export { ValidateConfigurationSettingsCommand };
@@ -1,5 +1,6 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
+ var regionHash = {
3
4
  "us-east-1": {
4
5
  variants: [
5
6
  {
@@ -51,7 +52,7 @@ const regionHash = {
51
52
  ],
52
53
  },
53
54
  };
54
- const partitionHash = {
55
+ var partitionHash = {
55
56
  aws: {
56
57
  regions: [
57
58
  "af-south-1",
@@ -175,9 +176,8 @@ const partitionHash = {
175
176
  ],
176
177
  },
177
178
  };
178
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
179
- ...options,
180
- signingService: "elasticbeanstalk",
181
- regionHash,
182
- partitionHash,
183
- });
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
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class ElasticBeanstalkServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, ElasticBeanstalkServiceException.prototype);
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;
6
9
  }
7
- }
10
+ return ElasticBeanstalkServiceException;
11
+ }(__ServiceException));
12
+ export { ElasticBeanstalkServiceException };