@aws-sdk/client-serverlessapplicationrepository 3.33.0 → 3.36.1

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 (221) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/ServerlessApplicationRepository.js +2 -25
  3. package/dist-cjs/ServerlessApplicationRepositoryClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/CreateApplicationCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/CreateApplicationVersionCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/CreateCloudFormationChangeSetCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/CreateCloudFormationTemplateCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/DeleteApplicationCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/GetApplicationCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/GetApplicationPolicyCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/GetCloudFormationTemplateCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/ListApplicationDependenciesCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/ListApplicationVersionsCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/ListApplicationsCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/PutApplicationPolicyCommand.js +2 -30
  16. package/{dist/cjs → dist-cjs}/commands/UnshareApplicationCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/UpdateApplicationCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  19. package/{dist/cjs → dist-cjs}/index.js +0 -1
  20. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  21. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -127
  22. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  23. package/{dist/cjs → dist-cjs}/pagination/ListApplicationDependenciesPaginator.js +1 -12
  24. package/{dist/cjs → dist-cjs}/pagination/ListApplicationVersionsPaginator.js +1 -12
  25. package/{dist/cjs → dist-cjs}/pagination/ListApplicationsPaginator.js +1 -12
  26. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +2 -8
  27. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  28. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  29. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  30. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  31. package/{dist/es → dist-es}/ServerlessApplicationRepository.js +3 -26
  32. package/dist-es/ServerlessApplicationRepositoryClient.js +37 -0
  33. package/{dist/es → dist-es}/commands/CreateApplicationCommand.js +4 -30
  34. package/{dist/es → dist-es}/commands/CreateApplicationVersionCommand.js +4 -30
  35. package/{dist/es → dist-es}/commands/CreateCloudFormationChangeSetCommand.js +4 -30
  36. package/{dist/es → dist-es}/commands/CreateCloudFormationTemplateCommand.js +4 -30
  37. package/{dist/es → dist-es}/commands/DeleteApplicationCommand.js +4 -30
  38. package/{dist/es → dist-es}/commands/GetApplicationCommand.js +4 -30
  39. package/{dist/es → dist-es}/commands/GetApplicationPolicyCommand.js +4 -30
  40. package/{dist/es → dist-es}/commands/GetCloudFormationTemplateCommand.js +4 -30
  41. package/{dist/es → dist-es}/commands/ListApplicationDependenciesCommand.js +4 -30
  42. package/{dist/es → dist-es}/commands/ListApplicationVersionsCommand.js +4 -30
  43. package/{dist/es → dist-es}/commands/ListApplicationsCommand.js +4 -30
  44. package/{dist/es → dist-es}/commands/PutApplicationPolicyCommand.js +4 -33
  45. package/{dist/es → dist-es}/commands/UnshareApplicationCommand.js +4 -30
  46. package/{dist/es → dist-es}/commands/UpdateApplicationCommand.js +4 -30
  47. package/{dist/es → dist-es}/endpoints.js +1 -2
  48. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  49. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  50. package/{dist/es → dist-es}/models/models_0.js +0 -127
  51. package/dist-es/pagination/Interfaces.js +1 -0
  52. package/{dist/es → dist-es}/pagination/ListApplicationDependenciesPaginator.js +17 -30
  53. package/{dist/es → dist-es}/pagination/ListApplicationVersionsPaginator.js +17 -30
  54. package/{dist/es → dist-es}/pagination/ListApplicationsPaginator.js +17 -30
  55. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +412 -418
  56. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  57. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  58. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  59. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  60. package/{dist/types → dist-types}/ServerlessApplicationRepository.d.ts +3 -3
  61. package/{dist/types → dist-types}/ServerlessApplicationRepositoryClient.d.ts +9 -9
  62. package/{dist/types → dist-types}/commands/CreateApplicationCommand.d.ts +3 -3
  63. package/{dist/types → dist-types}/commands/CreateApplicationVersionCommand.d.ts +3 -3
  64. package/{dist/types → dist-types}/commands/CreateCloudFormationChangeSetCommand.d.ts +3 -3
  65. package/{dist/types → dist-types}/commands/CreateCloudFormationTemplateCommand.d.ts +3 -3
  66. package/{dist/types → dist-types}/commands/DeleteApplicationCommand.d.ts +3 -3
  67. package/{dist/types → dist-types}/commands/GetApplicationCommand.d.ts +3 -3
  68. package/{dist/types → dist-types}/commands/GetApplicationPolicyCommand.d.ts +3 -3
  69. package/{dist/types → dist-types}/commands/GetCloudFormationTemplateCommand.d.ts +3 -3
  70. package/{dist/types → dist-types}/commands/ListApplicationDependenciesCommand.d.ts +3 -3
  71. package/{dist/types → dist-types}/commands/ListApplicationVersionsCommand.d.ts +3 -3
  72. package/{dist/types → dist-types}/commands/ListApplicationsCommand.d.ts +3 -3
  73. package/{dist/types → dist-types}/commands/PutApplicationPolicyCommand.d.ts +3 -3
  74. package/{dist/types → dist-types}/commands/UnshareApplicationCommand.d.ts +3 -3
  75. package/{dist/types → dist-types}/commands/UpdateApplicationCommand.d.ts +3 -3
  76. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  77. package/{index.ts → dist-types/index.d.ts} +0 -0
  78. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  79. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  80. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  81. package/{dist/types → dist-types}/pagination/ListApplicationDependenciesPaginator.d.ts +1 -1
  82. package/{dist/types → dist-types}/pagination/ListApplicationVersionsPaginator.d.ts +1 -1
  83. package/{dist/types → dist-types}/pagination/ListApplicationsPaginator.d.ts +1 -1
  84. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
  85. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  86. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  87. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  88. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  89. package/{dist/types → dist-types}/ts3.4/ServerlessApplicationRepository.d.ts +18 -70
  90. package/{dist/types → dist-types}/ts3.4/ServerlessApplicationRepositoryClient.d.ts +33 -117
  91. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
  92. package/{dist/types → dist-types}/ts3.4/commands/CreateApplicationVersionCommand.d.ts +5 -23
  93. package/{dist/types → dist-types}/ts3.4/commands/CreateCloudFormationChangeSetCommand.d.ts +5 -23
  94. package/{dist/types → dist-types}/ts3.4/commands/CreateCloudFormationTemplateCommand.d.ts +5 -23
  95. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
  97. package/{dist/types → dist-types}/ts3.4/commands/GetApplicationPolicyCommand.d.ts +5 -23
  98. package/{dist/types → dist-types}/ts3.4/commands/GetCloudFormationTemplateCommand.d.ts +5 -23
  99. package/{dist/types → dist-types}/ts3.4/commands/ListApplicationDependenciesCommand.d.ts +5 -23
  100. package/{dist/types → dist-types}/ts3.4/commands/ListApplicationVersionsCommand.d.ts +5 -23
  101. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/UnshareApplicationCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
  105. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  106. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  107. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  108. package/dist-types/ts3.4/models/models_0.d.ts +684 -0
  109. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  110. package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationDependenciesPaginator.d.ts +1 -1
  111. package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationVersionsPaginator.d.ts +1 -1
  112. package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationsPaginator.d.ts +1 -1
  113. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
  114. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  115. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  116. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  117. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  118. package/package.json +52 -49
  119. package/ServerlessApplicationRepository.ts +0 -547
  120. package/ServerlessApplicationRepositoryClient.ts +0 -321
  121. package/commands/CreateApplicationCommand.ts +0 -98
  122. package/commands/CreateApplicationVersionCommand.ts +0 -98
  123. package/commands/CreateCloudFormationChangeSetCommand.ts +0 -103
  124. package/commands/CreateCloudFormationTemplateCommand.ts +0 -103
  125. package/commands/DeleteApplicationCommand.ts +0 -98
  126. package/commands/GetApplicationCommand.ts +0 -98
  127. package/commands/GetApplicationPolicyCommand.ts +0 -98
  128. package/commands/GetCloudFormationTemplateCommand.ts +0 -101
  129. package/commands/ListApplicationDependenciesCommand.ts +0 -103
  130. package/commands/ListApplicationVersionsCommand.ts +0 -98
  131. package/commands/ListApplicationsCommand.ts +0 -98
  132. package/commands/PutApplicationPolicyCommand.ts +0 -101
  133. package/commands/UnshareApplicationCommand.ts +0 -98
  134. package/commands/UpdateApplicationCommand.ts +0 -98
  135. package/dist/cjs/ServerlessApplicationRepository.js.map +0 -1
  136. package/dist/cjs/ServerlessApplicationRepositoryClient.js +0 -63
  137. package/dist/cjs/ServerlessApplicationRepositoryClient.js.map +0 -1
  138. package/dist/cjs/commands/CreateApplicationCommand.js.map +0 -1
  139. package/dist/cjs/commands/CreateApplicationVersionCommand.js.map +0 -1
  140. package/dist/cjs/commands/CreateCloudFormationChangeSetCommand.js.map +0 -1
  141. package/dist/cjs/commands/CreateCloudFormationTemplateCommand.js.map +0 -1
  142. package/dist/cjs/commands/DeleteApplicationCommand.js.map +0 -1
  143. package/dist/cjs/commands/GetApplicationCommand.js.map +0 -1
  144. package/dist/cjs/commands/GetApplicationPolicyCommand.js.map +0 -1
  145. package/dist/cjs/commands/GetCloudFormationTemplateCommand.js.map +0 -1
  146. package/dist/cjs/commands/ListApplicationDependenciesCommand.js.map +0 -1
  147. package/dist/cjs/commands/ListApplicationVersionsCommand.js.map +0 -1
  148. package/dist/cjs/commands/ListApplicationsCommand.js.map +0 -1
  149. package/dist/cjs/commands/PutApplicationPolicyCommand.js.map +0 -1
  150. package/dist/cjs/commands/UnshareApplicationCommand.js.map +0 -1
  151. package/dist/cjs/commands/UpdateApplicationCommand.js.map +0 -1
  152. package/dist/cjs/endpoints.js.map +0 -1
  153. package/dist/cjs/index.js.map +0 -1
  154. package/dist/cjs/models/index.js.map +0 -1
  155. package/dist/cjs/models/models_0.js.map +0 -1
  156. package/dist/cjs/package.json +0 -91
  157. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  158. package/dist/cjs/pagination/ListApplicationDependenciesPaginator.js.map +0 -1
  159. package/dist/cjs/pagination/ListApplicationVersionsPaginator.js.map +0 -1
  160. package/dist/cjs/pagination/ListApplicationsPaginator.js.map +0 -1
  161. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  162. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  163. package/dist/cjs/runtimeConfig.js.map +0 -1
  164. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  165. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  166. package/dist/es/ServerlessApplicationRepository.js.map +0 -1
  167. package/dist/es/ServerlessApplicationRepositoryClient.js +0 -65
  168. package/dist/es/ServerlessApplicationRepositoryClient.js.map +0 -1
  169. package/dist/es/commands/CreateApplicationCommand.js.map +0 -1
  170. package/dist/es/commands/CreateApplicationVersionCommand.js.map +0 -1
  171. package/dist/es/commands/CreateCloudFormationChangeSetCommand.js.map +0 -1
  172. package/dist/es/commands/CreateCloudFormationTemplateCommand.js.map +0 -1
  173. package/dist/es/commands/DeleteApplicationCommand.js.map +0 -1
  174. package/dist/es/commands/GetApplicationCommand.js.map +0 -1
  175. package/dist/es/commands/GetApplicationPolicyCommand.js.map +0 -1
  176. package/dist/es/commands/GetCloudFormationTemplateCommand.js.map +0 -1
  177. package/dist/es/commands/ListApplicationDependenciesCommand.js.map +0 -1
  178. package/dist/es/commands/ListApplicationVersionsCommand.js.map +0 -1
  179. package/dist/es/commands/ListApplicationsCommand.js.map +0 -1
  180. package/dist/es/commands/PutApplicationPolicyCommand.js.map +0 -1
  181. package/dist/es/commands/UnshareApplicationCommand.js.map +0 -1
  182. package/dist/es/commands/UpdateApplicationCommand.js.map +0 -1
  183. package/dist/es/endpoints.js.map +0 -1
  184. package/dist/es/index.js +0 -22
  185. package/dist/es/index.js.map +0 -1
  186. package/dist/es/models/index.js +0 -2
  187. package/dist/es/models/index.js.map +0 -1
  188. package/dist/es/models/models_0.js.map +0 -1
  189. package/dist/es/package.json +0 -91
  190. package/dist/es/pagination/Interfaces.js +0 -2
  191. package/dist/es/pagination/Interfaces.js.map +0 -1
  192. package/dist/es/pagination/ListApplicationDependenciesPaginator.js.map +0 -1
  193. package/dist/es/pagination/ListApplicationVersionsPaginator.js.map +0 -1
  194. package/dist/es/pagination/ListApplicationsPaginator.js.map +0 -1
  195. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  196. package/dist/es/runtimeConfig.browser.js.map +0 -1
  197. package/dist/es/runtimeConfig.js.map +0 -1
  198. package/dist/es/runtimeConfig.native.js.map +0 -1
  199. package/dist/es/runtimeConfig.shared.js.map +0 -1
  200. package/dist/types/ts3.4/commands/CreateApplicationCommand.d.ts +0 -35
  201. package/dist/types/ts3.4/commands/DeleteApplicationCommand.d.ts +0 -35
  202. package/dist/types/ts3.4/commands/GetApplicationCommand.d.ts +0 -35
  203. package/dist/types/ts3.4/commands/ListApplicationsCommand.d.ts +0 -35
  204. package/dist/types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +0 -38
  205. package/dist/types/ts3.4/commands/UnshareApplicationCommand.d.ts +0 -35
  206. package/dist/types/ts3.4/commands/UpdateApplicationCommand.d.ts +0 -35
  207. package/dist/types/ts3.4/models/models_0.d.ts +0 -1325
  208. package/endpoints.ts +0 -66
  209. package/jest.config.js +0 -4
  210. package/models/models_0.ts +0 -1649
  211. package/pagination/Interfaces.ts +0 -7
  212. package/pagination/ListApplicationDependenciesPaginator.ts +0 -60
  213. package/pagination/ListApplicationVersionsPaginator.ts +0 -60
  214. package/pagination/ListApplicationsPaginator.ts +0 -60
  215. package/protocols/Aws_restJson1.ts +0 -2545
  216. package/runtimeConfig.browser.ts +0 -40
  217. package/runtimeConfig.native.ts +0 -16
  218. package/runtimeConfig.shared.ts +0 -16
  219. package/runtimeConfig.ts +0 -45
  220. package/tsconfig.es.json +0 -12
  221. package/tsconfig.json +0 -32
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -9,12 +9,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
9
9
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
10
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
- /**
13
- * @internal
14
- */
15
12
  export var getRuntimeConfig = function (config) {
16
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
14
  var clientSharedValues = getSharedRuntimeConfig(config);
18
15
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
19
16
  };
20
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -13,13 +13,9 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
- /**
17
- * @internal
18
- */
19
16
  export var getRuntimeConfig = function (config) {
20
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
18
  emitWarningIfUnsupportedVersion(process.version);
22
19
  var clientSharedValues = getSharedRuntimeConfig(config);
23
20
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
24
21
  };
25
- //# sourceMappingURL=runtimeConfig.js.map
@@ -1,12 +1,8 @@
1
1
  import { __assign } from "tslib";
2
2
  import { Sha256 } from "@aws-crypto/sha256-js";
3
3
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
- /**
5
- * @internal
6
- */
7
4
  export var getRuntimeConfig = function (config) {
8
5
  var _a;
9
6
  var browserDefaults = getBrowserRuntimeConfig(config);
10
7
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
11
8
  };
12
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,5 @@
1
- import { defaultRegionInfoProvider } from "./endpoints";
2
1
  import { parseUrl } from "@aws-sdk/url-parser";
3
- /**
4
- * @internal
5
- */
2
+ import { defaultRegionInfoProvider } from "./endpoints";
6
3
  export var getRuntimeConfig = function (config) {
7
4
  var _a, _b, _c, _d, _e;
8
5
  return ({
@@ -14,4 +11,3 @@ export var getRuntimeConfig = function (config) {
14
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
15
12
  });
16
13
  };
17
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,4 +1,4 @@
1
- import { ServerlessApplicationRepositoryClient } from "./ServerlessApplicationRepositoryClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
3
3
  import { CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput } from "./commands/CreateApplicationVersionCommand";
4
4
  import { CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput } from "./commands/CreateCloudFormationChangeSetCommand";
@@ -8,12 +8,12 @@ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./comma
8
8
  import { GetApplicationPolicyCommandInput, GetApplicationPolicyCommandOutput } from "./commands/GetApplicationPolicyCommand";
9
9
  import { GetCloudFormationTemplateCommandInput, GetCloudFormationTemplateCommandOutput } from "./commands/GetCloudFormationTemplateCommand";
10
10
  import { ListApplicationDependenciesCommandInput, ListApplicationDependenciesCommandOutput } from "./commands/ListApplicationDependenciesCommand";
11
- import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "./commands/ListApplicationVersionsCommand";
12
11
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
12
+ import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "./commands/ListApplicationVersionsCommand";
13
13
  import { PutApplicationPolicyCommandInput, PutApplicationPolicyCommandOutput } from "./commands/PutApplicationPolicyCommand";
14
14
  import { UnshareApplicationCommandInput, UnshareApplicationCommandOutput } from "./commands/UnshareApplicationCommand";
15
15
  import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
16
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
16
+ import { ServerlessApplicationRepositoryClient } from "./ServerlessApplicationRepositoryClient";
17
17
  /**
18
18
  * <p>The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find
19
19
  * and deploy serverless applications in the AWS Cloud. For more information about serverless applications,
@@ -1,3 +1,11 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
1
9
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
2
10
  import { CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput } from "./commands/CreateApplicationVersionCommand";
3
11
  import { CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput } from "./commands/CreateCloudFormationChangeSetCommand";
@@ -7,19 +15,11 @@ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./comma
7
15
  import { GetApplicationPolicyCommandInput, GetApplicationPolicyCommandOutput } from "./commands/GetApplicationPolicyCommand";
8
16
  import { GetCloudFormationTemplateCommandInput, GetCloudFormationTemplateCommandOutput } from "./commands/GetCloudFormationTemplateCommand";
9
17
  import { ListApplicationDependenciesCommandInput, ListApplicationDependenciesCommandOutput } from "./commands/ListApplicationDependenciesCommand";
10
- import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "./commands/ListApplicationVersionsCommand";
11
18
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
19
+ import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "./commands/ListApplicationVersionsCommand";
12
20
  import { PutApplicationPolicyCommandInput, PutApplicationPolicyCommandOutput } from "./commands/PutApplicationPolicyCommand";
13
21
  import { UnshareApplicationCommandInput, UnshareApplicationCommandOutput } from "./commands/UnshareApplicationCommand";
14
22
  import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
15
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
16
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
17
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
19
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
20
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
21
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
22
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
23
23
  export declare type ServiceInputTypes = CreateApplicationCommandInput | CreateApplicationVersionCommandInput | CreateCloudFormationChangeSetCommandInput | CreateCloudFormationTemplateCommandInput | DeleteApplicationCommandInput | GetApplicationCommandInput | GetApplicationPolicyCommandInput | GetCloudFormationTemplateCommandInput | ListApplicationDependenciesCommandInput | ListApplicationVersionsCommandInput | ListApplicationsCommandInput | PutApplicationPolicyCommandInput | UnshareApplicationCommandInput | UpdateApplicationCommandInput;
24
24
  export declare type ServiceOutputTypes = CreateApplicationCommandOutput | CreateApplicationVersionCommandOutput | CreateCloudFormationChangeSetCommandOutput | CreateCloudFormationTemplateCommandOutput | DeleteApplicationCommandOutput | GetApplicationCommandOutput | GetApplicationPolicyCommandOutput | GetCloudFormationTemplateCommandOutput | ListApplicationDependenciesCommandOutput | ListApplicationVersionsCommandOutput | ListApplicationsCommandOutput | PutApplicationPolicyCommandOutput | UnshareApplicationCommandOutput | UpdateApplicationCommandOutput;
25
25
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface CreateApplicationCommandInput extends CreateApplicationRequest {
6
6
  }
7
7
  export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { CreateApplicationVersionRequest, CreateApplicationVersionResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateApplicationVersionRequest, CreateApplicationVersionResponse } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface CreateApplicationVersionCommandInput extends CreateApplicationVersionRequest {
6
6
  }
7
7
  export interface CreateApplicationVersionCommandOutput extends CreateApplicationVersionResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { CreateCloudFormationChangeSetRequest, CreateCloudFormationChangeSetResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateCloudFormationChangeSetRequest, CreateCloudFormationChangeSetResponse } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface CreateCloudFormationChangeSetCommandInput extends CreateCloudFormationChangeSetRequest {
6
6
  }
7
7
  export interface CreateCloudFormationChangeSetCommandOutput extends CreateCloudFormationChangeSetResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { CreateCloudFormationTemplateRequest, CreateCloudFormationTemplateResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateCloudFormationTemplateRequest, CreateCloudFormationTemplateResponse } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface CreateCloudFormationTemplateCommandInput extends CreateCloudFormationTemplateRequest {
6
6
  }
7
7
  export interface CreateCloudFormationTemplateCommandOutput extends CreateCloudFormationTemplateResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { DeleteApplicationRequest } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteApplicationRequest } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface DeleteApplicationCommandInput extends DeleteApplicationRequest {
6
6
  }
7
7
  export interface DeleteApplicationCommandOutput extends __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface GetApplicationCommandInput extends GetApplicationRequest {
6
6
  }
7
7
  export interface GetApplicationCommandOutput extends GetApplicationResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { GetApplicationPolicyRequest, GetApplicationPolicyResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetApplicationPolicyRequest, GetApplicationPolicyResponse } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface GetApplicationPolicyCommandInput extends GetApplicationPolicyRequest {
6
6
  }
7
7
  export interface GetApplicationPolicyCommandOutput extends GetApplicationPolicyResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { GetCloudFormationTemplateRequest, GetCloudFormationTemplateResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetCloudFormationTemplateRequest, GetCloudFormationTemplateResponse } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface GetCloudFormationTemplateCommandInput extends GetCloudFormationTemplateRequest {
6
6
  }
7
7
  export interface GetCloudFormationTemplateCommandOutput extends GetCloudFormationTemplateResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { ListApplicationDependenciesRequest, ListApplicationDependenciesResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListApplicationDependenciesRequest, ListApplicationDependenciesResponse } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface ListApplicationDependenciesCommandInput extends ListApplicationDependenciesRequest {
6
6
  }
7
7
  export interface ListApplicationDependenciesCommandOutput extends ListApplicationDependenciesResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { ListApplicationVersionsRequest, ListApplicationVersionsResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListApplicationVersionsRequest, ListApplicationVersionsResponse } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface ListApplicationVersionsCommandInput extends ListApplicationVersionsRequest {
6
6
  }
7
7
  export interface ListApplicationVersionsCommandOutput extends ListApplicationVersionsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { ListApplicationsRequest, ListApplicationsResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListApplicationsRequest, ListApplicationsResponse } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface ListApplicationsCommandInput extends ListApplicationsRequest {
6
6
  }
7
7
  export interface ListApplicationsCommandOutput extends ListApplicationsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { PutApplicationPolicyRequest, PutApplicationPolicyResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { PutApplicationPolicyRequest, PutApplicationPolicyResponse } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface PutApplicationPolicyCommandInput extends PutApplicationPolicyRequest {
6
6
  }
7
7
  export interface PutApplicationPolicyCommandOutput extends PutApplicationPolicyResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { UnshareApplicationRequest } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UnshareApplicationRequest } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface UnshareApplicationCommandInput extends UnshareApplicationRequest {
6
6
  }
7
7
  export interface UnshareApplicationCommandOutput extends __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
2
- import { UpdateApplicationRequest, UpdateApplicationResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateApplicationRequest, UpdateApplicationResponse } from "../models/models_0";
4
+ import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
5
5
  export interface UpdateApplicationCommandInput extends UpdateApplicationRequest {
6
6
  }
7
7
  export interface UpdateApplicationCommandOutput extends UpdateApplicationResponse, __MetadataBearer {
File without changes
File without changes
File without changes
@@ -1,6 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
1
2
  import { ServerlessApplicationRepository } from "../ServerlessApplicationRepository";
2
3
  import { ServerlessApplicationRepositoryClient } from "../ServerlessApplicationRepositoryClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
4
  export interface ServerlessApplicationRepositoryPaginationConfiguration extends PaginationConfiguration {
5
5
  client: ServerlessApplicationRepository | ServerlessApplicationRepositoryClient;
6
6
  }
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListApplicationDependenciesCommandInput, ListApplicationDependenciesCommandOutput } from "../commands/ListApplicationDependenciesCommand";
2
3
  import { ServerlessApplicationRepositoryPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListApplicationDependencies(config: ServerlessApplicationRepositoryPaginationConfiguration, input: ListApplicationDependenciesCommandInput, ...additionalArguments: any): Paginator<ListApplicationDependenciesCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "../commands/ListApplicationVersionsCommand";
2
3
  import { ServerlessApplicationRepositoryPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListApplicationVersions(config: ServerlessApplicationRepositoryPaginationConfiguration, input: ListApplicationVersionsCommandInput, ...additionalArguments: any): Paginator<ListApplicationVersionsCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand";
2
3
  import { ServerlessApplicationRepositoryPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListApplications(config: ServerlessApplicationRepositoryPaginationConfiguration, input: ListApplicationsCommandInput, ...additionalArguments: any): Paginator<ListApplicationsCommandOutput>;
@@ -1,3 +1,5 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "../commands/CreateApplicationCommand";
2
4
  import { CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput } from "../commands/CreateApplicationVersionCommand";
3
5
  import { CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput } from "../commands/CreateCloudFormationChangeSetCommand";
@@ -7,13 +9,11 @@ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "../comm
7
9
  import { GetApplicationPolicyCommandInput, GetApplicationPolicyCommandOutput } from "../commands/GetApplicationPolicyCommand";
8
10
  import { GetCloudFormationTemplateCommandInput, GetCloudFormationTemplateCommandOutput } from "../commands/GetCloudFormationTemplateCommand";
9
11
  import { ListApplicationDependenciesCommandInput, ListApplicationDependenciesCommandOutput } from "../commands/ListApplicationDependenciesCommand";
10
- import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "../commands/ListApplicationVersionsCommand";
11
12
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand";
13
+ import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "../commands/ListApplicationVersionsCommand";
12
14
  import { PutApplicationPolicyCommandInput, PutApplicationPolicyCommandOutput } from "../commands/PutApplicationPolicyCommand";
13
15
  import { UnshareApplicationCommandInput, UnshareApplicationCommandOutput } from "../commands/UnshareApplicationCommand";
14
16
  import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "../commands/UpdateApplicationCommand";
15
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
16
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
17
17
  export declare const serializeAws_restJson1CreateApplicationCommand: (input: CreateApplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
18
  export declare const serializeAws_restJson1CreateApplicationVersionCommand: (input: CreateApplicationVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
19
  export declare const serializeAws_restJson1CreateCloudFormationChangeSetCommand: (input: CreateCloudFormationChangeSetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ServerlessApplicationRepositoryC
8
8
  base64Decoder: import("@aws-sdk/types").Decoder;
9
9
  base64Encoder: import("@aws-sdk/types").Encoder;
10
10
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
13
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
14
  region: string | import("@aws-sdk/types").Provider<string>;
@@ -1,4 +1,4 @@
1
- import { ServerlessApplicationRepositoryClient } from "./ServerlessApplicationRepositoryClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
3
3
  import { CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput } from "./commands/CreateApplicationVersionCommand";
4
4
  import { CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput } from "./commands/CreateCloudFormationChangeSetCommand";
@@ -8,119 +8,67 @@ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./comma
8
8
  import { GetApplicationPolicyCommandInput, GetApplicationPolicyCommandOutput } from "./commands/GetApplicationPolicyCommand";
9
9
  import { GetCloudFormationTemplateCommandInput, GetCloudFormationTemplateCommandOutput } from "./commands/GetCloudFormationTemplateCommand";
10
10
  import { ListApplicationDependenciesCommandInput, ListApplicationDependenciesCommandOutput } from "./commands/ListApplicationDependenciesCommand";
11
- import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "./commands/ListApplicationVersionsCommand";
12
11
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
12
+ import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "./commands/ListApplicationVersionsCommand";
13
13
  import { PutApplicationPolicyCommandInput, PutApplicationPolicyCommandOutput } from "./commands/PutApplicationPolicyCommand";
14
14
  import { UnshareApplicationCommandInput, UnshareApplicationCommandOutput } from "./commands/UnshareApplicationCommand";
15
15
  import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
16
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
17
- /**
18
- * <p>The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find
19
- * and deploy serverless applications in the AWS Cloud. For more information about serverless applications,
20
- * see Serverless Computing and Applications on the AWS website.</p><p>The AWS Serverless Application Repository is deeply integrated with the AWS Lambda console, so that developers of
21
- * all levels can get started with serverless computing without needing to learn anything new. You can use category
22
- * keywords to browse for applications such as web and mobile backends, data processing applications, or chatbots.
23
- * You can also search for applications by name, publisher, or event source. To use an application, you simply choose it,
24
- * configure any required fields, and deploy it with a few clicks. </p><p>You can also easily publish applications, sharing them publicly with the community at large, or privately
25
- * within your team or across your organization. To publish a serverless application (or app), you can use the
26
- * AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS SDKs to upload the code. Along with the
27
- * code, you upload a simple manifest file, also known as the AWS Serverless Application Model (AWS SAM) template.
28
- * For more information about AWS SAM, see AWS Serverless Application Model (AWS SAM) on the AWS Labs
29
- * GitHub repository.</p><p>The AWS Serverless Application Repository Developer Guide contains more information about the two developer
30
- * experiences available:</p><ul>
31
- * <li>
32
- * <p>Consuming Applications – Browse for applications and view information about them, including
33
- * source code and readme files. Also install, configure, and deploy applications of your choosing. </p>
34
- * <p>Publishing Applications – Configure and upload applications to make them available to other
35
- * developers, and publish new versions of applications. </p>
36
- * </li>
37
- * </ul>
38
- */
16
+ import { ServerlessApplicationRepositoryClient } from "./ServerlessApplicationRepositoryClient";
17
+
39
18
  export declare class ServerlessApplicationRepository extends ServerlessApplicationRepositoryClient {
40
- /**
41
- * <p>Creates an application, optionally including an AWS SAM file to create the first application version in the same call.</p>
42
- */
19
+
43
20
  createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
44
21
  createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
45
22
  createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
46
- /**
47
- * <p>Creates an application version.</p>
48
- */
23
+
49
24
  createApplicationVersion(args: CreateApplicationVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationVersionCommandOutput>;
50
25
  createApplicationVersion(args: CreateApplicationVersionCommandInput, cb: (err: any, data?: CreateApplicationVersionCommandOutput) => void): void;
51
26
  createApplicationVersion(args: CreateApplicationVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationVersionCommandOutput) => void): void;
52
- /**
53
- * <p>Creates an AWS CloudFormation change set for the given application.</p>
54
- */
27
+
55
28
  createCloudFormationChangeSet(args: CreateCloudFormationChangeSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateCloudFormationChangeSetCommandOutput>;
56
29
  createCloudFormationChangeSet(args: CreateCloudFormationChangeSetCommandInput, cb: (err: any, data?: CreateCloudFormationChangeSetCommandOutput) => void): void;
57
30
  createCloudFormationChangeSet(args: CreateCloudFormationChangeSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCloudFormationChangeSetCommandOutput) => void): void;
58
- /**
59
- * <p>Creates an AWS CloudFormation template.</p>
60
- */
31
+
61
32
  createCloudFormationTemplate(args: CreateCloudFormationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateCloudFormationTemplateCommandOutput>;
62
33
  createCloudFormationTemplate(args: CreateCloudFormationTemplateCommandInput, cb: (err: any, data?: CreateCloudFormationTemplateCommandOutput) => void): void;
63
34
  createCloudFormationTemplate(args: CreateCloudFormationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCloudFormationTemplateCommandOutput) => void): void;
64
- /**
65
- * <p>Deletes the specified application.</p>
66
- */
35
+
67
36
  deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
68
37
  deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
69
38
  deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
70
- /**
71
- * <p>Gets the specified application.</p>
72
- */
39
+
73
40
  getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
74
41
  getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
75
42
  getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
76
- /**
77
- * <p>Retrieves the policy for the application.</p>
78
- */
43
+
79
44
  getApplicationPolicy(args: GetApplicationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationPolicyCommandOutput>;
80
45
  getApplicationPolicy(args: GetApplicationPolicyCommandInput, cb: (err: any, data?: GetApplicationPolicyCommandOutput) => void): void;
81
46
  getApplicationPolicy(args: GetApplicationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationPolicyCommandOutput) => void): void;
82
- /**
83
- * <p>Gets the specified AWS CloudFormation template.</p>
84
- */
47
+
85
48
  getCloudFormationTemplate(args: GetCloudFormationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetCloudFormationTemplateCommandOutput>;
86
49
  getCloudFormationTemplate(args: GetCloudFormationTemplateCommandInput, cb: (err: any, data?: GetCloudFormationTemplateCommandOutput) => void): void;
87
50
  getCloudFormationTemplate(args: GetCloudFormationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCloudFormationTemplateCommandOutput) => void): void;
88
- /**
89
- * <p>Retrieves the list of applications nested in the containing application.</p>
90
- */
51
+
91
52
  listApplicationDependencies(args: ListApplicationDependenciesCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationDependenciesCommandOutput>;
92
53
  listApplicationDependencies(args: ListApplicationDependenciesCommandInput, cb: (err: any, data?: ListApplicationDependenciesCommandOutput) => void): void;
93
54
  listApplicationDependencies(args: ListApplicationDependenciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationDependenciesCommandOutput) => void): void;
94
- /**
95
- * <p>Lists applications owned by the requester.</p>
96
- */
55
+
97
56
  listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
98
57
  listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
99
58
  listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
100
- /**
101
- * <p>Lists versions for the specified application.</p>
102
- */
59
+
103
60
  listApplicationVersions(args: ListApplicationVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationVersionsCommandOutput>;
104
61
  listApplicationVersions(args: ListApplicationVersionsCommandInput, cb: (err: any, data?: ListApplicationVersionsCommandOutput) => void): void;
105
62
  listApplicationVersions(args: ListApplicationVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationVersionsCommandOutput) => void): void;
106
- /**
107
- * <p>Sets the permission policy for an application. For the list of actions supported for this operation, see
108
- * <a href="https://docs.aws.amazon.com/serverlessrepo/latest/devguide/access-control-resource-based.html#application-permissions">Application
109
- * Permissions</a>
110
- * .</p>
111
- */
63
+
112
64
  putApplicationPolicy(args: PutApplicationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutApplicationPolicyCommandOutput>;
113
65
  putApplicationPolicy(args: PutApplicationPolicyCommandInput, cb: (err: any, data?: PutApplicationPolicyCommandOutput) => void): void;
114
66
  putApplicationPolicy(args: PutApplicationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutApplicationPolicyCommandOutput) => void): void;
115
- /**
116
- * <p>Unshares an application from an AWS Organization.</p><p>This operation can be called only from the organization's master account.</p>
117
- */
67
+
118
68
  unshareApplication(args: UnshareApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UnshareApplicationCommandOutput>;
119
69
  unshareApplication(args: UnshareApplicationCommandInput, cb: (err: any, data?: UnshareApplicationCommandOutput) => void): void;
120
70
  unshareApplication(args: UnshareApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnshareApplicationCommandOutput) => void): void;
121
- /**
122
- * <p>Updates the specified application.</p>
123
- */
71
+
124
72
  updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
125
73
  updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
126
74
  updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;