@aws-sdk/client-appconfig 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 (64) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/AppConfig.js +181 -174
  4. package/dist-es/AppConfigClient.js +28 -22
  5. package/dist-es/commands/CreateApplicationCommand.js +28 -21
  6. package/dist-es/commands/CreateConfigurationProfileCommand.js +28 -21
  7. package/dist-es/commands/CreateDeploymentStrategyCommand.js +28 -21
  8. package/dist-es/commands/CreateEnvironmentCommand.js +28 -21
  9. package/dist-es/commands/CreateExtensionAssociationCommand.js +28 -21
  10. package/dist-es/commands/CreateExtensionCommand.js +28 -21
  11. package/dist-es/commands/CreateHostedConfigurationVersionCommand.js +28 -21
  12. package/dist-es/commands/DeleteApplicationCommand.js +29 -22
  13. package/dist-es/commands/DeleteConfigurationProfileCommand.js +29 -22
  14. package/dist-es/commands/DeleteDeploymentStrategyCommand.js +29 -22
  15. package/dist-es/commands/DeleteEnvironmentCommand.js +29 -22
  16. package/dist-es/commands/DeleteExtensionAssociationCommand.js +29 -22
  17. package/dist-es/commands/DeleteExtensionCommand.js +29 -22
  18. package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js +29 -22
  19. package/dist-es/commands/GetApplicationCommand.js +28 -21
  20. package/dist-es/commands/GetConfigurationCommand.js +28 -21
  21. package/dist-es/commands/GetConfigurationProfileCommand.js +28 -21
  22. package/dist-es/commands/GetDeploymentCommand.js +28 -21
  23. package/dist-es/commands/GetDeploymentStrategyCommand.js +28 -21
  24. package/dist-es/commands/GetEnvironmentCommand.js +28 -21
  25. package/dist-es/commands/GetExtensionAssociationCommand.js +28 -21
  26. package/dist-es/commands/GetExtensionCommand.js +28 -21
  27. package/dist-es/commands/GetHostedConfigurationVersionCommand.js +28 -21
  28. package/dist-es/commands/ListApplicationsCommand.js +28 -21
  29. package/dist-es/commands/ListConfigurationProfilesCommand.js +28 -21
  30. package/dist-es/commands/ListDeploymentStrategiesCommand.js +28 -21
  31. package/dist-es/commands/ListDeploymentsCommand.js +28 -21
  32. package/dist-es/commands/ListEnvironmentsCommand.js +28 -21
  33. package/dist-es/commands/ListExtensionAssociationsCommand.js +28 -21
  34. package/dist-es/commands/ListExtensionsCommand.js +28 -21
  35. package/dist-es/commands/ListHostedConfigurationVersionsCommand.js +28 -21
  36. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  37. package/dist-es/commands/StartDeploymentCommand.js +28 -21
  38. package/dist-es/commands/StopDeploymentCommand.js +28 -21
  39. package/dist-es/commands/TagResourceCommand.js +29 -22
  40. package/dist-es/commands/UntagResourceCommand.js +29 -22
  41. package/dist-es/commands/UpdateApplicationCommand.js +28 -21
  42. package/dist-es/commands/UpdateConfigurationProfileCommand.js +28 -21
  43. package/dist-es/commands/UpdateDeploymentStrategyCommand.js +28 -21
  44. package/dist-es/commands/UpdateEnvironmentCommand.js +28 -21
  45. package/dist-es/commands/UpdateExtensionAssociationCommand.js +28 -21
  46. package/dist-es/commands/UpdateExtensionCommand.js +28 -21
  47. package/dist-es/commands/ValidateConfigurationCommand.js +29 -22
  48. package/dist-es/endpoints.js +8 -8
  49. package/dist-es/models/AppConfigServiceException.js +10 -5
  50. package/dist-es/models/models_0.js +158 -311
  51. package/dist-es/pagination/ListApplicationsPaginator.js +68 -25
  52. package/dist-es/pagination/ListConfigurationProfilesPaginator.js +68 -25
  53. package/dist-es/pagination/ListDeploymentStrategiesPaginator.js +68 -25
  54. package/dist-es/pagination/ListDeploymentsPaginator.js +68 -25
  55. package/dist-es/pagination/ListEnvironmentsPaginator.js +68 -25
  56. package/dist-es/pagination/ListExtensionAssociationsPaginator.js +68 -25
  57. package/dist-es/pagination/ListExtensionsPaginator.js +68 -25
  58. package/dist-es/pagination/ListHostedConfigurationVersionsPaginator.js +68 -25
  59. package/dist-es/protocols/Aws_restJson1.js +4495 -3259
  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/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 { EnvironmentFilterSensitiveLog, GetEnvironmentRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetEnvironmentCommand, serializeAws_restJson1GetEnvironmentCommand, } from "../protocols/Aws_restJson1";
5
- export class GetEnvironmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetEnvironmentCommand = (function (_super) {
7
+ __extends(GetEnvironmentCommand, _super);
8
+ function GetEnvironmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetEnvironmentCommand.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 = "AppConfigClient";
15
- const commandName = "GetEnvironmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "GetEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetEnvironmentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: EnvironmentFilterSensitiveLog,
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
+ GetEnvironmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetEnvironmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetEnvironmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetEnvironmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetEnvironmentCommand;
38
+ }($Command));
39
+ export { GetEnvironmentCommand };
@@ -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 { ExtensionAssociationFilterSensitiveLog, GetExtensionAssociationRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetExtensionAssociationCommand, serializeAws_restJson1GetExtensionAssociationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetExtensionAssociationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetExtensionAssociationCommand = (function (_super) {
7
+ __extends(GetExtensionAssociationCommand, _super);
8
+ function GetExtensionAssociationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetExtensionAssociationCommand.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 = "AppConfigClient";
15
- const commandName = "GetExtensionAssociationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "GetExtensionAssociationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetExtensionAssociationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ExtensionAssociationFilterSensitiveLog,
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
+ GetExtensionAssociationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetExtensionAssociationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetExtensionAssociationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetExtensionAssociationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetExtensionAssociationCommand;
38
+ }($Command));
39
+ export { GetExtensionAssociationCommand };
@@ -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 { ExtensionFilterSensitiveLog, GetExtensionRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetExtensionCommand, serializeAws_restJson1GetExtensionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetExtensionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetExtensionCommand = (function (_super) {
7
+ __extends(GetExtensionCommand, _super);
8
+ function GetExtensionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetExtensionCommand.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 = "AppConfigClient";
15
- const commandName = "GetExtensionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "GetExtensionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetExtensionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ExtensionFilterSensitiveLog,
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
+ GetExtensionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetExtensionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetExtensionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetExtensionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetExtensionCommand;
38
+ }($Command));
39
+ export { GetExtensionCommand };
@@ -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 { GetHostedConfigurationVersionRequestFilterSensitiveLog, HostedConfigurationVersionFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetHostedConfigurationVersionCommand, serializeAws_restJson1GetHostedConfigurationVersionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetHostedConfigurationVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetHostedConfigurationVersionCommand = (function (_super) {
7
+ __extends(GetHostedConfigurationVersionCommand, _super);
8
+ function GetHostedConfigurationVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetHostedConfigurationVersionCommand.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 = "AppConfigClient";
15
- const commandName = "GetHostedConfigurationVersionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "GetHostedConfigurationVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetHostedConfigurationVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: HostedConfigurationVersionFilterSensitiveLog,
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
+ GetHostedConfigurationVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetHostedConfigurationVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetHostedConfigurationVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetHostedConfigurationVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetHostedConfigurationVersionCommand;
38
+ }($Command));
39
+ export { GetHostedConfigurationVersionCommand };
@@ -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 { ApplicationsFilterSensitiveLog, ListApplicationsRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListApplicationsCommand, serializeAws_restJson1ListApplicationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListApplicationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListApplicationsCommand = (function (_super) {
7
+ __extends(ListApplicationsCommand, _super);
8
+ function ListApplicationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListApplicationsCommand.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 = "AppConfigClient";
15
- const commandName = "ListApplicationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "ListApplicationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListApplicationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ApplicationsFilterSensitiveLog,
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
+ ListApplicationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListApplicationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListApplicationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListApplicationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListApplicationsCommand;
38
+ }($Command));
39
+ export { ListApplicationsCommand };
@@ -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 { ConfigurationProfilesFilterSensitiveLog, ListConfigurationProfilesRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListConfigurationProfilesCommand, serializeAws_restJson1ListConfigurationProfilesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListConfigurationProfilesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListConfigurationProfilesCommand = (function (_super) {
7
+ __extends(ListConfigurationProfilesCommand, _super);
8
+ function ListConfigurationProfilesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListConfigurationProfilesCommand.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 = "AppConfigClient";
15
- const commandName = "ListConfigurationProfilesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "ListConfigurationProfilesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListConfigurationProfilesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ConfigurationProfilesFilterSensitiveLog,
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
+ ListConfigurationProfilesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListConfigurationProfilesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListConfigurationProfilesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListConfigurationProfilesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListConfigurationProfilesCommand;
38
+ }($Command));
39
+ export { ListConfigurationProfilesCommand };
@@ -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 { DeploymentStrategiesFilterSensitiveLog, ListDeploymentStrategiesRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDeploymentStrategiesCommand, serializeAws_restJson1ListDeploymentStrategiesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDeploymentStrategiesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDeploymentStrategiesCommand = (function (_super) {
7
+ __extends(ListDeploymentStrategiesCommand, _super);
8
+ function ListDeploymentStrategiesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDeploymentStrategiesCommand.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 = "AppConfigClient";
15
- const commandName = "ListDeploymentStrategiesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "ListDeploymentStrategiesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDeploymentStrategiesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeploymentStrategiesFilterSensitiveLog,
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
+ ListDeploymentStrategiesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDeploymentStrategiesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDeploymentStrategiesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDeploymentStrategiesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDeploymentStrategiesCommand;
38
+ }($Command));
39
+ export { ListDeploymentStrategiesCommand };
@@ -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 { DeploymentsFilterSensitiveLog, ListDeploymentsRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDeploymentsCommand, serializeAws_restJson1ListDeploymentsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDeploymentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDeploymentsCommand = (function (_super) {
7
+ __extends(ListDeploymentsCommand, _super);
8
+ function ListDeploymentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDeploymentsCommand.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 = "AppConfigClient";
15
- const commandName = "ListDeploymentsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "ListDeploymentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDeploymentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeploymentsFilterSensitiveLog,
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
+ ListDeploymentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDeploymentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDeploymentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDeploymentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDeploymentsCommand;
38
+ }($Command));
39
+ export { ListDeploymentsCommand };
@@ -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 { EnvironmentsFilterSensitiveLog, ListEnvironmentsRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListEnvironmentsCommand, serializeAws_restJson1ListEnvironmentsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListEnvironmentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListEnvironmentsCommand = (function (_super) {
7
+ __extends(ListEnvironmentsCommand, _super);
8
+ function ListEnvironmentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListEnvironmentsCommand.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 = "AppConfigClient";
15
- const commandName = "ListEnvironmentsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "ListEnvironmentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListEnvironmentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: EnvironmentsFilterSensitiveLog,
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
+ ListEnvironmentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListEnvironmentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListEnvironmentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListEnvironmentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListEnvironmentsCommand;
38
+ }($Command));
39
+ export { ListEnvironmentsCommand };
@@ -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 { ExtensionAssociationsFilterSensitiveLog, ListExtensionAssociationsRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListExtensionAssociationsCommand, serializeAws_restJson1ListExtensionAssociationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListExtensionAssociationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListExtensionAssociationsCommand = (function (_super) {
7
+ __extends(ListExtensionAssociationsCommand, _super);
8
+ function ListExtensionAssociationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListExtensionAssociationsCommand.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 = "AppConfigClient";
15
- const commandName = "ListExtensionAssociationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "ListExtensionAssociationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListExtensionAssociationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ExtensionAssociationsFilterSensitiveLog,
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
+ ListExtensionAssociationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListExtensionAssociationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListExtensionAssociationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListExtensionAssociationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListExtensionAssociationsCommand;
38
+ }($Command));
39
+ export { ListExtensionAssociationsCommand };