@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,321 +0,0 @@
1
- import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
2
- import {
3
- CreateApplicationVersionCommandInput,
4
- CreateApplicationVersionCommandOutput,
5
- } from "./commands/CreateApplicationVersionCommand";
6
- import {
7
- CreateCloudFormationChangeSetCommandInput,
8
- CreateCloudFormationChangeSetCommandOutput,
9
- } from "./commands/CreateCloudFormationChangeSetCommand";
10
- import {
11
- CreateCloudFormationTemplateCommandInput,
12
- CreateCloudFormationTemplateCommandOutput,
13
- } from "./commands/CreateCloudFormationTemplateCommand";
14
- import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
15
- import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
16
- import {
17
- GetApplicationPolicyCommandInput,
18
- GetApplicationPolicyCommandOutput,
19
- } from "./commands/GetApplicationPolicyCommand";
20
- import {
21
- GetCloudFormationTemplateCommandInput,
22
- GetCloudFormationTemplateCommandOutput,
23
- } from "./commands/GetCloudFormationTemplateCommand";
24
- import {
25
- ListApplicationDependenciesCommandInput,
26
- ListApplicationDependenciesCommandOutput,
27
- } from "./commands/ListApplicationDependenciesCommand";
28
- import {
29
- ListApplicationVersionsCommandInput,
30
- ListApplicationVersionsCommandOutput,
31
- } from "./commands/ListApplicationVersionsCommand";
32
- import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
33
- import {
34
- PutApplicationPolicyCommandInput,
35
- PutApplicationPolicyCommandOutput,
36
- } from "./commands/PutApplicationPolicyCommand";
37
- import { UnshareApplicationCommandInput, UnshareApplicationCommandOutput } from "./commands/UnshareApplicationCommand";
38
- import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
39
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
40
- import {
41
- EndpointsInputConfig,
42
- EndpointsResolvedConfig,
43
- RegionInputConfig,
44
- RegionResolvedConfig,
45
- resolveEndpointsConfig,
46
- resolveRegionConfig,
47
- } from "@aws-sdk/config-resolver";
48
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
49
- import {
50
- HostHeaderInputConfig,
51
- HostHeaderResolvedConfig,
52
- getHostHeaderPlugin,
53
- resolveHostHeaderConfig,
54
- } from "@aws-sdk/middleware-host-header";
55
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
56
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
57
- import {
58
- AwsAuthInputConfig,
59
- AwsAuthResolvedConfig,
60
- getAwsAuthPlugin,
61
- resolveAwsAuthConfig,
62
- } from "@aws-sdk/middleware-signing";
63
- import {
64
- UserAgentInputConfig,
65
- UserAgentResolvedConfig,
66
- getUserAgentPlugin,
67
- resolveUserAgentConfig,
68
- } from "@aws-sdk/middleware-user-agent";
69
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
70
- import {
71
- Client as __Client,
72
- SmithyConfiguration as __SmithyConfiguration,
73
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
74
- } from "@aws-sdk/smithy-client";
75
- import {
76
- Provider,
77
- RegionInfoProvider,
78
- Credentials as __Credentials,
79
- Decoder as __Decoder,
80
- Encoder as __Encoder,
81
- Hash as __Hash,
82
- HashConstructor as __HashConstructor,
83
- HttpHandlerOptions as __HttpHandlerOptions,
84
- Logger as __Logger,
85
- Provider as __Provider,
86
- StreamCollector as __StreamCollector,
87
- UrlParser as __UrlParser,
88
- UserAgent as __UserAgent,
89
- } from "@aws-sdk/types";
90
-
91
- export type ServiceInputTypes =
92
- | CreateApplicationCommandInput
93
- | CreateApplicationVersionCommandInput
94
- | CreateCloudFormationChangeSetCommandInput
95
- | CreateCloudFormationTemplateCommandInput
96
- | DeleteApplicationCommandInput
97
- | GetApplicationCommandInput
98
- | GetApplicationPolicyCommandInput
99
- | GetCloudFormationTemplateCommandInput
100
- | ListApplicationDependenciesCommandInput
101
- | ListApplicationVersionsCommandInput
102
- | ListApplicationsCommandInput
103
- | PutApplicationPolicyCommandInput
104
- | UnshareApplicationCommandInput
105
- | UpdateApplicationCommandInput;
106
-
107
- export type ServiceOutputTypes =
108
- | CreateApplicationCommandOutput
109
- | CreateApplicationVersionCommandOutput
110
- | CreateCloudFormationChangeSetCommandOutput
111
- | CreateCloudFormationTemplateCommandOutput
112
- | DeleteApplicationCommandOutput
113
- | GetApplicationCommandOutput
114
- | GetApplicationPolicyCommandOutput
115
- | GetCloudFormationTemplateCommandOutput
116
- | ListApplicationDependenciesCommandOutput
117
- | ListApplicationVersionsCommandOutput
118
- | ListApplicationsCommandOutput
119
- | PutApplicationPolicyCommandOutput
120
- | UnshareApplicationCommandOutput
121
- | UpdateApplicationCommandOutput;
122
-
123
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
124
- /**
125
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
126
- */
127
- requestHandler?: __HttpHandler;
128
-
129
- /**
130
- * A constructor for a class implementing the {@link __Hash} interface
131
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
132
- * @internal
133
- */
134
- sha256?: __HashConstructor;
135
-
136
- /**
137
- * The function that will be used to convert strings into HTTP endpoints.
138
- * @internal
139
- */
140
- urlParser?: __UrlParser;
141
-
142
- /**
143
- * A function that can calculate the length of a request body.
144
- * @internal
145
- */
146
- bodyLengthChecker?: (body: any) => number | undefined;
147
-
148
- /**
149
- * A function that converts a stream into an array of bytes.
150
- * @internal
151
- */
152
- streamCollector?: __StreamCollector;
153
-
154
- /**
155
- * The function that will be used to convert a base64-encoded string to a byte array.
156
- * @internal
157
- */
158
- base64Decoder?: __Decoder;
159
-
160
- /**
161
- * The function that will be used to convert binary data to a base64-encoded string.
162
- * @internal
163
- */
164
- base64Encoder?: __Encoder;
165
-
166
- /**
167
- * The function that will be used to convert a UTF8-encoded string to a byte array.
168
- * @internal
169
- */
170
- utf8Decoder?: __Decoder;
171
-
172
- /**
173
- * The function that will be used to convert binary data to a UTF-8 encoded string.
174
- * @internal
175
- */
176
- utf8Encoder?: __Encoder;
177
-
178
- /**
179
- * The runtime environment.
180
- * @internal
181
- */
182
- runtime?: string;
183
-
184
- /**
185
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
186
- * trait of an operation.
187
- */
188
- disableHostPrefix?: boolean;
189
-
190
- /**
191
- * Value for how many times a request will be made at most in case of retry.
192
- */
193
- maxAttempts?: number | __Provider<number>;
194
-
195
- /**
196
- * Specifies which retry algorithm to use.
197
- */
198
- retryMode?: string | __Provider<string>;
199
-
200
- /**
201
- * Optional logger for logging debug/info/warn/error.
202
- */
203
- logger?: __Logger;
204
-
205
- /**
206
- * Unique service identifier.
207
- * @internal
208
- */
209
- serviceId?: string;
210
-
211
- /**
212
- * The AWS region to which this client will send requests
213
- */
214
- region?: string | __Provider<string>;
215
-
216
- /**
217
- * Default credentials provider; Not available in browser runtime.
218
- * @internal
219
- */
220
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
221
-
222
- /**
223
- * Fetch related hostname, signing name or signing region with given region.
224
- * @internal
225
- */
226
- regionInfoProvider?: RegionInfoProvider;
227
-
228
- /**
229
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
230
- * @internal
231
- */
232
- defaultUserAgentProvider?: Provider<__UserAgent>;
233
- }
234
-
235
- type ServerlessApplicationRepositoryClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
236
- ClientDefaults &
237
- RegionInputConfig &
238
- EndpointsInputConfig &
239
- RetryInputConfig &
240
- HostHeaderInputConfig &
241
- AwsAuthInputConfig &
242
- UserAgentInputConfig;
243
- /**
244
- * The configuration interface of ServerlessApplicationRepositoryClient class constructor that set the region, credentials and other options.
245
- */
246
- export interface ServerlessApplicationRepositoryClientConfig extends ServerlessApplicationRepositoryClientConfigType {}
247
-
248
- type ServerlessApplicationRepositoryClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
249
- Required<ClientDefaults> &
250
- RegionResolvedConfig &
251
- EndpointsResolvedConfig &
252
- RetryResolvedConfig &
253
- HostHeaderResolvedConfig &
254
- AwsAuthResolvedConfig &
255
- UserAgentResolvedConfig;
256
- /**
257
- * The resolved configuration interface of ServerlessApplicationRepositoryClient class. This is resolved and normalized from the {@link ServerlessApplicationRepositoryClientConfig | constructor configuration interface}.
258
- */
259
- export interface ServerlessApplicationRepositoryClientResolvedConfig
260
- extends ServerlessApplicationRepositoryClientResolvedConfigType {}
261
-
262
- /**
263
- * <p>The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find
264
- * and deploy serverless applications in the AWS Cloud. For more information about serverless applications,
265
- * 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
266
- * all levels can get started with serverless computing without needing to learn anything new. You can use category
267
- * keywords to browse for applications such as web and mobile backends, data processing applications, or chatbots.
268
- * You can also search for applications by name, publisher, or event source. To use an application, you simply choose it,
269
- * 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
270
- * within your team or across your organization. To publish a serverless application (or app), you can use the
271
- * AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS SDKs to upload the code. Along with the
272
- * code, you upload a simple manifest file, also known as the AWS Serverless Application Model (AWS SAM) template.
273
- * For more information about AWS SAM, see AWS Serverless Application Model (AWS SAM) on the AWS Labs
274
- * GitHub repository.</p><p>The AWS Serverless Application Repository Developer Guide contains more information about the two developer
275
- * experiences available:</p><ul>
276
- * <li>
277
- * <p>Consuming Applications – Browse for applications and view information about them, including
278
- * source code and readme files. Also install, configure, and deploy applications of your choosing. </p>
279
- * <p>Publishing Applications – Configure and upload applications to make them available to other
280
- * developers, and publish new versions of applications. </p>
281
- * </li>
282
- * </ul>
283
- */
284
- export class ServerlessApplicationRepositoryClient extends __Client<
285
- __HttpHandlerOptions,
286
- ServiceInputTypes,
287
- ServiceOutputTypes,
288
- ServerlessApplicationRepositoryClientResolvedConfig
289
- > {
290
- /**
291
- * The resolved configuration of ServerlessApplicationRepositoryClient class. This is resolved and normalized from the {@link ServerlessApplicationRepositoryClientConfig | constructor configuration interface}.
292
- */
293
- readonly config: ServerlessApplicationRepositoryClientResolvedConfig;
294
-
295
- constructor(configuration: ServerlessApplicationRepositoryClientConfig) {
296
- let _config_0 = __getRuntimeConfig(configuration);
297
- let _config_1 = resolveRegionConfig(_config_0);
298
- let _config_2 = resolveEndpointsConfig(_config_1);
299
- let _config_3 = resolveRetryConfig(_config_2);
300
- let _config_4 = resolveHostHeaderConfig(_config_3);
301
- let _config_5 = resolveAwsAuthConfig(_config_4);
302
- let _config_6 = resolveUserAgentConfig(_config_5);
303
- super(_config_6);
304
- this.config = _config_6;
305
- this.middlewareStack.use(getRetryPlugin(this.config));
306
- this.middlewareStack.use(getContentLengthPlugin(this.config));
307
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
308
- this.middlewareStack.use(getLoggerPlugin(this.config));
309
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
310
- this.middlewareStack.use(getUserAgentPlugin(this.config));
311
- }
312
-
313
- /**
314
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
315
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
316
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
317
- */
318
- destroy(): void {
319
- super.destroy();
320
- }
321
- }
@@ -1,98 +0,0 @@
1
- import {
2
- ServerlessApplicationRepositoryClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ServerlessApplicationRepositoryClient";
6
- import { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1CreateApplicationCommand,
9
- serializeAws_restJson1CreateApplicationCommand,
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 CreateApplicationCommandInput extends CreateApplicationRequest {}
25
- export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Creates an application, optionally including an AWS SAM file to create the first application version in the same call.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ServerlessApplicationRepositoryClient, CreateApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
33
- * // const { ServerlessApplicationRepositoryClient, CreateApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
34
- * const client = new ServerlessApplicationRepositoryClient(config);
35
- * const command = new CreateApplicationCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link CreateApplicationCommandInput} for command's `input` shape.
40
- * @see {@link CreateApplicationCommandOutput} for command's `response` shape.
41
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class CreateApplicationCommand extends $Command<
45
- CreateApplicationCommandInput,
46
- CreateApplicationCommandOutput,
47
- ServerlessApplicationRepositoryClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: CreateApplicationCommandInput) {
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<CreateApplicationCommandInput, CreateApplicationCommandOutput> {
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 = "CreateApplicationCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: CreateApplicationRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: CreateApplicationResponse.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: CreateApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1CreateApplicationCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateApplicationCommandOutput> {
93
- return deserializeAws_restJson1CreateApplicationCommand(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 { CreateApplicationVersionRequest, CreateApplicationVersionResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1CreateApplicationVersionCommand,
9
- serializeAws_restJson1CreateApplicationVersionCommand,
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 CreateApplicationVersionCommandInput extends CreateApplicationVersionRequest {}
25
- export interface CreateApplicationVersionCommandOutput extends CreateApplicationVersionResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Creates an application version.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ServerlessApplicationRepositoryClient, CreateApplicationVersionCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
33
- * // const { ServerlessApplicationRepositoryClient, CreateApplicationVersionCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
34
- * const client = new ServerlessApplicationRepositoryClient(config);
35
- * const command = new CreateApplicationVersionCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link CreateApplicationVersionCommandInput} for command's `input` shape.
40
- * @see {@link CreateApplicationVersionCommandOutput} for command's `response` shape.
41
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class CreateApplicationVersionCommand extends $Command<
45
- CreateApplicationVersionCommandInput,
46
- CreateApplicationVersionCommandOutput,
47
- ServerlessApplicationRepositoryClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: CreateApplicationVersionCommandInput) {
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<CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput> {
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 = "CreateApplicationVersionCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: CreateApplicationVersionRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: CreateApplicationVersionResponse.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: CreateApplicationVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1CreateApplicationVersionCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateApplicationVersionCommandOutput> {
93
- return deserializeAws_restJson1CreateApplicationVersionCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,103 +0,0 @@
1
- import {
2
- ServerlessApplicationRepositoryClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ServerlessApplicationRepositoryClient";
6
- import { CreateCloudFormationChangeSetRequest, CreateCloudFormationChangeSetResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1CreateCloudFormationChangeSetCommand,
9
- serializeAws_restJson1CreateCloudFormationChangeSetCommand,
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 CreateCloudFormationChangeSetCommandInput extends CreateCloudFormationChangeSetRequest {}
25
- export interface CreateCloudFormationChangeSetCommandOutput
26
- extends CreateCloudFormationChangeSetResponse,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <p>Creates an AWS CloudFormation change set for the given 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, CreateCloudFormationChangeSetCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
35
- * // const { ServerlessApplicationRepositoryClient, CreateCloudFormationChangeSetCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
36
- * const client = new ServerlessApplicationRepositoryClient(config);
37
- * const command = new CreateCloudFormationChangeSetCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link CreateCloudFormationChangeSetCommandInput} for command's `input` shape.
42
- * @see {@link CreateCloudFormationChangeSetCommandOutput} for command's `response` shape.
43
- * @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class CreateCloudFormationChangeSetCommand extends $Command<
47
- CreateCloudFormationChangeSetCommandInput,
48
- CreateCloudFormationChangeSetCommandOutput,
49
- ServerlessApplicationRepositoryClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: CreateCloudFormationChangeSetCommandInput) {
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<CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput> {
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 = "CreateCloudFormationChangeSetCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: CreateCloudFormationChangeSetRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: CreateCloudFormationChangeSetResponse.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: CreateCloudFormationChangeSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_restJson1CreateCloudFormationChangeSetCommand(input, context);
92
- }
93
-
94
- private deserialize(
95
- output: __HttpResponse,
96
- context: __SerdeContext
97
- ): Promise<CreateCloudFormationChangeSetCommandOutput> {
98
- return deserializeAws_restJson1CreateCloudFormationChangeSetCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }