@aws-sdk/client-appconfig 3.181.0 → 3.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/AppConfig.js +174 -181
  3. package/dist-es/AppConfigClient.js +22 -28
  4. package/dist-es/commands/CreateApplicationCommand.js +21 -28
  5. package/dist-es/commands/CreateConfigurationProfileCommand.js +21 -28
  6. package/dist-es/commands/CreateDeploymentStrategyCommand.js +21 -28
  7. package/dist-es/commands/CreateEnvironmentCommand.js +21 -28
  8. package/dist-es/commands/CreateExtensionAssociationCommand.js +21 -28
  9. package/dist-es/commands/CreateExtensionCommand.js +21 -28
  10. package/dist-es/commands/CreateHostedConfigurationVersionCommand.js +21 -28
  11. package/dist-es/commands/DeleteApplicationCommand.js +22 -29
  12. package/dist-es/commands/DeleteConfigurationProfileCommand.js +22 -29
  13. package/dist-es/commands/DeleteDeploymentStrategyCommand.js +22 -29
  14. package/dist-es/commands/DeleteEnvironmentCommand.js +22 -29
  15. package/dist-es/commands/DeleteExtensionAssociationCommand.js +22 -29
  16. package/dist-es/commands/DeleteExtensionCommand.js +22 -29
  17. package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js +22 -29
  18. package/dist-es/commands/GetApplicationCommand.js +21 -28
  19. package/dist-es/commands/GetConfigurationCommand.js +21 -28
  20. package/dist-es/commands/GetConfigurationProfileCommand.js +21 -28
  21. package/dist-es/commands/GetDeploymentCommand.js +21 -28
  22. package/dist-es/commands/GetDeploymentStrategyCommand.js +21 -28
  23. package/dist-es/commands/GetEnvironmentCommand.js +21 -28
  24. package/dist-es/commands/GetExtensionAssociationCommand.js +21 -28
  25. package/dist-es/commands/GetExtensionCommand.js +21 -28
  26. package/dist-es/commands/GetHostedConfigurationVersionCommand.js +21 -28
  27. package/dist-es/commands/ListApplicationsCommand.js +21 -28
  28. package/dist-es/commands/ListConfigurationProfilesCommand.js +21 -28
  29. package/dist-es/commands/ListDeploymentStrategiesCommand.js +21 -28
  30. package/dist-es/commands/ListDeploymentsCommand.js +21 -28
  31. package/dist-es/commands/ListEnvironmentsCommand.js +21 -28
  32. package/dist-es/commands/ListExtensionAssociationsCommand.js +21 -28
  33. package/dist-es/commands/ListExtensionsCommand.js +21 -28
  34. package/dist-es/commands/ListHostedConfigurationVersionsCommand.js +21 -28
  35. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  36. package/dist-es/commands/StartDeploymentCommand.js +21 -28
  37. package/dist-es/commands/StopDeploymentCommand.js +21 -28
  38. package/dist-es/commands/TagResourceCommand.js +22 -29
  39. package/dist-es/commands/UntagResourceCommand.js +22 -29
  40. package/dist-es/commands/UpdateApplicationCommand.js +21 -28
  41. package/dist-es/commands/UpdateConfigurationProfileCommand.js +21 -28
  42. package/dist-es/commands/UpdateDeploymentStrategyCommand.js +21 -28
  43. package/dist-es/commands/UpdateEnvironmentCommand.js +21 -28
  44. package/dist-es/commands/UpdateExtensionAssociationCommand.js +21 -28
  45. package/dist-es/commands/UpdateExtensionCommand.js +21 -28
  46. package/dist-es/commands/ValidateConfigurationCommand.js +22 -29
  47. package/dist-es/endpoints.js +8 -8
  48. package/dist-es/models/AppConfigServiceException.js +5 -10
  49. package/dist-es/models/models_0.js +311 -158
  50. package/dist-es/pagination/ListApplicationsPaginator.js +25 -68
  51. package/dist-es/pagination/ListConfigurationProfilesPaginator.js +25 -68
  52. package/dist-es/pagination/ListDeploymentStrategiesPaginator.js +25 -68
  53. package/dist-es/pagination/ListDeploymentsPaginator.js +25 -68
  54. package/dist-es/pagination/ListEnvironmentsPaginator.js +25 -68
  55. package/dist-es/pagination/ListExtensionAssociationsPaginator.js +25 -68
  56. package/dist-es/pagination/ListExtensionsPaginator.js +25 -68
  57. package/dist-es/pagination/ListHostedConfigurationVersionsPaginator.js +25 -68
  58. package/dist-es/protocols/Aws_restJson1.js +3259 -4495
  59. package/dist-es/runtimeConfig.browser.js +26 -12
  60. package/dist-es/runtimeConfig.js +30 -12
  61. package/dist-es/runtimeConfig.native.js +8 -5
  62. package/dist-es/runtimeConfig.shared.js +8 -11
  63. package/package.json +33 -33
@@ -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 { EnvironmentFilterSensitiveLog, GetEnvironmentRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetEnvironmentCommand, serializeAws_restJson1GetEnvironmentCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetEnvironmentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetEnvironmentCommand.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 = "AppConfigClient";
18
- var commandName = "GetEnvironmentCommand";
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 = "AppConfigClient";
15
+ const commandName = "GetEnvironmentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetEnvironmentRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: EnvironmentFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetEnvironmentCommand(input, context);
33
- };
34
- GetEnvironmentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetEnvironmentCommand(output, context);
36
- };
37
- return GetEnvironmentCommand;
38
- }($Command));
39
- export { GetEnvironmentCommand };
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 { ExtensionAssociationFilterSensitiveLog, GetExtensionAssociationRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetExtensionAssociationCommand, serializeAws_restJson1GetExtensionAssociationCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetExtensionAssociationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetExtensionAssociationCommand.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 = "AppConfigClient";
18
- var commandName = "GetExtensionAssociationCommand";
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 = "AppConfigClient";
15
+ const commandName = "GetExtensionAssociationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetExtensionAssociationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ExtensionAssociationFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetExtensionAssociationCommand(input, context);
33
- };
34
- GetExtensionAssociationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetExtensionAssociationCommand(output, context);
36
- };
37
- return GetExtensionAssociationCommand;
38
- }($Command));
39
- export { GetExtensionAssociationCommand };
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 { ExtensionFilterSensitiveLog, GetExtensionRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetExtensionCommand, serializeAws_restJson1GetExtensionCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetExtensionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetExtensionCommand.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 = "AppConfigClient";
18
- var commandName = "GetExtensionCommand";
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 = "AppConfigClient";
15
+ const commandName = "GetExtensionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetExtensionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ExtensionFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetExtensionCommand(input, context);
33
- };
34
- GetExtensionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetExtensionCommand(output, context);
36
- };
37
- return GetExtensionCommand;
38
- }($Command));
39
- export { GetExtensionCommand };
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 { GetHostedConfigurationVersionRequestFilterSensitiveLog, HostedConfigurationVersionFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetHostedConfigurationVersionCommand, serializeAws_restJson1GetHostedConfigurationVersionCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetHostedConfigurationVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetHostedConfigurationVersionCommand.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 = "AppConfigClient";
18
- var commandName = "GetHostedConfigurationVersionCommand";
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 = "AppConfigClient";
15
+ const commandName = "GetHostedConfigurationVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetHostedConfigurationVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: HostedConfigurationVersionFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetHostedConfigurationVersionCommand(input, context);
33
- };
34
- GetHostedConfigurationVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetHostedConfigurationVersionCommand(output, context);
36
- };
37
- return GetHostedConfigurationVersionCommand;
38
- }($Command));
39
- export { GetHostedConfigurationVersionCommand };
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 { ApplicationsFilterSensitiveLog, ListApplicationsRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListApplicationsCommand, serializeAws_restJson1ListApplicationsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListApplicationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListApplicationsCommand.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 = "AppConfigClient";
18
- var commandName = "ListApplicationsCommand";
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 = "AppConfigClient";
15
+ const commandName = "ListApplicationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListApplicationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ApplicationsFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListApplicationsCommand(input, context);
33
- };
34
- ListApplicationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListApplicationsCommand(output, context);
36
- };
37
- return ListApplicationsCommand;
38
- }($Command));
39
- export { ListApplicationsCommand };
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 { ConfigurationProfilesFilterSensitiveLog, ListConfigurationProfilesRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListConfigurationProfilesCommand, serializeAws_restJson1ListConfigurationProfilesCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListConfigurationProfilesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListConfigurationProfilesCommand.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 = "AppConfigClient";
18
- var commandName = "ListConfigurationProfilesCommand";
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 = "AppConfigClient";
15
+ const commandName = "ListConfigurationProfilesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListConfigurationProfilesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ConfigurationProfilesFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListConfigurationProfilesCommand(input, context);
33
- };
34
- ListConfigurationProfilesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListConfigurationProfilesCommand(output, context);
36
- };
37
- return ListConfigurationProfilesCommand;
38
- }($Command));
39
- export { ListConfigurationProfilesCommand };
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 { DeploymentStrategiesFilterSensitiveLog, ListDeploymentStrategiesRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListDeploymentStrategiesCommand, serializeAws_restJson1ListDeploymentStrategiesCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListDeploymentStrategiesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListDeploymentStrategiesCommand.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 = "AppConfigClient";
18
- var commandName = "ListDeploymentStrategiesCommand";
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 = "AppConfigClient";
15
+ const commandName = "ListDeploymentStrategiesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListDeploymentStrategiesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeploymentStrategiesFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListDeploymentStrategiesCommand(input, context);
33
- };
34
- ListDeploymentStrategiesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListDeploymentStrategiesCommand(output, context);
36
- };
37
- return ListDeploymentStrategiesCommand;
38
- }($Command));
39
- export { ListDeploymentStrategiesCommand };
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 { DeploymentsFilterSensitiveLog, ListDeploymentsRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListDeploymentsCommand, serializeAws_restJson1ListDeploymentsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListDeploymentsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListDeploymentsCommand.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 = "AppConfigClient";
18
- var commandName = "ListDeploymentsCommand";
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 = "AppConfigClient";
15
+ const commandName = "ListDeploymentsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListDeploymentsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeploymentsFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListDeploymentsCommand(input, context);
33
- };
34
- ListDeploymentsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListDeploymentsCommand(output, context);
36
- };
37
- return ListDeploymentsCommand;
38
- }($Command));
39
- export { ListDeploymentsCommand };
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 { EnvironmentsFilterSensitiveLog, ListEnvironmentsRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListEnvironmentsCommand, serializeAws_restJson1ListEnvironmentsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListEnvironmentsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListEnvironmentsCommand.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 = "AppConfigClient";
18
- var commandName = "ListEnvironmentsCommand";
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 = "AppConfigClient";
15
+ const commandName = "ListEnvironmentsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListEnvironmentsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: EnvironmentsFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListEnvironmentsCommand(input, context);
33
- };
34
- ListEnvironmentsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListEnvironmentsCommand(output, context);
36
- };
37
- return ListEnvironmentsCommand;
38
- }($Command));
39
- export { ListEnvironmentsCommand };
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 { ExtensionAssociationsFilterSensitiveLog, ListExtensionAssociationsRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListExtensionAssociationsCommand, serializeAws_restJson1ListExtensionAssociationsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListExtensionAssociationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListExtensionAssociationsCommand.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 = "AppConfigClient";
18
- var commandName = "ListExtensionAssociationsCommand";
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 = "AppConfigClient";
15
+ const commandName = "ListExtensionAssociationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListExtensionAssociationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ExtensionAssociationsFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListExtensionAssociationsCommand(input, context);
33
- };
34
- ListExtensionAssociationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListExtensionAssociationsCommand(output, context);
36
- };
37
- return ListExtensionAssociationsCommand;
38
- }($Command));
39
- export { ListExtensionAssociationsCommand };
31
+ }
32
+ }