@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,103 +0,0 @@
1
- import {
2
- ServerlessApplicationRepositoryClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ServerlessApplicationRepositoryClient";
6
- import { CreateCloudFormationTemplateRequest, CreateCloudFormationTemplateResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1CreateCloudFormationTemplateCommand,
9
- serializeAws_restJson1CreateCloudFormationTemplateCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface CreateCloudFormationTemplateCommandInput extends CreateCloudFormationTemplateRequest {}
25
- export interface CreateCloudFormationTemplateCommandOutput
26
- extends CreateCloudFormationTemplateResponse,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <p>Creates an AWS CloudFormation template.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { ServerlessApplicationRepositoryClient, CreateCloudFormationTemplateCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
35
- * // const { ServerlessApplicationRepositoryClient, CreateCloudFormationTemplateCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
36
- * const client = new ServerlessApplicationRepositoryClient(config);
37
- * const command = new CreateCloudFormationTemplateCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link CreateCloudFormationTemplateCommandInput} for command's `input` shape.
42
- * @see {@link CreateCloudFormationTemplateCommandOutput} for command's `response` shape.
43
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class CreateCloudFormationTemplateCommand extends $Command<
47
- CreateCloudFormationTemplateCommandInput,
48
- CreateCloudFormationTemplateCommandOutput,
49
- ServerlessApplicationRepositoryClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: CreateCloudFormationTemplateCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: ServerlessApplicationRepositoryClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<CreateCloudFormationTemplateCommandInput, CreateCloudFormationTemplateCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "ServerlessApplicationRepositoryClient";
74
- const commandName = "CreateCloudFormationTemplateCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: CreateCloudFormationTemplateRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: CreateCloudFormationTemplateResponse.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(input: CreateCloudFormationTemplateCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_restJson1CreateCloudFormationTemplateCommand(input, context);
92
- }
93
-
94
- private deserialize(
95
- output: __HttpResponse,
96
- context: __SerdeContext
97
- ): Promise<CreateCloudFormationTemplateCommandOutput> {
98
- return deserializeAws_restJson1CreateCloudFormationTemplateCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -1,98 +0,0 @@
1
- import {
2
- ServerlessApplicationRepositoryClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ServerlessApplicationRepositoryClient";
6
- import { DeleteApplicationRequest } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1DeleteApplicationCommand,
9
- serializeAws_restJson1DeleteApplicationCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface DeleteApplicationCommandInput extends DeleteApplicationRequest {}
25
- export interface DeleteApplicationCommandOutput extends __MetadataBearer {}
26
-
27
- /**
28
- * <p>Deletes the specified application.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ServerlessApplicationRepositoryClient, DeleteApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
33
- * // const { ServerlessApplicationRepositoryClient, DeleteApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
34
- * const client = new ServerlessApplicationRepositoryClient(config);
35
- * const command = new DeleteApplicationCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link DeleteApplicationCommandInput} for command's `input` shape.
40
- * @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
41
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class DeleteApplicationCommand extends $Command<
45
- DeleteApplicationCommandInput,
46
- DeleteApplicationCommandOutput,
47
- ServerlessApplicationRepositoryClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: DeleteApplicationCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: ServerlessApplicationRepositoryClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<DeleteApplicationCommandInput, DeleteApplicationCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "ServerlessApplicationRepositoryClient";
72
- const commandName = "DeleteApplicationCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: DeleteApplicationRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: (output: any) => output,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: DeleteApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1DeleteApplicationCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteApplicationCommandOutput> {
93
- return deserializeAws_restJson1DeleteApplicationCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,98 +0,0 @@
1
- import {
2
- ServerlessApplicationRepositoryClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ServerlessApplicationRepositoryClient";
6
- import { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1GetApplicationCommand,
9
- serializeAws_restJson1GetApplicationCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface GetApplicationCommandInput extends GetApplicationRequest {}
25
- export interface GetApplicationCommandOutput extends GetApplicationResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Gets the specified application.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ServerlessApplicationRepositoryClient, GetApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
33
- * // const { ServerlessApplicationRepositoryClient, GetApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
34
- * const client = new ServerlessApplicationRepositoryClient(config);
35
- * const command = new GetApplicationCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link GetApplicationCommandInput} for command's `input` shape.
40
- * @see {@link GetApplicationCommandOutput} for command's `response` shape.
41
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class GetApplicationCommand extends $Command<
45
- GetApplicationCommandInput,
46
- GetApplicationCommandOutput,
47
- ServerlessApplicationRepositoryClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: GetApplicationCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: ServerlessApplicationRepositoryClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<GetApplicationCommandInput, GetApplicationCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "ServerlessApplicationRepositoryClient";
72
- const commandName = "GetApplicationCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: GetApplicationRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: GetApplicationResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: GetApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1GetApplicationCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetApplicationCommandOutput> {
93
- return deserializeAws_restJson1GetApplicationCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,98 +0,0 @@
1
- import {
2
- ServerlessApplicationRepositoryClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ServerlessApplicationRepositoryClient";
6
- import { GetApplicationPolicyRequest, GetApplicationPolicyResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1GetApplicationPolicyCommand,
9
- serializeAws_restJson1GetApplicationPolicyCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface GetApplicationPolicyCommandInput extends GetApplicationPolicyRequest {}
25
- export interface GetApplicationPolicyCommandOutput extends GetApplicationPolicyResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Retrieves the policy for the application.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ServerlessApplicationRepositoryClient, GetApplicationPolicyCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
33
- * // const { ServerlessApplicationRepositoryClient, GetApplicationPolicyCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
34
- * const client = new ServerlessApplicationRepositoryClient(config);
35
- * const command = new GetApplicationPolicyCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link GetApplicationPolicyCommandInput} for command's `input` shape.
40
- * @see {@link GetApplicationPolicyCommandOutput} for command's `response` shape.
41
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class GetApplicationPolicyCommand extends $Command<
45
- GetApplicationPolicyCommandInput,
46
- GetApplicationPolicyCommandOutput,
47
- ServerlessApplicationRepositoryClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: GetApplicationPolicyCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: ServerlessApplicationRepositoryClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<GetApplicationPolicyCommandInput, GetApplicationPolicyCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "ServerlessApplicationRepositoryClient";
72
- const commandName = "GetApplicationPolicyCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: GetApplicationPolicyRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: GetApplicationPolicyResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: GetApplicationPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1GetApplicationPolicyCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetApplicationPolicyCommandOutput> {
93
- return deserializeAws_restJson1GetApplicationPolicyCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,101 +0,0 @@
1
- import {
2
- ServerlessApplicationRepositoryClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ServerlessApplicationRepositoryClient";
6
- import { GetCloudFormationTemplateRequest, GetCloudFormationTemplateResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1GetCloudFormationTemplateCommand,
9
- serializeAws_restJson1GetCloudFormationTemplateCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface GetCloudFormationTemplateCommandInput extends GetCloudFormationTemplateRequest {}
25
- export interface GetCloudFormationTemplateCommandOutput extends GetCloudFormationTemplateResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Gets the specified AWS CloudFormation template.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ServerlessApplicationRepositoryClient, GetCloudFormationTemplateCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
33
- * // const { ServerlessApplicationRepositoryClient, GetCloudFormationTemplateCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
34
- * const client = new ServerlessApplicationRepositoryClient(config);
35
- * const command = new GetCloudFormationTemplateCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link GetCloudFormationTemplateCommandInput} for command's `input` shape.
40
- * @see {@link GetCloudFormationTemplateCommandOutput} for command's `response` shape.
41
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class GetCloudFormationTemplateCommand extends $Command<
45
- GetCloudFormationTemplateCommandInput,
46
- GetCloudFormationTemplateCommandOutput,
47
- ServerlessApplicationRepositoryClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: GetCloudFormationTemplateCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: ServerlessApplicationRepositoryClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<GetCloudFormationTemplateCommandInput, GetCloudFormationTemplateCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "ServerlessApplicationRepositoryClient";
72
- const commandName = "GetCloudFormationTemplateCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: GetCloudFormationTemplateRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: GetCloudFormationTemplateResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: GetCloudFormationTemplateCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1GetCloudFormationTemplateCommand(input, context);
90
- }
91
-
92
- private deserialize(
93
- output: __HttpResponse,
94
- context: __SerdeContext
95
- ): Promise<GetCloudFormationTemplateCommandOutput> {
96
- return deserializeAws_restJson1GetCloudFormationTemplateCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,103 +0,0 @@
1
- import {
2
- ServerlessApplicationRepositoryClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ServerlessApplicationRepositoryClient";
6
- import { ListApplicationDependenciesRequest, ListApplicationDependenciesResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1ListApplicationDependenciesCommand,
9
- serializeAws_restJson1ListApplicationDependenciesCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ListApplicationDependenciesCommandInput extends ListApplicationDependenciesRequest {}
25
- export interface ListApplicationDependenciesCommandOutput
26
- extends ListApplicationDependenciesResponse,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <p>Retrieves the list of applications nested in the containing application.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { ServerlessApplicationRepositoryClient, ListApplicationDependenciesCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
35
- * // const { ServerlessApplicationRepositoryClient, ListApplicationDependenciesCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
36
- * const client = new ServerlessApplicationRepositoryClient(config);
37
- * const command = new ListApplicationDependenciesCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link ListApplicationDependenciesCommandInput} for command's `input` shape.
42
- * @see {@link ListApplicationDependenciesCommandOutput} for command's `response` shape.
43
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class ListApplicationDependenciesCommand extends $Command<
47
- ListApplicationDependenciesCommandInput,
48
- ListApplicationDependenciesCommandOutput,
49
- ServerlessApplicationRepositoryClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: ListApplicationDependenciesCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: ServerlessApplicationRepositoryClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<ListApplicationDependenciesCommandInput, ListApplicationDependenciesCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "ServerlessApplicationRepositoryClient";
74
- const commandName = "ListApplicationDependenciesCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: ListApplicationDependenciesRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: ListApplicationDependenciesResponse.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(input: ListApplicationDependenciesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_restJson1ListApplicationDependenciesCommand(input, context);
92
- }
93
-
94
- private deserialize(
95
- output: __HttpResponse,
96
- context: __SerdeContext
97
- ): Promise<ListApplicationDependenciesCommandOutput> {
98
- return deserializeAws_restJson1ListApplicationDependenciesCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }