@aws-sdk/client-appconfig 3.478.0 → 3.481.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 (177) hide show
  1. package/dist-cjs/commands/CreateApplicationCommand.js +18 -41
  2. package/dist-cjs/commands/CreateConfigurationProfileCommand.js +18 -41
  3. package/dist-cjs/commands/CreateDeploymentStrategyCommand.js +18 -41
  4. package/dist-cjs/commands/CreateEnvironmentCommand.js +18 -41
  5. package/dist-cjs/commands/CreateExtensionAssociationCommand.js +18 -41
  6. package/dist-cjs/commands/CreateExtensionCommand.js +18 -41
  7. package/dist-cjs/commands/CreateHostedConfigurationVersionCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteApplicationCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteConfigurationProfileCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteDeploymentStrategyCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteEnvironmentCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteExtensionAssociationCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteExtensionCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteHostedConfigurationVersionCommand.js +18 -41
  15. package/dist-cjs/commands/GetApplicationCommand.js +18 -41
  16. package/dist-cjs/commands/GetConfigurationCommand.js +18 -41
  17. package/dist-cjs/commands/GetConfigurationProfileCommand.js +18 -41
  18. package/dist-cjs/commands/GetDeploymentCommand.js +18 -41
  19. package/dist-cjs/commands/GetDeploymentStrategyCommand.js +18 -41
  20. package/dist-cjs/commands/GetEnvironmentCommand.js +18 -41
  21. package/dist-cjs/commands/GetExtensionAssociationCommand.js +18 -41
  22. package/dist-cjs/commands/GetExtensionCommand.js +18 -41
  23. package/dist-cjs/commands/GetHostedConfigurationVersionCommand.js +18 -41
  24. package/dist-cjs/commands/ListApplicationsCommand.js +18 -41
  25. package/dist-cjs/commands/ListConfigurationProfilesCommand.js +18 -41
  26. package/dist-cjs/commands/ListDeploymentStrategiesCommand.js +18 -41
  27. package/dist-cjs/commands/ListDeploymentsCommand.js +18 -41
  28. package/dist-cjs/commands/ListEnvironmentsCommand.js +18 -41
  29. package/dist-cjs/commands/ListExtensionAssociationsCommand.js +18 -41
  30. package/dist-cjs/commands/ListExtensionsCommand.js +18 -41
  31. package/dist-cjs/commands/ListHostedConfigurationVersionsCommand.js +18 -41
  32. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  33. package/dist-cjs/commands/StartDeploymentCommand.js +18 -41
  34. package/dist-cjs/commands/StopDeploymentCommand.js +18 -41
  35. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  36. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  37. package/dist-cjs/commands/UpdateApplicationCommand.js +18 -41
  38. package/dist-cjs/commands/UpdateConfigurationProfileCommand.js +18 -41
  39. package/dist-cjs/commands/UpdateDeploymentStrategyCommand.js +18 -41
  40. package/dist-cjs/commands/UpdateEnvironmentCommand.js +18 -41
  41. package/dist-cjs/commands/UpdateExtensionAssociationCommand.js +18 -41
  42. package/dist-cjs/commands/UpdateExtensionCommand.js +18 -41
  43. package/dist-cjs/commands/ValidateConfigurationCommand.js +18 -41
  44. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  45. package/dist-es/commands/CreateApplicationCommand.js +18 -41
  46. package/dist-es/commands/CreateConfigurationProfileCommand.js +18 -41
  47. package/dist-es/commands/CreateDeploymentStrategyCommand.js +18 -41
  48. package/dist-es/commands/CreateEnvironmentCommand.js +18 -41
  49. package/dist-es/commands/CreateExtensionAssociationCommand.js +18 -41
  50. package/dist-es/commands/CreateExtensionCommand.js +18 -41
  51. package/dist-es/commands/CreateHostedConfigurationVersionCommand.js +18 -41
  52. package/dist-es/commands/DeleteApplicationCommand.js +18 -41
  53. package/dist-es/commands/DeleteConfigurationProfileCommand.js +18 -41
  54. package/dist-es/commands/DeleteDeploymentStrategyCommand.js +18 -41
  55. package/dist-es/commands/DeleteEnvironmentCommand.js +18 -41
  56. package/dist-es/commands/DeleteExtensionAssociationCommand.js +18 -41
  57. package/dist-es/commands/DeleteExtensionCommand.js +18 -41
  58. package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js +18 -41
  59. package/dist-es/commands/GetApplicationCommand.js +18 -41
  60. package/dist-es/commands/GetConfigurationCommand.js +18 -41
  61. package/dist-es/commands/GetConfigurationProfileCommand.js +18 -41
  62. package/dist-es/commands/GetDeploymentCommand.js +18 -41
  63. package/dist-es/commands/GetDeploymentStrategyCommand.js +18 -41
  64. package/dist-es/commands/GetEnvironmentCommand.js +18 -41
  65. package/dist-es/commands/GetExtensionAssociationCommand.js +18 -41
  66. package/dist-es/commands/GetExtensionCommand.js +18 -41
  67. package/dist-es/commands/GetHostedConfigurationVersionCommand.js +18 -41
  68. package/dist-es/commands/ListApplicationsCommand.js +18 -41
  69. package/dist-es/commands/ListConfigurationProfilesCommand.js +18 -41
  70. package/dist-es/commands/ListDeploymentStrategiesCommand.js +18 -41
  71. package/dist-es/commands/ListDeploymentsCommand.js +18 -41
  72. package/dist-es/commands/ListEnvironmentsCommand.js +18 -41
  73. package/dist-es/commands/ListExtensionAssociationsCommand.js +18 -41
  74. package/dist-es/commands/ListExtensionsCommand.js +18 -41
  75. package/dist-es/commands/ListHostedConfigurationVersionsCommand.js +18 -41
  76. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  77. package/dist-es/commands/StartDeploymentCommand.js +18 -41
  78. package/dist-es/commands/StopDeploymentCommand.js +18 -41
  79. package/dist-es/commands/TagResourceCommand.js +18 -41
  80. package/dist-es/commands/UntagResourceCommand.js +18 -41
  81. package/dist-es/commands/UpdateApplicationCommand.js +18 -41
  82. package/dist-es/commands/UpdateConfigurationProfileCommand.js +18 -41
  83. package/dist-es/commands/UpdateDeploymentStrategyCommand.js +18 -41
  84. package/dist-es/commands/UpdateEnvironmentCommand.js +18 -41
  85. package/dist-es/commands/UpdateExtensionAssociationCommand.js +18 -41
  86. package/dist-es/commands/UpdateExtensionCommand.js +18 -41
  87. package/dist-es/commands/ValidateConfigurationCommand.js +18 -41
  88. package/dist-es/endpoint/EndpointParameters.js +6 -0
  89. package/dist-types/commands/CreateApplicationCommand.d.ts +6 -21
  90. package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +6 -21
  91. package/dist-types/commands/CreateDeploymentStrategyCommand.d.ts +6 -21
  92. package/dist-types/commands/CreateEnvironmentCommand.d.ts +6 -21
  93. package/dist-types/commands/CreateExtensionAssociationCommand.d.ts +6 -21
  94. package/dist-types/commands/CreateExtensionCommand.d.ts +6 -21
  95. package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +6 -21
  96. package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -21
  97. package/dist-types/commands/DeleteConfigurationProfileCommand.d.ts +6 -21
  98. package/dist-types/commands/DeleteDeploymentStrategyCommand.d.ts +6 -21
  99. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +6 -21
  100. package/dist-types/commands/DeleteExtensionAssociationCommand.d.ts +6 -21
  101. package/dist-types/commands/DeleteExtensionCommand.d.ts +6 -21
  102. package/dist-types/commands/DeleteHostedConfigurationVersionCommand.d.ts +6 -21
  103. package/dist-types/commands/GetApplicationCommand.d.ts +6 -21
  104. package/dist-types/commands/GetConfigurationCommand.d.ts +6 -21
  105. package/dist-types/commands/GetConfigurationProfileCommand.d.ts +6 -21
  106. package/dist-types/commands/GetDeploymentCommand.d.ts +6 -21
  107. package/dist-types/commands/GetDeploymentStrategyCommand.d.ts +6 -21
  108. package/dist-types/commands/GetEnvironmentCommand.d.ts +6 -21
  109. package/dist-types/commands/GetExtensionAssociationCommand.d.ts +6 -21
  110. package/dist-types/commands/GetExtensionCommand.d.ts +6 -21
  111. package/dist-types/commands/GetHostedConfigurationVersionCommand.d.ts +6 -21
  112. package/dist-types/commands/ListApplicationsCommand.d.ts +6 -21
  113. package/dist-types/commands/ListConfigurationProfilesCommand.d.ts +6 -21
  114. package/dist-types/commands/ListDeploymentStrategiesCommand.d.ts +6 -21
  115. package/dist-types/commands/ListDeploymentsCommand.d.ts +6 -21
  116. package/dist-types/commands/ListEnvironmentsCommand.d.ts +6 -21
  117. package/dist-types/commands/ListExtensionAssociationsCommand.d.ts +6 -21
  118. package/dist-types/commands/ListExtensionsCommand.d.ts +6 -21
  119. package/dist-types/commands/ListHostedConfigurationVersionsCommand.d.ts +6 -21
  120. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  121. package/dist-types/commands/StartDeploymentCommand.d.ts +6 -21
  122. package/dist-types/commands/StopDeploymentCommand.d.ts +6 -21
  123. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  124. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  125. package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -21
  126. package/dist-types/commands/UpdateConfigurationProfileCommand.d.ts +6 -21
  127. package/dist-types/commands/UpdateDeploymentStrategyCommand.d.ts +6 -21
  128. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +6 -21
  129. package/dist-types/commands/UpdateExtensionAssociationCommand.d.ts +6 -21
  130. package/dist-types/commands/UpdateExtensionCommand.d.ts +6 -21
  131. package/dist-types/commands/ValidateConfigurationCommand.d.ts +6 -21
  132. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  133. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +14 -23
  134. package/dist-types/ts3.4/commands/CreateConfigurationProfileCommand.d.ts +12 -24
  135. package/dist-types/ts3.4/commands/CreateDeploymentStrategyCommand.d.ts +12 -24
  136. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +14 -23
  137. package/dist-types/ts3.4/commands/CreateExtensionAssociationCommand.d.ts +12 -24
  138. package/dist-types/ts3.4/commands/CreateExtensionCommand.d.ts +14 -23
  139. package/dist-types/ts3.4/commands/CreateHostedConfigurationVersionCommand.d.ts +11 -21
  140. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +14 -23
  141. package/dist-types/ts3.4/commands/DeleteConfigurationProfileCommand.d.ts +12 -24
  142. package/dist-types/ts3.4/commands/DeleteDeploymentStrategyCommand.d.ts +12 -24
  143. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +14 -23
  144. package/dist-types/ts3.4/commands/DeleteExtensionAssociationCommand.d.ts +12 -24
  145. package/dist-types/ts3.4/commands/DeleteExtensionCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/DeleteHostedConfigurationVersionCommand.d.ts +12 -24
  147. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +14 -23
  148. package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +14 -23
  149. package/dist-types/ts3.4/commands/GetConfigurationProfileCommand.d.ts +12 -24
  150. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +14 -23
  151. package/dist-types/ts3.4/commands/GetDeploymentStrategyCommand.d.ts +12 -24
  152. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +14 -23
  153. package/dist-types/ts3.4/commands/GetExtensionAssociationCommand.d.ts +12 -24
  154. package/dist-types/ts3.4/commands/GetExtensionCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/GetHostedConfigurationVersionCommand.d.ts +12 -24
  156. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/commands/ListConfigurationProfilesCommand.d.ts +12 -24
  158. package/dist-types/ts3.4/commands/ListDeploymentStrategiesCommand.d.ts +12 -24
  159. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +14 -23
  160. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +14 -23
  161. package/dist-types/ts3.4/commands/ListExtensionAssociationsCommand.d.ts +12 -24
  162. package/dist-types/ts3.4/commands/ListExtensionsCommand.d.ts +14 -23
  163. package/dist-types/ts3.4/commands/ListHostedConfigurationVersionsCommand.d.ts +12 -24
  164. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  165. package/dist-types/ts3.4/commands/StartDeploymentCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/UpdateConfigurationProfileCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/UpdateDeploymentStrategyCommand.d.ts +12 -24
  172. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/UpdateExtensionAssociationCommand.d.ts +12 -24
  174. package/dist-types/ts3.4/commands/UpdateExtensionCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/ValidateConfigurationCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  177. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateDeploymentStrategyCommand, se_UpdateDeploymentStrategyCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateDeploymentStrategyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDeploymentStrategyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppConfigClient";
26
- const commandName = "UpdateDeploymentStrategyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonAppConfig",
35
- operation: "UpdateDeploymentStrategy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateDeploymentStrategyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateDeploymentStrategyCommand(output, context);
46
- }
7
+ export class UpdateDeploymentStrategyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonAppConfig", "UpdateDeploymentStrategy", {})
19
+ .n("AppConfigClient", "UpdateDeploymentStrategyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateDeploymentStrategyCommand)
22
+ .de(de_UpdateDeploymentStrategyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateEnvironmentCommand, se_UpdateEnvironmentCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateEnvironmentCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateEnvironmentCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppConfigClient";
26
- const commandName = "UpdateEnvironmentCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonAppConfig",
35
- operation: "UpdateEnvironment",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateEnvironmentCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateEnvironmentCommand(output, context);
46
- }
7
+ export class UpdateEnvironmentCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonAppConfig", "UpdateEnvironment", {})
19
+ .n("AppConfigClient", "UpdateEnvironmentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateEnvironmentCommand)
22
+ .de(de_UpdateEnvironmentCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateExtensionAssociationCommand, se_UpdateExtensionAssociationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateExtensionAssociationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateExtensionAssociationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppConfigClient";
26
- const commandName = "UpdateExtensionAssociationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonAppConfig",
35
- operation: "UpdateExtensionAssociation",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateExtensionAssociationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateExtensionAssociationCommand(output, context);
46
- }
7
+ export class UpdateExtensionAssociationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonAppConfig", "UpdateExtensionAssociation", {})
19
+ .n("AppConfigClient", "UpdateExtensionAssociationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateExtensionAssociationCommand)
22
+ .de(de_UpdateExtensionAssociationCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateExtensionCommand, se_UpdateExtensionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateExtensionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateExtensionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppConfigClient";
26
- const commandName = "UpdateExtensionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonAppConfig",
35
- operation: "UpdateExtension",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateExtensionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateExtensionCommand(output, context);
46
- }
7
+ export class UpdateExtensionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonAppConfig", "UpdateExtension", {})
19
+ .n("AppConfigClient", "UpdateExtensionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateExtensionCommand)
22
+ .de(de_UpdateExtensionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ValidateConfigurationCommand, se_ValidateConfigurationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ValidateConfigurationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ValidateConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppConfigClient";
26
- const commandName = "ValidateConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonAppConfig",
35
- operation: "ValidateConfiguration",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ValidateConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ValidateConfigurationCommand(output, context);
46
- }
7
+ export class ValidateConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonAppConfig", "ValidateConfiguration", {})
19
+ .n("AppConfigClient", "ValidateConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ValidateConfigurationCommand)
22
+ .de(de_ValidateConfigurationCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "appconfig",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
5
4
  import { Application, CreateApplicationRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateApplicationCommandInput extends CreateApplicationRequest
21
20
  */
22
21
  export interface CreateApplicationCommandOutput extends Application, __MetadataBearer {
23
22
  }
23
+ declare const CreateApplicationCommand_base: {
24
+ new (input: CreateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an application. In AppConfig, an application is simply an
@@ -97,23 +100,5 @@ export interface CreateApplicationCommandOutput extends Application, __MetadataB
97
100
  * ```
98
101
  *
99
102
  */
100
- export declare class CreateApplicationCommand extends $Command<CreateApplicationCommandInput, CreateApplicationCommandOutput, AppConfigClientResolvedConfig> {
101
- readonly input: CreateApplicationCommandInput;
102
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
103
- /**
104
- * @public
105
- */
106
- constructor(input: CreateApplicationCommandInput);
107
- /**
108
- * @internal
109
- */
110
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApplicationCommandInput, CreateApplicationCommandOutput>;
111
- /**
112
- * @internal
113
- */
114
- private serialize;
115
- /**
116
- * @internal
117
- */
118
- private deserialize;
103
+ export declare class CreateApplicationCommand extends CreateApplicationCommand_base {
119
104
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
5
4
  import { ConfigurationProfile, CreateConfigurationProfileRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateConfigurationProfileCommandInput extends CreateConfigurat
21
20
  */
22
21
  export interface CreateConfigurationProfileCommandOutput extends ConfigurationProfile, __MetadataBearer {
23
22
  }
23
+ declare const CreateConfigurationProfileCommand_base: {
24
+ new (input: CreateConfigurationProfileCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConfigurationProfileCommandInput, CreateConfigurationProfileCommandOutput, AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a configuration profile, which is information that enables AppConfig
@@ -162,23 +165,5 @@ export interface CreateConfigurationProfileCommandOutput extends ConfigurationPr
162
165
  * ```
163
166
  *
164
167
  */
165
- export declare class CreateConfigurationProfileCommand extends $Command<CreateConfigurationProfileCommandInput, CreateConfigurationProfileCommandOutput, AppConfigClientResolvedConfig> {
166
- readonly input: CreateConfigurationProfileCommandInput;
167
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
168
- /**
169
- * @public
170
- */
171
- constructor(input: CreateConfigurationProfileCommandInput);
172
- /**
173
- * @internal
174
- */
175
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateConfigurationProfileCommandInput, CreateConfigurationProfileCommandOutput>;
176
- /**
177
- * @internal
178
- */
179
- private serialize;
180
- /**
181
- * @internal
182
- */
183
- private deserialize;
168
+ export declare class CreateConfigurationProfileCommand extends CreateConfigurationProfileCommand_base {
184
169
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
5
4
  import { CreateDeploymentStrategyRequest, DeploymentStrategy } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateDeploymentStrategyCommandInput extends CreateDeploymentSt
21
20
  */
22
21
  export interface CreateDeploymentStrategyCommandOutput extends DeploymentStrategy, __MetadataBearer {
23
22
  }
23
+ declare const CreateDeploymentStrategyCommand_base: {
24
+ new (input: CreateDeploymentStrategyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDeploymentStrategyCommandInput, CreateDeploymentStrategyCommandOutput, AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a deployment strategy that defines important criteria for rolling out your
@@ -112,23 +115,5 @@ export interface CreateDeploymentStrategyCommandOutput extends DeploymentStrateg
112
115
  * ```
113
116
  *
114
117
  */
115
- export declare class CreateDeploymentStrategyCommand extends $Command<CreateDeploymentStrategyCommandInput, CreateDeploymentStrategyCommandOutput, AppConfigClientResolvedConfig> {
116
- readonly input: CreateDeploymentStrategyCommandInput;
117
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
118
- /**
119
- * @public
120
- */
121
- constructor(input: CreateDeploymentStrategyCommandInput);
122
- /**
123
- * @internal
124
- */
125
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDeploymentStrategyCommandInput, CreateDeploymentStrategyCommandOutput>;
126
- /**
127
- * @internal
128
- */
129
- private serialize;
130
- /**
131
- * @internal
132
- */
133
- private deserialize;
118
+ export declare class CreateDeploymentStrategyCommand extends CreateDeploymentStrategyCommand_base {
134
119
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
5
4
  import { CreateEnvironmentRequest, Environment } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateEnvironmentCommandInput extends CreateEnvironmentRequest
21
20
  */
22
21
  export interface CreateEnvironmentCommandOutput extends Environment, __MetadataBearer {
23
22
  }
23
+ declare const CreateEnvironmentCommand_base: {
24
+ new (input: CreateEnvironmentCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an environment. For each application, you define one or more environments. An
@@ -119,23 +122,5 @@ export interface CreateEnvironmentCommandOutput extends Environment, __MetadataB
119
122
  * ```
120
123
  *
121
124
  */
122
- export declare class CreateEnvironmentCommand extends $Command<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, AppConfigClientResolvedConfig> {
123
- readonly input: CreateEnvironmentCommandInput;
124
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
125
- /**
126
- * @public
127
- */
128
- constructor(input: CreateEnvironmentCommandInput);
129
- /**
130
- * @internal
131
- */
132
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput>;
133
- /**
134
- * @internal
135
- */
136
- private serialize;
137
- /**
138
- * @internal
139
- */
140
- private deserialize;
125
+ export declare class CreateEnvironmentCommand extends CreateEnvironmentCommand_base {
141
126
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
5
4
  import { CreateExtensionAssociationRequest, ExtensionAssociation } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateExtensionAssociationCommandInput extends CreateExtensionA
21
20
  */
22
21
  export interface CreateExtensionAssociationCommandOutput extends ExtensionAssociation, __MetadataBearer {
23
22
  }
23
+ declare const CreateExtensionAssociationCommand_base: {
24
+ new (input: CreateExtensionAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateExtensionAssociationCommandInput, CreateExtensionAssociationCommandOutput, AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>When you create an extension or configure an Amazon Web Services authored extension, you
@@ -98,23 +101,5 @@ export interface CreateExtensionAssociationCommandOutput extends ExtensionAssoci
98
101
  * <p>Base exception class for all service exceptions from AppConfig service.</p>
99
102
  *
100
103
  */
101
- export declare class CreateExtensionAssociationCommand extends $Command<CreateExtensionAssociationCommandInput, CreateExtensionAssociationCommandOutput, AppConfigClientResolvedConfig> {
102
- readonly input: CreateExtensionAssociationCommandInput;
103
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
104
- /**
105
- * @public
106
- */
107
- constructor(input: CreateExtensionAssociationCommandInput);
108
- /**
109
- * @internal
110
- */
111
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateExtensionAssociationCommandInput, CreateExtensionAssociationCommandOutput>;
112
- /**
113
- * @internal
114
- */
115
- private serialize;
116
- /**
117
- * @internal
118
- */
119
- private deserialize;
104
+ export declare class CreateExtensionAssociationCommand extends CreateExtensionAssociationCommand_base {
120
105
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
5
4
  import { CreateExtensionRequest, Extension } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateExtensionCommandInput extends CreateExtensionRequest {
21
20
  */
22
21
  export interface CreateExtensionCommandOutput extends Extension, __MetadataBearer {
23
22
  }
23
+ declare const CreateExtensionCommand_base: {
24
+ new (input: CreateExtensionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateExtensionCommandInput, CreateExtensionCommandOutput, AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an AppConfig extension. An extension augments your ability to inject
@@ -137,23 +140,5 @@ export interface CreateExtensionCommandOutput extends Extension, __MetadataBeare
137
140
  * <p>Base exception class for all service exceptions from AppConfig service.</p>
138
141
  *
139
142
  */
140
- export declare class CreateExtensionCommand extends $Command<CreateExtensionCommandInput, CreateExtensionCommandOutput, AppConfigClientResolvedConfig> {
141
- readonly input: CreateExtensionCommandInput;
142
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
143
- /**
144
- * @public
145
- */
146
- constructor(input: CreateExtensionCommandInput);
147
- /**
148
- * @internal
149
- */
150
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateExtensionCommandInput, CreateExtensionCommandOutput>;
151
- /**
152
- * @internal
153
- */
154
- private serialize;
155
- /**
156
- * @internal
157
- */
158
- private deserialize;
143
+ export declare class CreateExtensionCommand extends CreateExtensionCommand_base {
159
144
  }