@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,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { GetCloudFormationTemplateRequest, GetCloudFormationTemplateResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1GetCloudFormationTemplateCommand, serializeAws_restJson1GetCloudFormationTemplateCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Gets the specified AWS CloudFormation template.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { ServerlessApplicationRepositoryClient, GetCloudFormationTemplateCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
12
- * // const { ServerlessApplicationRepositoryClient, GetCloudFormationTemplateCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
13
- * const client = new ServerlessApplicationRepositoryClient(config);
14
- * const command = new GetCloudFormationTemplateCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link GetCloudFormationTemplateCommandInput} for command's `input` shape.
19
- * @see {@link GetCloudFormationTemplateCommandOutput} for command's `response` shape.
20
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var GetCloudFormationTemplateCommand = /** @class */ (function (_super) {
4
+ import { GetCloudFormationTemplateRequest, GetCloudFormationTemplateResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetCloudFormationTemplateCommand, serializeAws_restJson1GetCloudFormationTemplateCommand, } from "../protocols/Aws_restJson1";
6
+ var GetCloudFormationTemplateCommand = (function (_super) {
24
7
  __extends(GetCloudFormationTemplateCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function GetCloudFormationTemplateCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  GetCloudFormationTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var GetCloudFormationTemplateCommand = /** @class */ (function (_super) {
62
37
  return GetCloudFormationTemplateCommand;
63
38
  }($Command));
64
39
  export { GetCloudFormationTemplateCommand };
65
- //# sourceMappingURL=GetCloudFormationTemplateCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListApplicationDependenciesRequest, ListApplicationDependenciesResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1ListApplicationDependenciesCommand, serializeAws_restJson1ListApplicationDependenciesCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Retrieves the list of applications nested in the containing application.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { ServerlessApplicationRepositoryClient, ListApplicationDependenciesCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
12
- * // const { ServerlessApplicationRepositoryClient, ListApplicationDependenciesCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
13
- * const client = new ServerlessApplicationRepositoryClient(config);
14
- * const command = new ListApplicationDependenciesCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link ListApplicationDependenciesCommandInput} for command's `input` shape.
19
- * @see {@link ListApplicationDependenciesCommandOutput} for command's `response` shape.
20
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var ListApplicationDependenciesCommand = /** @class */ (function (_super) {
4
+ import { ListApplicationDependenciesRequest, ListApplicationDependenciesResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListApplicationDependenciesCommand, serializeAws_restJson1ListApplicationDependenciesCommand, } from "../protocols/Aws_restJson1";
6
+ var ListApplicationDependenciesCommand = (function (_super) {
24
7
  __extends(ListApplicationDependenciesCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function ListApplicationDependenciesCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  ListApplicationDependenciesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var ListApplicationDependenciesCommand = /** @class */ (function (_super) {
62
37
  return ListApplicationDependenciesCommand;
63
38
  }($Command));
64
39
  export { ListApplicationDependenciesCommand };
65
- //# sourceMappingURL=ListApplicationDependenciesCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListApplicationVersionsRequest, ListApplicationVersionsResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1ListApplicationVersionsCommand, serializeAws_restJson1ListApplicationVersionsCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Lists versions for the specified application.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { ServerlessApplicationRepositoryClient, ListApplicationVersionsCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
12
- * // const { ServerlessApplicationRepositoryClient, ListApplicationVersionsCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
13
- * const client = new ServerlessApplicationRepositoryClient(config);
14
- * const command = new ListApplicationVersionsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link ListApplicationVersionsCommandInput} for command's `input` shape.
19
- * @see {@link ListApplicationVersionsCommandOutput} for command's `response` shape.
20
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var ListApplicationVersionsCommand = /** @class */ (function (_super) {
4
+ import { ListApplicationVersionsRequest, ListApplicationVersionsResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListApplicationVersionsCommand, serializeAws_restJson1ListApplicationVersionsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListApplicationVersionsCommand = (function (_super) {
24
7
  __extends(ListApplicationVersionsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function ListApplicationVersionsCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  ListApplicationVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var ListApplicationVersionsCommand = /** @class */ (function (_super) {
62
37
  return ListApplicationVersionsCommand;
63
38
  }($Command));
64
39
  export { ListApplicationVersionsCommand };
65
- //# sourceMappingURL=ListApplicationVersionsCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListApplicationsRequest, ListApplicationsResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1ListApplicationsCommand, serializeAws_restJson1ListApplicationsCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Lists applications owned by the requester.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { ServerlessApplicationRepositoryClient, ListApplicationsCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
12
- * // const { ServerlessApplicationRepositoryClient, ListApplicationsCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
13
- * const client = new ServerlessApplicationRepositoryClient(config);
14
- * const command = new ListApplicationsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link ListApplicationsCommandInput} for command's `input` shape.
19
- * @see {@link ListApplicationsCommandOutput} for command's `response` shape.
20
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var ListApplicationsCommand = /** @class */ (function (_super) {
4
+ import { ListApplicationsRequest, ListApplicationsResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListApplicationsCommand, serializeAws_restJson1ListApplicationsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListApplicationsCommand = (function (_super) {
24
7
  __extends(ListApplicationsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function ListApplicationsCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  ListApplicationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var ListApplicationsCommand = /** @class */ (function (_super) {
62
37
  return ListApplicationsCommand;
63
38
  }($Command));
64
39
  export { ListApplicationsCommand };
65
- //# sourceMappingURL=ListApplicationsCommand.js.map
@@ -1,43 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { PutApplicationPolicyRequest, PutApplicationPolicyResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1PutApplicationPolicyCommand, serializeAws_restJson1PutApplicationPolicyCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Sets the permission policy for an application. For the list of actions supported for this operation, see
8
- * <a href="https://docs.aws.amazon.com/serverlessrepo/latest/devguide/access-control-resource-based.html#application-permissions">Application
9
- * Permissions</a>
10
- * .</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ServerlessApplicationRepositoryClient, PutApplicationPolicyCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
15
- * // const { ServerlessApplicationRepositoryClient, PutApplicationPolicyCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
16
- * const client = new ServerlessApplicationRepositoryClient(config);
17
- * const command = new PutApplicationPolicyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link PutApplicationPolicyCommandInput} for command's `input` shape.
22
- * @see {@link PutApplicationPolicyCommandOutput} for command's `response` shape.
23
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var PutApplicationPolicyCommand = /** @class */ (function (_super) {
4
+ import { PutApplicationPolicyRequest, PutApplicationPolicyResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1PutApplicationPolicyCommand, serializeAws_restJson1PutApplicationPolicyCommand, } from "../protocols/Aws_restJson1";
6
+ var PutApplicationPolicyCommand = (function (_super) {
27
7
  __extends(PutApplicationPolicyCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function PutApplicationPolicyCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  PutApplicationPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +37,3 @@ var PutApplicationPolicyCommand = /** @class */ (function (_super) {
65
37
  return PutApplicationPolicyCommand;
66
38
  }($Command));
67
39
  export { PutApplicationPolicyCommand };
68
- //# sourceMappingURL=PutApplicationPolicyCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { UnshareApplicationRequest } from "../models/models_0";
3
- import { deserializeAws_restJson1UnshareApplicationCommand, serializeAws_restJson1UnshareApplicationCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Unshares an application from an AWS Organization.</p><p>This operation can be called only from the organization's master account.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { ServerlessApplicationRepositoryClient, UnshareApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
12
- * // const { ServerlessApplicationRepositoryClient, UnshareApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
13
- * const client = new ServerlessApplicationRepositoryClient(config);
14
- * const command = new UnshareApplicationCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link UnshareApplicationCommandInput} for command's `input` shape.
19
- * @see {@link UnshareApplicationCommandOutput} for command's `response` shape.
20
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var UnshareApplicationCommand = /** @class */ (function (_super) {
4
+ import { UnshareApplicationRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1UnshareApplicationCommand, serializeAws_restJson1UnshareApplicationCommand, } from "../protocols/Aws_restJson1";
6
+ var UnshareApplicationCommand = (function (_super) {
24
7
  __extends(UnshareApplicationCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function UnshareApplicationCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  UnshareApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var UnshareApplicationCommand = /** @class */ (function (_super) {
62
37
  return UnshareApplicationCommand;
63
38
  }($Command));
64
39
  export { UnshareApplicationCommand };
65
- //# sourceMappingURL=UnshareApplicationCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { UpdateApplicationRequest, UpdateApplicationResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1UpdateApplicationCommand, serializeAws_restJson1UpdateApplicationCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Updates the specified application.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { ServerlessApplicationRepositoryClient, UpdateApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
12
- * // const { ServerlessApplicationRepositoryClient, UpdateApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
13
- * const client = new ServerlessApplicationRepositoryClient(config);
14
- * const command = new UpdateApplicationCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link UpdateApplicationCommandInput} for command's `input` shape.
19
- * @see {@link UpdateApplicationCommandOutput} for command's `response` shape.
20
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var UpdateApplicationCommand = /** @class */ (function (_super) {
4
+ import { UpdateApplicationRequest, UpdateApplicationResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateApplicationCommand, serializeAws_restJson1UpdateApplicationCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateApplicationCommand = (function (_super) {
24
7
  __extends(UpdateApplicationCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function UpdateApplicationCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  UpdateApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var UpdateApplicationCommand = /** @class */ (function (_super) {
62
37
  return UpdateApplicationCommand;
63
38
  }($Command));
64
39
  export { UpdateApplicationCommand };
65
- //# sourceMappingURL=UpdateApplicationCommand.js.map
@@ -56,7 +56,6 @@ var partitionHash = {
56
56
  };
57
57
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
58
58
  return __generator(this, function (_a) {
59
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "serverlessrepo", regionHash: regionHash, partitionHash: partitionHash }))];
59
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "serverlessrepo", regionHash: regionHash, partitionHash: partitionHash }))];
60
60
  });
61
61
  }); };
62
- //# sourceMappingURL=endpoints.js.map
File without changes