@aws-sdk/client-serverlessapplicationrepository 3.987.0 → 3.988.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 CHANGED
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var ServerlessApplicationRepositoryServiceException = require('./models/ServerlessApplicationRepositoryServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,607 +113,6 @@ class ServerlessApplicationRepositoryClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class ServerlessApplicationRepositoryServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, ServerlessApplicationRepositoryServiceException.prototype);
117
- }
118
- }
119
-
120
- class BadRequestException extends ServerlessApplicationRepositoryServiceException {
121
- name = "BadRequestException";
122
- $fault = "client";
123
- ErrorCode;
124
- Message;
125
- constructor(opts) {
126
- super({
127
- name: "BadRequestException",
128
- $fault: "client",
129
- ...opts,
130
- });
131
- Object.setPrototypeOf(this, BadRequestException.prototype);
132
- this.ErrorCode = opts.ErrorCode;
133
- this.Message = opts.Message;
134
- }
135
- }
136
- class ConflictException extends ServerlessApplicationRepositoryServiceException {
137
- name = "ConflictException";
138
- $fault = "client";
139
- ErrorCode;
140
- Message;
141
- constructor(opts) {
142
- super({
143
- name: "ConflictException",
144
- $fault: "client",
145
- ...opts,
146
- });
147
- Object.setPrototypeOf(this, ConflictException.prototype);
148
- this.ErrorCode = opts.ErrorCode;
149
- this.Message = opts.Message;
150
- }
151
- }
152
- class ForbiddenException extends ServerlessApplicationRepositoryServiceException {
153
- name = "ForbiddenException";
154
- $fault = "client";
155
- ErrorCode;
156
- Message;
157
- constructor(opts) {
158
- super({
159
- name: "ForbiddenException",
160
- $fault: "client",
161
- ...opts,
162
- });
163
- Object.setPrototypeOf(this, ForbiddenException.prototype);
164
- this.ErrorCode = opts.ErrorCode;
165
- this.Message = opts.Message;
166
- }
167
- }
168
- class InternalServerErrorException extends ServerlessApplicationRepositoryServiceException {
169
- name = "InternalServerErrorException";
170
- $fault = "server";
171
- ErrorCode;
172
- Message;
173
- constructor(opts) {
174
- super({
175
- name: "InternalServerErrorException",
176
- $fault: "server",
177
- ...opts,
178
- });
179
- Object.setPrototypeOf(this, InternalServerErrorException.prototype);
180
- this.ErrorCode = opts.ErrorCode;
181
- this.Message = opts.Message;
182
- }
183
- }
184
- class TooManyRequestsException extends ServerlessApplicationRepositoryServiceException {
185
- name = "TooManyRequestsException";
186
- $fault = "client";
187
- ErrorCode;
188
- Message;
189
- constructor(opts) {
190
- super({
191
- name: "TooManyRequestsException",
192
- $fault: "client",
193
- ...opts,
194
- });
195
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
196
- this.ErrorCode = opts.ErrorCode;
197
- this.Message = opts.Message;
198
- }
199
- }
200
- class NotFoundException extends ServerlessApplicationRepositoryServiceException {
201
- name = "NotFoundException";
202
- $fault = "client";
203
- ErrorCode;
204
- Message;
205
- constructor(opts) {
206
- super({
207
- name: "NotFoundException",
208
- $fault: "client",
209
- ...opts,
210
- });
211
- Object.setPrototypeOf(this, NotFoundException.prototype);
212
- this.ErrorCode = opts.ErrorCode;
213
- this.Message = opts.Message;
214
- }
215
- }
216
-
217
- const _A = "Actions";
218
- const _ADS = "ApplicationDependencySummary";
219
- const _AI = "ApplicationId";
220
- const _AP = "AllowedPattern";
221
- const _APS = "ApplicationPolicyStatement";
222
- const _AS = "ApplicationSummary";
223
- const _AV = "AllowedValues";
224
- const _Ap = "Applications";
225
- const _Ar = "Arn";
226
- const _Au = "Author";
227
- const _BRE = "BadRequestException";
228
- const _C = "Capabilities";
229
- const _CA = "CreateApplication";
230
- const _CAR = "CreateApplicationRequest";
231
- const _CARr = "CreateApplicationResponse";
232
- const _CAV = "CreateApplicationVersion";
233
- const _CAVR = "CreateApplicationVersionRequest";
234
- const _CAVRr = "CreateApplicationVersionResponse";
235
- const _CCFCS = "CreateCloudFormationChangeSet";
236
- const _CCFCSR = "CreateCloudFormationChangeSetRequest";
237
- const _CCFCSRr = "CreateCloudFormationChangeSetResponse";
238
- const _CCFT = "CreateCloudFormationTemplate";
239
- const _CCFTR = "CreateCloudFormationTemplateRequest";
240
- const _CCFTRr = "CreateCloudFormationTemplateResponse";
241
- const _CD = "ConstraintDescription";
242
- const _CE = "ConflictException";
243
- const _CSI = "ChangeSetId";
244
- const _CSN = "ChangeSetName";
245
- const _CT = "CreationTime";
246
- const _CTl = "ClientToken";
247
- const _D = "Description";
248
- const _DA = "DeleteApplication";
249
- const _DAR = "DeleteApplicationRequest";
250
- const _DV = "DefaultValue";
251
- const _De = "Dependencies";
252
- const _EC = "ErrorCode";
253
- const _ET = "ExpirationTime";
254
- const _FE = "ForbiddenException";
255
- const _GA = "GetApplication";
256
- const _GAP = "GetApplicationPolicy";
257
- const _GAPR = "GetApplicationPolicyRequest";
258
- const _GAPRe = "GetApplicationPolicyResponse";
259
- const _GAR = "GetApplicationRequest";
260
- const _GARe = "GetApplicationResponse";
261
- const _GCFT = "GetCloudFormationTemplate";
262
- const _GCFTR = "GetCloudFormationTemplateRequest";
263
- const _GCFTRe = "GetCloudFormationTemplateResponse";
264
- const _HPU = "HomePageUrl";
265
- const _ISEE = "InternalServerErrorException";
266
- const _IVA = "IsVerifiedAuthor";
267
- const _K = "Key";
268
- const _L = "Labels";
269
- const _LA = "ListApplications";
270
- const _LAD = "ListApplicationDependencies";
271
- const _LADR = "ListApplicationDependenciesRequest";
272
- const _LADRi = "ListApplicationDependenciesResponse";
273
- const _LAR = "ListApplicationsRequest";
274
- const _LARi = "ListApplicationsResponse";
275
- const _LAV = "ListApplicationVersions";
276
- const _LAVR = "ListApplicationVersionsRequest";
277
- const _LAVRi = "ListApplicationVersionsResponse";
278
- const _LB = "LicenseBody";
279
- const _LU = "LicenseUrl";
280
- const _M = "Message";
281
- const _MI = "MaxItems";
282
- const _ML = "MaxLength";
283
- const _MLi = "MinLength";
284
- const _MTIM = "MonitoringTimeInMinutes";
285
- const _MV = "MaxValue";
286
- const _MVi = "MinValue";
287
- const _N = "Name";
288
- const _NA = "NotificationArns";
289
- const _NE = "NoEcho";
290
- const _NFE = "NotFoundException";
291
- const _NT = "NextToken";
292
- const _OI = "OrganizationId";
293
- const _P = "Principals";
294
- const _PAP = "PutApplicationPolicy";
295
- const _PAPR = "PutApplicationPolicyRequest";
296
- const _PAPRu = "PutApplicationPolicyResponse";
297
- const _PD = "ParameterDefinitions";
298
- const _PDa = "ParameterDefinition";
299
- const _PO = "ParameterOverrides";
300
- const _POID = "PrincipalOrgIDs";
301
- const _PV = "ParameterValue";
302
- const _RB = "ReadmeBody";
303
- const _RBR = "ReferencedByResources";
304
- const _RC = "RequiredCapabilities";
305
- const _RCo = "RollbackConfiguration";
306
- const _RS = "ResourcesSupported";
307
- const _RT = "ResourceTypes";
308
- const _RTo = "RollbackTriggers";
309
- const _RTol = "RollbackTrigger";
310
- const _RU = "ReadmeUrl";
311
- const _S = "Status";
312
- const _SCAU = "SourceCodeArchiveUrl";
313
- const _SCU = "SourceCodeUrl";
314
- const _SI = "StatementId";
315
- const _SIt = "StackId";
316
- const _SLI = "SpdxLicenseId";
317
- const _SN = "StackName";
318
- const _SV = "SemanticVersion";
319
- const _St = "Statements";
320
- const _T = "Tags";
321
- const _TB = "TemplateBody";
322
- const _TI = "TemplateId";
323
- const _TMRE = "TooManyRequestsException";
324
- const _TU = "TemplateUrl";
325
- const _Ta = "Tag";
326
- const _Ty = "Type";
327
- const _UA = "UnshareApplication";
328
- const _UAR = "UnshareApplicationRequest";
329
- const _UARp = "UpdateApplicationRequest";
330
- const _UARpd = "UpdateApplicationResponse";
331
- const _UAp = "UpdateApplication";
332
- const _V = "Version";
333
- const _VAU = "VerifiedAuthorUrl";
334
- const _VS = "VersionSummary";
335
- const _Va = "Value";
336
- const _Ve = "Versions";
337
- const _a = "actions";
338
- const _aI = "applicationId";
339
- const _aP = "allowedPattern";
340
- const _aV = "allowedValues";
341
- const _ap = "applications";
342
- const _ar = "arn";
343
- const _au = "author";
344
- const _c = "client";
345
- const _cD = "constraintDescription";
346
- const _cSI = "changeSetId";
347
- const _cSN = "changeSetName";
348
- const _cT = "creationTime";
349
- const _cTl = "clientToken";
350
- const _ca = "capabilities";
351
- const _d = "description";
352
- const _dV = "defaultValue";
353
- const _de = "dependencies";
354
- const _e = "error";
355
- const _eC = "errorCode";
356
- const _eT = "expirationTime";
357
- const _h = "http";
358
- const _hE = "httpError";
359
- const _hPU = "homePageUrl";
360
- const _hQ = "httpQuery";
361
- const _iVA = "isVerifiedAuthor";
362
- const _jN = "jsonName";
363
- const _k = "key";
364
- const _l = "labels";
365
- const _lB = "licenseBody";
366
- const _lOADS = "__listOfApplicationDependencySummary";
367
- const _lOAPS = "__listOfApplicationPolicyStatement";
368
- const _lOAS = "__listOfApplicationSummary";
369
- const _lOPD = "__listOfParameterDefinition";
370
- const _lOPV = "__listOfParameterValue";
371
- const _lORT = "__listOfRollbackTrigger";
372
- const _lOT = "__listOfTag";
373
- const _lOVS = "__listOfVersionSummary";
374
- const _lU = "licenseUrl";
375
- const _m = "message";
376
- const _mI = "maxItems";
377
- const _mL = "maxLength";
378
- const _mLi = "minLength";
379
- const _mTIM = "monitoringTimeInMinutes";
380
- const _mV = "maxValue";
381
- const _mVi = "minValue";
382
- const _n = "name";
383
- const _nA = "notificationArns";
384
- const _nE = "noEcho";
385
- const _nT = "nextToken";
386
- const _oI = "organizationId";
387
- const _p = "principals";
388
- const _pD = "parameterDefinitions";
389
- const _pO = "parameterOverrides";
390
- const _pOID = "principalOrgIDs";
391
- const _rB = "readmeBody";
392
- const _rBR = "referencedByResources";
393
- const _rC = "requiredCapabilities";
394
- const _rCo = "rollbackConfiguration";
395
- const _rS = "resourcesSupported";
396
- const _rT = "resourceTypes";
397
- const _rTo = "rollbackTriggers";
398
- const _rU = "readmeUrl";
399
- const _s = "status";
400
- const _sCAU = "sourceCodeArchiveUrl";
401
- const _sCU = "sourceCodeUrl";
402
- const _sI = "statementId";
403
- const _sIt = "stackId";
404
- const _sLI = "spdxLicenseId";
405
- const _sN = "stackName";
406
- const _sV = "semanticVersion";
407
- const _se = "server";
408
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.serverlessapplicationrepository";
409
- const _st = "statements";
410
- const _t = "tags";
411
- const _tB = "templateBody";
412
- const _tI = "templateId";
413
- const _tU = "templateUrl";
414
- const _ty = "type";
415
- const _v = "version";
416
- const _vAU = "verifiedAuthorUrl";
417
- const _va = "value";
418
- const _ve = "versions";
419
- const n0 = "com.amazonaws.serverlessapplicationrepository";
420
- var ApplicationDependencySummary$ = [3, n0, _ADS,
421
- 0,
422
- [_AI, _SV],
423
- [[0, { [_jN]: _aI }], [0, { [_jN]: _sV }]], 2
424
- ];
425
- var ApplicationPolicyStatement$ = [3, n0, _APS,
426
- 0,
427
- [_A, _P, _POID, _SI],
428
- [[64 | 0, { [_jN]: _a }], [64 | 0, { [_jN]: _p }], [64 | 0, { [_jN]: _pOID }], [0, { [_jN]: _sI }]], 2
429
- ];
430
- var ApplicationSummary$ = [3, n0, _AS,
431
- 0,
432
- [_AI, _Au, _D, _N, _CT, _HPU, _L, _SLI],
433
- [[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
434
- ];
435
- var BadRequestException$ = [-3, n0, _BRE,
436
- { [_e]: _c, [_hE]: 400 },
437
- [_EC, _M],
438
- [[0, { [_jN]: _eC }], [0, { [_jN]: _m }]]
439
- ];
440
- schema.TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
441
- var ConflictException$ = [-3, n0, _CE,
442
- { [_e]: _c, [_hE]: 409 },
443
- [_EC, _M],
444
- [[0, { [_jN]: _eC }], [0, { [_jN]: _m }]]
445
- ];
446
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
447
- var CreateApplicationRequest$ = [3, n0, _CAR,
448
- 0,
449
- [_Au, _D, _N, _HPU, _L, _LB, _LU, _RB, _RU, _SV, _SCAU, _SCU, _SLI, _TB, _TU],
450
- [[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
451
- ];
452
- var CreateApplicationResponse$ = [3, n0, _CARr,
453
- 0,
454
- [_AI, _Au, _CT, _D, _HPU, _IVA, _L, _LU, _N, _RU, _SLI, _VAU, _V],
455
- [[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 }]]
456
- ];
457
- var CreateApplicationVersionRequest$ = [3, n0, _CAVR,
458
- 0,
459
- [_AI, _SV, _SCAU, _SCU, _TB, _TU],
460
- [[0, 1], [0, 1], [0, { [_jN]: _sCAU }], [0, { [_jN]: _sCU }], [0, { [_jN]: _tB }], [0, { [_jN]: _tU }]], 2
461
- ];
462
- var CreateApplicationVersionResponse$ = [3, n0, _CAVRr,
463
- 0,
464
- [_AI, _CT, _PD, _RC, _RS, _SV, _SCAU, _SCU, _TU],
465
- [[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 }]]
466
- ];
467
- var CreateCloudFormationChangeSetRequest$ = [3, n0, _CCFCSR,
468
- 0,
469
- [_AI, _SN, _C, _CSN, _CTl, _D, _NA, _PO, _RT, _RCo, _SV, _T, _TI],
470
- [[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
471
- ];
472
- var CreateCloudFormationChangeSetResponse$ = [3, n0, _CCFCSRr,
473
- 0,
474
- [_AI, _CSI, _SV, _SIt],
475
- [[0, { [_jN]: _aI }], [0, { [_jN]: _cSI }], [0, { [_jN]: _sV }], [0, { [_jN]: _sIt }]]
476
- ];
477
- var CreateCloudFormationTemplateRequest$ = [3, n0, _CCFTR,
478
- 0,
479
- [_AI, _SV],
480
- [[0, 1], [0, { [_jN]: _sV }]], 1
481
- ];
482
- var CreateCloudFormationTemplateResponse$ = [3, n0, _CCFTRr,
483
- 0,
484
- [_AI, _CT, _ET, _SV, _S, _TI, _TU],
485
- [[0, { [_jN]: _aI }], [0, { [_jN]: _cT }], [0, { [_jN]: _eT }], [0, { [_jN]: _sV }], [0, { [_jN]: _s }], [0, { [_jN]: _tI }], [0, { [_jN]: _tU }]]
486
- ];
487
- var DeleteApplicationRequest$ = [3, n0, _DAR,
488
- 0,
489
- [_AI],
490
- [[0, 1]], 1
491
- ];
492
- var ForbiddenException$ = [-3, n0, _FE,
493
- { [_e]: _c, [_hE]: 403 },
494
- [_EC, _M],
495
- [[0, { [_jN]: _eC }], [0, { [_jN]: _m }]]
496
- ];
497
- schema.TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
498
- var GetApplicationPolicyRequest$ = [3, n0, _GAPR,
499
- 0,
500
- [_AI],
501
- [[0, 1]], 1
502
- ];
503
- var GetApplicationPolicyResponse$ = [3, n0, _GAPRe,
504
- 0,
505
- [_St],
506
- [[() => __listOfApplicationPolicyStatement, { [_jN]: _st }]]
507
- ];
508
- var GetApplicationRequest$ = [3, n0, _GAR,
509
- 0,
510
- [_AI, _SV],
511
- [[0, 1], [0, { [_hQ]: _sV }]], 1
512
- ];
513
- var GetApplicationResponse$ = [3, n0, _GARe,
514
- 0,
515
- [_AI, _Au, _CT, _D, _HPU, _IVA, _L, _LU, _N, _RU, _SLI, _VAU, _V],
516
- [[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 }]]
517
- ];
518
- var GetCloudFormationTemplateRequest$ = [3, n0, _GCFTR,
519
- 0,
520
- [_AI, _TI],
521
- [[0, 1], [0, 1]], 2
522
- ];
523
- var GetCloudFormationTemplateResponse$ = [3, n0, _GCFTRe,
524
- 0,
525
- [_AI, _CT, _ET, _SV, _S, _TI, _TU],
526
- [[0, { [_jN]: _aI }], [0, { [_jN]: _cT }], [0, { [_jN]: _eT }], [0, { [_jN]: _sV }], [0, { [_jN]: _s }], [0, { [_jN]: _tI }], [0, { [_jN]: _tU }]]
527
- ];
528
- var InternalServerErrorException$ = [-3, n0, _ISEE,
529
- { [_e]: _se, [_hE]: 500 },
530
- [_EC, _M],
531
- [[0, { [_jN]: _eC }], [0, { [_jN]: _m }]]
532
- ];
533
- schema.TypeRegistry.for(n0).registerError(InternalServerErrorException$, InternalServerErrorException);
534
- var ListApplicationDependenciesRequest$ = [3, n0, _LADR,
535
- 0,
536
- [_AI, _MI, _NT, _SV],
537
- [[0, 1], [1, { [_hQ]: _mI }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _sV }]], 1
538
- ];
539
- var ListApplicationDependenciesResponse$ = [3, n0, _LADRi,
540
- 0,
541
- [_De, _NT],
542
- [[() => __listOfApplicationDependencySummary, { [_jN]: _de }], [0, { [_jN]: _nT }]]
543
- ];
544
- var ListApplicationsRequest$ = [3, n0, _LAR,
545
- 0,
546
- [_MI, _NT],
547
- [[1, { [_hQ]: _mI }], [0, { [_hQ]: _nT }]]
548
- ];
549
- var ListApplicationsResponse$ = [3, n0, _LARi,
550
- 0,
551
- [_Ap, _NT],
552
- [[() => __listOfApplicationSummary, { [_jN]: _ap }], [0, { [_jN]: _nT }]]
553
- ];
554
- var ListApplicationVersionsRequest$ = [3, n0, _LAVR,
555
- 0,
556
- [_AI, _MI, _NT],
557
- [[0, 1], [1, { [_hQ]: _mI }], [0, { [_hQ]: _nT }]], 1
558
- ];
559
- var ListApplicationVersionsResponse$ = [3, n0, _LAVRi,
560
- 0,
561
- [_NT, _Ve],
562
- [[0, { [_jN]: _nT }], [() => __listOfVersionSummary, { [_jN]: _ve }]]
563
- ];
564
- var NotFoundException$ = [-3, n0, _NFE,
565
- { [_e]: _c, [_hE]: 404 },
566
- [_EC, _M],
567
- [[0, { [_jN]: _eC }], [0, { [_jN]: _m }]]
568
- ];
569
- schema.TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
570
- var ParameterDefinition$ = [3, n0, _PDa,
571
- 0,
572
- [_N, _RBR, _AP, _AV, _CD, _DV, _D, _ML, _MV, _MLi, _MVi, _NE, _Ty],
573
- [[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
574
- ];
575
- var ParameterValue$ = [3, n0, _PV,
576
- 0,
577
- [_N, _Va],
578
- [[0, { [_jN]: _n }], [0, { [_jN]: _va }]], 2
579
- ];
580
- var PutApplicationPolicyRequest$ = [3, n0, _PAPR,
581
- 0,
582
- [_AI, _St],
583
- [[0, 1], [() => __listOfApplicationPolicyStatement, { [_jN]: _st }]], 2
584
- ];
585
- var PutApplicationPolicyResponse$ = [3, n0, _PAPRu,
586
- 0,
587
- [_St],
588
- [[() => __listOfApplicationPolicyStatement, { [_jN]: _st }]]
589
- ];
590
- var RollbackConfiguration$ = [3, n0, _RCo,
591
- 0,
592
- [_MTIM, _RTo],
593
- [[1, { [_jN]: _mTIM }], [() => __listOfRollbackTrigger, { [_jN]: _rTo }]]
594
- ];
595
- var RollbackTrigger$ = [3, n0, _RTol,
596
- 0,
597
- [_Ar, _Ty],
598
- [[0, { [_jN]: _ar }], [0, { [_jN]: _ty }]], 2
599
- ];
600
- var Tag$ = [3, n0, _Ta,
601
- 0,
602
- [_K, _Va],
603
- [[0, { [_jN]: _k }], [0, { [_jN]: _va }]], 2
604
- ];
605
- var TooManyRequestsException$ = [-3, n0, _TMRE,
606
- { [_e]: _c, [_hE]: 429 },
607
- [_EC, _M],
608
- [[0, { [_jN]: _eC }], [0, { [_jN]: _m }]]
609
- ];
610
- schema.TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
611
- var UnshareApplicationRequest$ = [3, n0, _UAR,
612
- 0,
613
- [_AI, _OI],
614
- [[0, 1], [0, { [_jN]: _oI }]], 2
615
- ];
616
- var UpdateApplicationRequest$ = [3, n0, _UARp,
617
- 0,
618
- [_AI, _Au, _D, _HPU, _L, _RB, _RU],
619
- [[0, 1], [0, { [_jN]: _au }], [0, { [_jN]: _d }], [0, { [_jN]: _hPU }], [64 | 0, { [_jN]: _l }], [0, { [_jN]: _rB }], [0, { [_jN]: _rU }]], 1
620
- ];
621
- var UpdateApplicationResponse$ = [3, n0, _UARpd,
622
- 0,
623
- [_AI, _Au, _CT, _D, _HPU, _IVA, _L, _LU, _N, _RU, _SLI, _VAU, _V],
624
- [[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 }]]
625
- ];
626
- var Version$ = [3, n0, _V,
627
- 0,
628
- [_AI, _CT, _PD, _RC, _RS, _SV, _TU, _SCAU, _SCU],
629
- [[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
630
- ];
631
- var VersionSummary$ = [3, n0, _VS,
632
- 0,
633
- [_AI, _CT, _SV, _SCU],
634
- [[0, { [_jN]: _aI }], [0, { [_jN]: _cT }], [0, { [_jN]: _sV }], [0, { [_jN]: _sCU }]], 3
635
- ];
636
- var __Unit = "unit";
637
- var ServerlessApplicationRepositoryServiceException$ = [-3, _sm, "ServerlessApplicationRepositoryServiceException", 0, [], []];
638
- schema.TypeRegistry.for(_sm).registerError(ServerlessApplicationRepositoryServiceException$, ServerlessApplicationRepositoryServiceException);
639
- var __listOfApplicationDependencySummary = [1, n0, _lOADS,
640
- 0, [() => ApplicationDependencySummary$,
641
- 0]
642
- ];
643
- var __listOfApplicationPolicyStatement = [1, n0, _lOAPS,
644
- 0, [() => ApplicationPolicyStatement$,
645
- 0]
646
- ];
647
- var __listOfApplicationSummary = [1, n0, _lOAS,
648
- 0, [() => ApplicationSummary$,
649
- 0]
650
- ];
651
- var __listOfParameterDefinition = [1, n0, _lOPD,
652
- 0, [() => ParameterDefinition$,
653
- 0]
654
- ];
655
- var __listOfParameterValue = [1, n0, _lOPV,
656
- 0, [() => ParameterValue$,
657
- 0]
658
- ];
659
- var __listOfRollbackTrigger = [1, n0, _lORT,
660
- 0, [() => RollbackTrigger$,
661
- 0]
662
- ];
663
- var __listOfTag = [1, n0, _lOT,
664
- 0, [() => Tag$,
665
- 0]
666
- ];
667
- var __listOfVersionSummary = [1, n0, _lOVS,
668
- 0, [() => VersionSummary$,
669
- 0]
670
- ];
671
- var CreateApplication$ = [9, n0, _CA,
672
- { [_h]: ["POST", "/applications", 201] }, () => CreateApplicationRequest$, () => CreateApplicationResponse$
673
- ];
674
- var CreateApplicationVersion$ = [9, n0, _CAV,
675
- { [_h]: ["PUT", "/applications/{ApplicationId}/versions/{SemanticVersion}", 201] }, () => CreateApplicationVersionRequest$, () => CreateApplicationVersionResponse$
676
- ];
677
- var CreateCloudFormationChangeSet$ = [9, n0, _CCFCS,
678
- { [_h]: ["POST", "/applications/{ApplicationId}/changesets", 201] }, () => CreateCloudFormationChangeSetRequest$, () => CreateCloudFormationChangeSetResponse$
679
- ];
680
- var CreateCloudFormationTemplate$ = [9, n0, _CCFT,
681
- { [_h]: ["POST", "/applications/{ApplicationId}/templates", 201] }, () => CreateCloudFormationTemplateRequest$, () => CreateCloudFormationTemplateResponse$
682
- ];
683
- var DeleteApplication$ = [9, n0, _DA,
684
- { [_h]: ["DELETE", "/applications/{ApplicationId}", 204] }, () => DeleteApplicationRequest$, () => __Unit
685
- ];
686
- var GetApplication$ = [9, n0, _GA,
687
- { [_h]: ["GET", "/applications/{ApplicationId}", 200] }, () => GetApplicationRequest$, () => GetApplicationResponse$
688
- ];
689
- var GetApplicationPolicy$ = [9, n0, _GAP,
690
- { [_h]: ["GET", "/applications/{ApplicationId}/policy", 200] }, () => GetApplicationPolicyRequest$, () => GetApplicationPolicyResponse$
691
- ];
692
- var GetCloudFormationTemplate$ = [9, n0, _GCFT,
693
- { [_h]: ["GET", "/applications/{ApplicationId}/templates/{TemplateId}", 200] }, () => GetCloudFormationTemplateRequest$, () => GetCloudFormationTemplateResponse$
694
- ];
695
- var ListApplicationDependencies$ = [9, n0, _LAD,
696
- { [_h]: ["GET", "/applications/{ApplicationId}/dependencies", 200] }, () => ListApplicationDependenciesRequest$, () => ListApplicationDependenciesResponse$
697
- ];
698
- var ListApplications$ = [9, n0, _LA,
699
- { [_h]: ["GET", "/applications", 200] }, () => ListApplicationsRequest$, () => ListApplicationsResponse$
700
- ];
701
- var ListApplicationVersions$ = [9, n0, _LAV,
702
- { [_h]: ["GET", "/applications/{ApplicationId}/versions", 200] }, () => ListApplicationVersionsRequest$, () => ListApplicationVersionsResponse$
703
- ];
704
- var PutApplicationPolicy$ = [9, n0, _PAP,
705
- { [_h]: ["PUT", "/applications/{ApplicationId}/policy", 200] }, () => PutApplicationPolicyRequest$, () => PutApplicationPolicyResponse$
706
- ];
707
- var UnshareApplication$ = [9, n0, _UA,
708
- { [_h]: ["POST", "/applications/{ApplicationId}/unshare", 204] }, () => UnshareApplicationRequest$, () => __Unit
709
- ];
710
- var UpdateApplication$ = [9, n0, _UAp,
711
- { [_h]: ["PATCH", "/applications/{ApplicationId}", 200] }, () => UpdateApplicationRequest$, () => UpdateApplicationResponse$
712
- ];
713
-
714
116
  class CreateApplicationCommand extends smithyClient.Command
715
117
  .classBuilder()
716
118
  .ep(commonParams)
@@ -719,7 +121,7 @@ class CreateApplicationCommand extends smithyClient.Command
719
121
  })
720
122
  .s("ServerlessApplicationRepository", "CreateApplication", {})
721
123
  .n("ServerlessApplicationRepositoryClient", "CreateApplicationCommand")
722
- .sc(CreateApplication$)
124
+ .sc(schemas_0.CreateApplication$)
723
125
  .build() {
724
126
  }
725
127
 
@@ -731,7 +133,7 @@ class CreateApplicationVersionCommand extends smithyClient.Command
731
133
  })
732
134
  .s("ServerlessApplicationRepository", "CreateApplicationVersion", {})
733
135
  .n("ServerlessApplicationRepositoryClient", "CreateApplicationVersionCommand")
734
- .sc(CreateApplicationVersion$)
136
+ .sc(schemas_0.CreateApplicationVersion$)
735
137
  .build() {
736
138
  }
737
139
 
@@ -743,7 +145,7 @@ class CreateCloudFormationChangeSetCommand extends smithyClient.Command
743
145
  })
744
146
  .s("ServerlessApplicationRepository", "CreateCloudFormationChangeSet", {})
745
147
  .n("ServerlessApplicationRepositoryClient", "CreateCloudFormationChangeSetCommand")
746
- .sc(CreateCloudFormationChangeSet$)
148
+ .sc(schemas_0.CreateCloudFormationChangeSet$)
747
149
  .build() {
748
150
  }
749
151
 
@@ -755,7 +157,7 @@ class CreateCloudFormationTemplateCommand extends smithyClient.Command
755
157
  })
756
158
  .s("ServerlessApplicationRepository", "CreateCloudFormationTemplate", {})
757
159
  .n("ServerlessApplicationRepositoryClient", "CreateCloudFormationTemplateCommand")
758
- .sc(CreateCloudFormationTemplate$)
160
+ .sc(schemas_0.CreateCloudFormationTemplate$)
759
161
  .build() {
760
162
  }
761
163
 
@@ -767,7 +169,7 @@ class DeleteApplicationCommand extends smithyClient.Command
767
169
  })
768
170
  .s("ServerlessApplicationRepository", "DeleteApplication", {})
769
171
  .n("ServerlessApplicationRepositoryClient", "DeleteApplicationCommand")
770
- .sc(DeleteApplication$)
172
+ .sc(schemas_0.DeleteApplication$)
771
173
  .build() {
772
174
  }
773
175
 
@@ -779,7 +181,7 @@ class GetApplicationCommand extends smithyClient.Command
779
181
  })
780
182
  .s("ServerlessApplicationRepository", "GetApplication", {})
781
183
  .n("ServerlessApplicationRepositoryClient", "GetApplicationCommand")
782
- .sc(GetApplication$)
184
+ .sc(schemas_0.GetApplication$)
783
185
  .build() {
784
186
  }
785
187
 
@@ -791,7 +193,7 @@ class GetApplicationPolicyCommand extends smithyClient.Command
791
193
  })
792
194
  .s("ServerlessApplicationRepository", "GetApplicationPolicy", {})
793
195
  .n("ServerlessApplicationRepositoryClient", "GetApplicationPolicyCommand")
794
- .sc(GetApplicationPolicy$)
196
+ .sc(schemas_0.GetApplicationPolicy$)
795
197
  .build() {
796
198
  }
797
199
 
@@ -803,7 +205,7 @@ class GetCloudFormationTemplateCommand extends smithyClient.Command
803
205
  })
804
206
  .s("ServerlessApplicationRepository", "GetCloudFormationTemplate", {})
805
207
  .n("ServerlessApplicationRepositoryClient", "GetCloudFormationTemplateCommand")
806
- .sc(GetCloudFormationTemplate$)
208
+ .sc(schemas_0.GetCloudFormationTemplate$)
807
209
  .build() {
808
210
  }
809
211
 
@@ -815,7 +217,7 @@ class ListApplicationDependenciesCommand extends smithyClient.Command
815
217
  })
816
218
  .s("ServerlessApplicationRepository", "ListApplicationDependencies", {})
817
219
  .n("ServerlessApplicationRepositoryClient", "ListApplicationDependenciesCommand")
818
- .sc(ListApplicationDependencies$)
220
+ .sc(schemas_0.ListApplicationDependencies$)
819
221
  .build() {
820
222
  }
821
223
 
@@ -827,7 +229,7 @@ class ListApplicationsCommand extends smithyClient.Command
827
229
  })
828
230
  .s("ServerlessApplicationRepository", "ListApplications", {})
829
231
  .n("ServerlessApplicationRepositoryClient", "ListApplicationsCommand")
830
- .sc(ListApplications$)
232
+ .sc(schemas_0.ListApplications$)
831
233
  .build() {
832
234
  }
833
235
 
@@ -839,7 +241,7 @@ class ListApplicationVersionsCommand extends smithyClient.Command
839
241
  })
840
242
  .s("ServerlessApplicationRepository", "ListApplicationVersions", {})
841
243
  .n("ServerlessApplicationRepositoryClient", "ListApplicationVersionsCommand")
842
- .sc(ListApplicationVersions$)
244
+ .sc(schemas_0.ListApplicationVersions$)
843
245
  .build() {
844
246
  }
845
247
 
@@ -851,7 +253,7 @@ class PutApplicationPolicyCommand extends smithyClient.Command
851
253
  })
852
254
  .s("ServerlessApplicationRepository", "PutApplicationPolicy", {})
853
255
  .n("ServerlessApplicationRepositoryClient", "PutApplicationPolicyCommand")
854
- .sc(PutApplicationPolicy$)
256
+ .sc(schemas_0.PutApplicationPolicy$)
855
257
  .build() {
856
258
  }
857
259
 
@@ -863,7 +265,7 @@ class UnshareApplicationCommand extends smithyClient.Command
863
265
  })
864
266
  .s("ServerlessApplicationRepository", "UnshareApplication", {})
865
267
  .n("ServerlessApplicationRepositoryClient", "UnshareApplicationCommand")
866
- .sc(UnshareApplication$)
268
+ .sc(schemas_0.UnshareApplication$)
867
269
  .build() {
868
270
  }
869
271
 
@@ -875,7 +277,7 @@ class UpdateApplicationCommand extends smithyClient.Command
875
277
  })
876
278
  .s("ServerlessApplicationRepository", "UpdateApplication", {})
877
279
  .n("ServerlessApplicationRepositoryClient", "UpdateApplicationCommand")
878
- .sc(UpdateApplication$)
280
+ .sc(schemas_0.UpdateApplication$)
879
281
  .build() {
880
282
  }
881
283
 
@@ -930,88 +332,40 @@ Object.defineProperty(exports, "__Client", {
930
332
  enumerable: true,
931
333
  get: function () { return smithyClient.Client; }
932
334
  });
933
- exports.ApplicationDependencySummary$ = ApplicationDependencySummary$;
934
- exports.ApplicationPolicyStatement$ = ApplicationPolicyStatement$;
935
- exports.ApplicationSummary$ = ApplicationSummary$;
936
- exports.BadRequestException = BadRequestException;
937
- exports.BadRequestException$ = BadRequestException$;
335
+ Object.defineProperty(exports, "ServerlessApplicationRepositoryServiceException", {
336
+ enumerable: true,
337
+ get: function () { return ServerlessApplicationRepositoryServiceException.ServerlessApplicationRepositoryServiceException; }
338
+ });
938
339
  exports.Capability = Capability;
939
- exports.ConflictException = ConflictException;
940
- exports.ConflictException$ = ConflictException$;
941
- exports.CreateApplication$ = CreateApplication$;
942
340
  exports.CreateApplicationCommand = CreateApplicationCommand;
943
- exports.CreateApplicationRequest$ = CreateApplicationRequest$;
944
- exports.CreateApplicationResponse$ = CreateApplicationResponse$;
945
- exports.CreateApplicationVersion$ = CreateApplicationVersion$;
946
341
  exports.CreateApplicationVersionCommand = CreateApplicationVersionCommand;
947
- exports.CreateApplicationVersionRequest$ = CreateApplicationVersionRequest$;
948
- exports.CreateApplicationVersionResponse$ = CreateApplicationVersionResponse$;
949
- exports.CreateCloudFormationChangeSet$ = CreateCloudFormationChangeSet$;
950
342
  exports.CreateCloudFormationChangeSetCommand = CreateCloudFormationChangeSetCommand;
951
- exports.CreateCloudFormationChangeSetRequest$ = CreateCloudFormationChangeSetRequest$;
952
- exports.CreateCloudFormationChangeSetResponse$ = CreateCloudFormationChangeSetResponse$;
953
- exports.CreateCloudFormationTemplate$ = CreateCloudFormationTemplate$;
954
343
  exports.CreateCloudFormationTemplateCommand = CreateCloudFormationTemplateCommand;
955
- exports.CreateCloudFormationTemplateRequest$ = CreateCloudFormationTemplateRequest$;
956
- exports.CreateCloudFormationTemplateResponse$ = CreateCloudFormationTemplateResponse$;
957
- exports.DeleteApplication$ = DeleteApplication$;
958
344
  exports.DeleteApplicationCommand = DeleteApplicationCommand;
959
- exports.DeleteApplicationRequest$ = DeleteApplicationRequest$;
960
- exports.ForbiddenException = ForbiddenException;
961
- exports.ForbiddenException$ = ForbiddenException$;
962
- exports.GetApplication$ = GetApplication$;
963
345
  exports.GetApplicationCommand = GetApplicationCommand;
964
- exports.GetApplicationPolicy$ = GetApplicationPolicy$;
965
346
  exports.GetApplicationPolicyCommand = GetApplicationPolicyCommand;
966
- exports.GetApplicationPolicyRequest$ = GetApplicationPolicyRequest$;
967
- exports.GetApplicationPolicyResponse$ = GetApplicationPolicyResponse$;
968
- exports.GetApplicationRequest$ = GetApplicationRequest$;
969
- exports.GetApplicationResponse$ = GetApplicationResponse$;
970
- exports.GetCloudFormationTemplate$ = GetCloudFormationTemplate$;
971
347
  exports.GetCloudFormationTemplateCommand = GetCloudFormationTemplateCommand;
972
- exports.GetCloudFormationTemplateRequest$ = GetCloudFormationTemplateRequest$;
973
- exports.GetCloudFormationTemplateResponse$ = GetCloudFormationTemplateResponse$;
974
- exports.InternalServerErrorException = InternalServerErrorException;
975
- exports.InternalServerErrorException$ = InternalServerErrorException$;
976
- exports.ListApplicationDependencies$ = ListApplicationDependencies$;
977
348
  exports.ListApplicationDependenciesCommand = ListApplicationDependenciesCommand;
978
- exports.ListApplicationDependenciesRequest$ = ListApplicationDependenciesRequest$;
979
- exports.ListApplicationDependenciesResponse$ = ListApplicationDependenciesResponse$;
980
- exports.ListApplicationVersions$ = ListApplicationVersions$;
981
349
  exports.ListApplicationVersionsCommand = ListApplicationVersionsCommand;
982
- exports.ListApplicationVersionsRequest$ = ListApplicationVersionsRequest$;
983
- exports.ListApplicationVersionsResponse$ = ListApplicationVersionsResponse$;
984
- exports.ListApplications$ = ListApplications$;
985
350
  exports.ListApplicationsCommand = ListApplicationsCommand;
986
- exports.ListApplicationsRequest$ = ListApplicationsRequest$;
987
- exports.ListApplicationsResponse$ = ListApplicationsResponse$;
988
- exports.NotFoundException = NotFoundException;
989
- exports.NotFoundException$ = NotFoundException$;
990
- exports.ParameterDefinition$ = ParameterDefinition$;
991
- exports.ParameterValue$ = ParameterValue$;
992
- exports.PutApplicationPolicy$ = PutApplicationPolicy$;
993
351
  exports.PutApplicationPolicyCommand = PutApplicationPolicyCommand;
994
- exports.PutApplicationPolicyRequest$ = PutApplicationPolicyRequest$;
995
- exports.PutApplicationPolicyResponse$ = PutApplicationPolicyResponse$;
996
- exports.RollbackConfiguration$ = RollbackConfiguration$;
997
- exports.RollbackTrigger$ = RollbackTrigger$;
998
352
  exports.ServerlessApplicationRepository = ServerlessApplicationRepository;
999
353
  exports.ServerlessApplicationRepositoryClient = ServerlessApplicationRepositoryClient;
1000
- exports.ServerlessApplicationRepositoryServiceException = ServerlessApplicationRepositoryServiceException;
1001
- exports.ServerlessApplicationRepositoryServiceException$ = ServerlessApplicationRepositoryServiceException$;
1002
354
  exports.Status = Status;
1003
- exports.Tag$ = Tag$;
1004
- exports.TooManyRequestsException = TooManyRequestsException;
1005
- exports.TooManyRequestsException$ = TooManyRequestsException$;
1006
- exports.UnshareApplication$ = UnshareApplication$;
1007
355
  exports.UnshareApplicationCommand = UnshareApplicationCommand;
1008
- exports.UnshareApplicationRequest$ = UnshareApplicationRequest$;
1009
- exports.UpdateApplication$ = UpdateApplication$;
1010
356
  exports.UpdateApplicationCommand = UpdateApplicationCommand;
1011
- exports.UpdateApplicationRequest$ = UpdateApplicationRequest$;
1012
- exports.UpdateApplicationResponse$ = UpdateApplicationResponse$;
1013
- exports.Version$ = Version$;
1014
- exports.VersionSummary$ = VersionSummary$;
1015
357
  exports.paginateListApplicationDependencies = paginateListApplicationDependencies;
1016
358
  exports.paginateListApplicationVersions = paginateListApplicationVersions;
1017
359
  exports.paginateListApplications = paginateListApplications;
360
+ Object.keys(schemas_0).forEach(function (k) {
361
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
362
+ enumerable: true,
363
+ get: function () { return schemas_0[k]; }
364
+ });
365
+ });
366
+ Object.keys(errors).forEach(function (k) {
367
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
368
+ enumerable: true,
369
+ get: function () { return errors[k]; }
370
+ });
371
+ });