@aws-sdk/client-serverlessapplicationrepository 3.927.0 → 3.929.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.
Files changed (35) hide show
  1. package/dist-cjs/index.js +1908 -870
  2. package/dist-cjs/runtimeConfig.shared.js +3 -0
  3. package/dist-es/ServerlessApplicationRepositoryClient.js +2 -0
  4. package/dist-es/commands/CreateApplicationCommand.js +3 -9
  5. package/dist-es/commands/CreateApplicationVersionCommand.js +3 -9
  6. package/dist-es/commands/CreateCloudFormationChangeSetCommand.js +3 -9
  7. package/dist-es/commands/CreateCloudFormationTemplateCommand.js +3 -9
  8. package/dist-es/commands/DeleteApplicationCommand.js +3 -9
  9. package/dist-es/commands/GetApplicationCommand.js +3 -9
  10. package/dist-es/commands/GetApplicationPolicyCommand.js +3 -9
  11. package/dist-es/commands/GetCloudFormationTemplateCommand.js +3 -9
  12. package/dist-es/commands/ListApplicationDependenciesCommand.js +3 -9
  13. package/dist-es/commands/ListApplicationVersionsCommand.js +3 -9
  14. package/dist-es/commands/ListApplicationsCommand.js +3 -9
  15. package/dist-es/commands/PutApplicationPolicyCommand.js +3 -9
  16. package/dist-es/commands/UnshareApplicationCommand.js +3 -9
  17. package/dist-es/commands/UpdateApplicationCommand.js +3 -9
  18. package/dist-es/runtimeConfig.shared.js +3 -0
  19. package/dist-es/schemas/schemas_0.js +1868 -0
  20. package/dist-types/ServerlessApplicationRepositoryClient.d.ts +10 -1
  21. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  22. package/dist-types/runtimeConfig.d.ts +1 -0
  23. package/dist-types/runtimeConfig.native.d.ts +1 -0
  24. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  25. package/dist-types/schemas/schemas_0.d.ts +69 -0
  26. package/dist-types/ts3.4/ServerlessApplicationRepositoryClient.d.ts +4 -0
  27. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  28. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +74 -0
  32. package/package.json +5 -5
  33. package/dist-es/protocols/Aws_restJson1.js +0 -761
  34. package/dist-types/protocols/Aws_restJson1.d.ts +0 -128
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -173
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class ServerlessApplicationRepositoryClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,12 +110,12 @@ class ServerlessApplicationRepositoryClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class ServerlessApplicationRepositoryServiceException extends smithyClient.ServiceException {
113
+ let ServerlessApplicationRepositoryServiceException$1 = class ServerlessApplicationRepositoryServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, ServerlessApplicationRepositoryServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
120
  const Capability = {
121
121
  CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND",
@@ -123,7 +123,7 @@ const Capability = {
123
123
  CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM",
124
124
  CAPABILITY_RESOURCE_POLICY: "CAPABILITY_RESOURCE_POLICY",
125
125
  };
126
- class BadRequestException extends ServerlessApplicationRepositoryServiceException {
126
+ let BadRequestException$1 = class BadRequestException extends ServerlessApplicationRepositoryServiceException$1 {
127
127
  name = "BadRequestException";
128
128
  $fault = "client";
129
129
  ErrorCode;
@@ -138,8 +138,8 @@ class BadRequestException extends ServerlessApplicationRepositoryServiceExceptio
138
138
  this.ErrorCode = opts.ErrorCode;
139
139
  this.Message = opts.Message;
140
140
  }
141
- }
142
- class ConflictException extends ServerlessApplicationRepositoryServiceException {
141
+ };
142
+ let ConflictException$1 = class ConflictException extends ServerlessApplicationRepositoryServiceException$1 {
143
143
  name = "ConflictException";
144
144
  $fault = "client";
145
145
  ErrorCode;
@@ -154,8 +154,8 @@ class ConflictException extends ServerlessApplicationRepositoryServiceException
154
154
  this.ErrorCode = opts.ErrorCode;
155
155
  this.Message = opts.Message;
156
156
  }
157
- }
158
- class ForbiddenException extends ServerlessApplicationRepositoryServiceException {
157
+ };
158
+ let ForbiddenException$1 = class ForbiddenException extends ServerlessApplicationRepositoryServiceException$1 {
159
159
  name = "ForbiddenException";
160
160
  $fault = "client";
161
161
  ErrorCode;
@@ -170,8 +170,8 @@ class ForbiddenException extends ServerlessApplicationRepositoryServiceException
170
170
  this.ErrorCode = opts.ErrorCode;
171
171
  this.Message = opts.Message;
172
172
  }
173
- }
174
- class InternalServerErrorException extends ServerlessApplicationRepositoryServiceException {
173
+ };
174
+ let InternalServerErrorException$1 = class InternalServerErrorException extends ServerlessApplicationRepositoryServiceException$1 {
175
175
  name = "InternalServerErrorException";
176
176
  $fault = "server";
177
177
  ErrorCode;
@@ -186,8 +186,8 @@ class InternalServerErrorException extends ServerlessApplicationRepositoryServic
186
186
  this.ErrorCode = opts.ErrorCode;
187
187
  this.Message = opts.Message;
188
188
  }
189
- }
190
- class TooManyRequestsException extends ServerlessApplicationRepositoryServiceException {
189
+ };
190
+ let TooManyRequestsException$1 = class TooManyRequestsException extends ServerlessApplicationRepositoryServiceException$1 {
191
191
  name = "TooManyRequestsException";
192
192
  $fault = "client";
193
193
  ErrorCode;
@@ -202,13 +202,13 @@ class TooManyRequestsException extends ServerlessApplicationRepositoryServiceExc
202
202
  this.ErrorCode = opts.ErrorCode;
203
203
  this.Message = opts.Message;
204
204
  }
205
- }
205
+ };
206
206
  const Status = {
207
207
  ACTIVE: "ACTIVE",
208
208
  EXPIRED: "EXPIRED",
209
209
  PREPARING: "PREPARING",
210
210
  };
211
- class NotFoundException extends ServerlessApplicationRepositoryServiceException {
211
+ let NotFoundException$1 = class NotFoundException extends ServerlessApplicationRepositoryServiceException$1 {
212
212
  name = "NotFoundException";
213
213
  $fault = "client";
214
214
  ErrorCode;
@@ -223,778 +223,1881 @@ class NotFoundException extends ServerlessApplicationRepositoryServiceException
223
223
  this.ErrorCode = opts.ErrorCode;
224
224
  this.Message = opts.Message;
225
225
  }
226
- }
227
-
228
- const se_CreateApplicationCommand = async (input, context) => {
229
- const b = core.requestBuilder(input, context);
230
- const headers = {
231
- "content-type": "application/json",
232
- };
233
- b.bp("/applications");
234
- let body;
235
- body = JSON.stringify(smithyClient.take(input, {
236
- author: [, , `Author`],
237
- description: [, , `Description`],
238
- homePageUrl: [, , `HomePageUrl`],
239
- labels: [, (_) => smithyClient._json(_), `Labels`],
240
- licenseBody: [, , `LicenseBody`],
241
- licenseUrl: [, , `LicenseUrl`],
242
- name: [, , `Name`],
243
- readmeBody: [, , `ReadmeBody`],
244
- readmeUrl: [, , `ReadmeUrl`],
245
- semanticVersion: [, , `SemanticVersion`],
246
- sourceCodeArchiveUrl: [, , `SourceCodeArchiveUrl`],
247
- sourceCodeUrl: [, , `SourceCodeUrl`],
248
- spdxLicenseId: [, , `SpdxLicenseId`],
249
- templateBody: [, , `TemplateBody`],
250
- templateUrl: [, , `TemplateUrl`],
251
- }));
252
- b.m("POST").h(headers).b(body);
253
- return b.build();
254
- };
255
- const se_CreateApplicationVersionCommand = async (input, context) => {
256
- const b = core.requestBuilder(input, context);
257
- const headers = {
258
- "content-type": "application/json",
259
- };
260
- b.bp("/applications/{ApplicationId}/versions/{SemanticVersion}");
261
- b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
262
- b.p("SemanticVersion", () => input.SemanticVersion, "{SemanticVersion}", false);
263
- let body;
264
- body = JSON.stringify(smithyClient.take(input, {
265
- sourceCodeArchiveUrl: [, , `SourceCodeArchiveUrl`],
266
- sourceCodeUrl: [, , `SourceCodeUrl`],
267
- templateBody: [, , `TemplateBody`],
268
- templateUrl: [, , `TemplateUrl`],
269
- }));
270
- b.m("PUT").h(headers).b(body);
271
- return b.build();
272
- };
273
- const se_CreateCloudFormationChangeSetCommand = async (input, context) => {
274
- const b = core.requestBuilder(input, context);
275
- const headers = {
276
- "content-type": "application/json",
277
- };
278
- b.bp("/applications/{ApplicationId}/changesets");
279
- b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
280
- let body;
281
- body = JSON.stringify(smithyClient.take(input, {
282
- capabilities: [, (_) => smithyClient._json(_), `Capabilities`],
283
- changeSetName: [, , `ChangeSetName`],
284
- clientToken: [, , `ClientToken`],
285
- description: [, , `Description`],
286
- notificationArns: [, (_) => smithyClient._json(_), `NotificationArns`],
287
- parameterOverrides: [, (_) => se___listOfParameterValue(_), `ParameterOverrides`],
288
- resourceTypes: [, (_) => smithyClient._json(_), `ResourceTypes`],
289
- rollbackConfiguration: [, (_) => se_RollbackConfiguration(_), `RollbackConfiguration`],
290
- semanticVersion: [, , `SemanticVersion`],
291
- stackName: [, , `StackName`],
292
- tags: [, (_) => se___listOfTag(_), `Tags`],
293
- templateId: [, , `TemplateId`],
294
- }));
295
- b.m("POST").h(headers).b(body);
296
- return b.build();
297
- };
298
- const se_CreateCloudFormationTemplateCommand = async (input, context) => {
299
- const b = core.requestBuilder(input, context);
300
- const headers = {
301
- "content-type": "application/json",
302
- };
303
- b.bp("/applications/{ApplicationId}/templates");
304
- b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
305
- let body;
306
- body = JSON.stringify(smithyClient.take(input, {
307
- semanticVersion: [, , `SemanticVersion`],
308
- }));
309
- b.m("POST").h(headers).b(body);
310
- return b.build();
311
- };
312
- const se_DeleteApplicationCommand = async (input, context) => {
313
- const b = core.requestBuilder(input, context);
314
- const headers = {};
315
- b.bp("/applications/{ApplicationId}");
316
- b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
317
- let body;
318
- b.m("DELETE").h(headers).b(body);
319
- return b.build();
320
- };
321
- const se_GetApplicationCommand = async (input, context) => {
322
- const b = core.requestBuilder(input, context);
323
- const headers = {};
324
- b.bp("/applications/{ApplicationId}");
325
- b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
326
- const query = smithyClient.map({
327
- [_sV]: [, input[_SV]],
328
- });
329
- let body;
330
- b.m("GET").h(headers).q(query).b(body);
331
- return b.build();
332
- };
333
- const se_GetApplicationPolicyCommand = async (input, context) => {
334
- const b = core.requestBuilder(input, context);
335
- const headers = {};
336
- b.bp("/applications/{ApplicationId}/policy");
337
- b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
338
- let body;
339
- b.m("GET").h(headers).b(body);
340
- return b.build();
341
- };
342
- const se_GetCloudFormationTemplateCommand = async (input, context) => {
343
- const b = core.requestBuilder(input, context);
344
- const headers = {};
345
- b.bp("/applications/{ApplicationId}/templates/{TemplateId}");
346
- b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
347
- b.p("TemplateId", () => input.TemplateId, "{TemplateId}", false);
348
- let body;
349
- b.m("GET").h(headers).b(body);
350
- return b.build();
351
- };
352
- const se_ListApplicationDependenciesCommand = async (input, context) => {
353
- const b = core.requestBuilder(input, context);
354
- const headers = {};
355
- b.bp("/applications/{ApplicationId}/dependencies");
356
- b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
357
- const query = smithyClient.map({
358
- [_mI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
359
- [_nT]: [, input[_NT]],
360
- [_sV]: [, input[_SV]],
361
- });
362
- let body;
363
- b.m("GET").h(headers).q(query).b(body);
364
- return b.build();
365
- };
366
- const se_ListApplicationsCommand = async (input, context) => {
367
- const b = core.requestBuilder(input, context);
368
- const headers = {};
369
- b.bp("/applications");
370
- const query = smithyClient.map({
371
- [_mI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
372
- [_nT]: [, input[_NT]],
373
- });
374
- let body;
375
- b.m("GET").h(headers).q(query).b(body);
376
- return b.build();
377
- };
378
- const se_ListApplicationVersionsCommand = async (input, context) => {
379
- const b = core.requestBuilder(input, context);
380
- const headers = {};
381
- b.bp("/applications/{ApplicationId}/versions");
382
- b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
383
- const query = smithyClient.map({
384
- [_mI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
385
- [_nT]: [, input[_NT]],
386
- });
387
- let body;
388
- b.m("GET").h(headers).q(query).b(body);
389
- return b.build();
390
- };
391
- const se_PutApplicationPolicyCommand = async (input, context) => {
392
- const b = core.requestBuilder(input, context);
393
- const headers = {
394
- "content-type": "application/json",
395
- };
396
- b.bp("/applications/{ApplicationId}/policy");
397
- b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
398
- let body;
399
- body = JSON.stringify(smithyClient.take(input, {
400
- statements: [, (_) => se___listOfApplicationPolicyStatement(_), `Statements`],
401
- }));
402
- b.m("PUT").h(headers).b(body);
403
- return b.build();
404
- };
405
- const se_UnshareApplicationCommand = async (input, context) => {
406
- const b = core.requestBuilder(input, context);
407
- const headers = {
408
- "content-type": "application/json",
409
- };
410
- b.bp("/applications/{ApplicationId}/unshare");
411
- b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
412
- let body;
413
- body = JSON.stringify(smithyClient.take(input, {
414
- organizationId: [, , `OrganizationId`],
415
- }));
416
- b.m("POST").h(headers).b(body);
417
- return b.build();
418
- };
419
- const se_UpdateApplicationCommand = async (input, context) => {
420
- const b = core.requestBuilder(input, context);
421
- const headers = {
422
- "content-type": "application/json",
423
- };
424
- b.bp("/applications/{ApplicationId}");
425
- b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
426
- let body;
427
- body = JSON.stringify(smithyClient.take(input, {
428
- author: [, , `Author`],
429
- description: [, , `Description`],
430
- homePageUrl: [, , `HomePageUrl`],
431
- labels: [, (_) => smithyClient._json(_), `Labels`],
432
- readmeBody: [, , `ReadmeBody`],
433
- readmeUrl: [, , `ReadmeUrl`],
434
- }));
435
- b.m("PATCH").h(headers).b(body);
436
- return b.build();
437
- };
438
- const de_CreateApplicationCommand = async (output, context) => {
439
- if (output.statusCode !== 201 && output.statusCode >= 300) {
440
- return de_CommandError(output, context);
441
- }
442
- const contents = smithyClient.map({
443
- $metadata: deserializeMetadata(output),
444
- });
445
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
446
- const doc = smithyClient.take(data, {
447
- ApplicationId: [, smithyClient.expectString, `applicationId`],
448
- Author: [, smithyClient.expectString, `author`],
449
- CreationTime: [, smithyClient.expectString, `creationTime`],
450
- Description: [, smithyClient.expectString, `description`],
451
- HomePageUrl: [, smithyClient.expectString, `homePageUrl`],
452
- IsVerifiedAuthor: [, smithyClient.expectBoolean, `isVerifiedAuthor`],
453
- Labels: [, smithyClient._json, `labels`],
454
- LicenseUrl: [, smithyClient.expectString, `licenseUrl`],
455
- Name: [, smithyClient.expectString, `name`],
456
- ReadmeUrl: [, smithyClient.expectString, `readmeUrl`],
457
- SpdxLicenseId: [, smithyClient.expectString, `spdxLicenseId`],
458
- VerifiedAuthorUrl: [, smithyClient.expectString, `verifiedAuthorUrl`],
459
- Version: [, (_) => de_Version(_), `version`],
460
- });
461
- Object.assign(contents, doc);
462
- return contents;
463
- };
464
- const de_CreateApplicationVersionCommand = async (output, context) => {
465
- if (output.statusCode !== 201 && output.statusCode >= 300) {
466
- return de_CommandError(output, context);
467
- }
468
- const contents = smithyClient.map({
469
- $metadata: deserializeMetadata(output),
470
- });
471
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
472
- const doc = smithyClient.take(data, {
473
- ApplicationId: [, smithyClient.expectString, `applicationId`],
474
- CreationTime: [, smithyClient.expectString, `creationTime`],
475
- ParameterDefinitions: [, (_) => de___listOfParameterDefinition(_), `parameterDefinitions`],
476
- RequiredCapabilities: [, smithyClient._json, `requiredCapabilities`],
477
- ResourcesSupported: [, smithyClient.expectBoolean, `resourcesSupported`],
478
- SemanticVersion: [, smithyClient.expectString, `semanticVersion`],
479
- SourceCodeArchiveUrl: [, smithyClient.expectString, `sourceCodeArchiveUrl`],
480
- SourceCodeUrl: [, smithyClient.expectString, `sourceCodeUrl`],
481
- TemplateUrl: [, smithyClient.expectString, `templateUrl`],
482
- });
483
- Object.assign(contents, doc);
484
- return contents;
485
- };
486
- const de_CreateCloudFormationChangeSetCommand = async (output, context) => {
487
- if (output.statusCode !== 201 && output.statusCode >= 300) {
488
- return de_CommandError(output, context);
489
- }
490
- const contents = smithyClient.map({
491
- $metadata: deserializeMetadata(output),
492
- });
493
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
494
- const doc = smithyClient.take(data, {
495
- ApplicationId: [, smithyClient.expectString, `applicationId`],
496
- ChangeSetId: [, smithyClient.expectString, `changeSetId`],
497
- SemanticVersion: [, smithyClient.expectString, `semanticVersion`],
498
- StackId: [, smithyClient.expectString, `stackId`],
499
- });
500
- Object.assign(contents, doc);
501
- return contents;
502
- };
503
- const de_CreateCloudFormationTemplateCommand = async (output, context) => {
504
- if (output.statusCode !== 201 && output.statusCode >= 300) {
505
- return de_CommandError(output, context);
506
- }
507
- const contents = smithyClient.map({
508
- $metadata: deserializeMetadata(output),
509
- });
510
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
511
- const doc = smithyClient.take(data, {
512
- ApplicationId: [, smithyClient.expectString, `applicationId`],
513
- CreationTime: [, smithyClient.expectString, `creationTime`],
514
- ExpirationTime: [, smithyClient.expectString, `expirationTime`],
515
- SemanticVersion: [, smithyClient.expectString, `semanticVersion`],
516
- Status: [, smithyClient.expectString, `status`],
517
- TemplateId: [, smithyClient.expectString, `templateId`],
518
- TemplateUrl: [, smithyClient.expectString, `templateUrl`],
519
- });
520
- Object.assign(contents, doc);
521
- return contents;
522
- };
523
- const de_DeleteApplicationCommand = async (output, context) => {
524
- if (output.statusCode !== 204 && output.statusCode >= 300) {
525
- return de_CommandError(output, context);
526
- }
527
- const contents = smithyClient.map({
528
- $metadata: deserializeMetadata(output),
529
- });
530
- await smithyClient.collectBody(output.body, context);
531
- return contents;
532
226
  };
533
- const de_GetApplicationCommand = async (output, context) => {
534
- if (output.statusCode !== 200 && output.statusCode >= 300) {
535
- return de_CommandError(output, context);
536
- }
537
- const contents = smithyClient.map({
538
- $metadata: deserializeMetadata(output),
539
- });
540
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
541
- const doc = smithyClient.take(data, {
542
- ApplicationId: [, smithyClient.expectString, `applicationId`],
543
- Author: [, smithyClient.expectString, `author`],
544
- CreationTime: [, smithyClient.expectString, `creationTime`],
545
- Description: [, smithyClient.expectString, `description`],
546
- HomePageUrl: [, smithyClient.expectString, `homePageUrl`],
547
- IsVerifiedAuthor: [, smithyClient.expectBoolean, `isVerifiedAuthor`],
548
- Labels: [, smithyClient._json, `labels`],
549
- LicenseUrl: [, smithyClient.expectString, `licenseUrl`],
550
- Name: [, smithyClient.expectString, `name`],
551
- ReadmeUrl: [, smithyClient.expectString, `readmeUrl`],
552
- SpdxLicenseId: [, smithyClient.expectString, `spdxLicenseId`],
553
- VerifiedAuthorUrl: [, smithyClient.expectString, `verifiedAuthorUrl`],
554
- Version: [, (_) => de_Version(_), `version`],
555
- });
556
- Object.assign(contents, doc);
557
- return contents;
558
- };
559
- const de_GetApplicationPolicyCommand = async (output, context) => {
560
- if (output.statusCode !== 200 && output.statusCode >= 300) {
561
- return de_CommandError(output, context);
562
- }
563
- const contents = smithyClient.map({
564
- $metadata: deserializeMetadata(output),
565
- });
566
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
567
- const doc = smithyClient.take(data, {
568
- Statements: [, (_) => de___listOfApplicationPolicyStatement(_), `statements`],
569
- });
570
- Object.assign(contents, doc);
571
- return contents;
572
- };
573
- const de_GetCloudFormationTemplateCommand = async (output, context) => {
574
- if (output.statusCode !== 200 && output.statusCode >= 300) {
575
- return de_CommandError(output, context);
576
- }
577
- const contents = smithyClient.map({
578
- $metadata: deserializeMetadata(output),
579
- });
580
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
581
- const doc = smithyClient.take(data, {
582
- ApplicationId: [, smithyClient.expectString, `applicationId`],
583
- CreationTime: [, smithyClient.expectString, `creationTime`],
584
- ExpirationTime: [, smithyClient.expectString, `expirationTime`],
585
- SemanticVersion: [, smithyClient.expectString, `semanticVersion`],
586
- Status: [, smithyClient.expectString, `status`],
587
- TemplateId: [, smithyClient.expectString, `templateId`],
588
- TemplateUrl: [, smithyClient.expectString, `templateUrl`],
589
- });
590
- Object.assign(contents, doc);
591
- return contents;
592
- };
593
- const de_ListApplicationDependenciesCommand = async (output, context) => {
594
- if (output.statusCode !== 200 && output.statusCode >= 300) {
595
- return de_CommandError(output, context);
596
- }
597
- const contents = smithyClient.map({
598
- $metadata: deserializeMetadata(output),
599
- });
600
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
601
- const doc = smithyClient.take(data, {
602
- Dependencies: [, (_) => de___listOfApplicationDependencySummary(_), `dependencies`],
603
- NextToken: [, smithyClient.expectString, `nextToken`],
604
- });
605
- Object.assign(contents, doc);
606
- return contents;
607
- };
608
- const de_ListApplicationsCommand = async (output, context) => {
609
- if (output.statusCode !== 200 && output.statusCode >= 300) {
610
- return de_CommandError(output, context);
611
- }
612
- const contents = smithyClient.map({
613
- $metadata: deserializeMetadata(output),
614
- });
615
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
616
- const doc = smithyClient.take(data, {
617
- Applications: [, (_) => de___listOfApplicationSummary(_), `applications`],
618
- NextToken: [, smithyClient.expectString, `nextToken`],
619
- });
620
- Object.assign(contents, doc);
621
- return contents;
622
- };
623
- const de_ListApplicationVersionsCommand = async (output, context) => {
624
- if (output.statusCode !== 200 && output.statusCode >= 300) {
625
- return de_CommandError(output, context);
626
- }
627
- const contents = smithyClient.map({
628
- $metadata: deserializeMetadata(output),
629
- });
630
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
631
- const doc = smithyClient.take(data, {
632
- NextToken: [, smithyClient.expectString, `nextToken`],
633
- Versions: [, (_) => de___listOfVersionSummary(_), `versions`],
634
- });
635
- Object.assign(contents, doc);
636
- return contents;
637
- };
638
- const de_PutApplicationPolicyCommand = async (output, context) => {
639
- if (output.statusCode !== 200 && output.statusCode >= 300) {
640
- return de_CommandError(output, context);
641
- }
642
- const contents = smithyClient.map({
643
- $metadata: deserializeMetadata(output),
644
- });
645
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
646
- const doc = smithyClient.take(data, {
647
- Statements: [, (_) => de___listOfApplicationPolicyStatement(_), `statements`],
648
- });
649
- Object.assign(contents, doc);
650
- return contents;
651
- };
652
- const de_UnshareApplicationCommand = async (output, context) => {
653
- if (output.statusCode !== 204 && output.statusCode >= 300) {
654
- return de_CommandError(output, context);
655
- }
656
- const contents = smithyClient.map({
657
- $metadata: deserializeMetadata(output),
658
- });
659
- await smithyClient.collectBody(output.body, context);
660
- return contents;
661
- };
662
- const de_UpdateApplicationCommand = async (output, context) => {
663
- if (output.statusCode !== 200 && output.statusCode >= 300) {
664
- return de_CommandError(output, context);
665
- }
666
- const contents = smithyClient.map({
667
- $metadata: deserializeMetadata(output),
668
- });
669
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
670
- const doc = smithyClient.take(data, {
671
- ApplicationId: [, smithyClient.expectString, `applicationId`],
672
- Author: [, smithyClient.expectString, `author`],
673
- CreationTime: [, smithyClient.expectString, `creationTime`],
674
- Description: [, smithyClient.expectString, `description`],
675
- HomePageUrl: [, smithyClient.expectString, `homePageUrl`],
676
- IsVerifiedAuthor: [, smithyClient.expectBoolean, `isVerifiedAuthor`],
677
- Labels: [, smithyClient._json, `labels`],
678
- LicenseUrl: [, smithyClient.expectString, `licenseUrl`],
679
- Name: [, smithyClient.expectString, `name`],
680
- ReadmeUrl: [, smithyClient.expectString, `readmeUrl`],
681
- SpdxLicenseId: [, smithyClient.expectString, `spdxLicenseId`],
682
- VerifiedAuthorUrl: [, smithyClient.expectString, `verifiedAuthorUrl`],
683
- Version: [, (_) => de_Version(_), `version`],
684
- });
685
- Object.assign(contents, doc);
686
- return contents;
687
- };
688
- const de_CommandError = async (output, context) => {
689
- const parsedOutput = {
690
- ...output,
691
- body: await core$1.parseJsonErrorBody(output.body, context),
692
- };
693
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
694
- switch (errorCode) {
695
- case "BadRequestException":
696
- case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
697
- throw await de_BadRequestExceptionRes(parsedOutput);
698
- case "ConflictException":
699
- case "com.amazonaws.serverlessapplicationrepository#ConflictException":
700
- throw await de_ConflictExceptionRes(parsedOutput);
701
- case "ForbiddenException":
702
- case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
703
- throw await de_ForbiddenExceptionRes(parsedOutput);
704
- case "InternalServerErrorException":
705
- case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
706
- throw await de_InternalServerErrorExceptionRes(parsedOutput);
707
- case "TooManyRequestsException":
708
- case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
709
- throw await de_TooManyRequestsExceptionRes(parsedOutput);
710
- case "NotFoundException":
711
- case "com.amazonaws.serverlessapplicationrepository#NotFoundException":
712
- throw await de_NotFoundExceptionRes(parsedOutput);
713
- default:
714
- const parsedBody = parsedOutput.body;
715
- return throwDefaultError({
716
- output,
717
- parsedBody,
718
- errorCode,
719
- });
720
- }
721
- };
722
- const throwDefaultError = smithyClient.withBaseException(ServerlessApplicationRepositoryServiceException);
723
- const de_BadRequestExceptionRes = async (parsedOutput, context) => {
724
- const contents = smithyClient.map({});
725
- const data = parsedOutput.body;
726
- const doc = smithyClient.take(data, {
727
- ErrorCode: [, smithyClient.expectString, `errorCode`],
728
- Message: [, smithyClient.expectString, `message`],
729
- });
730
- Object.assign(contents, doc);
731
- const exception = new BadRequestException({
732
- $metadata: deserializeMetadata(parsedOutput),
733
- ...contents,
734
- });
735
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
736
- };
737
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
738
- const contents = smithyClient.map({});
739
- const data = parsedOutput.body;
740
- const doc = smithyClient.take(data, {
741
- ErrorCode: [, smithyClient.expectString, `errorCode`],
742
- Message: [, smithyClient.expectString, `message`],
743
- });
744
- Object.assign(contents, doc);
745
- const exception = new ConflictException({
746
- $metadata: deserializeMetadata(parsedOutput),
747
- ...contents,
748
- });
749
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
750
- };
751
- const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
752
- const contents = smithyClient.map({});
753
- const data = parsedOutput.body;
754
- const doc = smithyClient.take(data, {
755
- ErrorCode: [, smithyClient.expectString, `errorCode`],
756
- Message: [, smithyClient.expectString, `message`],
757
- });
758
- Object.assign(contents, doc);
759
- const exception = new ForbiddenException({
760
- $metadata: deserializeMetadata(parsedOutput),
761
- ...contents,
762
- });
763
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
764
- };
765
- const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
766
- const contents = smithyClient.map({});
767
- const data = parsedOutput.body;
768
- const doc = smithyClient.take(data, {
769
- ErrorCode: [, smithyClient.expectString, `errorCode`],
770
- Message: [, smithyClient.expectString, `message`],
771
- });
772
- Object.assign(contents, doc);
773
- const exception = new InternalServerErrorException({
774
- $metadata: deserializeMetadata(parsedOutput),
775
- ...contents,
776
- });
777
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
778
- };
779
- const de_NotFoundExceptionRes = async (parsedOutput, context) => {
780
- const contents = smithyClient.map({});
781
- const data = parsedOutput.body;
782
- const doc = smithyClient.take(data, {
783
- ErrorCode: [, smithyClient.expectString, `errorCode`],
784
- Message: [, smithyClient.expectString, `message`],
785
- });
786
- Object.assign(contents, doc);
787
- const exception = new NotFoundException({
788
- $metadata: deserializeMetadata(parsedOutput),
789
- ...contents,
790
- });
791
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
792
- };
793
- const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
794
- const contents = smithyClient.map({});
795
- const data = parsedOutput.body;
796
- const doc = smithyClient.take(data, {
797
- ErrorCode: [, smithyClient.expectString, `errorCode`],
798
- Message: [, smithyClient.expectString, `message`],
799
- });
800
- Object.assign(contents, doc);
801
- const exception = new TooManyRequestsException({
802
- $metadata: deserializeMetadata(parsedOutput),
803
- ...contents,
804
- });
805
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
806
- };
807
- const se___listOfApplicationPolicyStatement = (input, context) => {
808
- return input
809
- .filter((e) => e != null)
810
- .map((entry) => {
811
- return se_ApplicationPolicyStatement(entry);
812
- });
813
- };
814
- const se___listOfParameterValue = (input, context) => {
815
- return input
816
- .filter((e) => e != null)
817
- .map((entry) => {
818
- return se_ParameterValue(entry);
819
- });
820
- };
821
- const se___listOfRollbackTrigger = (input, context) => {
822
- return input
823
- .filter((e) => e != null)
824
- .map((entry) => {
825
- return se_RollbackTrigger(entry);
826
- });
827
- };
828
- const se___listOfTag = (input, context) => {
829
- return input
830
- .filter((e) => e != null)
831
- .map((entry) => {
832
- return se_Tag(entry);
833
- });
834
- };
835
- const se_ApplicationPolicyStatement = (input, context) => {
836
- return smithyClient.take(input, {
837
- actions: [, smithyClient._json, `Actions`],
838
- principalOrgIDs: [, smithyClient._json, `PrincipalOrgIDs`],
839
- principals: [, smithyClient._json, `Principals`],
840
- statementId: [, , `StatementId`],
841
- });
842
- };
843
- const se_ParameterValue = (input, context) => {
844
- return smithyClient.take(input, {
845
- name: [, , `Name`],
846
- value: [, , `Value`],
847
- });
848
- };
849
- const se_RollbackConfiguration = (input, context) => {
850
- return smithyClient.take(input, {
851
- monitoringTimeInMinutes: [, , `MonitoringTimeInMinutes`],
852
- rollbackTriggers: [, (_) => se___listOfRollbackTrigger(_), `RollbackTriggers`],
853
- });
854
- };
855
- const se_RollbackTrigger = (input, context) => {
856
- return smithyClient.take(input, {
857
- arn: [, , `Arn`],
858
- type: [, , `Type`],
859
- });
860
- };
861
- const se_Tag = (input, context) => {
862
- return smithyClient.take(input, {
863
- key: [, , `Key`],
864
- value: [, , `Value`],
865
- });
866
- };
867
- const de___listOfApplicationDependencySummary = (output, context) => {
868
- const retVal = (output || [])
869
- .filter((e) => e != null)
870
- .map((entry) => {
871
- return de_ApplicationDependencySummary(entry);
872
- });
873
- return retVal;
874
- };
875
- const de___listOfApplicationPolicyStatement = (output, context) => {
876
- const retVal = (output || [])
877
- .filter((e) => e != null)
878
- .map((entry) => {
879
- return de_ApplicationPolicyStatement(entry);
880
- });
881
- return retVal;
882
- };
883
- const de___listOfApplicationSummary = (output, context) => {
884
- const retVal = (output || [])
885
- .filter((e) => e != null)
886
- .map((entry) => {
887
- return de_ApplicationSummary(entry);
888
- });
889
- return retVal;
890
- };
891
- const de___listOfParameterDefinition = (output, context) => {
892
- const retVal = (output || [])
893
- .filter((e) => e != null)
894
- .map((entry) => {
895
- return de_ParameterDefinition(entry);
896
- });
897
- return retVal;
898
- };
899
- const de___listOfVersionSummary = (output, context) => {
900
- const retVal = (output || [])
901
- .filter((e) => e != null)
902
- .map((entry) => {
903
- return de_VersionSummary(entry);
904
- });
905
- return retVal;
906
- };
907
- const de_ApplicationDependencySummary = (output, context) => {
908
- return smithyClient.take(output, {
909
- ApplicationId: [, smithyClient.expectString, `applicationId`],
910
- SemanticVersion: [, smithyClient.expectString, `semanticVersion`],
911
- });
912
- };
913
- const de_ApplicationPolicyStatement = (output, context) => {
914
- return smithyClient.take(output, {
915
- Actions: [, smithyClient._json, `actions`],
916
- PrincipalOrgIDs: [, smithyClient._json, `principalOrgIDs`],
917
- Principals: [, smithyClient._json, `principals`],
918
- StatementId: [, smithyClient.expectString, `statementId`],
919
- });
920
- };
921
- const de_ApplicationSummary = (output, context) => {
922
- return smithyClient.take(output, {
923
- ApplicationId: [, smithyClient.expectString, `applicationId`],
924
- Author: [, smithyClient.expectString, `author`],
925
- CreationTime: [, smithyClient.expectString, `creationTime`],
926
- Description: [, smithyClient.expectString, `description`],
927
- HomePageUrl: [, smithyClient.expectString, `homePageUrl`],
928
- Labels: [, smithyClient._json, `labels`],
929
- Name: [, smithyClient.expectString, `name`],
930
- SpdxLicenseId: [, smithyClient.expectString, `spdxLicenseId`],
931
- });
932
- };
933
- const de_ParameterDefinition = (output, context) => {
934
- return smithyClient.take(output, {
935
- AllowedPattern: [, smithyClient.expectString, `allowedPattern`],
936
- AllowedValues: [, smithyClient._json, `allowedValues`],
937
- ConstraintDescription: [, smithyClient.expectString, `constraintDescription`],
938
- DefaultValue: [, smithyClient.expectString, `defaultValue`],
939
- Description: [, smithyClient.expectString, `description`],
940
- MaxLength: [, smithyClient.expectInt32, `maxLength`],
941
- MaxValue: [, smithyClient.expectInt32, `maxValue`],
942
- MinLength: [, smithyClient.expectInt32, `minLength`],
943
- MinValue: [, smithyClient.expectInt32, `minValue`],
944
- Name: [, smithyClient.expectString, `name`],
945
- NoEcho: [, smithyClient.expectBoolean, `noEcho`],
946
- ReferencedByResources: [, smithyClient._json, `referencedByResources`],
947
- Type: [, smithyClient.expectString, `type`],
948
- });
949
- };
950
- const de_Version = (output, context) => {
951
- return smithyClient.take(output, {
952
- ApplicationId: [, smithyClient.expectString, `applicationId`],
953
- CreationTime: [, smithyClient.expectString, `creationTime`],
954
- ParameterDefinitions: [, (_) => de___listOfParameterDefinition(_), `parameterDefinitions`],
955
- RequiredCapabilities: [, smithyClient._json, `requiredCapabilities`],
956
- ResourcesSupported: [, smithyClient.expectBoolean, `resourcesSupported`],
957
- SemanticVersion: [, smithyClient.expectString, `semanticVersion`],
958
- SourceCodeArchiveUrl: [, smithyClient.expectString, `sourceCodeArchiveUrl`],
959
- SourceCodeUrl: [, smithyClient.expectString, `sourceCodeUrl`],
960
- TemplateUrl: [, smithyClient.expectString, `templateUrl`],
961
- });
962
- };
963
- const de_VersionSummary = (output, context) => {
964
- return smithyClient.take(output, {
965
- ApplicationId: [, smithyClient.expectString, `applicationId`],
966
- CreationTime: [, smithyClient.expectString, `creationTime`],
967
- SemanticVersion: [, smithyClient.expectString, `semanticVersion`],
968
- SourceCodeUrl: [, smithyClient.expectString, `sourceCodeUrl`],
969
- });
970
- };
971
- const deserializeMetadata = (output) => ({
972
- httpStatusCode: output.statusCode,
973
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
974
- extendedRequestId: output.headers["x-amz-id-2"],
975
- cfId: output.headers["x-amz-cf-id"],
976
- });
227
+
228
+ const _A = "Actions";
229
+ const _ADS = "ApplicationDependencySummary";
230
+ const _AI = "ApplicationId";
231
+ const _AP = "AllowedPattern";
232
+ const _APS = "ApplicationPolicyStatement";
233
+ const _AS = "ApplicationSummary";
234
+ const _AV = "AllowedValues";
235
+ const _Ap = "Applications";
236
+ const _Ar = "Arn";
237
+ const _Au = "Author";
238
+ const _BRE = "BadRequestException";
239
+ const _C = "Capabilities";
240
+ const _CA = "CreateApplication";
241
+ const _CAR = "CreateApplicationRequest";
242
+ const _CARr = "CreateApplicationResponse";
243
+ const _CAV = "CreateApplicationVersion";
244
+ const _CAVR = "CreateApplicationVersionRequest";
245
+ const _CAVRr = "CreateApplicationVersionResponse";
246
+ const _CCFCS = "CreateCloudFormationChangeSet";
247
+ const _CCFCSR = "CreateCloudFormationChangeSetRequest";
248
+ const _CCFCSRr = "CreateCloudFormationChangeSetResponse";
249
+ const _CCFT = "CreateCloudFormationTemplate";
250
+ const _CCFTR = "CreateCloudFormationTemplateRequest";
251
+ const _CCFTRr = "CreateCloudFormationTemplateResponse";
252
+ const _CD = "ConstraintDescription";
253
+ const _CE = "ConflictException";
254
+ const _CSI = "ChangeSetId";
255
+ const _CSN = "ChangeSetName";
256
+ const _CT = "CreationTime";
257
+ const _CTl = "ClientToken";
258
+ const _D = "Description";
259
+ const _DA = "DeleteApplication";
260
+ const _DAR = "DeleteApplicationRequest";
261
+ const _DV = "DefaultValue";
262
+ const _De = "Dependencies";
263
+ const _EC = "ErrorCode";
264
+ const _ET = "ExpirationTime";
265
+ const _FE = "ForbiddenException";
266
+ const _GA = "GetApplication";
267
+ const _GAP = "GetApplicationPolicy";
268
+ const _GAPR = "GetApplicationPolicyRequest";
269
+ const _GAPRe = "GetApplicationPolicyResponse";
270
+ const _GAR = "GetApplicationRequest";
271
+ const _GARe = "GetApplicationResponse";
272
+ const _GCFT = "GetCloudFormationTemplate";
273
+ const _GCFTR = "GetCloudFormationTemplateRequest";
274
+ const _GCFTRe = "GetCloudFormationTemplateResponse";
275
+ const _HPU = "HomePageUrl";
276
+ const _ISEE = "InternalServerErrorException";
277
+ const _IVA = "IsVerifiedAuthor";
278
+ const _K = "Key";
279
+ const _L = "Labels";
280
+ const _LA = "ListApplications";
281
+ const _LAD = "ListApplicationDependencies";
282
+ const _LADR = "ListApplicationDependenciesRequest";
283
+ const _LADRi = "ListApplicationDependenciesResponse";
284
+ const _LAR = "ListApplicationsRequest";
285
+ const _LARi = "ListApplicationsResponse";
286
+ const _LAV = "ListApplicationVersions";
287
+ const _LAVR = "ListApplicationVersionsRequest";
288
+ const _LAVRi = "ListApplicationVersionsResponse";
289
+ const _LB = "LicenseBody";
290
+ const _LU = "LicenseUrl";
291
+ const _M = "Message";
977
292
  const _MI = "MaxItems";
293
+ const _ML = "MaxLength";
294
+ const _MLi = "MinLength";
295
+ const _MTIM = "MonitoringTimeInMinutes";
296
+ const _MV = "MaxValue";
297
+ const _MVi = "MinValue";
298
+ const _N = "Name";
299
+ const _NA = "NotificationArns";
300
+ const _NE = "NoEcho";
301
+ const _NFE = "NotFoundException";
978
302
  const _NT = "NextToken";
303
+ const _OI = "OrganizationId";
304
+ const _P = "Principals";
305
+ const _PAP = "PutApplicationPolicy";
306
+ const _PAPR = "PutApplicationPolicyRequest";
307
+ const _PAPRu = "PutApplicationPolicyResponse";
308
+ const _PD = "ParameterDefinitions";
309
+ const _PDa = "ParameterDefinition";
310
+ const _PO = "ParameterOverrides";
311
+ const _POID = "PrincipalOrgIDs";
312
+ const _PV = "ParameterValue";
313
+ const _RB = "ReadmeBody";
314
+ const _RBR = "ReferencedByResources";
315
+ const _RC = "RequiredCapabilities";
316
+ const _RCo = "RollbackConfiguration";
317
+ const _RS = "ResourcesSupported";
318
+ const _RT = "ResourceTypes";
319
+ const _RTo = "RollbackTriggers";
320
+ const _RTol = "RollbackTrigger";
321
+ const _RU = "ReadmeUrl";
322
+ const _S = "Status";
323
+ const _SCAU = "SourceCodeArchiveUrl";
324
+ const _SCU = "SourceCodeUrl";
325
+ const _SI = "StatementId";
326
+ const _SIt = "StackId";
327
+ const _SLI = "SpdxLicenseId";
328
+ const _SN = "StackName";
979
329
  const _SV = "SemanticVersion";
330
+ const _St = "Statements";
331
+ const _T = "Tags";
332
+ const _TB = "TemplateBody";
333
+ const _TI = "TemplateId";
334
+ const _TMRE = "TooManyRequestsException";
335
+ const _TU = "TemplateUrl";
336
+ const _Ta = "Tag";
337
+ const _Ty = "Type";
338
+ const _UA = "UnshareApplication";
339
+ const _UAR = "UnshareApplicationRequest";
340
+ const _UARp = "UpdateApplicationRequest";
341
+ const _UARpd = "UpdateApplicationResponse";
342
+ const _UAp = "UpdateApplication";
343
+ const _V = "Version";
344
+ const _VAU = "VerifiedAuthorUrl";
345
+ const _VS = "VersionSummary";
346
+ const _Va = "Value";
347
+ const _Ve = "Versions";
348
+ const _a = "actions";
349
+ const _aI = "applicationId";
350
+ const _aP = "allowedPattern";
351
+ const _aV = "allowedValues";
352
+ const _ap = "applications";
353
+ const _ar = "arn";
354
+ const _au = "author";
355
+ const _c = "client";
356
+ const _cD = "constraintDescription";
357
+ const _cSI = "changeSetId";
358
+ const _cSN = "changeSetName";
359
+ const _cT = "creationTime";
360
+ const _cTl = "clientToken";
361
+ const _ca = "capabilities";
362
+ const _d = "description";
363
+ const _dV = "defaultValue";
364
+ const _de = "dependencies";
365
+ const _e = "error";
366
+ const _eC = "errorCode";
367
+ const _eT = "expirationTime";
368
+ const _h = "http";
369
+ const _hE = "httpError";
370
+ const _hPU = "homePageUrl";
371
+ const _hQ = "httpQuery";
372
+ const _iVA = "isVerifiedAuthor";
373
+ const _jN = "jsonName";
374
+ const _k = "key";
375
+ const _l = "labels";
376
+ const _lB = "licenseBody";
377
+ const _lOADS = "__listOfApplicationDependencySummary";
378
+ const _lOAPS = "__listOfApplicationPolicyStatement";
379
+ const _lOAS = "__listOfApplicationSummary";
380
+ const _lOPD = "__listOfParameterDefinition";
381
+ const _lOPV = "__listOfParameterValue";
382
+ const _lORT = "__listOfRollbackTrigger";
383
+ const _lOT = "__listOfTag";
384
+ const _lOVS = "__listOfVersionSummary";
385
+ const _lU = "licenseUrl";
386
+ const _m = "message";
980
387
  const _mI = "maxItems";
388
+ const _mL = "maxLength";
389
+ const _mLi = "minLength";
390
+ const _mTIM = "monitoringTimeInMinutes";
391
+ const _mV = "maxValue";
392
+ const _mVi = "minValue";
393
+ const _n = "name";
394
+ const _nA = "notificationArns";
395
+ const _nE = "noEcho";
981
396
  const _nT = "nextToken";
397
+ const _oI = "organizationId";
398
+ const _p = "principals";
399
+ const _pD = "parameterDefinitions";
400
+ const _pO = "parameterOverrides";
401
+ const _pOID = "principalOrgIDs";
402
+ const _rB = "readmeBody";
403
+ const _rBR = "referencedByResources";
404
+ const _rC = "requiredCapabilities";
405
+ const _rCo = "rollbackConfiguration";
406
+ const _rS = "resourcesSupported";
407
+ const _rT = "resourceTypes";
408
+ const _rTo = "rollbackTriggers";
409
+ const _rU = "readmeUrl";
410
+ const _s = "status";
411
+ const _sCAU = "sourceCodeArchiveUrl";
412
+ const _sCU = "sourceCodeUrl";
413
+ const _sI = "statementId";
414
+ const _sIt = "stackId";
415
+ const _sLI = "spdxLicenseId";
416
+ const _sN = "stackName";
982
417
  const _sV = "semanticVersion";
418
+ const _se = "server";
419
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.serverlessapplicationrepository";
420
+ const _st = "statements";
421
+ const _t = "tags";
422
+ const _tB = "templateBody";
423
+ const _tI = "templateId";
424
+ const _tU = "templateUrl";
425
+ const _ty = "type";
426
+ const _v = "version";
427
+ const _vAU = "verifiedAuthorUrl";
428
+ const _va = "value";
429
+ const _ve = "versions";
430
+ const n0 = "com.amazonaws.serverlessapplicationrepository";
431
+ var ApplicationDependencySummary = [
432
+ 3,
433
+ n0,
434
+ _ADS,
435
+ 0,
436
+ [_AI, _SV],
437
+ [
438
+ [
439
+ 0,
440
+ {
441
+ [_jN]: _aI,
442
+ },
443
+ ],
444
+ [
445
+ 0,
446
+ {
447
+ [_jN]: _sV,
448
+ },
449
+ ],
450
+ ],
451
+ ];
452
+ var ApplicationPolicyStatement = [
453
+ 3,
454
+ n0,
455
+ _APS,
456
+ 0,
457
+ [_A, _POID, _P, _SI],
458
+ [
459
+ [
460
+ 64 | 0,
461
+ {
462
+ [_jN]: _a,
463
+ },
464
+ ],
465
+ [
466
+ 64 | 0,
467
+ {
468
+ [_jN]: _pOID,
469
+ },
470
+ ],
471
+ [
472
+ 64 | 0,
473
+ {
474
+ [_jN]: _p,
475
+ },
476
+ ],
477
+ [
478
+ 0,
479
+ {
480
+ [_jN]: _sI,
481
+ },
482
+ ],
483
+ ],
484
+ ];
485
+ var ApplicationSummary = [
486
+ 3,
487
+ n0,
488
+ _AS,
489
+ 0,
490
+ [_AI, _Au, _CT, _D, _HPU, _L, _N, _SLI],
491
+ [
492
+ [
493
+ 0,
494
+ {
495
+ [_jN]: _aI,
496
+ },
497
+ ],
498
+ [
499
+ 0,
500
+ {
501
+ [_jN]: _au,
502
+ },
503
+ ],
504
+ [
505
+ 0,
506
+ {
507
+ [_jN]: _cT,
508
+ },
509
+ ],
510
+ [
511
+ 0,
512
+ {
513
+ [_jN]: _d,
514
+ },
515
+ ],
516
+ [
517
+ 0,
518
+ {
519
+ [_jN]: _hPU,
520
+ },
521
+ ],
522
+ [
523
+ 64 | 0,
524
+ {
525
+ [_jN]: _l,
526
+ },
527
+ ],
528
+ [
529
+ 0,
530
+ {
531
+ [_jN]: _n,
532
+ },
533
+ ],
534
+ [
535
+ 0,
536
+ {
537
+ [_jN]: _sLI,
538
+ },
539
+ ],
540
+ ],
541
+ ];
542
+ var BadRequestException = [
543
+ -3,
544
+ n0,
545
+ _BRE,
546
+ {
547
+ [_e]: _c,
548
+ [_hE]: 400,
549
+ },
550
+ [_EC, _M],
551
+ [
552
+ [
553
+ 0,
554
+ {
555
+ [_jN]: _eC,
556
+ },
557
+ ],
558
+ [
559
+ 0,
560
+ {
561
+ [_jN]: _m,
562
+ },
563
+ ],
564
+ ],
565
+ ];
566
+ schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
567
+ var ConflictException = [
568
+ -3,
569
+ n0,
570
+ _CE,
571
+ {
572
+ [_e]: _c,
573
+ [_hE]: 409,
574
+ },
575
+ [_EC, _M],
576
+ [
577
+ [
578
+ 0,
579
+ {
580
+ [_jN]: _eC,
581
+ },
582
+ ],
583
+ [
584
+ 0,
585
+ {
586
+ [_jN]: _m,
587
+ },
588
+ ],
589
+ ],
590
+ ];
591
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
592
+ var CreateApplicationRequest = [
593
+ 3,
594
+ n0,
595
+ _CAR,
596
+ 0,
597
+ [_Au, _D, _HPU, _L, _LB, _LU, _N, _RB, _RU, _SV, _SCAU, _SCU, _SLI, _TB, _TU],
598
+ [
599
+ [
600
+ 0,
601
+ {
602
+ [_jN]: _au,
603
+ },
604
+ ],
605
+ [
606
+ 0,
607
+ {
608
+ [_jN]: _d,
609
+ },
610
+ ],
611
+ [
612
+ 0,
613
+ {
614
+ [_jN]: _hPU,
615
+ },
616
+ ],
617
+ [
618
+ 64 | 0,
619
+ {
620
+ [_jN]: _l,
621
+ },
622
+ ],
623
+ [
624
+ 0,
625
+ {
626
+ [_jN]: _lB,
627
+ },
628
+ ],
629
+ [
630
+ 0,
631
+ {
632
+ [_jN]: _lU,
633
+ },
634
+ ],
635
+ [
636
+ 0,
637
+ {
638
+ [_jN]: _n,
639
+ },
640
+ ],
641
+ [
642
+ 0,
643
+ {
644
+ [_jN]: _rB,
645
+ },
646
+ ],
647
+ [
648
+ 0,
649
+ {
650
+ [_jN]: _rU,
651
+ },
652
+ ],
653
+ [
654
+ 0,
655
+ {
656
+ [_jN]: _sV,
657
+ },
658
+ ],
659
+ [
660
+ 0,
661
+ {
662
+ [_jN]: _sCAU,
663
+ },
664
+ ],
665
+ [
666
+ 0,
667
+ {
668
+ [_jN]: _sCU,
669
+ },
670
+ ],
671
+ [
672
+ 0,
673
+ {
674
+ [_jN]: _sLI,
675
+ },
676
+ ],
677
+ [
678
+ 0,
679
+ {
680
+ [_jN]: _tB,
681
+ },
682
+ ],
683
+ [
684
+ 0,
685
+ {
686
+ [_jN]: _tU,
687
+ },
688
+ ],
689
+ ],
690
+ ];
691
+ var CreateApplicationResponse = [
692
+ 3,
693
+ n0,
694
+ _CARr,
695
+ 0,
696
+ [_AI, _Au, _CT, _D, _HPU, _IVA, _L, _LU, _N, _RU, _SLI, _VAU, _V],
697
+ [
698
+ [
699
+ 0,
700
+ {
701
+ [_jN]: _aI,
702
+ },
703
+ ],
704
+ [
705
+ 0,
706
+ {
707
+ [_jN]: _au,
708
+ },
709
+ ],
710
+ [
711
+ 0,
712
+ {
713
+ [_jN]: _cT,
714
+ },
715
+ ],
716
+ [
717
+ 0,
718
+ {
719
+ [_jN]: _d,
720
+ },
721
+ ],
722
+ [
723
+ 0,
724
+ {
725
+ [_jN]: _hPU,
726
+ },
727
+ ],
728
+ [
729
+ 2,
730
+ {
731
+ [_jN]: _iVA,
732
+ },
733
+ ],
734
+ [
735
+ 64 | 0,
736
+ {
737
+ [_jN]: _l,
738
+ },
739
+ ],
740
+ [
741
+ 0,
742
+ {
743
+ [_jN]: _lU,
744
+ },
745
+ ],
746
+ [
747
+ 0,
748
+ {
749
+ [_jN]: _n,
750
+ },
751
+ ],
752
+ [
753
+ 0,
754
+ {
755
+ [_jN]: _rU,
756
+ },
757
+ ],
758
+ [
759
+ 0,
760
+ {
761
+ [_jN]: _sLI,
762
+ },
763
+ ],
764
+ [
765
+ 0,
766
+ {
767
+ [_jN]: _vAU,
768
+ },
769
+ ],
770
+ [
771
+ () => Version,
772
+ {
773
+ [_jN]: _v,
774
+ },
775
+ ],
776
+ ],
777
+ ];
778
+ var CreateApplicationVersionRequest = [
779
+ 3,
780
+ n0,
781
+ _CAVR,
782
+ 0,
783
+ [_AI, _SV, _SCAU, _SCU, _TB, _TU],
784
+ [
785
+ [0, 1],
786
+ [0, 1],
787
+ [
788
+ 0,
789
+ {
790
+ [_jN]: _sCAU,
791
+ },
792
+ ],
793
+ [
794
+ 0,
795
+ {
796
+ [_jN]: _sCU,
797
+ },
798
+ ],
799
+ [
800
+ 0,
801
+ {
802
+ [_jN]: _tB,
803
+ },
804
+ ],
805
+ [
806
+ 0,
807
+ {
808
+ [_jN]: _tU,
809
+ },
810
+ ],
811
+ ],
812
+ ];
813
+ var CreateApplicationVersionResponse = [
814
+ 3,
815
+ n0,
816
+ _CAVRr,
817
+ 0,
818
+ [_AI, _CT, _PD, _RC, _RS, _SV, _SCAU, _SCU, _TU],
819
+ [
820
+ [
821
+ 0,
822
+ {
823
+ [_jN]: _aI,
824
+ },
825
+ ],
826
+ [
827
+ 0,
828
+ {
829
+ [_jN]: _cT,
830
+ },
831
+ ],
832
+ [
833
+ () => __listOfParameterDefinition,
834
+ {
835
+ [_jN]: _pD,
836
+ },
837
+ ],
838
+ [
839
+ 64 | 0,
840
+ {
841
+ [_jN]: _rC,
842
+ },
843
+ ],
844
+ [
845
+ 2,
846
+ {
847
+ [_jN]: _rS,
848
+ },
849
+ ],
850
+ [
851
+ 0,
852
+ {
853
+ [_jN]: _sV,
854
+ },
855
+ ],
856
+ [
857
+ 0,
858
+ {
859
+ [_jN]: _sCAU,
860
+ },
861
+ ],
862
+ [
863
+ 0,
864
+ {
865
+ [_jN]: _sCU,
866
+ },
867
+ ],
868
+ [
869
+ 0,
870
+ {
871
+ [_jN]: _tU,
872
+ },
873
+ ],
874
+ ],
875
+ ];
876
+ var CreateCloudFormationChangeSetRequest = [
877
+ 3,
878
+ n0,
879
+ _CCFCSR,
880
+ 0,
881
+ [_AI, _C, _CSN, _CTl, _D, _NA, _PO, _RT, _RCo, _SV, _SN, _T, _TI],
882
+ [
883
+ [0, 1],
884
+ [
885
+ 64 | 0,
886
+ {
887
+ [_jN]: _ca,
888
+ },
889
+ ],
890
+ [
891
+ 0,
892
+ {
893
+ [_jN]: _cSN,
894
+ },
895
+ ],
896
+ [
897
+ 0,
898
+ {
899
+ [_jN]: _cTl,
900
+ },
901
+ ],
902
+ [
903
+ 0,
904
+ {
905
+ [_jN]: _d,
906
+ },
907
+ ],
908
+ [
909
+ 64 | 0,
910
+ {
911
+ [_jN]: _nA,
912
+ },
913
+ ],
914
+ [
915
+ () => __listOfParameterValue,
916
+ {
917
+ [_jN]: _pO,
918
+ },
919
+ ],
920
+ [
921
+ 64 | 0,
922
+ {
923
+ [_jN]: _rT,
924
+ },
925
+ ],
926
+ [
927
+ () => RollbackConfiguration,
928
+ {
929
+ [_jN]: _rCo,
930
+ },
931
+ ],
932
+ [
933
+ 0,
934
+ {
935
+ [_jN]: _sV,
936
+ },
937
+ ],
938
+ [
939
+ 0,
940
+ {
941
+ [_jN]: _sN,
942
+ },
943
+ ],
944
+ [
945
+ () => __listOfTag,
946
+ {
947
+ [_jN]: _t,
948
+ },
949
+ ],
950
+ [
951
+ 0,
952
+ {
953
+ [_jN]: _tI,
954
+ },
955
+ ],
956
+ ],
957
+ ];
958
+ var CreateCloudFormationChangeSetResponse = [
959
+ 3,
960
+ n0,
961
+ _CCFCSRr,
962
+ 0,
963
+ [_AI, _CSI, _SV, _SIt],
964
+ [
965
+ [
966
+ 0,
967
+ {
968
+ [_jN]: _aI,
969
+ },
970
+ ],
971
+ [
972
+ 0,
973
+ {
974
+ [_jN]: _cSI,
975
+ },
976
+ ],
977
+ [
978
+ 0,
979
+ {
980
+ [_jN]: _sV,
981
+ },
982
+ ],
983
+ [
984
+ 0,
985
+ {
986
+ [_jN]: _sIt,
987
+ },
988
+ ],
989
+ ],
990
+ ];
991
+ var CreateCloudFormationTemplateRequest = [
992
+ 3,
993
+ n0,
994
+ _CCFTR,
995
+ 0,
996
+ [_AI, _SV],
997
+ [
998
+ [0, 1],
999
+ [
1000
+ 0,
1001
+ {
1002
+ [_jN]: _sV,
1003
+ },
1004
+ ],
1005
+ ],
1006
+ ];
1007
+ var CreateCloudFormationTemplateResponse = [
1008
+ 3,
1009
+ n0,
1010
+ _CCFTRr,
1011
+ 0,
1012
+ [_AI, _CT, _ET, _SV, _S, _TI, _TU],
1013
+ [
1014
+ [
1015
+ 0,
1016
+ {
1017
+ [_jN]: _aI,
1018
+ },
1019
+ ],
1020
+ [
1021
+ 0,
1022
+ {
1023
+ [_jN]: _cT,
1024
+ },
1025
+ ],
1026
+ [
1027
+ 0,
1028
+ {
1029
+ [_jN]: _eT,
1030
+ },
1031
+ ],
1032
+ [
1033
+ 0,
1034
+ {
1035
+ [_jN]: _sV,
1036
+ },
1037
+ ],
1038
+ [
1039
+ 0,
1040
+ {
1041
+ [_jN]: _s,
1042
+ },
1043
+ ],
1044
+ [
1045
+ 0,
1046
+ {
1047
+ [_jN]: _tI,
1048
+ },
1049
+ ],
1050
+ [
1051
+ 0,
1052
+ {
1053
+ [_jN]: _tU,
1054
+ },
1055
+ ],
1056
+ ],
1057
+ ];
1058
+ var DeleteApplicationRequest = [3, n0, _DAR, 0, [_AI], [[0, 1]]];
1059
+ var ForbiddenException = [
1060
+ -3,
1061
+ n0,
1062
+ _FE,
1063
+ {
1064
+ [_e]: _c,
1065
+ [_hE]: 403,
1066
+ },
1067
+ [_EC, _M],
1068
+ [
1069
+ [
1070
+ 0,
1071
+ {
1072
+ [_jN]: _eC,
1073
+ },
1074
+ ],
1075
+ [
1076
+ 0,
1077
+ {
1078
+ [_jN]: _m,
1079
+ },
1080
+ ],
1081
+ ],
1082
+ ];
1083
+ schema.TypeRegistry.for(n0).registerError(ForbiddenException, ForbiddenException$1);
1084
+ var GetApplicationPolicyRequest = [3, n0, _GAPR, 0, [_AI], [[0, 1]]];
1085
+ var GetApplicationPolicyResponse = [
1086
+ 3,
1087
+ n0,
1088
+ _GAPRe,
1089
+ 0,
1090
+ [_St],
1091
+ [
1092
+ [
1093
+ () => __listOfApplicationPolicyStatement,
1094
+ {
1095
+ [_jN]: _st,
1096
+ },
1097
+ ],
1098
+ ],
1099
+ ];
1100
+ var GetApplicationRequest = [
1101
+ 3,
1102
+ n0,
1103
+ _GAR,
1104
+ 0,
1105
+ [_AI, _SV],
1106
+ [
1107
+ [0, 1],
1108
+ [
1109
+ 0,
1110
+ {
1111
+ [_hQ]: _sV,
1112
+ },
1113
+ ],
1114
+ ],
1115
+ ];
1116
+ var GetApplicationResponse = [
1117
+ 3,
1118
+ n0,
1119
+ _GARe,
1120
+ 0,
1121
+ [_AI, _Au, _CT, _D, _HPU, _IVA, _L, _LU, _N, _RU, _SLI, _VAU, _V],
1122
+ [
1123
+ [
1124
+ 0,
1125
+ {
1126
+ [_jN]: _aI,
1127
+ },
1128
+ ],
1129
+ [
1130
+ 0,
1131
+ {
1132
+ [_jN]: _au,
1133
+ },
1134
+ ],
1135
+ [
1136
+ 0,
1137
+ {
1138
+ [_jN]: _cT,
1139
+ },
1140
+ ],
1141
+ [
1142
+ 0,
1143
+ {
1144
+ [_jN]: _d,
1145
+ },
1146
+ ],
1147
+ [
1148
+ 0,
1149
+ {
1150
+ [_jN]: _hPU,
1151
+ },
1152
+ ],
1153
+ [
1154
+ 2,
1155
+ {
1156
+ [_jN]: _iVA,
1157
+ },
1158
+ ],
1159
+ [
1160
+ 64 | 0,
1161
+ {
1162
+ [_jN]: _l,
1163
+ },
1164
+ ],
1165
+ [
1166
+ 0,
1167
+ {
1168
+ [_jN]: _lU,
1169
+ },
1170
+ ],
1171
+ [
1172
+ 0,
1173
+ {
1174
+ [_jN]: _n,
1175
+ },
1176
+ ],
1177
+ [
1178
+ 0,
1179
+ {
1180
+ [_jN]: _rU,
1181
+ },
1182
+ ],
1183
+ [
1184
+ 0,
1185
+ {
1186
+ [_jN]: _sLI,
1187
+ },
1188
+ ],
1189
+ [
1190
+ 0,
1191
+ {
1192
+ [_jN]: _vAU,
1193
+ },
1194
+ ],
1195
+ [
1196
+ () => Version,
1197
+ {
1198
+ [_jN]: _v,
1199
+ },
1200
+ ],
1201
+ ],
1202
+ ];
1203
+ var GetCloudFormationTemplateRequest = [
1204
+ 3,
1205
+ n0,
1206
+ _GCFTR,
1207
+ 0,
1208
+ [_AI, _TI],
1209
+ [
1210
+ [0, 1],
1211
+ [0, 1],
1212
+ ],
1213
+ ];
1214
+ var GetCloudFormationTemplateResponse = [
1215
+ 3,
1216
+ n0,
1217
+ _GCFTRe,
1218
+ 0,
1219
+ [_AI, _CT, _ET, _SV, _S, _TI, _TU],
1220
+ [
1221
+ [
1222
+ 0,
1223
+ {
1224
+ [_jN]: _aI,
1225
+ },
1226
+ ],
1227
+ [
1228
+ 0,
1229
+ {
1230
+ [_jN]: _cT,
1231
+ },
1232
+ ],
1233
+ [
1234
+ 0,
1235
+ {
1236
+ [_jN]: _eT,
1237
+ },
1238
+ ],
1239
+ [
1240
+ 0,
1241
+ {
1242
+ [_jN]: _sV,
1243
+ },
1244
+ ],
1245
+ [
1246
+ 0,
1247
+ {
1248
+ [_jN]: _s,
1249
+ },
1250
+ ],
1251
+ [
1252
+ 0,
1253
+ {
1254
+ [_jN]: _tI,
1255
+ },
1256
+ ],
1257
+ [
1258
+ 0,
1259
+ {
1260
+ [_jN]: _tU,
1261
+ },
1262
+ ],
1263
+ ],
1264
+ ];
1265
+ var InternalServerErrorException = [
1266
+ -3,
1267
+ n0,
1268
+ _ISEE,
1269
+ {
1270
+ [_e]: _se,
1271
+ [_hE]: 500,
1272
+ },
1273
+ [_EC, _M],
1274
+ [
1275
+ [
1276
+ 0,
1277
+ {
1278
+ [_jN]: _eC,
1279
+ },
1280
+ ],
1281
+ [
1282
+ 0,
1283
+ {
1284
+ [_jN]: _m,
1285
+ },
1286
+ ],
1287
+ ],
1288
+ ];
1289
+ schema.TypeRegistry.for(n0).registerError(InternalServerErrorException, InternalServerErrorException$1);
1290
+ var ListApplicationDependenciesRequest = [
1291
+ 3,
1292
+ n0,
1293
+ _LADR,
1294
+ 0,
1295
+ [_AI, _MI, _NT, _SV],
1296
+ [
1297
+ [0, 1],
1298
+ [
1299
+ 1,
1300
+ {
1301
+ [_hQ]: _mI,
1302
+ },
1303
+ ],
1304
+ [
1305
+ 0,
1306
+ {
1307
+ [_hQ]: _nT,
1308
+ },
1309
+ ],
1310
+ [
1311
+ 0,
1312
+ {
1313
+ [_hQ]: _sV,
1314
+ },
1315
+ ],
1316
+ ],
1317
+ ];
1318
+ var ListApplicationDependenciesResponse = [
1319
+ 3,
1320
+ n0,
1321
+ _LADRi,
1322
+ 0,
1323
+ [_De, _NT],
1324
+ [
1325
+ [
1326
+ () => __listOfApplicationDependencySummary,
1327
+ {
1328
+ [_jN]: _de,
1329
+ },
1330
+ ],
1331
+ [
1332
+ 0,
1333
+ {
1334
+ [_jN]: _nT,
1335
+ },
1336
+ ],
1337
+ ],
1338
+ ];
1339
+ var ListApplicationsRequest = [
1340
+ 3,
1341
+ n0,
1342
+ _LAR,
1343
+ 0,
1344
+ [_MI, _NT],
1345
+ [
1346
+ [
1347
+ 1,
1348
+ {
1349
+ [_hQ]: _mI,
1350
+ },
1351
+ ],
1352
+ [
1353
+ 0,
1354
+ {
1355
+ [_hQ]: _nT,
1356
+ },
1357
+ ],
1358
+ ],
1359
+ ];
1360
+ var ListApplicationsResponse = [
1361
+ 3,
1362
+ n0,
1363
+ _LARi,
1364
+ 0,
1365
+ [_Ap, _NT],
1366
+ [
1367
+ [
1368
+ () => __listOfApplicationSummary,
1369
+ {
1370
+ [_jN]: _ap,
1371
+ },
1372
+ ],
1373
+ [
1374
+ 0,
1375
+ {
1376
+ [_jN]: _nT,
1377
+ },
1378
+ ],
1379
+ ],
1380
+ ];
1381
+ var ListApplicationVersionsRequest = [
1382
+ 3,
1383
+ n0,
1384
+ _LAVR,
1385
+ 0,
1386
+ [_AI, _MI, _NT],
1387
+ [
1388
+ [0, 1],
1389
+ [
1390
+ 1,
1391
+ {
1392
+ [_hQ]: _mI,
1393
+ },
1394
+ ],
1395
+ [
1396
+ 0,
1397
+ {
1398
+ [_hQ]: _nT,
1399
+ },
1400
+ ],
1401
+ ],
1402
+ ];
1403
+ var ListApplicationVersionsResponse = [
1404
+ 3,
1405
+ n0,
1406
+ _LAVRi,
1407
+ 0,
1408
+ [_NT, _Ve],
1409
+ [
1410
+ [
1411
+ 0,
1412
+ {
1413
+ [_jN]: _nT,
1414
+ },
1415
+ ],
1416
+ [
1417
+ () => __listOfVersionSummary,
1418
+ {
1419
+ [_jN]: _ve,
1420
+ },
1421
+ ],
1422
+ ],
1423
+ ];
1424
+ var NotFoundException = [
1425
+ -3,
1426
+ n0,
1427
+ _NFE,
1428
+ {
1429
+ [_e]: _c,
1430
+ [_hE]: 404,
1431
+ },
1432
+ [_EC, _M],
1433
+ [
1434
+ [
1435
+ 0,
1436
+ {
1437
+ [_jN]: _eC,
1438
+ },
1439
+ ],
1440
+ [
1441
+ 0,
1442
+ {
1443
+ [_jN]: _m,
1444
+ },
1445
+ ],
1446
+ ],
1447
+ ];
1448
+ schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
1449
+ var ParameterDefinition = [
1450
+ 3,
1451
+ n0,
1452
+ _PDa,
1453
+ 0,
1454
+ [_AP, _AV, _CD, _DV, _D, _ML, _MV, _MLi, _MVi, _N, _NE, _RBR, _Ty],
1455
+ [
1456
+ [
1457
+ 0,
1458
+ {
1459
+ [_jN]: _aP,
1460
+ },
1461
+ ],
1462
+ [
1463
+ 64 | 0,
1464
+ {
1465
+ [_jN]: _aV,
1466
+ },
1467
+ ],
1468
+ [
1469
+ 0,
1470
+ {
1471
+ [_jN]: _cD,
1472
+ },
1473
+ ],
1474
+ [
1475
+ 0,
1476
+ {
1477
+ [_jN]: _dV,
1478
+ },
1479
+ ],
1480
+ [
1481
+ 0,
1482
+ {
1483
+ [_jN]: _d,
1484
+ },
1485
+ ],
1486
+ [
1487
+ 1,
1488
+ {
1489
+ [_jN]: _mL,
1490
+ },
1491
+ ],
1492
+ [
1493
+ 1,
1494
+ {
1495
+ [_jN]: _mV,
1496
+ },
1497
+ ],
1498
+ [
1499
+ 1,
1500
+ {
1501
+ [_jN]: _mLi,
1502
+ },
1503
+ ],
1504
+ [
1505
+ 1,
1506
+ {
1507
+ [_jN]: _mVi,
1508
+ },
1509
+ ],
1510
+ [
1511
+ 0,
1512
+ {
1513
+ [_jN]: _n,
1514
+ },
1515
+ ],
1516
+ [
1517
+ 2,
1518
+ {
1519
+ [_jN]: _nE,
1520
+ },
1521
+ ],
1522
+ [
1523
+ 64 | 0,
1524
+ {
1525
+ [_jN]: _rBR,
1526
+ },
1527
+ ],
1528
+ [
1529
+ 0,
1530
+ {
1531
+ [_jN]: _ty,
1532
+ },
1533
+ ],
1534
+ ],
1535
+ ];
1536
+ var ParameterValue = [
1537
+ 3,
1538
+ n0,
1539
+ _PV,
1540
+ 0,
1541
+ [_N, _Va],
1542
+ [
1543
+ [
1544
+ 0,
1545
+ {
1546
+ [_jN]: _n,
1547
+ },
1548
+ ],
1549
+ [
1550
+ 0,
1551
+ {
1552
+ [_jN]: _va,
1553
+ },
1554
+ ],
1555
+ ],
1556
+ ];
1557
+ var PutApplicationPolicyRequest = [
1558
+ 3,
1559
+ n0,
1560
+ _PAPR,
1561
+ 0,
1562
+ [_AI, _St],
1563
+ [
1564
+ [0, 1],
1565
+ [
1566
+ () => __listOfApplicationPolicyStatement,
1567
+ {
1568
+ [_jN]: _st,
1569
+ },
1570
+ ],
1571
+ ],
1572
+ ];
1573
+ var PutApplicationPolicyResponse = [
1574
+ 3,
1575
+ n0,
1576
+ _PAPRu,
1577
+ 0,
1578
+ [_St],
1579
+ [
1580
+ [
1581
+ () => __listOfApplicationPolicyStatement,
1582
+ {
1583
+ [_jN]: _st,
1584
+ },
1585
+ ],
1586
+ ],
1587
+ ];
1588
+ var RollbackConfiguration = [
1589
+ 3,
1590
+ n0,
1591
+ _RCo,
1592
+ 0,
1593
+ [_MTIM, _RTo],
1594
+ [
1595
+ [
1596
+ 1,
1597
+ {
1598
+ [_jN]: _mTIM,
1599
+ },
1600
+ ],
1601
+ [
1602
+ () => __listOfRollbackTrigger,
1603
+ {
1604
+ [_jN]: _rTo,
1605
+ },
1606
+ ],
1607
+ ],
1608
+ ];
1609
+ var RollbackTrigger = [
1610
+ 3,
1611
+ n0,
1612
+ _RTol,
1613
+ 0,
1614
+ [_Ar, _Ty],
1615
+ [
1616
+ [
1617
+ 0,
1618
+ {
1619
+ [_jN]: _ar,
1620
+ },
1621
+ ],
1622
+ [
1623
+ 0,
1624
+ {
1625
+ [_jN]: _ty,
1626
+ },
1627
+ ],
1628
+ ],
1629
+ ];
1630
+ var Tag = [
1631
+ 3,
1632
+ n0,
1633
+ _Ta,
1634
+ 0,
1635
+ [_K, _Va],
1636
+ [
1637
+ [
1638
+ 0,
1639
+ {
1640
+ [_jN]: _k,
1641
+ },
1642
+ ],
1643
+ [
1644
+ 0,
1645
+ {
1646
+ [_jN]: _va,
1647
+ },
1648
+ ],
1649
+ ],
1650
+ ];
1651
+ var TooManyRequestsException = [
1652
+ -3,
1653
+ n0,
1654
+ _TMRE,
1655
+ {
1656
+ [_e]: _c,
1657
+ [_hE]: 429,
1658
+ },
1659
+ [_EC, _M],
1660
+ [
1661
+ [
1662
+ 0,
1663
+ {
1664
+ [_jN]: _eC,
1665
+ },
1666
+ ],
1667
+ [
1668
+ 0,
1669
+ {
1670
+ [_jN]: _m,
1671
+ },
1672
+ ],
1673
+ ],
1674
+ ];
1675
+ schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
1676
+ var UnshareApplicationRequest = [
1677
+ 3,
1678
+ n0,
1679
+ _UAR,
1680
+ 0,
1681
+ [_AI, _OI],
1682
+ [
1683
+ [0, 1],
1684
+ [
1685
+ 0,
1686
+ {
1687
+ [_jN]: _oI,
1688
+ },
1689
+ ],
1690
+ ],
1691
+ ];
1692
+ var UpdateApplicationRequest = [
1693
+ 3,
1694
+ n0,
1695
+ _UARp,
1696
+ 0,
1697
+ [_AI, _Au, _D, _HPU, _L, _RB, _RU],
1698
+ [
1699
+ [0, 1],
1700
+ [
1701
+ 0,
1702
+ {
1703
+ [_jN]: _au,
1704
+ },
1705
+ ],
1706
+ [
1707
+ 0,
1708
+ {
1709
+ [_jN]: _d,
1710
+ },
1711
+ ],
1712
+ [
1713
+ 0,
1714
+ {
1715
+ [_jN]: _hPU,
1716
+ },
1717
+ ],
1718
+ [
1719
+ 64 | 0,
1720
+ {
1721
+ [_jN]: _l,
1722
+ },
1723
+ ],
1724
+ [
1725
+ 0,
1726
+ {
1727
+ [_jN]: _rB,
1728
+ },
1729
+ ],
1730
+ [
1731
+ 0,
1732
+ {
1733
+ [_jN]: _rU,
1734
+ },
1735
+ ],
1736
+ ],
1737
+ ];
1738
+ var UpdateApplicationResponse = [
1739
+ 3,
1740
+ n0,
1741
+ _UARpd,
1742
+ 0,
1743
+ [_AI, _Au, _CT, _D, _HPU, _IVA, _L, _LU, _N, _RU, _SLI, _VAU, _V],
1744
+ [
1745
+ [
1746
+ 0,
1747
+ {
1748
+ [_jN]: _aI,
1749
+ },
1750
+ ],
1751
+ [
1752
+ 0,
1753
+ {
1754
+ [_jN]: _au,
1755
+ },
1756
+ ],
1757
+ [
1758
+ 0,
1759
+ {
1760
+ [_jN]: _cT,
1761
+ },
1762
+ ],
1763
+ [
1764
+ 0,
1765
+ {
1766
+ [_jN]: _d,
1767
+ },
1768
+ ],
1769
+ [
1770
+ 0,
1771
+ {
1772
+ [_jN]: _hPU,
1773
+ },
1774
+ ],
1775
+ [
1776
+ 2,
1777
+ {
1778
+ [_jN]: _iVA,
1779
+ },
1780
+ ],
1781
+ [
1782
+ 64 | 0,
1783
+ {
1784
+ [_jN]: _l,
1785
+ },
1786
+ ],
1787
+ [
1788
+ 0,
1789
+ {
1790
+ [_jN]: _lU,
1791
+ },
1792
+ ],
1793
+ [
1794
+ 0,
1795
+ {
1796
+ [_jN]: _n,
1797
+ },
1798
+ ],
1799
+ [
1800
+ 0,
1801
+ {
1802
+ [_jN]: _rU,
1803
+ },
1804
+ ],
1805
+ [
1806
+ 0,
1807
+ {
1808
+ [_jN]: _sLI,
1809
+ },
1810
+ ],
1811
+ [
1812
+ 0,
1813
+ {
1814
+ [_jN]: _vAU,
1815
+ },
1816
+ ],
1817
+ [
1818
+ () => Version,
1819
+ {
1820
+ [_jN]: _v,
1821
+ },
1822
+ ],
1823
+ ],
1824
+ ];
1825
+ var Version = [
1826
+ 3,
1827
+ n0,
1828
+ _V,
1829
+ 0,
1830
+ [_AI, _CT, _PD, _RC, _RS, _SV, _SCAU, _SCU, _TU],
1831
+ [
1832
+ [
1833
+ 0,
1834
+ {
1835
+ [_jN]: _aI,
1836
+ },
1837
+ ],
1838
+ [
1839
+ 0,
1840
+ {
1841
+ [_jN]: _cT,
1842
+ },
1843
+ ],
1844
+ [
1845
+ () => __listOfParameterDefinition,
1846
+ {
1847
+ [_jN]: _pD,
1848
+ },
1849
+ ],
1850
+ [
1851
+ 64 | 0,
1852
+ {
1853
+ [_jN]: _rC,
1854
+ },
1855
+ ],
1856
+ [
1857
+ 2,
1858
+ {
1859
+ [_jN]: _rS,
1860
+ },
1861
+ ],
1862
+ [
1863
+ 0,
1864
+ {
1865
+ [_jN]: _sV,
1866
+ },
1867
+ ],
1868
+ [
1869
+ 0,
1870
+ {
1871
+ [_jN]: _sCAU,
1872
+ },
1873
+ ],
1874
+ [
1875
+ 0,
1876
+ {
1877
+ [_jN]: _sCU,
1878
+ },
1879
+ ],
1880
+ [
1881
+ 0,
1882
+ {
1883
+ [_jN]: _tU,
1884
+ },
1885
+ ],
1886
+ ],
1887
+ ];
1888
+ var VersionSummary = [
1889
+ 3,
1890
+ n0,
1891
+ _VS,
1892
+ 0,
1893
+ [_AI, _CT, _SV, _SCU],
1894
+ [
1895
+ [
1896
+ 0,
1897
+ {
1898
+ [_jN]: _aI,
1899
+ },
1900
+ ],
1901
+ [
1902
+ 0,
1903
+ {
1904
+ [_jN]: _cT,
1905
+ },
1906
+ ],
1907
+ [
1908
+ 0,
1909
+ {
1910
+ [_jN]: _sV,
1911
+ },
1912
+ ],
1913
+ [
1914
+ 0,
1915
+ {
1916
+ [_jN]: _sCU,
1917
+ },
1918
+ ],
1919
+ ],
1920
+ ];
1921
+ var __Unit = "unit";
1922
+ var ServerlessApplicationRepositoryServiceException = [
1923
+ -3,
1924
+ _sm,
1925
+ "ServerlessApplicationRepositoryServiceException",
1926
+ 0,
1927
+ [],
1928
+ [],
1929
+ ];
1930
+ schema.TypeRegistry.for(_sm).registerError(ServerlessApplicationRepositoryServiceException, ServerlessApplicationRepositoryServiceException$1);
1931
+ var __listOfApplicationDependencySummary = [
1932
+ 1,
1933
+ n0,
1934
+ _lOADS,
1935
+ 0,
1936
+ [() => ApplicationDependencySummary, 0],
1937
+ ];
1938
+ var __listOfApplicationPolicyStatement = [
1939
+ 1,
1940
+ n0,
1941
+ _lOAPS,
1942
+ 0,
1943
+ [() => ApplicationPolicyStatement, 0],
1944
+ ];
1945
+ var __listOfApplicationSummary = [1, n0, _lOAS, 0, [() => ApplicationSummary, 0]];
1946
+ var __listOfParameterDefinition = [1, n0, _lOPD, 0, [() => ParameterDefinition, 0]];
1947
+ var __listOfParameterValue = [1, n0, _lOPV, 0, [() => ParameterValue, 0]];
1948
+ var __listOfRollbackTrigger = [1, n0, _lORT, 0, [() => RollbackTrigger, 0]];
1949
+ var __listOfTag = [1, n0, _lOT, 0, [() => Tag, 0]];
1950
+ var __listOfVersionSummary = [1, n0, _lOVS, 0, [() => VersionSummary, 0]];
1951
+ var CreateApplication = [
1952
+ 9,
1953
+ n0,
1954
+ _CA,
1955
+ {
1956
+ [_h]: ["POST", "/applications", 201],
1957
+ },
1958
+ () => CreateApplicationRequest,
1959
+ () => CreateApplicationResponse,
1960
+ ];
1961
+ var CreateApplicationVersion = [
1962
+ 9,
1963
+ n0,
1964
+ _CAV,
1965
+ {
1966
+ [_h]: ["PUT", "/applications/{ApplicationId}/versions/{SemanticVersion}", 201],
1967
+ },
1968
+ () => CreateApplicationVersionRequest,
1969
+ () => CreateApplicationVersionResponse,
1970
+ ];
1971
+ var CreateCloudFormationChangeSet = [
1972
+ 9,
1973
+ n0,
1974
+ _CCFCS,
1975
+ {
1976
+ [_h]: ["POST", "/applications/{ApplicationId}/changesets", 201],
1977
+ },
1978
+ () => CreateCloudFormationChangeSetRequest,
1979
+ () => CreateCloudFormationChangeSetResponse,
1980
+ ];
1981
+ var CreateCloudFormationTemplate = [
1982
+ 9,
1983
+ n0,
1984
+ _CCFT,
1985
+ {
1986
+ [_h]: ["POST", "/applications/{ApplicationId}/templates", 201],
1987
+ },
1988
+ () => CreateCloudFormationTemplateRequest,
1989
+ () => CreateCloudFormationTemplateResponse,
1990
+ ];
1991
+ var DeleteApplication = [
1992
+ 9,
1993
+ n0,
1994
+ _DA,
1995
+ {
1996
+ [_h]: ["DELETE", "/applications/{ApplicationId}", 204],
1997
+ },
1998
+ () => DeleteApplicationRequest,
1999
+ () => __Unit,
2000
+ ];
2001
+ var GetApplication = [
2002
+ 9,
2003
+ n0,
2004
+ _GA,
2005
+ {
2006
+ [_h]: ["GET", "/applications/{ApplicationId}", 200],
2007
+ },
2008
+ () => GetApplicationRequest,
2009
+ () => GetApplicationResponse,
2010
+ ];
2011
+ var GetApplicationPolicy = [
2012
+ 9,
2013
+ n0,
2014
+ _GAP,
2015
+ {
2016
+ [_h]: ["GET", "/applications/{ApplicationId}/policy", 200],
2017
+ },
2018
+ () => GetApplicationPolicyRequest,
2019
+ () => GetApplicationPolicyResponse,
2020
+ ];
2021
+ var GetCloudFormationTemplate = [
2022
+ 9,
2023
+ n0,
2024
+ _GCFT,
2025
+ {
2026
+ [_h]: ["GET", "/applications/{ApplicationId}/templates/{TemplateId}", 200],
2027
+ },
2028
+ () => GetCloudFormationTemplateRequest,
2029
+ () => GetCloudFormationTemplateResponse,
2030
+ ];
2031
+ var ListApplicationDependencies = [
2032
+ 9,
2033
+ n0,
2034
+ _LAD,
2035
+ {
2036
+ [_h]: ["GET", "/applications/{ApplicationId}/dependencies", 200],
2037
+ },
2038
+ () => ListApplicationDependenciesRequest,
2039
+ () => ListApplicationDependenciesResponse,
2040
+ ];
2041
+ var ListApplications = [
2042
+ 9,
2043
+ n0,
2044
+ _LA,
2045
+ {
2046
+ [_h]: ["GET", "/applications", 200],
2047
+ },
2048
+ () => ListApplicationsRequest,
2049
+ () => ListApplicationsResponse,
2050
+ ];
2051
+ var ListApplicationVersions = [
2052
+ 9,
2053
+ n0,
2054
+ _LAV,
2055
+ {
2056
+ [_h]: ["GET", "/applications/{ApplicationId}/versions", 200],
2057
+ },
2058
+ () => ListApplicationVersionsRequest,
2059
+ () => ListApplicationVersionsResponse,
2060
+ ];
2061
+ var PutApplicationPolicy = [
2062
+ 9,
2063
+ n0,
2064
+ _PAP,
2065
+ {
2066
+ [_h]: ["PUT", "/applications/{ApplicationId}/policy", 200],
2067
+ },
2068
+ () => PutApplicationPolicyRequest,
2069
+ () => PutApplicationPolicyResponse,
2070
+ ];
2071
+ var UnshareApplication = [
2072
+ 9,
2073
+ n0,
2074
+ _UA,
2075
+ {
2076
+ [_h]: ["POST", "/applications/{ApplicationId}/unshare", 204],
2077
+ },
2078
+ () => UnshareApplicationRequest,
2079
+ () => __Unit,
2080
+ ];
2081
+ var UpdateApplication = [
2082
+ 9,
2083
+ n0,
2084
+ _UAp,
2085
+ {
2086
+ [_h]: ["PATCH", "/applications/{ApplicationId}", 200],
2087
+ },
2088
+ () => UpdateApplicationRequest,
2089
+ () => UpdateApplicationResponse,
2090
+ ];
983
2091
 
984
2092
  class CreateApplicationCommand extends smithyClient.Command
985
2093
  .classBuilder()
986
2094
  .ep(commonParams)
987
2095
  .m(function (Command, cs, config, o) {
988
- return [
989
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
990
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
991
- ];
2096
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
992
2097
  })
993
2098
  .s("ServerlessApplicationRepository", "CreateApplication", {})
994
2099
  .n("ServerlessApplicationRepositoryClient", "CreateApplicationCommand")
995
- .f(void 0, void 0)
996
- .ser(se_CreateApplicationCommand)
997
- .de(de_CreateApplicationCommand)
2100
+ .sc(CreateApplication)
998
2101
  .build() {
999
2102
  }
1000
2103
 
@@ -1002,16 +2105,11 @@ class CreateApplicationVersionCommand extends smithyClient.Command
1002
2105
  .classBuilder()
1003
2106
  .ep(commonParams)
1004
2107
  .m(function (Command, cs, config, o) {
1005
- return [
1006
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1007
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1008
- ];
2108
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1009
2109
  })
1010
2110
  .s("ServerlessApplicationRepository", "CreateApplicationVersion", {})
1011
2111
  .n("ServerlessApplicationRepositoryClient", "CreateApplicationVersionCommand")
1012
- .f(void 0, void 0)
1013
- .ser(se_CreateApplicationVersionCommand)
1014
- .de(de_CreateApplicationVersionCommand)
2112
+ .sc(CreateApplicationVersion)
1015
2113
  .build() {
1016
2114
  }
1017
2115
 
@@ -1019,16 +2117,11 @@ class CreateCloudFormationChangeSetCommand extends smithyClient.Command
1019
2117
  .classBuilder()
1020
2118
  .ep(commonParams)
1021
2119
  .m(function (Command, cs, config, o) {
1022
- return [
1023
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1024
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1025
- ];
2120
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1026
2121
  })
1027
2122
  .s("ServerlessApplicationRepository", "CreateCloudFormationChangeSet", {})
1028
2123
  .n("ServerlessApplicationRepositoryClient", "CreateCloudFormationChangeSetCommand")
1029
- .f(void 0, void 0)
1030
- .ser(se_CreateCloudFormationChangeSetCommand)
1031
- .de(de_CreateCloudFormationChangeSetCommand)
2124
+ .sc(CreateCloudFormationChangeSet)
1032
2125
  .build() {
1033
2126
  }
1034
2127
 
@@ -1036,16 +2129,11 @@ class CreateCloudFormationTemplateCommand extends smithyClient.Command
1036
2129
  .classBuilder()
1037
2130
  .ep(commonParams)
1038
2131
  .m(function (Command, cs, config, o) {
1039
- return [
1040
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1041
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1042
- ];
2132
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1043
2133
  })
1044
2134
  .s("ServerlessApplicationRepository", "CreateCloudFormationTemplate", {})
1045
2135
  .n("ServerlessApplicationRepositoryClient", "CreateCloudFormationTemplateCommand")
1046
- .f(void 0, void 0)
1047
- .ser(se_CreateCloudFormationTemplateCommand)
1048
- .de(de_CreateCloudFormationTemplateCommand)
2136
+ .sc(CreateCloudFormationTemplate)
1049
2137
  .build() {
1050
2138
  }
1051
2139
 
@@ -1053,16 +2141,11 @@ class DeleteApplicationCommand extends smithyClient.Command
1053
2141
  .classBuilder()
1054
2142
  .ep(commonParams)
1055
2143
  .m(function (Command, cs, config, o) {
1056
- return [
1057
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1058
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1059
- ];
2144
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1060
2145
  })
1061
2146
  .s("ServerlessApplicationRepository", "DeleteApplication", {})
1062
2147
  .n("ServerlessApplicationRepositoryClient", "DeleteApplicationCommand")
1063
- .f(void 0, void 0)
1064
- .ser(se_DeleteApplicationCommand)
1065
- .de(de_DeleteApplicationCommand)
2148
+ .sc(DeleteApplication)
1066
2149
  .build() {
1067
2150
  }
1068
2151
 
@@ -1070,16 +2153,11 @@ class GetApplicationCommand extends smithyClient.Command
1070
2153
  .classBuilder()
1071
2154
  .ep(commonParams)
1072
2155
  .m(function (Command, cs, config, o) {
1073
- return [
1074
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1075
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1076
- ];
2156
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1077
2157
  })
1078
2158
  .s("ServerlessApplicationRepository", "GetApplication", {})
1079
2159
  .n("ServerlessApplicationRepositoryClient", "GetApplicationCommand")
1080
- .f(void 0, void 0)
1081
- .ser(se_GetApplicationCommand)
1082
- .de(de_GetApplicationCommand)
2160
+ .sc(GetApplication)
1083
2161
  .build() {
1084
2162
  }
1085
2163
 
@@ -1087,16 +2165,11 @@ class GetApplicationPolicyCommand extends smithyClient.Command
1087
2165
  .classBuilder()
1088
2166
  .ep(commonParams)
1089
2167
  .m(function (Command, cs, config, o) {
1090
- return [
1091
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1092
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1093
- ];
2168
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1094
2169
  })
1095
2170
  .s("ServerlessApplicationRepository", "GetApplicationPolicy", {})
1096
2171
  .n("ServerlessApplicationRepositoryClient", "GetApplicationPolicyCommand")
1097
- .f(void 0, void 0)
1098
- .ser(se_GetApplicationPolicyCommand)
1099
- .de(de_GetApplicationPolicyCommand)
2172
+ .sc(GetApplicationPolicy)
1100
2173
  .build() {
1101
2174
  }
1102
2175
 
@@ -1104,16 +2177,11 @@ class GetCloudFormationTemplateCommand extends smithyClient.Command
1104
2177
  .classBuilder()
1105
2178
  .ep(commonParams)
1106
2179
  .m(function (Command, cs, config, o) {
1107
- return [
1108
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1109
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1110
- ];
2180
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1111
2181
  })
1112
2182
  .s("ServerlessApplicationRepository", "GetCloudFormationTemplate", {})
1113
2183
  .n("ServerlessApplicationRepositoryClient", "GetCloudFormationTemplateCommand")
1114
- .f(void 0, void 0)
1115
- .ser(se_GetCloudFormationTemplateCommand)
1116
- .de(de_GetCloudFormationTemplateCommand)
2184
+ .sc(GetCloudFormationTemplate)
1117
2185
  .build() {
1118
2186
  }
1119
2187
 
@@ -1121,16 +2189,11 @@ class ListApplicationDependenciesCommand extends smithyClient.Command
1121
2189
  .classBuilder()
1122
2190
  .ep(commonParams)
1123
2191
  .m(function (Command, cs, config, o) {
1124
- return [
1125
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1126
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1127
- ];
2192
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1128
2193
  })
1129
2194
  .s("ServerlessApplicationRepository", "ListApplicationDependencies", {})
1130
2195
  .n("ServerlessApplicationRepositoryClient", "ListApplicationDependenciesCommand")
1131
- .f(void 0, void 0)
1132
- .ser(se_ListApplicationDependenciesCommand)
1133
- .de(de_ListApplicationDependenciesCommand)
2196
+ .sc(ListApplicationDependencies)
1134
2197
  .build() {
1135
2198
  }
1136
2199
 
@@ -1138,16 +2201,11 @@ class ListApplicationsCommand extends smithyClient.Command
1138
2201
  .classBuilder()
1139
2202
  .ep(commonParams)
1140
2203
  .m(function (Command, cs, config, o) {
1141
- return [
1142
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1143
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1144
- ];
2204
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1145
2205
  })
1146
2206
  .s("ServerlessApplicationRepository", "ListApplications", {})
1147
2207
  .n("ServerlessApplicationRepositoryClient", "ListApplicationsCommand")
1148
- .f(void 0, void 0)
1149
- .ser(se_ListApplicationsCommand)
1150
- .de(de_ListApplicationsCommand)
2208
+ .sc(ListApplications)
1151
2209
  .build() {
1152
2210
  }
1153
2211
 
@@ -1155,16 +2213,11 @@ class ListApplicationVersionsCommand extends smithyClient.Command
1155
2213
  .classBuilder()
1156
2214
  .ep(commonParams)
1157
2215
  .m(function (Command, cs, config, o) {
1158
- return [
1159
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1160
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1161
- ];
2216
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1162
2217
  })
1163
2218
  .s("ServerlessApplicationRepository", "ListApplicationVersions", {})
1164
2219
  .n("ServerlessApplicationRepositoryClient", "ListApplicationVersionsCommand")
1165
- .f(void 0, void 0)
1166
- .ser(se_ListApplicationVersionsCommand)
1167
- .de(de_ListApplicationVersionsCommand)
2220
+ .sc(ListApplicationVersions)
1168
2221
  .build() {
1169
2222
  }
1170
2223
 
@@ -1172,16 +2225,11 @@ class PutApplicationPolicyCommand extends smithyClient.Command
1172
2225
  .classBuilder()
1173
2226
  .ep(commonParams)
1174
2227
  .m(function (Command, cs, config, o) {
1175
- return [
1176
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1177
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1178
- ];
2228
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1179
2229
  })
1180
2230
  .s("ServerlessApplicationRepository", "PutApplicationPolicy", {})
1181
2231
  .n("ServerlessApplicationRepositoryClient", "PutApplicationPolicyCommand")
1182
- .f(void 0, void 0)
1183
- .ser(se_PutApplicationPolicyCommand)
1184
- .de(de_PutApplicationPolicyCommand)
2232
+ .sc(PutApplicationPolicy)
1185
2233
  .build() {
1186
2234
  }
1187
2235
 
@@ -1189,16 +2237,11 @@ class UnshareApplicationCommand extends smithyClient.Command
1189
2237
  .classBuilder()
1190
2238
  .ep(commonParams)
1191
2239
  .m(function (Command, cs, config, o) {
1192
- return [
1193
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1194
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1195
- ];
2240
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1196
2241
  })
1197
2242
  .s("ServerlessApplicationRepository", "UnshareApplication", {})
1198
2243
  .n("ServerlessApplicationRepositoryClient", "UnshareApplicationCommand")
1199
- .f(void 0, void 0)
1200
- .ser(se_UnshareApplicationCommand)
1201
- .de(de_UnshareApplicationCommand)
2244
+ .sc(UnshareApplication)
1202
2245
  .build() {
1203
2246
  }
1204
2247
 
@@ -1206,16 +2249,11 @@ class UpdateApplicationCommand extends smithyClient.Command
1206
2249
  .classBuilder()
1207
2250
  .ep(commonParams)
1208
2251
  .m(function (Command, cs, config, o) {
1209
- return [
1210
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1211
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1212
- ];
2252
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1213
2253
  })
1214
2254
  .s("ServerlessApplicationRepository", "UpdateApplication", {})
1215
2255
  .n("ServerlessApplicationRepositoryClient", "UpdateApplicationCommand")
1216
- .f(void 0, void 0)
1217
- .ser(se_UpdateApplicationCommand)
1218
- .de(de_UpdateApplicationCommand)
2256
+ .sc(UpdateApplication)
1219
2257
  .build() {
1220
2258
  }
1221
2259
 
@@ -1253,29 +2291,29 @@ Object.defineProperty(exports, "__Client", {
1253
2291
  enumerable: true,
1254
2292
  get: function () { return smithyClient.Client; }
1255
2293
  });
1256
- exports.BadRequestException = BadRequestException;
2294
+ exports.BadRequestException = BadRequestException$1;
1257
2295
  exports.Capability = Capability;
1258
- exports.ConflictException = ConflictException;
2296
+ exports.ConflictException = ConflictException$1;
1259
2297
  exports.CreateApplicationCommand = CreateApplicationCommand;
1260
2298
  exports.CreateApplicationVersionCommand = CreateApplicationVersionCommand;
1261
2299
  exports.CreateCloudFormationChangeSetCommand = CreateCloudFormationChangeSetCommand;
1262
2300
  exports.CreateCloudFormationTemplateCommand = CreateCloudFormationTemplateCommand;
1263
2301
  exports.DeleteApplicationCommand = DeleteApplicationCommand;
1264
- exports.ForbiddenException = ForbiddenException;
2302
+ exports.ForbiddenException = ForbiddenException$1;
1265
2303
  exports.GetApplicationCommand = GetApplicationCommand;
1266
2304
  exports.GetApplicationPolicyCommand = GetApplicationPolicyCommand;
1267
2305
  exports.GetCloudFormationTemplateCommand = GetCloudFormationTemplateCommand;
1268
- exports.InternalServerErrorException = InternalServerErrorException;
2306
+ exports.InternalServerErrorException = InternalServerErrorException$1;
1269
2307
  exports.ListApplicationDependenciesCommand = ListApplicationDependenciesCommand;
1270
2308
  exports.ListApplicationVersionsCommand = ListApplicationVersionsCommand;
1271
2309
  exports.ListApplicationsCommand = ListApplicationsCommand;
1272
- exports.NotFoundException = NotFoundException;
2310
+ exports.NotFoundException = NotFoundException$1;
1273
2311
  exports.PutApplicationPolicyCommand = PutApplicationPolicyCommand;
1274
2312
  exports.ServerlessApplicationRepository = ServerlessApplicationRepository;
1275
2313
  exports.ServerlessApplicationRepositoryClient = ServerlessApplicationRepositoryClient;
1276
- exports.ServerlessApplicationRepositoryServiceException = ServerlessApplicationRepositoryServiceException;
2314
+ exports.ServerlessApplicationRepositoryServiceException = ServerlessApplicationRepositoryServiceException$1;
1277
2315
  exports.Status = Status;
1278
- exports.TooManyRequestsException = TooManyRequestsException;
2316
+ exports.TooManyRequestsException = TooManyRequestsException$1;
1279
2317
  exports.UnshareApplicationCommand = UnshareApplicationCommand;
1280
2318
  exports.UpdateApplicationCommand = UpdateApplicationCommand;
1281
2319
  exports.paginateListApplicationDependencies = paginateListApplicationDependencies;