@aws-sdk/client-appconfig 3.35.0 → 3.38.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 (311) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/AppConfig.js +0 -52
  3. package/dist-cjs/AppConfigClient.js +0 -57
  4. package/dist-cjs/commands/CreateApplicationCommand.js +0 -28
  5. package/dist-cjs/commands/CreateConfigurationProfileCommand.js +0 -42
  6. package/dist-cjs/commands/CreateDeploymentStrategyCommand.js +0 -28
  7. package/dist-cjs/commands/CreateEnvironmentCommand.js +0 -31
  8. package/dist-cjs/commands/CreateHostedConfigurationVersionCommand.js +0 -25
  9. package/dist-cjs/commands/DeleteApplicationCommand.js +0 -26
  10. package/dist-cjs/commands/DeleteConfigurationProfileCommand.js +0 -26
  11. package/dist-cjs/commands/DeleteDeploymentStrategyCommand.js +0 -26
  12. package/dist-cjs/commands/DeleteEnvironmentCommand.js +0 -26
  13. package/dist-cjs/commands/DeleteHostedConfigurationVersionCommand.js +0 -25
  14. package/dist-cjs/commands/GetApplicationCommand.js +0 -25
  15. package/dist-cjs/commands/GetConfigurationCommand.js +0 -37
  16. package/dist-cjs/commands/GetConfigurationProfileCommand.js +0 -25
  17. package/dist-cjs/commands/GetDeploymentCommand.js +0 -25
  18. package/dist-cjs/commands/GetDeploymentStrategyCommand.js +0 -29
  19. package/dist-cjs/commands/GetEnvironmentCommand.js +0 -29
  20. package/dist-cjs/commands/GetHostedConfigurationVersionCommand.js +0 -25
  21. package/dist-cjs/commands/ListApplicationsCommand.js +0 -25
  22. package/dist-cjs/commands/ListConfigurationProfilesCommand.js +0 -25
  23. package/dist-cjs/commands/ListDeploymentStrategiesCommand.js +0 -25
  24. package/dist-cjs/commands/ListDeploymentsCommand.js +0 -25
  25. package/dist-cjs/commands/ListEnvironmentsCommand.js +0 -25
  26. package/dist-cjs/commands/ListHostedConfigurationVersionsCommand.js +0 -26
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  28. package/dist-cjs/commands/StartDeploymentCommand.js +0 -25
  29. package/dist-cjs/commands/StopDeploymentCommand.js +0 -27
  30. package/dist-cjs/commands/TagResourceCommand.js +0 -27
  31. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  32. package/dist-cjs/commands/UpdateApplicationCommand.js +0 -25
  33. package/dist-cjs/commands/UpdateConfigurationProfileCommand.js +0 -25
  34. package/dist-cjs/commands/UpdateDeploymentStrategyCommand.js +0 -25
  35. package/dist-cjs/commands/UpdateEnvironmentCommand.js +0 -25
  36. package/dist-cjs/commands/ValidateConfigurationCommand.js +0 -25
  37. package/dist-cjs/commands/index.js +36 -0
  38. package/dist-cjs/endpoints.js +1 -2
  39. package/dist-cjs/index.js +4 -43
  40. package/dist-cjs/models/index.js +0 -1
  41. package/dist-cjs/models/models_0.js +0 -178
  42. package/dist-cjs/pagination/Interfaces.js +0 -1
  43. package/dist-cjs/pagination/ListApplicationsPaginator.js +0 -11
  44. package/dist-cjs/pagination/ListConfigurationProfilesPaginator.js +0 -11
  45. package/dist-cjs/pagination/ListDeploymentStrategiesPaginator.js +0 -11
  46. package/dist-cjs/pagination/ListDeploymentsPaginator.js +0 -11
  47. package/dist-cjs/pagination/ListEnvironmentsPaginator.js +0 -11
  48. package/dist-cjs/pagination/ListHostedConfigurationVersionsPaginator.js +0 -11
  49. package/dist-cjs/pagination/index.js +10 -0
  50. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  51. package/dist-cjs/runtimeConfig.browser.js +1 -6
  52. package/dist-cjs/runtimeConfig.js +2 -7
  53. package/dist-cjs/runtimeConfig.native.js +0 -4
  54. package/dist-cjs/runtimeConfig.shared.js +0 -4
  55. package/dist-es/AppConfig.js +0 -1
  56. package/dist-es/AppConfigClient.js +0 -1
  57. package/dist-es/commands/CreateApplicationCommand.js +0 -1
  58. package/dist-es/commands/CreateConfigurationProfileCommand.js +0 -1
  59. package/dist-es/commands/CreateDeploymentStrategyCommand.js +0 -1
  60. package/dist-es/commands/CreateEnvironmentCommand.js +0 -1
  61. package/dist-es/commands/CreateHostedConfigurationVersionCommand.js +0 -1
  62. package/dist-es/commands/DeleteApplicationCommand.js +0 -1
  63. package/dist-es/commands/DeleteConfigurationProfileCommand.js +0 -1
  64. package/dist-es/commands/DeleteDeploymentStrategyCommand.js +0 -1
  65. package/dist-es/commands/DeleteEnvironmentCommand.js +0 -1
  66. package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js +0 -1
  67. package/dist-es/commands/GetApplicationCommand.js +0 -1
  68. package/dist-es/commands/GetConfigurationCommand.js +0 -1
  69. package/dist-es/commands/GetConfigurationProfileCommand.js +0 -1
  70. package/dist-es/commands/GetDeploymentCommand.js +0 -1
  71. package/dist-es/commands/GetDeploymentStrategyCommand.js +0 -1
  72. package/dist-es/commands/GetEnvironmentCommand.js +0 -1
  73. package/dist-es/commands/GetHostedConfigurationVersionCommand.js +0 -1
  74. package/dist-es/commands/ListApplicationsCommand.js +0 -1
  75. package/dist-es/commands/ListConfigurationProfilesCommand.js +0 -1
  76. package/dist-es/commands/ListDeploymentStrategiesCommand.js +0 -1
  77. package/dist-es/commands/ListDeploymentsCommand.js +0 -1
  78. package/dist-es/commands/ListEnvironmentsCommand.js +0 -1
  79. package/dist-es/commands/ListHostedConfigurationVersionsCommand.js +0 -1
  80. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  81. package/dist-es/commands/StartDeploymentCommand.js +0 -1
  82. package/dist-es/commands/StopDeploymentCommand.js +0 -1
  83. package/dist-es/commands/TagResourceCommand.js +0 -1
  84. package/dist-es/commands/UntagResourceCommand.js +0 -1
  85. package/dist-es/commands/UpdateApplicationCommand.js +0 -1
  86. package/dist-es/commands/UpdateConfigurationProfileCommand.js +0 -1
  87. package/dist-es/commands/UpdateDeploymentStrategyCommand.js +0 -1
  88. package/dist-es/commands/UpdateEnvironmentCommand.js +0 -1
  89. package/dist-es/commands/ValidateConfigurationCommand.js +0 -1
  90. package/dist-es/commands/index.js +33 -0
  91. package/dist-es/endpoints.js +1 -2
  92. package/dist-es/index.js +4 -43
  93. package/dist-es/models/index.js +0 -1
  94. package/dist-es/models/models_0.js +0 -1
  95. package/dist-es/pagination/Interfaces.js +0 -1
  96. package/dist-es/pagination/ListApplicationsPaginator.js +0 -1
  97. package/dist-es/pagination/ListConfigurationProfilesPaginator.js +0 -1
  98. package/dist-es/pagination/ListDeploymentStrategiesPaginator.js +0 -1
  99. package/dist-es/pagination/ListDeploymentsPaginator.js +0 -1
  100. package/dist-es/pagination/ListEnvironmentsPaginator.js +0 -1
  101. package/dist-es/pagination/ListHostedConfigurationVersionsPaginator.js +0 -1
  102. package/dist-es/pagination/index.js +7 -0
  103. package/dist-es/protocols/Aws_restJson1.js +0 -1
  104. package/dist-es/runtimeConfig.browser.js +1 -2
  105. package/dist-es/runtimeConfig.js +2 -3
  106. package/dist-es/runtimeConfig.native.js +0 -1
  107. package/dist-es/runtimeConfig.shared.js +0 -1
  108. package/dist-types/commands/index.d.ts +33 -0
  109. package/dist-types/index.d.ts +4 -42
  110. package/dist-types/pagination/index.d.ts +7 -0
  111. package/dist-types/ts3.4/AppConfig.d.ts +34 -208
  112. package/dist-types/ts3.4/AppConfigClient.d.ts +24 -137
  113. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -23
  114. package/dist-types/ts3.4/commands/CreateConfigurationProfileCommand.d.ts +2 -37
  115. package/dist-types/ts3.4/commands/CreateDeploymentStrategyCommand.d.ts +2 -23
  116. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +2 -26
  117. package/dist-types/ts3.4/commands/CreateHostedConfigurationVersionCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -21
  119. package/dist-types/ts3.4/commands/DeleteConfigurationProfileCommand.d.ts +2 -21
  120. package/dist-types/ts3.4/commands/DeleteDeploymentStrategyCommand.d.ts +2 -21
  121. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +2 -21
  122. package/dist-types/ts3.4/commands/DeleteHostedConfigurationVersionCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +2 -32
  125. package/dist-types/ts3.4/commands/GetConfigurationProfileCommand.d.ts +2 -20
  126. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/GetDeploymentStrategyCommand.d.ts +2 -24
  128. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +2 -24
  129. package/dist-types/ts3.4/commands/GetHostedConfigurationVersionCommand.d.ts +2 -20
  130. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/ListConfigurationProfilesCommand.d.ts +2 -20
  132. package/dist-types/ts3.4/commands/ListDeploymentStrategiesCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +2 -20
  134. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +2 -20
  135. package/dist-types/ts3.4/commands/ListHostedConfigurationVersionsCommand.d.ts +2 -21
  136. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/StartDeploymentCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +2 -22
  139. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -22
  140. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  141. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/UpdateConfigurationProfileCommand.d.ts +2 -20
  143. package/dist-types/ts3.4/commands/UpdateDeploymentStrategyCommand.d.ts +2 -20
  144. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +2 -20
  145. package/dist-types/ts3.4/commands/ValidateConfigurationCommand.d.ts +2 -20
  146. package/dist-types/ts3.4/commands/index.d.ts +33 -0
  147. package/dist-types/ts3.4/index.d.ts +4 -42
  148. package/dist-types/ts3.4/models/models_0.d.ts +275 -973
  149. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  150. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  151. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  152. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  153. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  154. package/package.json +33 -30
  155. package/dist-cjs/AppConfig.js.map +0 -1
  156. package/dist-cjs/AppConfigClient.js.map +0 -1
  157. package/dist-cjs/commands/CreateApplicationCommand.js.map +0 -1
  158. package/dist-cjs/commands/CreateConfigurationProfileCommand.js.map +0 -1
  159. package/dist-cjs/commands/CreateDeploymentStrategyCommand.js.map +0 -1
  160. package/dist-cjs/commands/CreateEnvironmentCommand.js.map +0 -1
  161. package/dist-cjs/commands/CreateHostedConfigurationVersionCommand.js.map +0 -1
  162. package/dist-cjs/commands/DeleteApplicationCommand.js.map +0 -1
  163. package/dist-cjs/commands/DeleteConfigurationProfileCommand.js.map +0 -1
  164. package/dist-cjs/commands/DeleteDeploymentStrategyCommand.js.map +0 -1
  165. package/dist-cjs/commands/DeleteEnvironmentCommand.js.map +0 -1
  166. package/dist-cjs/commands/DeleteHostedConfigurationVersionCommand.js.map +0 -1
  167. package/dist-cjs/commands/GetApplicationCommand.js.map +0 -1
  168. package/dist-cjs/commands/GetConfigurationCommand.js.map +0 -1
  169. package/dist-cjs/commands/GetConfigurationProfileCommand.js.map +0 -1
  170. package/dist-cjs/commands/GetDeploymentCommand.js.map +0 -1
  171. package/dist-cjs/commands/GetDeploymentStrategyCommand.js.map +0 -1
  172. package/dist-cjs/commands/GetEnvironmentCommand.js.map +0 -1
  173. package/dist-cjs/commands/GetHostedConfigurationVersionCommand.js.map +0 -1
  174. package/dist-cjs/commands/ListApplicationsCommand.js.map +0 -1
  175. package/dist-cjs/commands/ListConfigurationProfilesCommand.js.map +0 -1
  176. package/dist-cjs/commands/ListDeploymentStrategiesCommand.js.map +0 -1
  177. package/dist-cjs/commands/ListDeploymentsCommand.js.map +0 -1
  178. package/dist-cjs/commands/ListEnvironmentsCommand.js.map +0 -1
  179. package/dist-cjs/commands/ListHostedConfigurationVersionsCommand.js.map +0 -1
  180. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  181. package/dist-cjs/commands/StartDeploymentCommand.js.map +0 -1
  182. package/dist-cjs/commands/StopDeploymentCommand.js.map +0 -1
  183. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  184. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  185. package/dist-cjs/commands/UpdateApplicationCommand.js.map +0 -1
  186. package/dist-cjs/commands/UpdateConfigurationProfileCommand.js.map +0 -1
  187. package/dist-cjs/commands/UpdateDeploymentStrategyCommand.js.map +0 -1
  188. package/dist-cjs/commands/UpdateEnvironmentCommand.js.map +0 -1
  189. package/dist-cjs/commands/ValidateConfigurationCommand.js.map +0 -1
  190. package/dist-cjs/endpoints.js.map +0 -1
  191. package/dist-cjs/index.js.map +0 -1
  192. package/dist-cjs/models/index.js.map +0 -1
  193. package/dist-cjs/models/models_0.js.map +0 -1
  194. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  195. package/dist-cjs/pagination/ListApplicationsPaginator.js.map +0 -1
  196. package/dist-cjs/pagination/ListConfigurationProfilesPaginator.js.map +0 -1
  197. package/dist-cjs/pagination/ListDeploymentStrategiesPaginator.js.map +0 -1
  198. package/dist-cjs/pagination/ListDeploymentsPaginator.js.map +0 -1
  199. package/dist-cjs/pagination/ListEnvironmentsPaginator.js.map +0 -1
  200. package/dist-cjs/pagination/ListHostedConfigurationVersionsPaginator.js.map +0 -1
  201. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  202. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  203. package/dist-cjs/runtimeConfig.js.map +0 -1
  204. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  205. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  206. package/dist-es/AppConfig.js.map +0 -1
  207. package/dist-es/AppConfigClient.js.map +0 -1
  208. package/dist-es/commands/CreateApplicationCommand.js.map +0 -1
  209. package/dist-es/commands/CreateConfigurationProfileCommand.js.map +0 -1
  210. package/dist-es/commands/CreateDeploymentStrategyCommand.js.map +0 -1
  211. package/dist-es/commands/CreateEnvironmentCommand.js.map +0 -1
  212. package/dist-es/commands/CreateHostedConfigurationVersionCommand.js.map +0 -1
  213. package/dist-es/commands/DeleteApplicationCommand.js.map +0 -1
  214. package/dist-es/commands/DeleteConfigurationProfileCommand.js.map +0 -1
  215. package/dist-es/commands/DeleteDeploymentStrategyCommand.js.map +0 -1
  216. package/dist-es/commands/DeleteEnvironmentCommand.js.map +0 -1
  217. package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js.map +0 -1
  218. package/dist-es/commands/GetApplicationCommand.js.map +0 -1
  219. package/dist-es/commands/GetConfigurationCommand.js.map +0 -1
  220. package/dist-es/commands/GetConfigurationProfileCommand.js.map +0 -1
  221. package/dist-es/commands/GetDeploymentCommand.js.map +0 -1
  222. package/dist-es/commands/GetDeploymentStrategyCommand.js.map +0 -1
  223. package/dist-es/commands/GetEnvironmentCommand.js.map +0 -1
  224. package/dist-es/commands/GetHostedConfigurationVersionCommand.js.map +0 -1
  225. package/dist-es/commands/ListApplicationsCommand.js.map +0 -1
  226. package/dist-es/commands/ListConfigurationProfilesCommand.js.map +0 -1
  227. package/dist-es/commands/ListDeploymentStrategiesCommand.js.map +0 -1
  228. package/dist-es/commands/ListDeploymentsCommand.js.map +0 -1
  229. package/dist-es/commands/ListEnvironmentsCommand.js.map +0 -1
  230. package/dist-es/commands/ListHostedConfigurationVersionsCommand.js.map +0 -1
  231. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  232. package/dist-es/commands/StartDeploymentCommand.js.map +0 -1
  233. package/dist-es/commands/StopDeploymentCommand.js.map +0 -1
  234. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  235. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  236. package/dist-es/commands/UpdateApplicationCommand.js.map +0 -1
  237. package/dist-es/commands/UpdateConfigurationProfileCommand.js.map +0 -1
  238. package/dist-es/commands/UpdateDeploymentStrategyCommand.js.map +0 -1
  239. package/dist-es/commands/UpdateEnvironmentCommand.js.map +0 -1
  240. package/dist-es/commands/ValidateConfigurationCommand.js.map +0 -1
  241. package/dist-es/endpoints.js.map +0 -1
  242. package/dist-es/index.js.map +0 -1
  243. package/dist-es/models/index.js.map +0 -1
  244. package/dist-es/models/models_0.js.map +0 -1
  245. package/dist-es/pagination/Interfaces.js.map +0 -1
  246. package/dist-es/pagination/ListApplicationsPaginator.js.map +0 -1
  247. package/dist-es/pagination/ListConfigurationProfilesPaginator.js.map +0 -1
  248. package/dist-es/pagination/ListDeploymentStrategiesPaginator.js.map +0 -1
  249. package/dist-es/pagination/ListDeploymentsPaginator.js.map +0 -1
  250. package/dist-es/pagination/ListEnvironmentsPaginator.js.map +0 -1
  251. package/dist-es/pagination/ListHostedConfigurationVersionsPaginator.js.map +0 -1
  252. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  253. package/dist-es/runtimeConfig.browser.js.map +0 -1
  254. package/dist-es/runtimeConfig.js.map +0 -1
  255. package/dist-es/runtimeConfig.native.js.map +0 -1
  256. package/dist-es/runtimeConfig.shared.js.map +0 -1
  257. package/jest.config.js +0 -4
  258. package/src/AppConfig.ts +0 -1325
  259. package/src/AppConfigClient.ts +0 -431
  260. package/src/commands/CreateApplicationCommand.ts +0 -98
  261. package/src/commands/CreateConfigurationProfileCommand.ts +0 -115
  262. package/src/commands/CreateDeploymentStrategyCommand.ts +0 -98
  263. package/src/commands/CreateEnvironmentCommand.ts +0 -101
  264. package/src/commands/CreateHostedConfigurationVersionCommand.ts +0 -101
  265. package/src/commands/DeleteApplicationCommand.ts +0 -96
  266. package/src/commands/DeleteConfigurationProfileCommand.ts +0 -99
  267. package/src/commands/DeleteDeploymentStrategyCommand.ts +0 -96
  268. package/src/commands/DeleteEnvironmentCommand.ts +0 -96
  269. package/src/commands/DeleteHostedConfigurationVersionCommand.ts +0 -101
  270. package/src/commands/GetApplicationCommand.ts +0 -95
  271. package/src/commands/GetConfigurationCommand.ts +0 -107
  272. package/src/commands/GetConfigurationProfileCommand.ts +0 -95
  273. package/src/commands/GetDeploymentCommand.ts +0 -95
  274. package/src/commands/GetDeploymentStrategyCommand.ts +0 -99
  275. package/src/commands/GetEnvironmentCommand.ts +0 -99
  276. package/src/commands/GetHostedConfigurationVersionCommand.ts +0 -98
  277. package/src/commands/ListApplicationsCommand.ts +0 -95
  278. package/src/commands/ListConfigurationProfilesCommand.ts +0 -98
  279. package/src/commands/ListDeploymentStrategiesCommand.ts +0 -95
  280. package/src/commands/ListDeploymentsCommand.ts +0 -95
  281. package/src/commands/ListEnvironmentsCommand.ts +0 -95
  282. package/src/commands/ListHostedConfigurationVersionsCommand.ts +0 -102
  283. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  284. package/src/commands/StartDeploymentCommand.ts +0 -95
  285. package/src/commands/StopDeploymentCommand.ts +0 -97
  286. package/src/commands/TagResourceCommand.ts +0 -97
  287. package/src/commands/UntagResourceCommand.ts +0 -95
  288. package/src/commands/UpdateApplicationCommand.ts +0 -95
  289. package/src/commands/UpdateConfigurationProfileCommand.ts +0 -98
  290. package/src/commands/UpdateDeploymentStrategyCommand.ts +0 -95
  291. package/src/commands/UpdateEnvironmentCommand.ts +0 -95
  292. package/src/commands/ValidateConfigurationCommand.ts +0 -95
  293. package/src/endpoints.ts +0 -57
  294. package/src/index.ts +0 -43
  295. package/src/models/index.ts +0 -1
  296. package/src/models/models_0.ts +0 -1941
  297. package/src/pagination/Interfaces.ts +0 -8
  298. package/src/pagination/ListApplicationsPaginator.ts +0 -59
  299. package/src/pagination/ListConfigurationProfilesPaginator.ts +0 -59
  300. package/src/pagination/ListDeploymentStrategiesPaginator.ts +0 -59
  301. package/src/pagination/ListDeploymentsPaginator.ts +0 -59
  302. package/src/pagination/ListEnvironmentsPaginator.ts +0 -59
  303. package/src/pagination/ListHostedConfigurationVersionsPaginator.ts +0 -59
  304. package/src/protocols/Aws_restJson1.ts +0 -4709
  305. package/src/runtimeConfig.browser.ts +0 -41
  306. package/src/runtimeConfig.native.ts +0 -17
  307. package/src/runtimeConfig.shared.ts +0 -17
  308. package/src/runtimeConfig.ts +0 -46
  309. package/tsconfig.es.json +0 -10
  310. package/tsconfig.json +0 -33
  311. package/tsconfig.types.json +0 -9
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
15
- import { DeploymentStrategy, GetDeploymentStrategyRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetDeploymentStrategyCommand,
18
- serializeAws_restJson1GetDeploymentStrategyCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetDeploymentStrategyCommandInput extends GetDeploymentStrategyRequest {}
22
- export interface GetDeploymentStrategyCommandOutput extends DeploymentStrategy, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieve information about a deployment strategy. A deployment strategy defines
26
- * important criteria for rolling out your configuration to the designated targets. A
27
- * deployment strategy includes: the overall duration required, a percentage of targets to
28
- * receive the deployment during each interval, an algorithm that defines how percentage
29
- * grows, and bake time.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { AppConfigClient, GetDeploymentStrategyCommand } from "@aws-sdk/client-appconfig"; // ES Modules import
34
- * // const { AppConfigClient, GetDeploymentStrategyCommand } = require("@aws-sdk/client-appconfig"); // CommonJS import
35
- * const client = new AppConfigClient(config);
36
- * const command = new GetDeploymentStrategyCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link GetDeploymentStrategyCommandInput} for command's `input` shape.
41
- * @see {@link GetDeploymentStrategyCommandOutput} for command's `response` shape.
42
- * @see {@link AppConfigClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class GetDeploymentStrategyCommand extends $Command<
46
- GetDeploymentStrategyCommandInput,
47
- GetDeploymentStrategyCommandOutput,
48
- AppConfigClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: GetDeploymentStrategyCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: AppConfigClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<GetDeploymentStrategyCommandInput, GetDeploymentStrategyCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "AppConfigClient";
73
- const commandName = "GetDeploymentStrategyCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: GetDeploymentStrategyRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: DeploymentStrategy.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: GetDeploymentStrategyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1GetDeploymentStrategyCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDeploymentStrategyCommandOutput> {
94
- return deserializeAws_restJson1GetDeploymentStrategyCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
15
- import { Environment, GetEnvironmentRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetEnvironmentCommand,
18
- serializeAws_restJson1GetEnvironmentCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetEnvironmentCommandInput extends GetEnvironmentRequest {}
22
- export interface GetEnvironmentCommandOutput extends Environment, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieve information about an environment. An environment is a logical deployment group
26
- * of AppConfig applications, such as applications in a <code>Production</code> environment or
27
- * in an <code>EU_Region</code> environment. Each configuration deployment targets an
28
- * environment. You can enable one or more Amazon CloudWatch alarms for an environment. If an alarm is
29
- * triggered during a deployment, AppConfig roles back the configuration.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { AppConfigClient, GetEnvironmentCommand } from "@aws-sdk/client-appconfig"; // ES Modules import
34
- * // const { AppConfigClient, GetEnvironmentCommand } = require("@aws-sdk/client-appconfig"); // CommonJS import
35
- * const client = new AppConfigClient(config);
36
- * const command = new GetEnvironmentCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link GetEnvironmentCommandInput} for command's `input` shape.
41
- * @see {@link GetEnvironmentCommandOutput} for command's `response` shape.
42
- * @see {@link AppConfigClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class GetEnvironmentCommand extends $Command<
46
- GetEnvironmentCommandInput,
47
- GetEnvironmentCommandOutput,
48
- AppConfigClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: GetEnvironmentCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: AppConfigClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<GetEnvironmentCommandInput, GetEnvironmentCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "AppConfigClient";
73
- const commandName = "GetEnvironmentCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: GetEnvironmentRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: Environment.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: GetEnvironmentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1GetEnvironmentCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetEnvironmentCommandOutput> {
94
- return deserializeAws_restJson1GetEnvironmentCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
15
- import { GetHostedConfigurationVersionRequest, HostedConfigurationVersion } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetHostedConfigurationVersionCommand,
18
- serializeAws_restJson1GetHostedConfigurationVersionCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetHostedConfigurationVersionCommandInput extends GetHostedConfigurationVersionRequest {}
22
- export interface GetHostedConfigurationVersionCommandOutput extends HostedConfigurationVersion, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Get information about a specific configuration version.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppConfigClient, GetHostedConfigurationVersionCommand } from "@aws-sdk/client-appconfig"; // ES Modules import
30
- * // const { AppConfigClient, GetHostedConfigurationVersionCommand } = require("@aws-sdk/client-appconfig"); // CommonJS import
31
- * const client = new AppConfigClient(config);
32
- * const command = new GetHostedConfigurationVersionCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetHostedConfigurationVersionCommandInput} for command's `input` shape.
37
- * @see {@link GetHostedConfigurationVersionCommandOutput} for command's `response` shape.
38
- * @see {@link AppConfigClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetHostedConfigurationVersionCommand extends $Command<
42
- GetHostedConfigurationVersionCommandInput,
43
- GetHostedConfigurationVersionCommandOutput,
44
- AppConfigClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetHostedConfigurationVersionCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppConfigClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetHostedConfigurationVersionCommandInput, GetHostedConfigurationVersionCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppConfigClient";
69
- const commandName = "GetHostedConfigurationVersionCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetHostedConfigurationVersionRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: HostedConfigurationVersion.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetHostedConfigurationVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetHostedConfigurationVersionCommand(input, context);
87
- }
88
-
89
- private deserialize(
90
- output: __HttpResponse,
91
- context: __SerdeContext
92
- ): Promise<GetHostedConfigurationVersionCommandOutput> {
93
- return deserializeAws_restJson1GetHostedConfigurationVersionCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
15
- import { Applications, ListApplicationsRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListApplicationsCommand,
18
- serializeAws_restJson1ListApplicationsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListApplicationsCommandInput extends ListApplicationsRequest {}
22
- export interface ListApplicationsCommandOutput extends Applications, __MetadataBearer {}
23
-
24
- /**
25
- * <p>List all applications in your AWS account.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppConfigClient, ListApplicationsCommand } from "@aws-sdk/client-appconfig"; // ES Modules import
30
- * // const { AppConfigClient, ListApplicationsCommand } = require("@aws-sdk/client-appconfig"); // CommonJS import
31
- * const client = new AppConfigClient(config);
32
- * const command = new ListApplicationsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListApplicationsCommandInput} for command's `input` shape.
37
- * @see {@link ListApplicationsCommandOutput} for command's `response` shape.
38
- * @see {@link AppConfigClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListApplicationsCommand extends $Command<
42
- ListApplicationsCommandInput,
43
- ListApplicationsCommandOutput,
44
- AppConfigClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListApplicationsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppConfigClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListApplicationsCommandInput, ListApplicationsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppConfigClient";
69
- const commandName = "ListApplicationsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListApplicationsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: Applications.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListApplicationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListApplicationsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListApplicationsCommandOutput> {
90
- return deserializeAws_restJson1ListApplicationsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
15
- import { ConfigurationProfiles, ListConfigurationProfilesRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListConfigurationProfilesCommand,
18
- serializeAws_restJson1ListConfigurationProfilesCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListConfigurationProfilesCommandInput extends ListConfigurationProfilesRequest {}
22
- export interface ListConfigurationProfilesCommandOutput extends ConfigurationProfiles, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the configuration profiles for an application.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppConfigClient, ListConfigurationProfilesCommand } from "@aws-sdk/client-appconfig"; // ES Modules import
30
- * // const { AppConfigClient, ListConfigurationProfilesCommand } = require("@aws-sdk/client-appconfig"); // CommonJS import
31
- * const client = new AppConfigClient(config);
32
- * const command = new ListConfigurationProfilesCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListConfigurationProfilesCommandInput} for command's `input` shape.
37
- * @see {@link ListConfigurationProfilesCommandOutput} for command's `response` shape.
38
- * @see {@link AppConfigClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListConfigurationProfilesCommand extends $Command<
42
- ListConfigurationProfilesCommandInput,
43
- ListConfigurationProfilesCommandOutput,
44
- AppConfigClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListConfigurationProfilesCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppConfigClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListConfigurationProfilesCommandInput, ListConfigurationProfilesCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppConfigClient";
69
- const commandName = "ListConfigurationProfilesCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListConfigurationProfilesRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ConfigurationProfiles.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListConfigurationProfilesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListConfigurationProfilesCommand(input, context);
87
- }
88
-
89
- private deserialize(
90
- output: __HttpResponse,
91
- context: __SerdeContext
92
- ): Promise<ListConfigurationProfilesCommandOutput> {
93
- return deserializeAws_restJson1ListConfigurationProfilesCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
15
- import { DeploymentStrategies, ListDeploymentStrategiesRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListDeploymentStrategiesCommand,
18
- serializeAws_restJson1ListDeploymentStrategiesCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListDeploymentStrategiesCommandInput extends ListDeploymentStrategiesRequest {}
22
- export interface ListDeploymentStrategiesCommandOutput extends DeploymentStrategies, __MetadataBearer {}
23
-
24
- /**
25
- * <p>List deployment strategies.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppConfigClient, ListDeploymentStrategiesCommand } from "@aws-sdk/client-appconfig"; // ES Modules import
30
- * // const { AppConfigClient, ListDeploymentStrategiesCommand } = require("@aws-sdk/client-appconfig"); // CommonJS import
31
- * const client = new AppConfigClient(config);
32
- * const command = new ListDeploymentStrategiesCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListDeploymentStrategiesCommandInput} for command's `input` shape.
37
- * @see {@link ListDeploymentStrategiesCommandOutput} for command's `response` shape.
38
- * @see {@link AppConfigClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListDeploymentStrategiesCommand extends $Command<
42
- ListDeploymentStrategiesCommandInput,
43
- ListDeploymentStrategiesCommandOutput,
44
- AppConfigClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListDeploymentStrategiesCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppConfigClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListDeploymentStrategiesCommandInput, ListDeploymentStrategiesCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppConfigClient";
69
- const commandName = "ListDeploymentStrategiesCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListDeploymentStrategiesRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeploymentStrategies.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListDeploymentStrategiesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListDeploymentStrategiesCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDeploymentStrategiesCommandOutput> {
90
- return deserializeAws_restJson1ListDeploymentStrategiesCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
15
- import { Deployments, ListDeploymentsRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListDeploymentsCommand,
18
- serializeAws_restJson1ListDeploymentsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListDeploymentsCommandInput extends ListDeploymentsRequest {}
22
- export interface ListDeploymentsCommandOutput extends Deployments, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the deployments for an environment.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppConfigClient, ListDeploymentsCommand } from "@aws-sdk/client-appconfig"; // ES Modules import
30
- * // const { AppConfigClient, ListDeploymentsCommand } = require("@aws-sdk/client-appconfig"); // CommonJS import
31
- * const client = new AppConfigClient(config);
32
- * const command = new ListDeploymentsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListDeploymentsCommandInput} for command's `input` shape.
37
- * @see {@link ListDeploymentsCommandOutput} for command's `response` shape.
38
- * @see {@link AppConfigClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListDeploymentsCommand extends $Command<
42
- ListDeploymentsCommandInput,
43
- ListDeploymentsCommandOutput,
44
- AppConfigClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListDeploymentsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppConfigClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListDeploymentsCommandInput, ListDeploymentsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppConfigClient";
69
- const commandName = "ListDeploymentsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListDeploymentsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: Deployments.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListDeploymentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListDeploymentsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDeploymentsCommandOutput> {
90
- return deserializeAws_restJson1ListDeploymentsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }