@aws-sdk/client-appconfig 3.31.0 → 3.35.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 (467) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/{dist/cjs → dist-cjs}/AppConfig.js +1 -1
  3. package/dist-cjs/AppConfig.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/AppConfigClient.js +14 -14
  5. package/dist-cjs/AppConfigClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/CreateApplicationCommand.js +5 -5
  7. package/dist-cjs/commands/CreateApplicationCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/CreateConfigurationProfileCommand.js +5 -5
  9. package/dist-cjs/commands/CreateConfigurationProfileCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/CreateDeploymentStrategyCommand.js +5 -5
  11. package/dist-cjs/commands/CreateDeploymentStrategyCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/commands/CreateEnvironmentCommand.js +5 -5
  13. package/dist-cjs/commands/CreateEnvironmentCommand.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/commands/CreateHostedConfigurationVersionCommand.js +5 -5
  15. package/dist-cjs/commands/CreateHostedConfigurationVersionCommand.js.map +1 -0
  16. package/{dist/cjs → dist-cjs}/commands/DeleteApplicationCommand.js +5 -5
  17. package/dist-cjs/commands/DeleteApplicationCommand.js.map +1 -0
  18. package/{dist/cjs → dist-cjs}/commands/DeleteConfigurationProfileCommand.js +5 -5
  19. package/dist-cjs/commands/DeleteConfigurationProfileCommand.js.map +1 -0
  20. package/{dist/cjs → dist-cjs}/commands/DeleteDeploymentStrategyCommand.js +5 -5
  21. package/dist-cjs/commands/DeleteDeploymentStrategyCommand.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/commands/DeleteEnvironmentCommand.js +5 -5
  23. package/dist-cjs/commands/DeleteEnvironmentCommand.js.map +1 -0
  24. package/{dist/cjs → dist-cjs}/commands/DeleteHostedConfigurationVersionCommand.js +5 -5
  25. package/dist-cjs/commands/DeleteHostedConfigurationVersionCommand.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/commands/GetApplicationCommand.js +5 -5
  27. package/dist-cjs/commands/GetApplicationCommand.js.map +1 -0
  28. package/{dist/cjs → dist-cjs}/commands/GetConfigurationCommand.js +5 -5
  29. package/dist-cjs/commands/GetConfigurationCommand.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/commands/GetConfigurationProfileCommand.js +5 -5
  31. package/dist-cjs/commands/GetConfigurationProfileCommand.js.map +1 -0
  32. package/{dist/cjs → dist-cjs}/commands/GetDeploymentCommand.js +5 -5
  33. package/dist-cjs/commands/GetDeploymentCommand.js.map +1 -0
  34. package/{dist/cjs → dist-cjs}/commands/GetDeploymentStrategyCommand.js +5 -5
  35. package/dist-cjs/commands/GetDeploymentStrategyCommand.js.map +1 -0
  36. package/{dist/cjs → dist-cjs}/commands/GetEnvironmentCommand.js +5 -5
  37. package/dist-cjs/commands/GetEnvironmentCommand.js.map +1 -0
  38. package/{dist/cjs → dist-cjs}/commands/GetHostedConfigurationVersionCommand.js +5 -5
  39. package/dist-cjs/commands/GetHostedConfigurationVersionCommand.js.map +1 -0
  40. package/{dist/cjs → dist-cjs}/commands/ListApplicationsCommand.js +5 -5
  41. package/dist-cjs/commands/ListApplicationsCommand.js.map +1 -0
  42. package/{dist/cjs → dist-cjs}/commands/ListConfigurationProfilesCommand.js +5 -5
  43. package/dist-cjs/commands/ListConfigurationProfilesCommand.js.map +1 -0
  44. package/{dist/cjs → dist-cjs}/commands/ListDeploymentStrategiesCommand.js +5 -5
  45. package/dist-cjs/commands/ListDeploymentStrategiesCommand.js.map +1 -0
  46. package/{dist/cjs → dist-cjs}/commands/ListDeploymentsCommand.js +5 -5
  47. package/dist-cjs/commands/ListDeploymentsCommand.js.map +1 -0
  48. package/{dist/cjs → dist-cjs}/commands/ListEnvironmentsCommand.js +5 -5
  49. package/dist-cjs/commands/ListEnvironmentsCommand.js.map +1 -0
  50. package/{dist/cjs → dist-cjs}/commands/ListHostedConfigurationVersionsCommand.js +5 -5
  51. package/dist-cjs/commands/ListHostedConfigurationVersionsCommand.js.map +1 -0
  52. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +5 -5
  53. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
  54. package/{dist/cjs → dist-cjs}/commands/StartDeploymentCommand.js +5 -5
  55. package/dist-cjs/commands/StartDeploymentCommand.js.map +1 -0
  56. package/{dist/cjs → dist-cjs}/commands/StopDeploymentCommand.js +5 -5
  57. package/dist-cjs/commands/StopDeploymentCommand.js.map +1 -0
  58. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +5 -5
  59. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  60. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +5 -5
  61. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  62. package/{dist/cjs → dist-cjs}/commands/UpdateApplicationCommand.js +5 -5
  63. package/dist-cjs/commands/UpdateApplicationCommand.js.map +1 -0
  64. package/{dist/cjs → dist-cjs}/commands/UpdateConfigurationProfileCommand.js +5 -5
  65. package/dist-cjs/commands/UpdateConfigurationProfileCommand.js.map +1 -0
  66. package/{dist/cjs → dist-cjs}/commands/UpdateDeploymentStrategyCommand.js +5 -5
  67. package/dist-cjs/commands/UpdateDeploymentStrategyCommand.js.map +1 -0
  68. package/{dist/cjs → dist-cjs}/commands/UpdateEnvironmentCommand.js +5 -5
  69. package/dist-cjs/commands/UpdateEnvironmentCommand.js.map +1 -0
  70. package/{dist/cjs → dist-cjs}/commands/ValidateConfigurationCommand.js +5 -5
  71. package/dist-cjs/commands/ValidateConfigurationCommand.js.map +1 -0
  72. package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
  73. package/dist-cjs/endpoints.js.map +1 -0
  74. package/dist-cjs/index.js +47 -0
  75. package/dist-cjs/index.js.map +1 -0
  76. package/{dist/cjs → dist-cjs}/models/index.js +1 -1
  77. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  78. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  79. package/dist-cjs/models/models_0.js.map +1 -0
  80. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  81. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  82. package/{dist/cjs → dist-cjs}/pagination/ListApplicationsPaginator.js +0 -0
  83. package/dist-cjs/pagination/ListApplicationsPaginator.js.map +1 -0
  84. package/{dist/cjs → dist-cjs}/pagination/ListConfigurationProfilesPaginator.js +0 -0
  85. package/dist-cjs/pagination/ListConfigurationProfilesPaginator.js.map +1 -0
  86. package/{dist/cjs → dist-cjs}/pagination/ListDeploymentStrategiesPaginator.js +0 -0
  87. package/dist-cjs/pagination/ListDeploymentStrategiesPaginator.js.map +1 -0
  88. package/{dist/cjs → dist-cjs}/pagination/ListDeploymentsPaginator.js +0 -0
  89. package/dist-cjs/pagination/ListDeploymentsPaginator.js.map +1 -0
  90. package/{dist/cjs → dist-cjs}/pagination/ListEnvironmentsPaginator.js +0 -0
  91. package/dist-cjs/pagination/ListEnvironmentsPaginator.js.map +1 -0
  92. package/{dist/cjs → dist-cjs}/pagination/ListHostedConfigurationVersionsPaginator.js +0 -0
  93. package/dist-cjs/pagination/ListHostedConfigurationVersionsPaginator.js.map +1 -0
  94. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +259 -259
  95. package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
  96. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
  97. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  98. package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
  99. package/dist-cjs/runtimeConfig.js.map +1 -0
  100. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
  101. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  102. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  103. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  104. package/{dist/es → dist-es}/AppConfig.js +2 -53
  105. package/dist-es/AppConfig.js.map +1 -0
  106. package/dist-es/AppConfigClient.js +38 -0
  107. package/dist-es/AppConfigClient.js.map +1 -0
  108. package/{dist/es → dist-es}/commands/CreateApplicationCommand.js +4 -32
  109. package/dist-es/commands/CreateApplicationCommand.js.map +1 -0
  110. package/dist-es/commands/CreateConfigurationProfileCommand.js +40 -0
  111. package/dist-es/commands/CreateConfigurationProfileCommand.js.map +1 -0
  112. package/{dist/es → dist-es}/commands/CreateDeploymentStrategyCommand.js +4 -32
  113. package/dist-es/commands/CreateDeploymentStrategyCommand.js.map +1 -0
  114. package/{dist/es → dist-es}/commands/CreateEnvironmentCommand.js +4 -35
  115. package/dist-es/commands/CreateEnvironmentCommand.js.map +1 -0
  116. package/{dist/es → dist-es}/commands/CreateHostedConfigurationVersionCommand.js +4 -29
  117. package/dist-es/commands/CreateHostedConfigurationVersionCommand.js.map +1 -0
  118. package/{dist/es → dist-es}/commands/DeleteApplicationCommand.js +4 -30
  119. package/dist-es/commands/DeleteApplicationCommand.js.map +1 -0
  120. package/{dist/es → dist-es}/commands/DeleteConfigurationProfileCommand.js +4 -30
  121. package/dist-es/commands/DeleteConfigurationProfileCommand.js.map +1 -0
  122. package/{dist/es → dist-es}/commands/DeleteDeploymentStrategyCommand.js +4 -30
  123. package/dist-es/commands/DeleteDeploymentStrategyCommand.js.map +1 -0
  124. package/{dist/es → dist-es}/commands/DeleteEnvironmentCommand.js +4 -30
  125. package/dist-es/commands/DeleteEnvironmentCommand.js.map +1 -0
  126. package/{dist/es → dist-es}/commands/DeleteHostedConfigurationVersionCommand.js +4 -29
  127. package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js.map +1 -0
  128. package/{dist/es → dist-es}/commands/GetApplicationCommand.js +4 -29
  129. package/dist-es/commands/GetApplicationCommand.js.map +1 -0
  130. package/dist-es/commands/GetConfigurationCommand.js +40 -0
  131. package/dist-es/commands/GetConfigurationCommand.js.map +1 -0
  132. package/{dist/es → dist-es}/commands/GetConfigurationProfileCommand.js +4 -29
  133. package/dist-es/commands/GetConfigurationProfileCommand.js.map +1 -0
  134. package/{dist/es → dist-es}/commands/GetDeploymentCommand.js +4 -29
  135. package/dist-es/commands/GetDeploymentCommand.js.map +1 -0
  136. package/{dist/es → dist-es}/commands/GetDeploymentStrategyCommand.js +4 -33
  137. package/dist-es/commands/GetDeploymentStrategyCommand.js.map +1 -0
  138. package/{dist/es → dist-es}/commands/GetEnvironmentCommand.js +4 -33
  139. package/dist-es/commands/GetEnvironmentCommand.js.map +1 -0
  140. package/{dist/es → dist-es}/commands/GetHostedConfigurationVersionCommand.js +4 -29
  141. package/dist-es/commands/GetHostedConfigurationVersionCommand.js.map +1 -0
  142. package/{dist/es → dist-es}/commands/ListApplicationsCommand.js +4 -29
  143. package/dist-es/commands/ListApplicationsCommand.js.map +1 -0
  144. package/{dist/es → dist-es}/commands/ListConfigurationProfilesCommand.js +4 -29
  145. package/dist-es/commands/ListConfigurationProfilesCommand.js.map +1 -0
  146. package/{dist/es → dist-es}/commands/ListDeploymentStrategiesCommand.js +4 -29
  147. package/dist-es/commands/ListDeploymentStrategiesCommand.js.map +1 -0
  148. package/{dist/es → dist-es}/commands/ListDeploymentsCommand.js +4 -29
  149. package/dist-es/commands/ListDeploymentsCommand.js.map +1 -0
  150. package/{dist/es → dist-es}/commands/ListEnvironmentsCommand.js +4 -29
  151. package/dist-es/commands/ListEnvironmentsCommand.js.map +1 -0
  152. package/{dist/es → dist-es}/commands/ListHostedConfigurationVersionsCommand.js +4 -30
  153. package/dist-es/commands/ListHostedConfigurationVersionsCommand.js.map +1 -0
  154. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -29
  155. package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
  156. package/{dist/es → dist-es}/commands/StartDeploymentCommand.js +4 -29
  157. package/dist-es/commands/StartDeploymentCommand.js.map +1 -0
  158. package/{dist/es → dist-es}/commands/StopDeploymentCommand.js +4 -31
  159. package/dist-es/commands/StopDeploymentCommand.js.map +1 -0
  160. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -31
  161. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  162. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -29
  163. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  164. package/{dist/es → dist-es}/commands/UpdateApplicationCommand.js +4 -29
  165. package/dist-es/commands/UpdateApplicationCommand.js.map +1 -0
  166. package/{dist/es → dist-es}/commands/UpdateConfigurationProfileCommand.js +4 -29
  167. package/dist-es/commands/UpdateConfigurationProfileCommand.js.map +1 -0
  168. package/{dist/es → dist-es}/commands/UpdateDeploymentStrategyCommand.js +4 -29
  169. package/dist-es/commands/UpdateDeploymentStrategyCommand.js.map +1 -0
  170. package/{dist/es → dist-es}/commands/UpdateEnvironmentCommand.js +4 -29
  171. package/dist-es/commands/UpdateEnvironmentCommand.js.map +1 -0
  172. package/{dist/es → dist-es}/commands/ValidateConfigurationCommand.js +4 -29
  173. package/dist-es/commands/ValidateConfigurationCommand.js.map +1 -0
  174. package/{dist/es → dist-es}/endpoints.js +1 -1
  175. package/dist-es/endpoints.js.map +1 -0
  176. package/{dist/es → dist-es}/index.js +0 -0
  177. package/dist-es/index.js.map +1 -0
  178. package/{dist/es → dist-es}/models/index.js +0 -0
  179. package/dist-es/models/index.js.map +1 -0
  180. package/{dist/es → dist-es}/models/models_0.js +0 -177
  181. package/dist-es/models/models_0.js.map +1 -0
  182. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  183. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  184. package/{dist/es → dist-es}/pagination/ListApplicationsPaginator.js +16 -28
  185. package/dist-es/pagination/ListApplicationsPaginator.js.map +1 -0
  186. package/{dist/es → dist-es}/pagination/ListConfigurationProfilesPaginator.js +16 -28
  187. package/dist-es/pagination/ListConfigurationProfilesPaginator.js.map +1 -0
  188. package/{dist/es → dist-es}/pagination/ListDeploymentStrategiesPaginator.js +16 -28
  189. package/dist-es/pagination/ListDeploymentStrategiesPaginator.js.map +1 -0
  190. package/{dist/es → dist-es}/pagination/ListDeploymentsPaginator.js +16 -28
  191. package/dist-es/pagination/ListDeploymentsPaginator.js.map +1 -0
  192. package/{dist/es → dist-es}/pagination/ListEnvironmentsPaginator.js +16 -28
  193. package/dist-es/pagination/ListEnvironmentsPaginator.js.map +1 -0
  194. package/{dist/es → dist-es}/pagination/ListHostedConfigurationVersionsPaginator.js +16 -28
  195. package/dist-es/pagination/ListHostedConfigurationVersionsPaginator.js.map +1 -0
  196. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +703 -708
  197. package/dist-es/protocols/Aws_restJson1.js.map +1 -0
  198. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
  199. package/dist-es/runtimeConfig.browser.js.map +1 -0
  200. package/{dist/es → dist-es}/runtimeConfig.js +2 -5
  201. package/dist-es/runtimeConfig.js.map +1 -0
  202. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
  203. package/dist-es/runtimeConfig.native.js.map +1 -0
  204. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
  205. package/dist-es/runtimeConfig.shared.js.map +1 -0
  206. package/{dist/types → dist-types}/AppConfig.d.ts +2 -2
  207. package/{dist/types → dist-types}/AppConfigClient.d.ts +9 -9
  208. package/{dist/types → dist-types}/commands/CreateApplicationCommand.d.ts +2 -2
  209. package/{dist/types → dist-types}/commands/CreateConfigurationProfileCommand.d.ts +2 -2
  210. package/{dist/types → dist-types}/commands/CreateDeploymentStrategyCommand.d.ts +2 -2
  211. package/{dist/types → dist-types}/commands/CreateEnvironmentCommand.d.ts +2 -2
  212. package/{dist/types → dist-types}/commands/CreateHostedConfigurationVersionCommand.d.ts +2 -2
  213. package/{dist/types → dist-types}/commands/DeleteApplicationCommand.d.ts +2 -2
  214. package/{dist/types → dist-types}/commands/DeleteConfigurationProfileCommand.d.ts +2 -2
  215. package/{dist/types → dist-types}/commands/DeleteDeploymentStrategyCommand.d.ts +2 -2
  216. package/{dist/types → dist-types}/commands/DeleteEnvironmentCommand.d.ts +2 -2
  217. package/{dist/types → dist-types}/commands/DeleteHostedConfigurationVersionCommand.d.ts +2 -2
  218. package/{dist/types → dist-types}/commands/GetApplicationCommand.d.ts +2 -2
  219. package/{dist/types → dist-types}/commands/GetConfigurationCommand.d.ts +2 -2
  220. package/{dist/types → dist-types}/commands/GetConfigurationProfileCommand.d.ts +2 -2
  221. package/{dist/types → dist-types}/commands/GetDeploymentCommand.d.ts +2 -2
  222. package/{dist/types → dist-types}/commands/GetDeploymentStrategyCommand.d.ts +2 -2
  223. package/{dist/types → dist-types}/commands/GetEnvironmentCommand.d.ts +2 -2
  224. package/{dist/types → dist-types}/commands/GetHostedConfigurationVersionCommand.d.ts +2 -2
  225. package/{dist/types → dist-types}/commands/ListApplicationsCommand.d.ts +2 -2
  226. package/{dist/types → dist-types}/commands/ListConfigurationProfilesCommand.d.ts +2 -2
  227. package/{dist/types → dist-types}/commands/ListDeploymentStrategiesCommand.d.ts +2 -2
  228. package/{dist/types → dist-types}/commands/ListDeploymentsCommand.d.ts +2 -2
  229. package/{dist/types → dist-types}/commands/ListEnvironmentsCommand.d.ts +2 -2
  230. package/{dist/types → dist-types}/commands/ListHostedConfigurationVersionsCommand.d.ts +2 -2
  231. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  232. package/{dist/types → dist-types}/commands/StartDeploymentCommand.d.ts +2 -2
  233. package/{dist/types → dist-types}/commands/StopDeploymentCommand.d.ts +2 -2
  234. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  235. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  236. package/{dist/types → dist-types}/commands/UpdateApplicationCommand.d.ts +2 -2
  237. package/{dist/types → dist-types}/commands/UpdateConfigurationProfileCommand.d.ts +2 -2
  238. package/{dist/types → dist-types}/commands/UpdateDeploymentStrategyCommand.d.ts +2 -2
  239. package/{dist/types → dist-types}/commands/UpdateEnvironmentCommand.d.ts +2 -2
  240. package/{dist/types → dist-types}/commands/ValidateConfigurationCommand.d.ts +2 -2
  241. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  242. package/{dist/types → dist-types}/index.d.ts +0 -0
  243. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  244. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  245. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  246. package/{dist/types → dist-types}/pagination/ListApplicationsPaginator.d.ts +1 -1
  247. package/{dist/types → dist-types}/pagination/ListConfigurationProfilesPaginator.d.ts +1 -1
  248. package/{dist/types → dist-types}/pagination/ListDeploymentStrategiesPaginator.d.ts +1 -1
  249. package/{dist/types → dist-types}/pagination/ListDeploymentsPaginator.d.ts +1 -1
  250. package/{dist/types → dist-types}/pagination/ListEnvironmentsPaginator.d.ts +1 -1
  251. package/{dist/types → dist-types}/pagination/ListHostedConfigurationVersionsPaginator.d.ts +1 -1
  252. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
  253. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  254. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  255. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  256. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  257. package/{dist/types → dist-types}/ts3.4/AppConfig.d.ts +2 -2
  258. package/{dist/types → dist-types}/ts3.4/AppConfigClient.d.ts +9 -9
  259. package/{dist/types → dist-types}/ts3.4/commands/CreateApplicationCommand.d.ts +2 -2
  260. package/{dist/types → dist-types}/ts3.4/commands/CreateConfigurationProfileCommand.d.ts +2 -2
  261. package/{dist/types → dist-types}/ts3.4/commands/CreateDeploymentStrategyCommand.d.ts +2 -2
  262. package/{dist/types → dist-types}/ts3.4/commands/CreateEnvironmentCommand.d.ts +2 -2
  263. package/{dist/types → dist-types}/ts3.4/commands/CreateHostedConfigurationVersionCommand.d.ts +2 -2
  264. package/{dist/types → dist-types}/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -2
  265. package/{dist/types → dist-types}/ts3.4/commands/DeleteConfigurationProfileCommand.d.ts +2 -2
  266. package/{dist/types → dist-types}/ts3.4/commands/DeleteDeploymentStrategyCommand.d.ts +2 -2
  267. package/{dist/types → dist-types}/ts3.4/commands/DeleteEnvironmentCommand.d.ts +2 -2
  268. package/{dist/types → dist-types}/ts3.4/commands/DeleteHostedConfigurationVersionCommand.d.ts +2 -2
  269. package/{dist/types → dist-types}/ts3.4/commands/GetApplicationCommand.d.ts +2 -2
  270. package/{dist/types → dist-types}/ts3.4/commands/GetConfigurationCommand.d.ts +2 -2
  271. package/{dist/types → dist-types}/ts3.4/commands/GetConfigurationProfileCommand.d.ts +2 -2
  272. package/{dist/types → dist-types}/ts3.4/commands/GetDeploymentCommand.d.ts +2 -2
  273. package/{dist/types → dist-types}/ts3.4/commands/GetDeploymentStrategyCommand.d.ts +2 -2
  274. package/{dist/types → dist-types}/ts3.4/commands/GetEnvironmentCommand.d.ts +2 -2
  275. package/{dist/types → dist-types}/ts3.4/commands/GetHostedConfigurationVersionCommand.d.ts +2 -2
  276. package/{dist/types → dist-types}/ts3.4/commands/ListApplicationsCommand.d.ts +2 -2
  277. package/{dist/types → dist-types}/ts3.4/commands/ListConfigurationProfilesCommand.d.ts +2 -2
  278. package/{dist/types → dist-types}/ts3.4/commands/ListDeploymentStrategiesCommand.d.ts +2 -2
  279. package/{dist/types → dist-types}/ts3.4/commands/ListDeploymentsCommand.d.ts +2 -2
  280. package/{dist/types → dist-types}/ts3.4/commands/ListEnvironmentsCommand.d.ts +2 -2
  281. package/{dist/types → dist-types}/ts3.4/commands/ListHostedConfigurationVersionsCommand.d.ts +2 -2
  282. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  283. package/{dist/types → dist-types}/ts3.4/commands/StartDeploymentCommand.d.ts +2 -2
  284. package/{dist/types → dist-types}/ts3.4/commands/StopDeploymentCommand.d.ts +2 -2
  285. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  286. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  287. package/{dist/types → dist-types}/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -2
  288. package/{dist/types → dist-types}/ts3.4/commands/UpdateConfigurationProfileCommand.d.ts +2 -2
  289. package/{dist/types → dist-types}/ts3.4/commands/UpdateDeploymentStrategyCommand.d.ts +2 -2
  290. package/{dist/types → dist-types}/ts3.4/commands/UpdateEnvironmentCommand.d.ts +2 -2
  291. package/{dist/types → dist-types}/ts3.4/commands/ValidateConfigurationCommand.d.ts +2 -2
  292. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  293. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  294. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  295. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  296. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  297. package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationsPaginator.d.ts +1 -1
  298. package/{dist/types → dist-types}/ts3.4/pagination/ListConfigurationProfilesPaginator.d.ts +1 -1
  299. package/{dist/types → dist-types}/ts3.4/pagination/ListDeploymentStrategiesPaginator.d.ts +1 -1
  300. package/{dist/types → dist-types}/ts3.4/pagination/ListDeploymentsPaginator.d.ts +1 -1
  301. package/{dist/types → dist-types}/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +1 -1
  302. package/{dist/types → dist-types}/ts3.4/pagination/ListHostedConfigurationVersionsPaginator.d.ts +1 -1
  303. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
  304. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  305. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  306. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  307. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  308. package/package.json +50 -50
  309. package/{AppConfig.ts → src/AppConfig.ts} +7 -6
  310. package/{AppConfigClient.ts → src/AppConfigClient.ts} +59 -58
  311. package/{commands → src/commands}/CreateApplicationCommand.ts +8 -7
  312. package/{commands → src/commands}/CreateConfigurationProfileCommand.ts +8 -7
  313. package/{commands → src/commands}/CreateDeploymentStrategyCommand.ts +8 -7
  314. package/{commands → src/commands}/CreateEnvironmentCommand.ts +8 -7
  315. package/{commands → src/commands}/CreateHostedConfigurationVersionCommand.ts +8 -7
  316. package/{commands → src/commands}/DeleteApplicationCommand.ts +8 -7
  317. package/{commands → src/commands}/DeleteConfigurationProfileCommand.ts +8 -7
  318. package/{commands → src/commands}/DeleteDeploymentStrategyCommand.ts +8 -7
  319. package/{commands → src/commands}/DeleteEnvironmentCommand.ts +8 -7
  320. package/{commands → src/commands}/DeleteHostedConfigurationVersionCommand.ts +8 -7
  321. package/{commands → src/commands}/GetApplicationCommand.ts +8 -7
  322. package/{commands → src/commands}/GetConfigurationCommand.ts +8 -7
  323. package/{commands → src/commands}/GetConfigurationProfileCommand.ts +8 -7
  324. package/{commands → src/commands}/GetDeploymentCommand.ts +8 -7
  325. package/{commands → src/commands}/GetDeploymentStrategyCommand.ts +8 -7
  326. package/{commands → src/commands}/GetEnvironmentCommand.ts +8 -7
  327. package/{commands → src/commands}/GetHostedConfigurationVersionCommand.ts +8 -7
  328. package/{commands → src/commands}/ListApplicationsCommand.ts +8 -7
  329. package/{commands → src/commands}/ListConfigurationProfilesCommand.ts +8 -7
  330. package/{commands → src/commands}/ListDeploymentStrategiesCommand.ts +8 -7
  331. package/{commands → src/commands}/ListDeploymentsCommand.ts +8 -7
  332. package/{commands → src/commands}/ListEnvironmentsCommand.ts +8 -7
  333. package/{commands → src/commands}/ListHostedConfigurationVersionsCommand.ts +8 -7
  334. package/{commands → src/commands}/ListTagsForResourceCommand.ts +8 -7
  335. package/{commands → src/commands}/StartDeploymentCommand.ts +8 -7
  336. package/{commands → src/commands}/StopDeploymentCommand.ts +8 -7
  337. package/{commands → src/commands}/TagResourceCommand.ts +8 -7
  338. package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
  339. package/{commands → src/commands}/UpdateApplicationCommand.ts +8 -7
  340. package/{commands → src/commands}/UpdateConfigurationProfileCommand.ts +8 -7
  341. package/{commands → src/commands}/UpdateDeploymentStrategyCommand.ts +8 -7
  342. package/{commands → src/commands}/UpdateEnvironmentCommand.ts +8 -7
  343. package/{commands → src/commands}/ValidateConfigurationCommand.ts +8 -7
  344. package/{endpoints.ts → src/endpoints.ts} +1 -1
  345. package/{index.ts → src/index.ts} +0 -0
  346. package/{models → src/models}/index.ts +0 -0
  347. package/{models → src/models}/models_0.ts +0 -0
  348. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  349. package/{pagination → src/pagination}/ListApplicationsPaginator.ts +2 -1
  350. package/{pagination → src/pagination}/ListConfigurationProfilesPaginator.ts +2 -1
  351. package/{pagination → src/pagination}/ListDeploymentStrategiesPaginator.ts +2 -1
  352. package/{pagination → src/pagination}/ListDeploymentsPaginator.ts +2 -1
  353. package/{pagination → src/pagination}/ListEnvironmentsPaginator.ts +2 -1
  354. package/{pagination → src/pagination}/ListHostedConfigurationVersionsPaginator.ts +2 -1
  355. package/{protocols → src/protocols}/Aws_restJson1.ts +58 -57
  356. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
  357. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
  358. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  359. package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
  360. package/tsconfig.es.json +1 -3
  361. package/tsconfig.json +7 -7
  362. package/tsconfig.types.json +9 -0
  363. package/dist/cjs/AppConfig.js.map +0 -1
  364. package/dist/cjs/AppConfigClient.js.map +0 -1
  365. package/dist/cjs/commands/CreateApplicationCommand.js.map +0 -1
  366. package/dist/cjs/commands/CreateConfigurationProfileCommand.js.map +0 -1
  367. package/dist/cjs/commands/CreateDeploymentStrategyCommand.js.map +0 -1
  368. package/dist/cjs/commands/CreateEnvironmentCommand.js.map +0 -1
  369. package/dist/cjs/commands/CreateHostedConfigurationVersionCommand.js.map +0 -1
  370. package/dist/cjs/commands/DeleteApplicationCommand.js.map +0 -1
  371. package/dist/cjs/commands/DeleteConfigurationProfileCommand.js.map +0 -1
  372. package/dist/cjs/commands/DeleteDeploymentStrategyCommand.js.map +0 -1
  373. package/dist/cjs/commands/DeleteEnvironmentCommand.js.map +0 -1
  374. package/dist/cjs/commands/DeleteHostedConfigurationVersionCommand.js.map +0 -1
  375. package/dist/cjs/commands/GetApplicationCommand.js.map +0 -1
  376. package/dist/cjs/commands/GetConfigurationCommand.js.map +0 -1
  377. package/dist/cjs/commands/GetConfigurationProfileCommand.js.map +0 -1
  378. package/dist/cjs/commands/GetDeploymentCommand.js.map +0 -1
  379. package/dist/cjs/commands/GetDeploymentStrategyCommand.js.map +0 -1
  380. package/dist/cjs/commands/GetEnvironmentCommand.js.map +0 -1
  381. package/dist/cjs/commands/GetHostedConfigurationVersionCommand.js.map +0 -1
  382. package/dist/cjs/commands/ListApplicationsCommand.js.map +0 -1
  383. package/dist/cjs/commands/ListConfigurationProfilesCommand.js.map +0 -1
  384. package/dist/cjs/commands/ListDeploymentStrategiesCommand.js.map +0 -1
  385. package/dist/cjs/commands/ListDeploymentsCommand.js.map +0 -1
  386. package/dist/cjs/commands/ListEnvironmentsCommand.js.map +0 -1
  387. package/dist/cjs/commands/ListHostedConfigurationVersionsCommand.js.map +0 -1
  388. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  389. package/dist/cjs/commands/StartDeploymentCommand.js.map +0 -1
  390. package/dist/cjs/commands/StopDeploymentCommand.js.map +0 -1
  391. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  392. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  393. package/dist/cjs/commands/UpdateApplicationCommand.js.map +0 -1
  394. package/dist/cjs/commands/UpdateConfigurationProfileCommand.js.map +0 -1
  395. package/dist/cjs/commands/UpdateDeploymentStrategyCommand.js.map +0 -1
  396. package/dist/cjs/commands/UpdateEnvironmentCommand.js.map +0 -1
  397. package/dist/cjs/commands/ValidateConfigurationCommand.js.map +0 -1
  398. package/dist/cjs/endpoints.js.map +0 -1
  399. package/dist/cjs/index.js +0 -47
  400. package/dist/cjs/index.js.map +0 -1
  401. package/dist/cjs/models/models_0.js.map +0 -1
  402. package/dist/cjs/package.json +0 -91
  403. package/dist/cjs/pagination/ListApplicationsPaginator.js.map +0 -1
  404. package/dist/cjs/pagination/ListConfigurationProfilesPaginator.js.map +0 -1
  405. package/dist/cjs/pagination/ListDeploymentStrategiesPaginator.js.map +0 -1
  406. package/dist/cjs/pagination/ListDeploymentsPaginator.js.map +0 -1
  407. package/dist/cjs/pagination/ListEnvironmentsPaginator.js.map +0 -1
  408. package/dist/cjs/pagination/ListHostedConfigurationVersionsPaginator.js.map +0 -1
  409. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  410. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  411. package/dist/cjs/runtimeConfig.js.map +0 -1
  412. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  413. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  414. package/dist/es/AppConfig.js.map +0 -1
  415. package/dist/es/AppConfigClient.js +0 -94
  416. package/dist/es/AppConfigClient.js.map +0 -1
  417. package/dist/es/commands/CreateApplicationCommand.js.map +0 -1
  418. package/dist/es/commands/CreateConfigurationProfileCommand.js +0 -82
  419. package/dist/es/commands/CreateConfigurationProfileCommand.js.map +0 -1
  420. package/dist/es/commands/CreateDeploymentStrategyCommand.js.map +0 -1
  421. package/dist/es/commands/CreateEnvironmentCommand.js.map +0 -1
  422. package/dist/es/commands/CreateHostedConfigurationVersionCommand.js.map +0 -1
  423. package/dist/es/commands/DeleteApplicationCommand.js.map +0 -1
  424. package/dist/es/commands/DeleteConfigurationProfileCommand.js.map +0 -1
  425. package/dist/es/commands/DeleteDeploymentStrategyCommand.js.map +0 -1
  426. package/dist/es/commands/DeleteEnvironmentCommand.js.map +0 -1
  427. package/dist/es/commands/DeleteHostedConfigurationVersionCommand.js.map +0 -1
  428. package/dist/es/commands/GetApplicationCommand.js.map +0 -1
  429. package/dist/es/commands/GetConfigurationCommand.js +0 -77
  430. package/dist/es/commands/GetConfigurationCommand.js.map +0 -1
  431. package/dist/es/commands/GetConfigurationProfileCommand.js.map +0 -1
  432. package/dist/es/commands/GetDeploymentCommand.js.map +0 -1
  433. package/dist/es/commands/GetDeploymentStrategyCommand.js.map +0 -1
  434. package/dist/es/commands/GetEnvironmentCommand.js.map +0 -1
  435. package/dist/es/commands/GetHostedConfigurationVersionCommand.js.map +0 -1
  436. package/dist/es/commands/ListApplicationsCommand.js.map +0 -1
  437. package/dist/es/commands/ListConfigurationProfilesCommand.js.map +0 -1
  438. package/dist/es/commands/ListDeploymentStrategiesCommand.js.map +0 -1
  439. package/dist/es/commands/ListDeploymentsCommand.js.map +0 -1
  440. package/dist/es/commands/ListEnvironmentsCommand.js.map +0 -1
  441. package/dist/es/commands/ListHostedConfigurationVersionsCommand.js.map +0 -1
  442. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  443. package/dist/es/commands/StartDeploymentCommand.js.map +0 -1
  444. package/dist/es/commands/StopDeploymentCommand.js.map +0 -1
  445. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  446. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  447. package/dist/es/commands/UpdateApplicationCommand.js.map +0 -1
  448. package/dist/es/commands/UpdateConfigurationProfileCommand.js.map +0 -1
  449. package/dist/es/commands/UpdateDeploymentStrategyCommand.js.map +0 -1
  450. package/dist/es/commands/UpdateEnvironmentCommand.js.map +0 -1
  451. package/dist/es/commands/ValidateConfigurationCommand.js.map +0 -1
  452. package/dist/es/endpoints.js.map +0 -1
  453. package/dist/es/index.js.map +0 -1
  454. package/dist/es/models/index.js.map +0 -1
  455. package/dist/es/models/models_0.js.map +0 -1
  456. package/dist/es/package.json +0 -91
  457. package/dist/es/pagination/ListApplicationsPaginator.js.map +0 -1
  458. package/dist/es/pagination/ListConfigurationProfilesPaginator.js.map +0 -1
  459. package/dist/es/pagination/ListDeploymentStrategiesPaginator.js.map +0 -1
  460. package/dist/es/pagination/ListDeploymentsPaginator.js.map +0 -1
  461. package/dist/es/pagination/ListEnvironmentsPaginator.js.map +0 -1
  462. package/dist/es/pagination/ListHostedConfigurationVersionsPaginator.js.map +0 -1
  463. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  464. package/dist/es/runtimeConfig.browser.js.map +0 -1
  465. package/dist/es/runtimeConfig.js.map +0 -1
  466. package/dist/es/runtimeConfig.native.js.map +0 -1
  467. package/dist/es/runtimeConfig.shared.js.map +0 -1
@@ -1,9 +1,3 @@
1
- import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
2
- import { ConfigurationProfile, UpdateConfigurationProfileRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1UpdateConfigurationProfileCommand,
5
- serializeAws_restJson1UpdateConfigurationProfileCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
15
+ import { ConfigurationProfile, UpdateConfigurationProfileRequest } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1UpdateConfigurationProfileCommand,
18
+ serializeAws_restJson1UpdateConfigurationProfileCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface UpdateConfigurationProfileCommandInput extends UpdateConfigurationProfileRequest {}
21
22
  export interface UpdateConfigurationProfileCommandOutput extends ConfigurationProfile, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
2
- import { DeploymentStrategy, UpdateDeploymentStrategyRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1UpdateDeploymentStrategyCommand,
5
- serializeAws_restJson1UpdateDeploymentStrategyCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
15
+ import { DeploymentStrategy, UpdateDeploymentStrategyRequest } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1UpdateDeploymentStrategyCommand,
18
+ serializeAws_restJson1UpdateDeploymentStrategyCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface UpdateDeploymentStrategyCommandInput extends UpdateDeploymentStrategyRequest {}
21
22
  export interface UpdateDeploymentStrategyCommandOutput extends DeploymentStrategy, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
2
- import { Environment, UpdateEnvironmentRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1UpdateEnvironmentCommand,
5
- serializeAws_restJson1UpdateEnvironmentCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
15
+ import { Environment, UpdateEnvironmentRequest } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1UpdateEnvironmentCommand,
18
+ serializeAws_restJson1UpdateEnvironmentCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface UpdateEnvironmentCommandInput extends UpdateEnvironmentRequest {}
21
22
  export interface UpdateEnvironmentCommandOutput extends Environment, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
2
- import { ValidateConfigurationRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ValidateConfigurationCommand,
5
- serializeAws_restJson1ValidateConfigurationCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
15
+ import { ValidateConfigurationRequest } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1ValidateConfigurationCommand,
18
+ serializeAws_restJson1ValidateConfigurationCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface ValidateConfigurationCommandInput extends ValidateConfigurationRequest {}
21
22
  export interface ValidateConfigurationCommandOutput extends __MetadataBearer {}
22
23
 
@@ -1,4 +1,4 @@
1
- import { PartitionHash, RegionHash, getRegionInfo } from "@aws-sdk/config-resolver";
1
+ import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
2
  import { RegionInfoProvider } from "@aws-sdk/types";
3
3
 
4
4
  const regionHash: RegionHash = {};
File without changes
File without changes
File without changes
@@ -1,6 +1,7 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+
1
3
  import { AppConfig } from "../AppConfig";
2
4
  import { AppConfigClient } from "../AppConfigClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
5
 
5
6
  export interface AppConfigPaginationConfiguration extends PaginationConfiguration {
6
7
  client: AppConfig | AppConfigClient;
@@ -1,3 +1,5 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+
1
3
  import { AppConfig } from "../AppConfig";
2
4
  import { AppConfigClient } from "../AppConfigClient";
3
5
  import {
@@ -6,7 +8,6 @@ import {
6
8
  ListApplicationsCommandOutput,
7
9
  } from "../commands/ListApplicationsCommand";
8
10
  import { AppConfigPaginationConfiguration } from "./Interfaces";
9
- import { Paginator } from "@aws-sdk/types";
10
11
 
11
12
  /**
12
13
  * @private
@@ -1,3 +1,5 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+
1
3
  import { AppConfig } from "../AppConfig";
2
4
  import { AppConfigClient } from "../AppConfigClient";
3
5
  import {
@@ -6,7 +8,6 @@ import {
6
8
  ListConfigurationProfilesCommandOutput,
7
9
  } from "../commands/ListConfigurationProfilesCommand";
8
10
  import { AppConfigPaginationConfiguration } from "./Interfaces";
9
- import { Paginator } from "@aws-sdk/types";
10
11
 
11
12
  /**
12
13
  * @private
@@ -1,3 +1,5 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+
1
3
  import { AppConfig } from "../AppConfig";
2
4
  import { AppConfigClient } from "../AppConfigClient";
3
5
  import {
@@ -6,7 +8,6 @@ import {
6
8
  ListDeploymentStrategiesCommandOutput,
7
9
  } from "../commands/ListDeploymentStrategiesCommand";
8
10
  import { AppConfigPaginationConfiguration } from "./Interfaces";
9
- import { Paginator } from "@aws-sdk/types";
10
11
 
11
12
  /**
12
13
  * @private
@@ -1,3 +1,5 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+
1
3
  import { AppConfig } from "../AppConfig";
2
4
  import { AppConfigClient } from "../AppConfigClient";
3
5
  import {
@@ -6,7 +8,6 @@ import {
6
8
  ListDeploymentsCommandOutput,
7
9
  } from "../commands/ListDeploymentsCommand";
8
10
  import { AppConfigPaginationConfiguration } from "./Interfaces";
9
- import { Paginator } from "@aws-sdk/types";
10
11
 
11
12
  /**
12
13
  * @private
@@ -1,3 +1,5 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+
1
3
  import { AppConfig } from "../AppConfig";
2
4
  import { AppConfigClient } from "../AppConfigClient";
3
5
  import {
@@ -6,7 +8,6 @@ import {
6
8
  ListEnvironmentsCommandOutput,
7
9
  } from "../commands/ListEnvironmentsCommand";
8
10
  import { AppConfigPaginationConfiguration } from "./Interfaces";
9
- import { Paginator } from "@aws-sdk/types";
10
11
 
11
12
  /**
12
13
  * @private
@@ -1,3 +1,5 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+
1
3
  import { AppConfig } from "../AppConfig";
2
4
  import { AppConfigClient } from "../AppConfigClient";
3
5
  import {
@@ -6,7 +8,6 @@ import {
6
8
  ListHostedConfigurationVersionsCommandOutput,
7
9
  } from "../commands/ListHostedConfigurationVersionsCommand";
8
10
  import { AppConfigPaginationConfiguration } from "./Interfaces";
9
- import { Paginator } from "@aws-sdk/types";
10
11
 
11
12
  /**
12
13
  * @private
@@ -1,3 +1,23 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import {
3
+ expectInt32 as __expectInt32,
4
+ expectNonNull as __expectNonNull,
5
+ expectObject as __expectObject,
6
+ expectString as __expectString,
7
+ extendedEncodeURIComponent as __extendedEncodeURIComponent,
8
+ limitedParseFloat32 as __limitedParseFloat32,
9
+ parseRfc3339DateTime as __parseRfc3339DateTime,
10
+ serializeFloat as __serializeFloat,
11
+ strictParseInt32 as __strictParseInt32,
12
+ } from "@aws-sdk/smithy-client";
13
+ import {
14
+ Endpoint as __Endpoint,
15
+ MetadataBearer as __MetadataBearer,
16
+ ResponseMetadata as __ResponseMetadata,
17
+ SerdeContext as __SerdeContext,
18
+ SmithyException as __SmithyException,
19
+ } from "@aws-sdk/types";
20
+
1
21
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "../commands/CreateApplicationCommand";
2
22
  import {
3
23
  CreateConfigurationProfileCommandInput,
@@ -47,11 +67,11 @@ import {
47
67
  ListConfigurationProfilesCommandInput,
48
68
  ListConfigurationProfilesCommandOutput,
49
69
  } from "../commands/ListConfigurationProfilesCommand";
70
+ import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "../commands/ListDeploymentsCommand";
50
71
  import {
51
72
  ListDeploymentStrategiesCommandInput,
52
73
  ListDeploymentStrategiesCommandOutput,
53
74
  } from "../commands/ListDeploymentStrategiesCommand";
54
- import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "../commands/ListDeploymentsCommand";
55
75
  import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "../commands/ListEnvironmentsCommand";
56
76
  import {
57
77
  ListHostedConfigurationVersionsCommandInput,
@@ -97,25 +117,6 @@ import {
97
117
  Validator,
98
118
  ValidatorType,
99
119
  } from "../models/models_0";
100
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
101
- import {
102
- expectInt32 as __expectInt32,
103
- expectNonNull as __expectNonNull,
104
- expectObject as __expectObject,
105
- expectString as __expectString,
106
- extendedEncodeURIComponent as __extendedEncodeURIComponent,
107
- limitedParseFloat32 as __limitedParseFloat32,
108
- parseRfc3339DateTime as __parseRfc3339DateTime,
109
- serializeFloat as __serializeFloat,
110
- strictParseInt32 as __strictParseInt32,
111
- } from "@aws-sdk/smithy-client";
112
- import {
113
- Endpoint as __Endpoint,
114
- MetadataBearer as __MetadataBearer,
115
- ResponseMetadata as __ResponseMetadata,
116
- SerdeContext as __SerdeContext,
117
- SmithyException as __SmithyException,
118
- } from "@aws-sdk/types";
119
120
 
120
121
  export const serializeAws_restJson1CreateApplicationCommand = async (
121
122
  input: CreateApplicationCommandInput,
@@ -125,7 +126,7 @@ export const serializeAws_restJson1CreateApplicationCommand = async (
125
126
  const headers: any = {
126
127
  "content-type": "application/json",
127
128
  };
128
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
129
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
129
130
  let body: any;
130
131
  body = JSON.stringify({
131
132
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
@@ -193,7 +194,7 @@ export const serializeAws_restJson1CreateDeploymentStrategyCommand = async (
193
194
  const headers: any = {
194
195
  "content-type": "application/json",
195
196
  };
196
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/deploymentstrategies";
197
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/deploymentstrategies";
197
198
  let body: any;
198
199
  body = JSON.stringify({
199
200
  ...(input.DeploymentDurationInMinutes !== undefined &&
@@ -786,7 +787,7 @@ export const serializeAws_restJson1ListApplicationsCommand = async (
786
787
  ): Promise<__HttpRequest> => {
787
788
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
788
789
  const headers: any = {};
789
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
790
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
790
791
  const query: any = {
791
792
  ...(input.MaxResults !== undefined && { max_results: input.MaxResults.toString() }),
792
793
  ...(input.NextToken !== undefined && { next_token: input.NextToken }),
@@ -889,7 +890,7 @@ export const serializeAws_restJson1ListDeploymentStrategiesCommand = async (
889
890
  ): Promise<__HttpRequest> => {
890
891
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
891
892
  const headers: any = {};
892
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/deploymentstrategies";
893
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/deploymentstrategies";
893
894
  const query: any = {
894
895
  ...(input.MaxResults !== undefined && { max_results: input.MaxResults.toString() }),
895
896
  ...(input.NextToken !== undefined && { next_token: input.NextToken }),
@@ -1429,7 +1430,7 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (
1429
1430
  body: await parseBody(output.body, context),
1430
1431
  };
1431
1432
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1432
- let errorCode: string = "UnknownError";
1433
+ let errorCode = "UnknownError";
1433
1434
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1434
1435
  switch (errorCode) {
1435
1436
  case "BadRequestException":
@@ -1516,7 +1517,7 @@ const deserializeAws_restJson1CreateConfigurationProfileCommandError = async (
1516
1517
  body: await parseBody(output.body, context),
1517
1518
  };
1518
1519
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1519
- let errorCode: string = "UnknownError";
1520
+ let errorCode = "UnknownError";
1520
1521
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1521
1522
  switch (errorCode) {
1522
1523
  case "BadRequestException":
@@ -1615,7 +1616,7 @@ const deserializeAws_restJson1CreateDeploymentStrategyCommandError = async (
1615
1616
  body: await parseBody(output.body, context),
1616
1617
  };
1617
1618
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1618
- let errorCode: string = "UnknownError";
1619
+ let errorCode = "UnknownError";
1619
1620
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1620
1621
  switch (errorCode) {
1621
1622
  case "BadRequestException":
@@ -1698,7 +1699,7 @@ const deserializeAws_restJson1CreateEnvironmentCommandError = async (
1698
1699
  body: await parseBody(output.body, context),
1699
1700
  };
1700
1701
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1701
- let errorCode: string = "UnknownError";
1702
+ let errorCode = "UnknownError";
1702
1703
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1703
1704
  switch (errorCode) {
1704
1705
  case "BadRequestException":
@@ -1787,7 +1788,7 @@ const deserializeAws_restJson1CreateHostedConfigurationVersionCommandError = asy
1787
1788
  body: await parseBody(output.body, context),
1788
1789
  };
1789
1790
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1790
- let errorCode: string = "UnknownError";
1791
+ let errorCode = "UnknownError";
1791
1792
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1792
1793
  switch (errorCode) {
1793
1794
  case "BadRequestException":
@@ -1878,7 +1879,7 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (
1878
1879
  body: await parseBody(output.body, context),
1879
1880
  };
1880
1881
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1881
- let errorCode: string = "UnknownError";
1882
+ let errorCode = "UnknownError";
1882
1883
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1883
1884
  switch (errorCode) {
1884
1885
  case "BadRequestException":
@@ -1945,7 +1946,7 @@ const deserializeAws_restJson1DeleteConfigurationProfileCommandError = async (
1945
1946
  body: await parseBody(output.body, context),
1946
1947
  };
1947
1948
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1948
- let errorCode: string = "UnknownError";
1949
+ let errorCode = "UnknownError";
1949
1950
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1950
1951
  switch (errorCode) {
1951
1952
  case "BadRequestException":
@@ -2020,7 +2021,7 @@ const deserializeAws_restJson1DeleteDeploymentStrategyCommandError = async (
2020
2021
  body: await parseBody(output.body, context),
2021
2022
  };
2022
2023
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2023
- let errorCode: string = "UnknownError";
2024
+ let errorCode = "UnknownError";
2024
2025
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2025
2026
  switch (errorCode) {
2026
2027
  case "BadRequestException":
@@ -2087,7 +2088,7 @@ const deserializeAws_restJson1DeleteEnvironmentCommandError = async (
2087
2088
  body: await parseBody(output.body, context),
2088
2089
  };
2089
2090
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2090
- let errorCode: string = "UnknownError";
2091
+ let errorCode = "UnknownError";
2091
2092
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2092
2093
  switch (errorCode) {
2093
2094
  case "BadRequestException":
@@ -2162,7 +2163,7 @@ const deserializeAws_restJson1DeleteHostedConfigurationVersionCommandError = asy
2162
2163
  body: await parseBody(output.body, context),
2163
2164
  };
2164
2165
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2165
- let errorCode: string = "UnknownError";
2166
+ let errorCode = "UnknownError";
2166
2167
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2167
2168
  switch (errorCode) {
2168
2169
  case "BadRequestException":
@@ -2241,7 +2242,7 @@ const deserializeAws_restJson1GetApplicationCommandError = async (
2241
2242
  body: await parseBody(output.body, context),
2242
2243
  };
2243
2244
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2244
- let errorCode: string = "UnknownError";
2245
+ let errorCode = "UnknownError";
2245
2246
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2246
2247
  switch (errorCode) {
2247
2248
  case "BadRequestException":
@@ -2318,7 +2319,7 @@ const deserializeAws_restJson1GetConfigurationCommandError = async (
2318
2319
  body: await parseBody(output.body, context),
2319
2320
  };
2320
2321
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2321
- let errorCode: string = "UnknownError";
2322
+ let errorCode = "UnknownError";
2322
2323
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2323
2324
  switch (errorCode) {
2324
2325
  case "BadRequestException":
@@ -2413,7 +2414,7 @@ const deserializeAws_restJson1GetConfigurationProfileCommandError = async (
2413
2414
  body: await parseBody(output.body, context),
2414
2415
  };
2415
2416
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2416
- let errorCode: string = "UnknownError";
2417
+ let errorCode = "UnknownError";
2417
2418
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2418
2419
  switch (errorCode) {
2419
2420
  case "BadRequestException":
@@ -2552,7 +2553,7 @@ const deserializeAws_restJson1GetDeploymentCommandError = async (
2552
2553
  body: await parseBody(output.body, context),
2553
2554
  };
2554
2555
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2555
- let errorCode: string = "UnknownError";
2556
+ let errorCode = "UnknownError";
2556
2557
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2557
2558
  switch (errorCode) {
2558
2559
  case "BadRequestException":
@@ -2651,7 +2652,7 @@ const deserializeAws_restJson1GetDeploymentStrategyCommandError = async (
2651
2652
  body: await parseBody(output.body, context),
2652
2653
  };
2653
2654
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2654
- let errorCode: string = "UnknownError";
2655
+ let errorCode = "UnknownError";
2655
2656
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2656
2657
  switch (errorCode) {
2657
2658
  case "BadRequestException":
@@ -2742,7 +2743,7 @@ const deserializeAws_restJson1GetEnvironmentCommandError = async (
2742
2743
  body: await parseBody(output.body, context),
2743
2744
  };
2744
2745
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2745
- let errorCode: string = "UnknownError";
2746
+ let errorCode = "UnknownError";
2746
2747
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2747
2748
  switch (errorCode) {
2748
2749
  case "BadRequestException":
@@ -2831,7 +2832,7 @@ const deserializeAws_restJson1GetHostedConfigurationVersionCommandError = async
2831
2832
  body: await parseBody(output.body, context),
2832
2833
  };
2833
2834
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2834
- let errorCode: string = "UnknownError";
2835
+ let errorCode = "UnknownError";
2835
2836
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2836
2837
  switch (errorCode) {
2837
2838
  case "BadRequestException":
@@ -2906,7 +2907,7 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (
2906
2907
  body: await parseBody(output.body, context),
2907
2908
  };
2908
2909
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2909
- let errorCode: string = "UnknownError";
2910
+ let errorCode = "UnknownError";
2910
2911
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2911
2912
  switch (errorCode) {
2912
2913
  case "BadRequestException":
@@ -2973,7 +2974,7 @@ const deserializeAws_restJson1ListConfigurationProfilesCommandError = async (
2973
2974
  body: await parseBody(output.body, context),
2974
2975
  };
2975
2976
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2976
- let errorCode: string = "UnknownError";
2977
+ let errorCode = "UnknownError";
2977
2978
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2978
2979
  switch (errorCode) {
2979
2980
  case "BadRequestException":
@@ -3048,7 +3049,7 @@ const deserializeAws_restJson1ListDeploymentsCommandError = async (
3048
3049
  body: await parseBody(output.body, context),
3049
3050
  };
3050
3051
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
3051
- let errorCode: string = "UnknownError";
3052
+ let errorCode = "UnknownError";
3052
3053
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3053
3054
  switch (errorCode) {
3054
3055
  case "BadRequestException":
@@ -3123,7 +3124,7 @@ const deserializeAws_restJson1ListDeploymentStrategiesCommandError = async (
3123
3124
  body: await parseBody(output.body, context),
3124
3125
  };
3125
3126
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
3126
- let errorCode: string = "UnknownError";
3127
+ let errorCode = "UnknownError";
3127
3128
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3128
3129
  switch (errorCode) {
3129
3130
  case "BadRequestException":
@@ -3190,7 +3191,7 @@ const deserializeAws_restJson1ListEnvironmentsCommandError = async (
3190
3191
  body: await parseBody(output.body, context),
3191
3192
  };
3192
3193
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
3193
- let errorCode: string = "UnknownError";
3194
+ let errorCode = "UnknownError";
3194
3195
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3195
3196
  switch (errorCode) {
3196
3197
  case "BadRequestException":
@@ -3265,7 +3266,7 @@ const deserializeAws_restJson1ListHostedConfigurationVersionsCommandError = asyn
3265
3266
  body: await parseBody(output.body, context),
3266
3267
  };
3267
3268
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
3268
- let errorCode: string = "UnknownError";
3269
+ let errorCode = "UnknownError";
3269
3270
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3270
3271
  switch (errorCode) {
3271
3272
  case "BadRequestException":
@@ -3336,7 +3337,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (
3336
3337
  body: await parseBody(output.body, context),
3337
3338
  };
3338
3339
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
3339
- let errorCode: string = "UnknownError";
3340
+ let errorCode = "UnknownError";
3340
3341
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3341
3342
  switch (errorCode) {
3342
3343
  case "BadRequestException":
@@ -3475,7 +3476,7 @@ const deserializeAws_restJson1StartDeploymentCommandError = async (
3475
3476
  body: await parseBody(output.body, context),
3476
3477
  };
3477
3478
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
3478
- let errorCode: string = "UnknownError";
3479
+ let errorCode = "UnknownError";
3479
3480
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3480
3481
  switch (errorCode) {
3481
3482
  case "BadRequestException":
@@ -3622,7 +3623,7 @@ const deserializeAws_restJson1StopDeploymentCommandError = async (
3622
3623
  body: await parseBody(output.body, context),
3623
3624
  };
3624
3625
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
3625
- let errorCode: string = "UnknownError";
3626
+ let errorCode = "UnknownError";
3626
3627
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3627
3628
  switch (errorCode) {
3628
3629
  case "BadRequestException":
@@ -3689,7 +3690,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (
3689
3690
  body: await parseBody(output.body, context),
3690
3691
  };
3691
3692
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
3692
- let errorCode: string = "UnknownError";
3693
+ let errorCode = "UnknownError";
3693
3694
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3694
3695
  switch (errorCode) {
3695
3696
  case "BadRequestException":
@@ -3756,7 +3757,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (
3756
3757
  body: await parseBody(output.body, context),
3757
3758
  };
3758
3759
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
3759
- let errorCode: string = "UnknownError";
3760
+ let errorCode = "UnknownError";
3760
3761
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3761
3762
  switch (errorCode) {
3762
3763
  case "BadRequestException":
@@ -3835,7 +3836,7 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (
3835
3836
  body: await parseBody(output.body, context),
3836
3837
  };
3837
3838
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
3838
- let errorCode: string = "UnknownError";
3839
+ let errorCode = "UnknownError";
3839
3840
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3840
3841
  switch (errorCode) {
3841
3842
  case "BadRequestException":
@@ -3930,7 +3931,7 @@ const deserializeAws_restJson1UpdateConfigurationProfileCommandError = async (
3930
3931
  body: await parseBody(output.body, context),
3931
3932
  };
3932
3933
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
3933
- let errorCode: string = "UnknownError";
3934
+ let errorCode = "UnknownError";
3934
3935
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3935
3936
  switch (errorCode) {
3936
3937
  case "BadRequestException":
@@ -4029,7 +4030,7 @@ const deserializeAws_restJson1UpdateDeploymentStrategyCommandError = async (
4029
4030
  body: await parseBody(output.body, context),
4030
4031
  };
4031
4032
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
4032
- let errorCode: string = "UnknownError";
4033
+ let errorCode = "UnknownError";
4033
4034
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4034
4035
  switch (errorCode) {
4035
4036
  case "BadRequestException":
@@ -4120,7 +4121,7 @@ const deserializeAws_restJson1UpdateEnvironmentCommandError = async (
4120
4121
  body: await parseBody(output.body, context),
4121
4122
  };
4122
4123
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
4123
- let errorCode: string = "UnknownError";
4124
+ let errorCode = "UnknownError";
4124
4125
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4125
4126
  switch (errorCode) {
4126
4127
  case "BadRequestException":
@@ -4187,7 +4188,7 @@ const deserializeAws_restJson1ValidateConfigurationCommandError = async (
4187
4188
  body: await parseBody(output.body, context),
4188
4189
  };
4189
4190
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
4190
- let errorCode: string = "UnknownError";
4191
+ let errorCode = "UnknownError";
4191
4192
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4192
4193
  switch (errorCode) {
4193
4194
  case "BadRequestException":
@@ -1,5 +1,3 @@
1
- import packageInfo from "./package.json";
2
-
3
1
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
2
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
3
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -8,6 +6,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
8
6
  import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
9
7
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
8
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
9
+
10
+ // @ts-ignore: package.json will be imported from dist folders
11
+ import packageInfo from "../package.json";
11
12
  import { AppConfigClientConfig } from "./AppConfigClient";
12
13
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
14
 
@@ -1,4 +1,5 @@
1
1
  import { Sha256 } from "@aws-crypto/sha256-js";
2
+
2
3
  import { AppConfigClientConfig } from "./AppConfigClient";
3
4
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
5
 
@@ -1,7 +1,8 @@
1
- import { defaultRegionInfoProvider } from "./endpoints";
2
1
  import { Logger as __Logger } from "@aws-sdk/types";
3
2
  import { parseUrl } from "@aws-sdk/url-parser";
3
+
4
4
  import { AppConfigClientConfig } from "./AppConfigClient";
5
+ import { defaultRegionInfoProvider } from "./endpoints";
5
6
 
6
7
  /**
7
8
  * @internal