@aws-sdk/client-serverlessapplicationrepository 3.1075.0 → 3.1076.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +854 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -49
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/ServerlessApplicationRepositoryServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -97
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -550
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultServerlessApplicationRepositoryHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "serverlessrepo",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultServerlessApplicationRepositoryHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,744 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
85
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
|
|
86
|
+
],
|
|
87
|
+
results: [
|
|
88
|
+
[a],
|
|
89
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
90
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
91
|
+
[g, i],
|
|
92
|
+
["https://serverlessrepo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
93
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
94
|
+
["https://serverlessrepo.{Region}.amazonaws.com", i],
|
|
95
|
+
["https://serverlessrepo-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
96
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
97
|
+
["https://serverlessrepo.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
98
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
99
|
+
["https://serverlessrepo.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
100
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
101
|
+
]
|
|
102
|
+
};
|
|
103
|
+
const root = 2;
|
|
104
|
+
const r = 100_000_000;
|
|
105
|
+
const nodes = new Int32Array([
|
|
106
|
+
-1, 1, -1,
|
|
107
|
+
0, 13, 3,
|
|
108
|
+
1, 4, r + 12,
|
|
109
|
+
2, 5, r + 12,
|
|
110
|
+
3, 8, 6,
|
|
111
|
+
4, 7, r + 11,
|
|
112
|
+
5, r + 9, r + 10,
|
|
113
|
+
4, 11, 9,
|
|
114
|
+
6, 10, r + 8,
|
|
115
|
+
7, r + 6, r + 7,
|
|
116
|
+
5, 12, r + 5,
|
|
117
|
+
6, r + 4, r + 5,
|
|
118
|
+
3, r + 1, 14,
|
|
119
|
+
4, r + 2, r + 3,
|
|
120
|
+
]);
|
|
121
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
122
|
+
|
|
123
|
+
const cache = new EndpointCache({
|
|
124
|
+
size: 50,
|
|
125
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
126
|
+
});
|
|
127
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
128
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
129
|
+
endpointParams: endpointParams,
|
|
130
|
+
logger: context.logger,
|
|
131
|
+
}));
|
|
132
|
+
};
|
|
133
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
134
|
+
|
|
135
|
+
class ServerlessApplicationRepositoryServiceException extends ServiceException {
|
|
136
|
+
constructor(options) {
|
|
137
|
+
super(options);
|
|
138
|
+
Object.setPrototypeOf(this, ServerlessApplicationRepositoryServiceException.prototype);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
class BadRequestException extends ServerlessApplicationRepositoryServiceException {
|
|
143
|
+
name = "BadRequestException";
|
|
144
|
+
$fault = "client";
|
|
145
|
+
ErrorCode;
|
|
146
|
+
Message;
|
|
147
|
+
constructor(opts) {
|
|
148
|
+
super({
|
|
149
|
+
name: "BadRequestException",
|
|
150
|
+
$fault: "client",
|
|
151
|
+
...opts,
|
|
152
|
+
});
|
|
153
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
154
|
+
this.ErrorCode = opts.ErrorCode;
|
|
155
|
+
this.Message = opts.Message;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
class ConflictException extends ServerlessApplicationRepositoryServiceException {
|
|
159
|
+
name = "ConflictException";
|
|
160
|
+
$fault = "client";
|
|
161
|
+
ErrorCode;
|
|
162
|
+
Message;
|
|
163
|
+
constructor(opts) {
|
|
164
|
+
super({
|
|
165
|
+
name: "ConflictException",
|
|
166
|
+
$fault: "client",
|
|
167
|
+
...opts,
|
|
168
|
+
});
|
|
169
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
170
|
+
this.ErrorCode = opts.ErrorCode;
|
|
171
|
+
this.Message = opts.Message;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
class ForbiddenException extends ServerlessApplicationRepositoryServiceException {
|
|
175
|
+
name = "ForbiddenException";
|
|
176
|
+
$fault = "client";
|
|
177
|
+
ErrorCode;
|
|
178
|
+
Message;
|
|
179
|
+
constructor(opts) {
|
|
180
|
+
super({
|
|
181
|
+
name: "ForbiddenException",
|
|
182
|
+
$fault: "client",
|
|
183
|
+
...opts,
|
|
184
|
+
});
|
|
185
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
186
|
+
this.ErrorCode = opts.ErrorCode;
|
|
187
|
+
this.Message = opts.Message;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
class InternalServerErrorException extends ServerlessApplicationRepositoryServiceException {
|
|
191
|
+
name = "InternalServerErrorException";
|
|
192
|
+
$fault = "server";
|
|
193
|
+
ErrorCode;
|
|
194
|
+
Message;
|
|
195
|
+
constructor(opts) {
|
|
196
|
+
super({
|
|
197
|
+
name: "InternalServerErrorException",
|
|
198
|
+
$fault: "server",
|
|
199
|
+
...opts,
|
|
200
|
+
});
|
|
201
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
202
|
+
this.ErrorCode = opts.ErrorCode;
|
|
203
|
+
this.Message = opts.Message;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
class TooManyRequestsException extends ServerlessApplicationRepositoryServiceException {
|
|
207
|
+
name = "TooManyRequestsException";
|
|
208
|
+
$fault = "client";
|
|
209
|
+
ErrorCode;
|
|
210
|
+
Message;
|
|
211
|
+
constructor(opts) {
|
|
212
|
+
super({
|
|
213
|
+
name: "TooManyRequestsException",
|
|
214
|
+
$fault: "client",
|
|
215
|
+
...opts,
|
|
216
|
+
});
|
|
217
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
218
|
+
this.ErrorCode = opts.ErrorCode;
|
|
219
|
+
this.Message = opts.Message;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
class NotFoundException extends ServerlessApplicationRepositoryServiceException {
|
|
223
|
+
name = "NotFoundException";
|
|
224
|
+
$fault = "client";
|
|
225
|
+
ErrorCode;
|
|
226
|
+
Message;
|
|
227
|
+
constructor(opts) {
|
|
228
|
+
super({
|
|
229
|
+
name: "NotFoundException",
|
|
230
|
+
$fault: "client",
|
|
231
|
+
...opts,
|
|
232
|
+
});
|
|
233
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
234
|
+
this.ErrorCode = opts.ErrorCode;
|
|
235
|
+
this.Message = opts.Message;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
const _A = "Actions";
|
|
240
|
+
const _ADS = "ApplicationDependencySummary";
|
|
241
|
+
const _AI = "ApplicationId";
|
|
242
|
+
const _AP = "AllowedPattern";
|
|
243
|
+
const _APS = "ApplicationPolicyStatement";
|
|
244
|
+
const _AS = "ApplicationSummary";
|
|
245
|
+
const _AV = "AllowedValues";
|
|
246
|
+
const _Ap = "Applications";
|
|
247
|
+
const _Ar = "Arn";
|
|
248
|
+
const _Au = "Author";
|
|
249
|
+
const _BRE = "BadRequestException";
|
|
250
|
+
const _C = "Capabilities";
|
|
251
|
+
const _CA = "CreateApplication";
|
|
252
|
+
const _CAR = "CreateApplicationRequest";
|
|
253
|
+
const _CARr = "CreateApplicationResponse";
|
|
254
|
+
const _CAV = "CreateApplicationVersion";
|
|
255
|
+
const _CAVR = "CreateApplicationVersionRequest";
|
|
256
|
+
const _CAVRr = "CreateApplicationVersionResponse";
|
|
257
|
+
const _CCFCS = "CreateCloudFormationChangeSet";
|
|
258
|
+
const _CCFCSR = "CreateCloudFormationChangeSetRequest";
|
|
259
|
+
const _CCFCSRr = "CreateCloudFormationChangeSetResponse";
|
|
260
|
+
const _CCFT = "CreateCloudFormationTemplate";
|
|
261
|
+
const _CCFTR = "CreateCloudFormationTemplateRequest";
|
|
262
|
+
const _CCFTRr = "CreateCloudFormationTemplateResponse";
|
|
263
|
+
const _CD = "ConstraintDescription";
|
|
264
|
+
const _CE = "ConflictException";
|
|
265
|
+
const _CSI = "ChangeSetId";
|
|
266
|
+
const _CSN = "ChangeSetName";
|
|
267
|
+
const _CT = "CreationTime";
|
|
268
|
+
const _CTl = "ClientToken";
|
|
269
|
+
const _D = "Description";
|
|
270
|
+
const _DA = "DeleteApplication";
|
|
271
|
+
const _DAR = "DeleteApplicationRequest";
|
|
272
|
+
const _DV = "DefaultValue";
|
|
273
|
+
const _De = "Dependencies";
|
|
274
|
+
const _EC = "ErrorCode";
|
|
275
|
+
const _ET = "ExpirationTime";
|
|
276
|
+
const _FE = "ForbiddenException";
|
|
277
|
+
const _GA = "GetApplication";
|
|
278
|
+
const _GAP = "GetApplicationPolicy";
|
|
279
|
+
const _GAPR = "GetApplicationPolicyRequest";
|
|
280
|
+
const _GAPRe = "GetApplicationPolicyResponse";
|
|
281
|
+
const _GAR = "GetApplicationRequest";
|
|
282
|
+
const _GARe = "GetApplicationResponse";
|
|
283
|
+
const _GCFT = "GetCloudFormationTemplate";
|
|
284
|
+
const _GCFTR = "GetCloudFormationTemplateRequest";
|
|
285
|
+
const _GCFTRe = "GetCloudFormationTemplateResponse";
|
|
286
|
+
const _HPU = "HomePageUrl";
|
|
287
|
+
const _ISEE = "InternalServerErrorException";
|
|
288
|
+
const _IVA = "IsVerifiedAuthor";
|
|
289
|
+
const _K = "Key";
|
|
290
|
+
const _L = "Labels";
|
|
291
|
+
const _LA = "ListApplications";
|
|
292
|
+
const _LAD = "ListApplicationDependencies";
|
|
293
|
+
const _LADR = "ListApplicationDependenciesRequest";
|
|
294
|
+
const _LADRi = "ListApplicationDependenciesResponse";
|
|
295
|
+
const _LAR = "ListApplicationsRequest";
|
|
296
|
+
const _LARi = "ListApplicationsResponse";
|
|
297
|
+
const _LAV = "ListApplicationVersions";
|
|
298
|
+
const _LAVR = "ListApplicationVersionsRequest";
|
|
299
|
+
const _LAVRi = "ListApplicationVersionsResponse";
|
|
300
|
+
const _LB = "LicenseBody";
|
|
301
|
+
const _LU = "LicenseUrl";
|
|
302
|
+
const _M = "Message";
|
|
303
|
+
const _MI = "MaxItems";
|
|
304
|
+
const _ML = "MaxLength";
|
|
305
|
+
const _MLi = "MinLength";
|
|
306
|
+
const _MTIM = "MonitoringTimeInMinutes";
|
|
307
|
+
const _MV = "MaxValue";
|
|
308
|
+
const _MVi = "MinValue";
|
|
309
|
+
const _N = "Name";
|
|
310
|
+
const _NA = "NotificationArns";
|
|
311
|
+
const _NE = "NoEcho";
|
|
312
|
+
const _NFE = "NotFoundException";
|
|
313
|
+
const _NT = "NextToken";
|
|
314
|
+
const _OI = "OrganizationId";
|
|
315
|
+
const _P = "Principals";
|
|
316
|
+
const _PAP = "PutApplicationPolicy";
|
|
317
|
+
const _PAPR = "PutApplicationPolicyRequest";
|
|
318
|
+
const _PAPRu = "PutApplicationPolicyResponse";
|
|
319
|
+
const _PD = "ParameterDefinitions";
|
|
320
|
+
const _PDa = "ParameterDefinition";
|
|
321
|
+
const _PO = "ParameterOverrides";
|
|
322
|
+
const _POID = "PrincipalOrgIDs";
|
|
323
|
+
const _PV = "ParameterValue";
|
|
324
|
+
const _RB = "ReadmeBody";
|
|
325
|
+
const _RBR = "ReferencedByResources";
|
|
326
|
+
const _RC = "RequiredCapabilities";
|
|
327
|
+
const _RCo = "RollbackConfiguration";
|
|
328
|
+
const _RS = "ResourcesSupported";
|
|
329
|
+
const _RT = "ResourceTypes";
|
|
330
|
+
const _RTo = "RollbackTriggers";
|
|
331
|
+
const _RTol = "RollbackTrigger";
|
|
332
|
+
const _RU = "ReadmeUrl";
|
|
333
|
+
const _S = "Status";
|
|
334
|
+
const _SCAU = "SourceCodeArchiveUrl";
|
|
335
|
+
const _SCU = "SourceCodeUrl";
|
|
336
|
+
const _SI = "StatementId";
|
|
337
|
+
const _SIt = "StackId";
|
|
338
|
+
const _SLI = "SpdxLicenseId";
|
|
339
|
+
const _SN = "StackName";
|
|
340
|
+
const _SV = "SemanticVersion";
|
|
341
|
+
const _St = "Statements";
|
|
342
|
+
const _T = "Tags";
|
|
343
|
+
const _TB = "TemplateBody";
|
|
344
|
+
const _TI = "TemplateId";
|
|
345
|
+
const _TMRE = "TooManyRequestsException";
|
|
346
|
+
const _TU = "TemplateUrl";
|
|
347
|
+
const _Ta = "Tag";
|
|
348
|
+
const _Ty = "Type";
|
|
349
|
+
const _UA = "UnshareApplication";
|
|
350
|
+
const _UAR = "UnshareApplicationRequest";
|
|
351
|
+
const _UARp = "UpdateApplicationRequest";
|
|
352
|
+
const _UARpd = "UpdateApplicationResponse";
|
|
353
|
+
const _UAp = "UpdateApplication";
|
|
354
|
+
const _V = "Version";
|
|
355
|
+
const _VAU = "VerifiedAuthorUrl";
|
|
356
|
+
const _VS = "VersionSummary";
|
|
357
|
+
const _Va = "Value";
|
|
358
|
+
const _Ve = "Versions";
|
|
359
|
+
const _a = "actions";
|
|
360
|
+
const _aI = "applicationId";
|
|
361
|
+
const _aP = "allowedPattern";
|
|
362
|
+
const _aV = "allowedValues";
|
|
363
|
+
const _ap = "applications";
|
|
364
|
+
const _ar = "arn";
|
|
365
|
+
const _au = "author";
|
|
366
|
+
const _c = "client";
|
|
367
|
+
const _cD = "constraintDescription";
|
|
368
|
+
const _cSI = "changeSetId";
|
|
369
|
+
const _cSN = "changeSetName";
|
|
370
|
+
const _cT = "creationTime";
|
|
371
|
+
const _cTl = "clientToken";
|
|
372
|
+
const _ca = "capabilities";
|
|
373
|
+
const _d = "description";
|
|
374
|
+
const _dV = "defaultValue";
|
|
375
|
+
const _de = "dependencies";
|
|
376
|
+
const _e = "error";
|
|
377
|
+
const _eC = "errorCode";
|
|
378
|
+
const _eT = "expirationTime";
|
|
379
|
+
const _h = "http";
|
|
380
|
+
const _hE = "httpError";
|
|
381
|
+
const _hPU = "homePageUrl";
|
|
382
|
+
const _hQ = "httpQuery";
|
|
383
|
+
const _iVA = "isVerifiedAuthor";
|
|
384
|
+
const _jN = "jsonName";
|
|
385
|
+
const _k = "key";
|
|
386
|
+
const _l = "labels";
|
|
387
|
+
const _lB = "licenseBody";
|
|
388
|
+
const _lOADS = "__listOfApplicationDependencySummary";
|
|
389
|
+
const _lOAPS = "__listOfApplicationPolicyStatement";
|
|
390
|
+
const _lOAS = "__listOfApplicationSummary";
|
|
391
|
+
const _lOPD = "__listOfParameterDefinition";
|
|
392
|
+
const _lOPV = "__listOfParameterValue";
|
|
393
|
+
const _lORT = "__listOfRollbackTrigger";
|
|
394
|
+
const _lOT = "__listOfTag";
|
|
395
|
+
const _lOVS = "__listOfVersionSummary";
|
|
396
|
+
const _lU = "licenseUrl";
|
|
397
|
+
const _m = "message";
|
|
398
|
+
const _mI = "maxItems";
|
|
399
|
+
const _mL = "maxLength";
|
|
400
|
+
const _mLi = "minLength";
|
|
401
|
+
const _mTIM = "monitoringTimeInMinutes";
|
|
402
|
+
const _mV = "maxValue";
|
|
403
|
+
const _mVi = "minValue";
|
|
404
|
+
const _n = "name";
|
|
405
|
+
const _nA = "notificationArns";
|
|
406
|
+
const _nE = "noEcho";
|
|
407
|
+
const _nT = "nextToken";
|
|
408
|
+
const _oI = "organizationId";
|
|
409
|
+
const _p = "principals";
|
|
410
|
+
const _pD = "parameterDefinitions";
|
|
411
|
+
const _pO = "parameterOverrides";
|
|
412
|
+
const _pOID = "principalOrgIDs";
|
|
413
|
+
const _rB = "readmeBody";
|
|
414
|
+
const _rBR = "referencedByResources";
|
|
415
|
+
const _rC = "requiredCapabilities";
|
|
416
|
+
const _rCo = "rollbackConfiguration";
|
|
417
|
+
const _rS = "resourcesSupported";
|
|
418
|
+
const _rT = "resourceTypes";
|
|
419
|
+
const _rTo = "rollbackTriggers";
|
|
420
|
+
const _rU = "readmeUrl";
|
|
421
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.serverlessapplicationrepository";
|
|
422
|
+
const _sCAU = "sourceCodeArchiveUrl";
|
|
423
|
+
const _sCU = "sourceCodeUrl";
|
|
424
|
+
const _sI = "statementId";
|
|
425
|
+
const _sIt = "stackId";
|
|
426
|
+
const _sLI = "spdxLicenseId";
|
|
427
|
+
const _sN = "stackName";
|
|
428
|
+
const _sV = "semanticVersion";
|
|
429
|
+
const _se = "server";
|
|
430
|
+
const _st = "status";
|
|
431
|
+
const _sta = "statements";
|
|
432
|
+
const _t = "tags";
|
|
433
|
+
const _tB = "templateBody";
|
|
434
|
+
const _tI = "templateId";
|
|
435
|
+
const _tU = "templateUrl";
|
|
436
|
+
const _ty = "type";
|
|
437
|
+
const _v = "version";
|
|
438
|
+
const _vAU = "verifiedAuthorUrl";
|
|
439
|
+
const _va = "value";
|
|
440
|
+
const _ve = "versions";
|
|
441
|
+
const n0 = "com.amazonaws.serverlessapplicationrepository";
|
|
442
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
443
|
+
var ServerlessApplicationRepositoryServiceException$ = [-3, _s, "ServerlessApplicationRepositoryServiceException", 0, [], []];
|
|
444
|
+
_s_registry.registerError(ServerlessApplicationRepositoryServiceException$, ServerlessApplicationRepositoryServiceException);
|
|
445
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
446
|
+
var BadRequestException$ = [-3, n0, _BRE,
|
|
447
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
448
|
+
[_EC, _M],
|
|
449
|
+
[[0, { [_jN]: _eC }], [0, { [_jN]: _m }]]
|
|
450
|
+
];
|
|
451
|
+
n0_registry.registerError(BadRequestException$, BadRequestException);
|
|
452
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
453
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
454
|
+
[_EC, _M],
|
|
455
|
+
[[0, { [_jN]: _eC }], [0, { [_jN]: _m }]]
|
|
456
|
+
];
|
|
457
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
458
|
+
var ForbiddenException$ = [-3, n0, _FE,
|
|
459
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
460
|
+
[_EC, _M],
|
|
461
|
+
[[0, { [_jN]: _eC }], [0, { [_jN]: _m }]]
|
|
462
|
+
];
|
|
463
|
+
n0_registry.registerError(ForbiddenException$, ForbiddenException);
|
|
464
|
+
var InternalServerErrorException$ = [-3, n0, _ISEE,
|
|
465
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
466
|
+
[_EC, _M],
|
|
467
|
+
[[0, { [_jN]: _eC }], [0, { [_jN]: _m }]]
|
|
468
|
+
];
|
|
469
|
+
n0_registry.registerError(InternalServerErrorException$, InternalServerErrorException);
|
|
470
|
+
var NotFoundException$ = [-3, n0, _NFE,
|
|
471
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
472
|
+
[_EC, _M],
|
|
473
|
+
[[0, { [_jN]: _eC }], [0, { [_jN]: _m }]]
|
|
474
|
+
];
|
|
475
|
+
n0_registry.registerError(NotFoundException$, NotFoundException);
|
|
476
|
+
var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
477
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
478
|
+
[_EC, _M],
|
|
479
|
+
[[0, { [_jN]: _eC }], [0, { [_jN]: _m }]]
|
|
480
|
+
];
|
|
481
|
+
n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
482
|
+
const errorTypeRegistries = [
|
|
483
|
+
_s_registry,
|
|
484
|
+
n0_registry,
|
|
485
|
+
];
|
|
486
|
+
var ApplicationDependencySummary$ = [3, n0, _ADS,
|
|
487
|
+
0,
|
|
488
|
+
[_AI, _SV],
|
|
489
|
+
[[0, { [_jN]: _aI }], [0, { [_jN]: _sV }]], 2
|
|
490
|
+
];
|
|
491
|
+
var ApplicationPolicyStatement$ = [3, n0, _APS,
|
|
492
|
+
0,
|
|
493
|
+
[_A, _P, _POID, _SI],
|
|
494
|
+
[[64 | 0, { [_jN]: _a }], [64 | 0, { [_jN]: _p }], [64 | 0, { [_jN]: _pOID }], [0, { [_jN]: _sI }]], 2
|
|
495
|
+
];
|
|
496
|
+
var ApplicationSummary$ = [3, n0, _AS,
|
|
497
|
+
0,
|
|
498
|
+
[_AI, _Au, _D, _N, _CT, _HPU, _L, _SLI],
|
|
499
|
+
[[0, { [_jN]: _aI }], [0, { [_jN]: _au }], [0, { [_jN]: _d }], [0, { [_jN]: _n }], [0, { [_jN]: _cT }], [0, { [_jN]: _hPU }], [64 | 0, { [_jN]: _l }], [0, { [_jN]: _sLI }]], 4
|
|
500
|
+
];
|
|
501
|
+
var CreateApplicationRequest$ = [3, n0, _CAR,
|
|
502
|
+
0,
|
|
503
|
+
[_Au, _D, _N, _HPU, _L, _LB, _LU, _RB, _RU, _SV, _SCAU, _SCU, _SLI, _TB, _TU],
|
|
504
|
+
[[0, { [_jN]: _au }], [0, { [_jN]: _d }], [0, { [_jN]: _n }], [0, { [_jN]: _hPU }], [64 | 0, { [_jN]: _l }], [0, { [_jN]: _lB }], [0, { [_jN]: _lU }], [0, { [_jN]: _rB }], [0, { [_jN]: _rU }], [0, { [_jN]: _sV }], [0, { [_jN]: _sCAU }], [0, { [_jN]: _sCU }], [0, { [_jN]: _sLI }], [0, { [_jN]: _tB }], [0, { [_jN]: _tU }]], 3
|
|
505
|
+
];
|
|
506
|
+
var CreateApplicationResponse$ = [3, n0, _CARr,
|
|
507
|
+
0,
|
|
508
|
+
[_AI, _Au, _CT, _D, _HPU, _IVA, _L, _LU, _N, _RU, _SLI, _VAU, _V],
|
|
509
|
+
[[0, { [_jN]: _aI }], [0, { [_jN]: _au }], [0, { [_jN]: _cT }], [0, { [_jN]: _d }], [0, { [_jN]: _hPU }], [2, { [_jN]: _iVA }], [64 | 0, { [_jN]: _l }], [0, { [_jN]: _lU }], [0, { [_jN]: _n }], [0, { [_jN]: _rU }], [0, { [_jN]: _sLI }], [0, { [_jN]: _vAU }], [() => Version$, { [_jN]: _v }]]
|
|
510
|
+
];
|
|
511
|
+
var CreateApplicationVersionRequest$ = [3, n0, _CAVR,
|
|
512
|
+
0,
|
|
513
|
+
[_AI, _SV, _SCAU, _SCU, _TB, _TU],
|
|
514
|
+
[[0, 1], [0, 1], [0, { [_jN]: _sCAU }], [0, { [_jN]: _sCU }], [0, { [_jN]: _tB }], [0, { [_jN]: _tU }]], 2
|
|
515
|
+
];
|
|
516
|
+
var CreateApplicationVersionResponse$ = [3, n0, _CAVRr,
|
|
517
|
+
0,
|
|
518
|
+
[_AI, _CT, _PD, _RC, _RS, _SV, _SCAU, _SCU, _TU],
|
|
519
|
+
[[0, { [_jN]: _aI }], [0, { [_jN]: _cT }], [() => __listOfParameterDefinition, { [_jN]: _pD }], [64 | 0, { [_jN]: _rC }], [2, { [_jN]: _rS }], [0, { [_jN]: _sV }], [0, { [_jN]: _sCAU }], [0, { [_jN]: _sCU }], [0, { [_jN]: _tU }]]
|
|
520
|
+
];
|
|
521
|
+
var CreateCloudFormationChangeSetRequest$ = [3, n0, _CCFCSR,
|
|
522
|
+
0,
|
|
523
|
+
[_AI, _SN, _C, _CSN, _CTl, _D, _NA, _PO, _RT, _RCo, _SV, _T, _TI],
|
|
524
|
+
[[0, 1], [0, { [_jN]: _sN }], [64 | 0, { [_jN]: _ca }], [0, { [_jN]: _cSN }], [0, { [_jN]: _cTl }], [0, { [_jN]: _d }], [64 | 0, { [_jN]: _nA }], [() => __listOfParameterValue, { [_jN]: _pO }], [64 | 0, { [_jN]: _rT }], [() => RollbackConfiguration$, { [_jN]: _rCo }], [0, { [_jN]: _sV }], [() => __listOfTag, { [_jN]: _t }], [0, { [_jN]: _tI }]], 2
|
|
525
|
+
];
|
|
526
|
+
var CreateCloudFormationChangeSetResponse$ = [3, n0, _CCFCSRr,
|
|
527
|
+
0,
|
|
528
|
+
[_AI, _CSI, _SV, _SIt],
|
|
529
|
+
[[0, { [_jN]: _aI }], [0, { [_jN]: _cSI }], [0, { [_jN]: _sV }], [0, { [_jN]: _sIt }]]
|
|
530
|
+
];
|
|
531
|
+
var CreateCloudFormationTemplateRequest$ = [3, n0, _CCFTR,
|
|
532
|
+
0,
|
|
533
|
+
[_AI, _SV],
|
|
534
|
+
[[0, 1], [0, { [_jN]: _sV }]], 1
|
|
535
|
+
];
|
|
536
|
+
var CreateCloudFormationTemplateResponse$ = [3, n0, _CCFTRr,
|
|
537
|
+
0,
|
|
538
|
+
[_AI, _CT, _ET, _SV, _S, _TI, _TU],
|
|
539
|
+
[[0, { [_jN]: _aI }], [0, { [_jN]: _cT }], [0, { [_jN]: _eT }], [0, { [_jN]: _sV }], [0, { [_jN]: _st }], [0, { [_jN]: _tI }], [0, { [_jN]: _tU }]]
|
|
540
|
+
];
|
|
541
|
+
var DeleteApplicationRequest$ = [3, n0, _DAR,
|
|
542
|
+
0,
|
|
543
|
+
[_AI],
|
|
544
|
+
[[0, 1]], 1
|
|
545
|
+
];
|
|
546
|
+
var GetApplicationPolicyRequest$ = [3, n0, _GAPR,
|
|
547
|
+
0,
|
|
548
|
+
[_AI],
|
|
549
|
+
[[0, 1]], 1
|
|
550
|
+
];
|
|
551
|
+
var GetApplicationPolicyResponse$ = [3, n0, _GAPRe,
|
|
552
|
+
0,
|
|
553
|
+
[_St],
|
|
554
|
+
[[() => __listOfApplicationPolicyStatement, { [_jN]: _sta }]]
|
|
555
|
+
];
|
|
556
|
+
var GetApplicationRequest$ = [3, n0, _GAR,
|
|
557
|
+
0,
|
|
558
|
+
[_AI, _SV],
|
|
559
|
+
[[0, 1], [0, { [_hQ]: _sV }]], 1
|
|
560
|
+
];
|
|
561
|
+
var GetApplicationResponse$ = [3, n0, _GARe,
|
|
562
|
+
0,
|
|
563
|
+
[_AI, _Au, _CT, _D, _HPU, _IVA, _L, _LU, _N, _RU, _SLI, _VAU, _V],
|
|
564
|
+
[[0, { [_jN]: _aI }], [0, { [_jN]: _au }], [0, { [_jN]: _cT }], [0, { [_jN]: _d }], [0, { [_jN]: _hPU }], [2, { [_jN]: _iVA }], [64 | 0, { [_jN]: _l }], [0, { [_jN]: _lU }], [0, { [_jN]: _n }], [0, { [_jN]: _rU }], [0, { [_jN]: _sLI }], [0, { [_jN]: _vAU }], [() => Version$, { [_jN]: _v }]]
|
|
565
|
+
];
|
|
566
|
+
var GetCloudFormationTemplateRequest$ = [3, n0, _GCFTR,
|
|
567
|
+
0,
|
|
568
|
+
[_AI, _TI],
|
|
569
|
+
[[0, 1], [0, 1]], 2
|
|
570
|
+
];
|
|
571
|
+
var GetCloudFormationTemplateResponse$ = [3, n0, _GCFTRe,
|
|
572
|
+
0,
|
|
573
|
+
[_AI, _CT, _ET, _SV, _S, _TI, _TU],
|
|
574
|
+
[[0, { [_jN]: _aI }], [0, { [_jN]: _cT }], [0, { [_jN]: _eT }], [0, { [_jN]: _sV }], [0, { [_jN]: _st }], [0, { [_jN]: _tI }], [0, { [_jN]: _tU }]]
|
|
575
|
+
];
|
|
576
|
+
var ListApplicationDependenciesRequest$ = [3, n0, _LADR,
|
|
577
|
+
0,
|
|
578
|
+
[_AI, _MI, _NT, _SV],
|
|
579
|
+
[[0, 1], [1, { [_hQ]: _mI }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _sV }]], 1
|
|
580
|
+
];
|
|
581
|
+
var ListApplicationDependenciesResponse$ = [3, n0, _LADRi,
|
|
582
|
+
0,
|
|
583
|
+
[_De, _NT],
|
|
584
|
+
[[() => __listOfApplicationDependencySummary, { [_jN]: _de }], [0, { [_jN]: _nT }]]
|
|
585
|
+
];
|
|
586
|
+
var ListApplicationsRequest$ = [3, n0, _LAR,
|
|
587
|
+
0,
|
|
588
|
+
[_MI, _NT],
|
|
589
|
+
[[1, { [_hQ]: _mI }], [0, { [_hQ]: _nT }]]
|
|
590
|
+
];
|
|
591
|
+
var ListApplicationsResponse$ = [3, n0, _LARi,
|
|
592
|
+
0,
|
|
593
|
+
[_Ap, _NT],
|
|
594
|
+
[[() => __listOfApplicationSummary, { [_jN]: _ap }], [0, { [_jN]: _nT }]]
|
|
595
|
+
];
|
|
596
|
+
var ListApplicationVersionsRequest$ = [3, n0, _LAVR,
|
|
597
|
+
0,
|
|
598
|
+
[_AI, _MI, _NT],
|
|
599
|
+
[[0, 1], [1, { [_hQ]: _mI }], [0, { [_hQ]: _nT }]], 1
|
|
600
|
+
];
|
|
601
|
+
var ListApplicationVersionsResponse$ = [3, n0, _LAVRi,
|
|
602
|
+
0,
|
|
603
|
+
[_NT, _Ve],
|
|
604
|
+
[[0, { [_jN]: _nT }], [() => __listOfVersionSummary, { [_jN]: _ve }]]
|
|
605
|
+
];
|
|
606
|
+
var ParameterDefinition$ = [3, n0, _PDa,
|
|
607
|
+
0,
|
|
608
|
+
[_N, _RBR, _AP, _AV, _CD, _DV, _D, _ML, _MV, _MLi, _MVi, _NE, _Ty],
|
|
609
|
+
[[0, { [_jN]: _n }], [64 | 0, { [_jN]: _rBR }], [0, { [_jN]: _aP }], [64 | 0, { [_jN]: _aV }], [0, { [_jN]: _cD }], [0, { [_jN]: _dV }], [0, { [_jN]: _d }], [1, { [_jN]: _mL }], [1, { [_jN]: _mV }], [1, { [_jN]: _mLi }], [1, { [_jN]: _mVi }], [2, { [_jN]: _nE }], [0, { [_jN]: _ty }]], 2
|
|
610
|
+
];
|
|
611
|
+
var ParameterValue$ = [3, n0, _PV,
|
|
612
|
+
0,
|
|
613
|
+
[_N, _Va],
|
|
614
|
+
[[0, { [_jN]: _n }], [0, { [_jN]: _va }]], 2
|
|
615
|
+
];
|
|
616
|
+
var PutApplicationPolicyRequest$ = [3, n0, _PAPR,
|
|
617
|
+
0,
|
|
618
|
+
[_AI, _St],
|
|
619
|
+
[[0, 1], [() => __listOfApplicationPolicyStatement, { [_jN]: _sta }]], 2
|
|
620
|
+
];
|
|
621
|
+
var PutApplicationPolicyResponse$ = [3, n0, _PAPRu,
|
|
622
|
+
0,
|
|
623
|
+
[_St],
|
|
624
|
+
[[() => __listOfApplicationPolicyStatement, { [_jN]: _sta }]]
|
|
625
|
+
];
|
|
626
|
+
var RollbackConfiguration$ = [3, n0, _RCo,
|
|
627
|
+
0,
|
|
628
|
+
[_MTIM, _RTo],
|
|
629
|
+
[[1, { [_jN]: _mTIM }], [() => __listOfRollbackTrigger, { [_jN]: _rTo }]]
|
|
630
|
+
];
|
|
631
|
+
var RollbackTrigger$ = [3, n0, _RTol,
|
|
632
|
+
0,
|
|
633
|
+
[_Ar, _Ty],
|
|
634
|
+
[[0, { [_jN]: _ar }], [0, { [_jN]: _ty }]], 2
|
|
635
|
+
];
|
|
636
|
+
var Tag$ = [3, n0, _Ta,
|
|
637
|
+
0,
|
|
638
|
+
[_K, _Va],
|
|
639
|
+
[[0, { [_jN]: _k }], [0, { [_jN]: _va }]], 2
|
|
640
|
+
];
|
|
641
|
+
var UnshareApplicationRequest$ = [3, n0, _UAR,
|
|
642
|
+
0,
|
|
643
|
+
[_AI, _OI],
|
|
644
|
+
[[0, 1], [0, { [_jN]: _oI }]], 2
|
|
645
|
+
];
|
|
646
|
+
var UpdateApplicationRequest$ = [3, n0, _UARp,
|
|
647
|
+
0,
|
|
648
|
+
[_AI, _Au, _D, _HPU, _L, _RB, _RU],
|
|
649
|
+
[[0, 1], [0, { [_jN]: _au }], [0, { [_jN]: _d }], [0, { [_jN]: _hPU }], [64 | 0, { [_jN]: _l }], [0, { [_jN]: _rB }], [0, { [_jN]: _rU }]], 1
|
|
650
|
+
];
|
|
651
|
+
var UpdateApplicationResponse$ = [3, n0, _UARpd,
|
|
652
|
+
0,
|
|
653
|
+
[_AI, _Au, _CT, _D, _HPU, _IVA, _L, _LU, _N, _RU, _SLI, _VAU, _V],
|
|
654
|
+
[[0, { [_jN]: _aI }], [0, { [_jN]: _au }], [0, { [_jN]: _cT }], [0, { [_jN]: _d }], [0, { [_jN]: _hPU }], [2, { [_jN]: _iVA }], [64 | 0, { [_jN]: _l }], [0, { [_jN]: _lU }], [0, { [_jN]: _n }], [0, { [_jN]: _rU }], [0, { [_jN]: _sLI }], [0, { [_jN]: _vAU }], [() => Version$, { [_jN]: _v }]]
|
|
655
|
+
];
|
|
656
|
+
var Version$ = [3, n0, _V,
|
|
657
|
+
0,
|
|
658
|
+
[_AI, _CT, _PD, _RC, _RS, _SV, _TU, _SCAU, _SCU],
|
|
659
|
+
[[0, { [_jN]: _aI }], [0, { [_jN]: _cT }], [() => __listOfParameterDefinition, { [_jN]: _pD }], [64 | 0, { [_jN]: _rC }], [2, { [_jN]: _rS }], [0, { [_jN]: _sV }], [0, { [_jN]: _tU }], [0, { [_jN]: _sCAU }], [0, { [_jN]: _sCU }]], 7
|
|
660
|
+
];
|
|
661
|
+
var VersionSummary$ = [3, n0, _VS,
|
|
662
|
+
0,
|
|
663
|
+
[_AI, _CT, _SV, _SCU],
|
|
664
|
+
[[0, { [_jN]: _aI }], [0, { [_jN]: _cT }], [0, { [_jN]: _sV }], [0, { [_jN]: _sCU }]], 3
|
|
665
|
+
];
|
|
666
|
+
var __Unit = "unit";
|
|
667
|
+
var __listOfApplicationDependencySummary = [1, n0, _lOADS,
|
|
668
|
+
0, [() => ApplicationDependencySummary$,
|
|
669
|
+
0]
|
|
670
|
+
];
|
|
671
|
+
var __listOfApplicationPolicyStatement = [1, n0, _lOAPS,
|
|
672
|
+
0, [() => ApplicationPolicyStatement$,
|
|
673
|
+
0]
|
|
674
|
+
];
|
|
675
|
+
var __listOfApplicationSummary = [1, n0, _lOAS,
|
|
676
|
+
0, [() => ApplicationSummary$,
|
|
677
|
+
0]
|
|
678
|
+
];
|
|
679
|
+
var __listOfParameterDefinition = [1, n0, _lOPD,
|
|
680
|
+
0, [() => ParameterDefinition$,
|
|
681
|
+
0]
|
|
682
|
+
];
|
|
683
|
+
var __listOfParameterValue = [1, n0, _lOPV,
|
|
684
|
+
0, [() => ParameterValue$,
|
|
685
|
+
0]
|
|
686
|
+
];
|
|
687
|
+
var __listOfRollbackTrigger = [1, n0, _lORT,
|
|
688
|
+
0, [() => RollbackTrigger$,
|
|
689
|
+
0]
|
|
690
|
+
];
|
|
691
|
+
var __listOfTag = [1, n0, _lOT,
|
|
692
|
+
0, [() => Tag$,
|
|
693
|
+
0]
|
|
694
|
+
];
|
|
695
|
+
var __listOfVersionSummary = [1, n0, _lOVS,
|
|
696
|
+
0, [() => VersionSummary$,
|
|
697
|
+
0]
|
|
698
|
+
];
|
|
699
|
+
var CreateApplication$ = [9, n0, _CA,
|
|
700
|
+
{ [_h]: ["POST", "/applications", 201] }, () => CreateApplicationRequest$, () => CreateApplicationResponse$
|
|
701
|
+
];
|
|
702
|
+
var CreateApplicationVersion$ = [9, n0, _CAV,
|
|
703
|
+
{ [_h]: ["PUT", "/applications/{ApplicationId}/versions/{SemanticVersion}", 201] }, () => CreateApplicationVersionRequest$, () => CreateApplicationVersionResponse$
|
|
704
|
+
];
|
|
705
|
+
var CreateCloudFormationChangeSet$ = [9, n0, _CCFCS,
|
|
706
|
+
{ [_h]: ["POST", "/applications/{ApplicationId}/changesets", 201] }, () => CreateCloudFormationChangeSetRequest$, () => CreateCloudFormationChangeSetResponse$
|
|
707
|
+
];
|
|
708
|
+
var CreateCloudFormationTemplate$ = [9, n0, _CCFT,
|
|
709
|
+
{ [_h]: ["POST", "/applications/{ApplicationId}/templates", 201] }, () => CreateCloudFormationTemplateRequest$, () => CreateCloudFormationTemplateResponse$
|
|
710
|
+
];
|
|
711
|
+
var DeleteApplication$ = [9, n0, _DA,
|
|
712
|
+
{ [_h]: ["DELETE", "/applications/{ApplicationId}", 204] }, () => DeleteApplicationRequest$, () => __Unit
|
|
713
|
+
];
|
|
714
|
+
var GetApplication$ = [9, n0, _GA,
|
|
715
|
+
{ [_h]: ["GET", "/applications/{ApplicationId}", 200] }, () => GetApplicationRequest$, () => GetApplicationResponse$
|
|
716
|
+
];
|
|
717
|
+
var GetApplicationPolicy$ = [9, n0, _GAP,
|
|
718
|
+
{ [_h]: ["GET", "/applications/{ApplicationId}/policy", 200] }, () => GetApplicationPolicyRequest$, () => GetApplicationPolicyResponse$
|
|
719
|
+
];
|
|
720
|
+
var GetCloudFormationTemplate$ = [9, n0, _GCFT,
|
|
721
|
+
{ [_h]: ["GET", "/applications/{ApplicationId}/templates/{TemplateId}", 200] }, () => GetCloudFormationTemplateRequest$, () => GetCloudFormationTemplateResponse$
|
|
722
|
+
];
|
|
723
|
+
var ListApplicationDependencies$ = [9, n0, _LAD,
|
|
724
|
+
{ [_h]: ["GET", "/applications/{ApplicationId}/dependencies", 200] }, () => ListApplicationDependenciesRequest$, () => ListApplicationDependenciesResponse$
|
|
725
|
+
];
|
|
726
|
+
var ListApplications$ = [9, n0, _LA,
|
|
727
|
+
{ [_h]: ["GET", "/applications", 200] }, () => ListApplicationsRequest$, () => ListApplicationsResponse$
|
|
728
|
+
];
|
|
729
|
+
var ListApplicationVersions$ = [9, n0, _LAV,
|
|
730
|
+
{ [_h]: ["GET", "/applications/{ApplicationId}/versions", 200] }, () => ListApplicationVersionsRequest$, () => ListApplicationVersionsResponse$
|
|
731
|
+
];
|
|
732
|
+
var PutApplicationPolicy$ = [9, n0, _PAP,
|
|
733
|
+
{ [_h]: ["PUT", "/applications/{ApplicationId}/policy", 200] }, () => PutApplicationPolicyRequest$, () => PutApplicationPolicyResponse$
|
|
734
|
+
];
|
|
735
|
+
var UnshareApplication$ = [9, n0, _UA,
|
|
736
|
+
{ [_h]: ["POST", "/applications/{ApplicationId}/unshare", 204] }, () => UnshareApplicationRequest$, () => __Unit
|
|
737
|
+
];
|
|
738
|
+
var UpdateApplication$ = [9, n0, _UAp,
|
|
739
|
+
{ [_h]: ["PATCH", "/applications/{ApplicationId}", 200] }, () => UpdateApplicationRequest$, () => UpdateApplicationResponse$
|
|
740
|
+
];
|
|
741
|
+
|
|
742
|
+
const getRuntimeConfig$1 = (config) => {
|
|
743
|
+
return {
|
|
744
|
+
apiVersion: "2017-09-08",
|
|
745
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
746
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
747
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
748
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
749
|
+
extensions: config?.extensions ?? [],
|
|
750
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultServerlessApplicationRepositoryHttpAuthSchemeProvider,
|
|
751
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
752
|
+
{
|
|
753
|
+
schemeId: "aws.auth#sigv4",
|
|
754
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
755
|
+
signer: new AwsSdkSigV4Signer(),
|
|
756
|
+
},
|
|
757
|
+
],
|
|
758
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
759
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
760
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
761
|
+
defaultNamespace: "com.amazonaws.serverlessapplicationrepository",
|
|
762
|
+
errorTypeRegistries,
|
|
763
|
+
version: "2017-09-08",
|
|
764
|
+
serviceTarget: "ServerlessApplicationRepository",
|
|
765
|
+
},
|
|
766
|
+
serviceId: config?.serviceId ?? "ServerlessApplicationRepository",
|
|
767
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
768
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
769
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
|
|
773
|
+
const getRuntimeConfig = (config) => {
|
|
774
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
775
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
776
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
777
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
778
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
779
|
+
const loaderConfig = {
|
|
780
|
+
profile: config?.profile,
|
|
781
|
+
logger: clientSharedValues.logger,
|
|
782
|
+
};
|
|
783
|
+
return {
|
|
784
|
+
...clientSharedValues,
|
|
785
|
+
...config,
|
|
786
|
+
runtime: "node",
|
|
787
|
+
defaultsMode,
|
|
788
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
789
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
790
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
791
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
792
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
793
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
794
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
795
|
+
retryMode: config?.retryMode ??
|
|
796
|
+
loadConfig({
|
|
797
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
798
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
799
|
+
}, config),
|
|
800
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
801
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
802
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
803
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
804
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
805
|
+
};
|
|
806
|
+
};
|
|
807
|
+
|
|
34
808
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
809
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
810
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -322,24 +1096,89 @@ const Status = {
|
|
|
322
1096
|
PREPARING: "PREPARING",
|
|
323
1097
|
};
|
|
324
1098
|
|
|
1099
|
+
exports.ApplicationDependencySummary$ = ApplicationDependencySummary$;
|
|
1100
|
+
exports.ApplicationPolicyStatement$ = ApplicationPolicyStatement$;
|
|
1101
|
+
exports.ApplicationSummary$ = ApplicationSummary$;
|
|
1102
|
+
exports.BadRequestException = BadRequestException;
|
|
1103
|
+
exports.BadRequestException$ = BadRequestException$;
|
|
325
1104
|
exports.Capability = Capability;
|
|
1105
|
+
exports.ConflictException = ConflictException;
|
|
1106
|
+
exports.ConflictException$ = ConflictException$;
|
|
1107
|
+
exports.CreateApplication$ = CreateApplication$;
|
|
326
1108
|
exports.CreateApplicationCommand = CreateApplicationCommand;
|
|
1109
|
+
exports.CreateApplicationRequest$ = CreateApplicationRequest$;
|
|
1110
|
+
exports.CreateApplicationResponse$ = CreateApplicationResponse$;
|
|
1111
|
+
exports.CreateApplicationVersion$ = CreateApplicationVersion$;
|
|
327
1112
|
exports.CreateApplicationVersionCommand = CreateApplicationVersionCommand;
|
|
1113
|
+
exports.CreateApplicationVersionRequest$ = CreateApplicationVersionRequest$;
|
|
1114
|
+
exports.CreateApplicationVersionResponse$ = CreateApplicationVersionResponse$;
|
|
1115
|
+
exports.CreateCloudFormationChangeSet$ = CreateCloudFormationChangeSet$;
|
|
328
1116
|
exports.CreateCloudFormationChangeSetCommand = CreateCloudFormationChangeSetCommand;
|
|
1117
|
+
exports.CreateCloudFormationChangeSetRequest$ = CreateCloudFormationChangeSetRequest$;
|
|
1118
|
+
exports.CreateCloudFormationChangeSetResponse$ = CreateCloudFormationChangeSetResponse$;
|
|
1119
|
+
exports.CreateCloudFormationTemplate$ = CreateCloudFormationTemplate$;
|
|
329
1120
|
exports.CreateCloudFormationTemplateCommand = CreateCloudFormationTemplateCommand;
|
|
1121
|
+
exports.CreateCloudFormationTemplateRequest$ = CreateCloudFormationTemplateRequest$;
|
|
1122
|
+
exports.CreateCloudFormationTemplateResponse$ = CreateCloudFormationTemplateResponse$;
|
|
1123
|
+
exports.DeleteApplication$ = DeleteApplication$;
|
|
330
1124
|
exports.DeleteApplicationCommand = DeleteApplicationCommand;
|
|
1125
|
+
exports.DeleteApplicationRequest$ = DeleteApplicationRequest$;
|
|
1126
|
+
exports.ForbiddenException = ForbiddenException;
|
|
1127
|
+
exports.ForbiddenException$ = ForbiddenException$;
|
|
1128
|
+
exports.GetApplication$ = GetApplication$;
|
|
331
1129
|
exports.GetApplicationCommand = GetApplicationCommand;
|
|
1130
|
+
exports.GetApplicationPolicy$ = GetApplicationPolicy$;
|
|
332
1131
|
exports.GetApplicationPolicyCommand = GetApplicationPolicyCommand;
|
|
1132
|
+
exports.GetApplicationPolicyRequest$ = GetApplicationPolicyRequest$;
|
|
1133
|
+
exports.GetApplicationPolicyResponse$ = GetApplicationPolicyResponse$;
|
|
1134
|
+
exports.GetApplicationRequest$ = GetApplicationRequest$;
|
|
1135
|
+
exports.GetApplicationResponse$ = GetApplicationResponse$;
|
|
1136
|
+
exports.GetCloudFormationTemplate$ = GetCloudFormationTemplate$;
|
|
333
1137
|
exports.GetCloudFormationTemplateCommand = GetCloudFormationTemplateCommand;
|
|
1138
|
+
exports.GetCloudFormationTemplateRequest$ = GetCloudFormationTemplateRequest$;
|
|
1139
|
+
exports.GetCloudFormationTemplateResponse$ = GetCloudFormationTemplateResponse$;
|
|
1140
|
+
exports.InternalServerErrorException = InternalServerErrorException;
|
|
1141
|
+
exports.InternalServerErrorException$ = InternalServerErrorException$;
|
|
1142
|
+
exports.ListApplicationDependencies$ = ListApplicationDependencies$;
|
|
334
1143
|
exports.ListApplicationDependenciesCommand = ListApplicationDependenciesCommand;
|
|
1144
|
+
exports.ListApplicationDependenciesRequest$ = ListApplicationDependenciesRequest$;
|
|
1145
|
+
exports.ListApplicationDependenciesResponse$ = ListApplicationDependenciesResponse$;
|
|
1146
|
+
exports.ListApplicationVersions$ = ListApplicationVersions$;
|
|
335
1147
|
exports.ListApplicationVersionsCommand = ListApplicationVersionsCommand;
|
|
1148
|
+
exports.ListApplicationVersionsRequest$ = ListApplicationVersionsRequest$;
|
|
1149
|
+
exports.ListApplicationVersionsResponse$ = ListApplicationVersionsResponse$;
|
|
1150
|
+
exports.ListApplications$ = ListApplications$;
|
|
336
1151
|
exports.ListApplicationsCommand = ListApplicationsCommand;
|
|
1152
|
+
exports.ListApplicationsRequest$ = ListApplicationsRequest$;
|
|
1153
|
+
exports.ListApplicationsResponse$ = ListApplicationsResponse$;
|
|
1154
|
+
exports.NotFoundException = NotFoundException;
|
|
1155
|
+
exports.NotFoundException$ = NotFoundException$;
|
|
1156
|
+
exports.ParameterDefinition$ = ParameterDefinition$;
|
|
1157
|
+
exports.ParameterValue$ = ParameterValue$;
|
|
1158
|
+
exports.PutApplicationPolicy$ = PutApplicationPolicy$;
|
|
337
1159
|
exports.PutApplicationPolicyCommand = PutApplicationPolicyCommand;
|
|
1160
|
+
exports.PutApplicationPolicyRequest$ = PutApplicationPolicyRequest$;
|
|
1161
|
+
exports.PutApplicationPolicyResponse$ = PutApplicationPolicyResponse$;
|
|
1162
|
+
exports.RollbackConfiguration$ = RollbackConfiguration$;
|
|
1163
|
+
exports.RollbackTrigger$ = RollbackTrigger$;
|
|
338
1164
|
exports.ServerlessApplicationRepository = ServerlessApplicationRepository;
|
|
339
1165
|
exports.ServerlessApplicationRepositoryClient = ServerlessApplicationRepositoryClient;
|
|
1166
|
+
exports.ServerlessApplicationRepositoryServiceException = ServerlessApplicationRepositoryServiceException;
|
|
1167
|
+
exports.ServerlessApplicationRepositoryServiceException$ = ServerlessApplicationRepositoryServiceException$;
|
|
340
1168
|
exports.Status = Status;
|
|
1169
|
+
exports.Tag$ = Tag$;
|
|
1170
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
1171
|
+
exports.TooManyRequestsException$ = TooManyRequestsException$;
|
|
1172
|
+
exports.UnshareApplication$ = UnshareApplication$;
|
|
341
1173
|
exports.UnshareApplicationCommand = UnshareApplicationCommand;
|
|
1174
|
+
exports.UnshareApplicationRequest$ = UnshareApplicationRequest$;
|
|
1175
|
+
exports.UpdateApplication$ = UpdateApplication$;
|
|
342
1176
|
exports.UpdateApplicationCommand = UpdateApplicationCommand;
|
|
1177
|
+
exports.UpdateApplicationRequest$ = UpdateApplicationRequest$;
|
|
1178
|
+
exports.UpdateApplicationResponse$ = UpdateApplicationResponse$;
|
|
1179
|
+
exports.Version$ = Version$;
|
|
1180
|
+
exports.VersionSummary$ = VersionSummary$;
|
|
1181
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
343
1182
|
exports.paginateListApplicationDependencies = paginateListApplicationDependencies;
|
|
344
1183
|
exports.paginateListApplicationVersions = paginateListApplicationVersions;
|
|
345
1184
|
exports.paginateListApplications = paginateListApplications;
|