@aws-sdk/client-serverlessapplicationrepository 3.933.0 → 3.935.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
@@ -117,12 +117,6 @@ let ServerlessApplicationRepositoryServiceException$1 = class ServerlessApplicat
117
117
  }
118
118
  };
119
119
 
120
- const Capability = {
121
- CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND",
122
- CAPABILITY_IAM: "CAPABILITY_IAM",
123
- CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM",
124
- CAPABILITY_RESOURCE_POLICY: "CAPABILITY_RESOURCE_POLICY",
125
- };
126
120
  let BadRequestException$1 = class BadRequestException extends ServerlessApplicationRepositoryServiceException$1 {
127
121
  name = "BadRequestException";
128
122
  $fault = "client";
@@ -203,11 +197,6 @@ let TooManyRequestsException$1 = class TooManyRequestsException extends Serverle
203
197
  this.Message = opts.Message;
204
198
  }
205
199
  };
206
- const Status = {
207
- ACTIVE: "ACTIVE",
208
- EXPIRED: "EXPIRED",
209
- PREPARING: "PREPARING",
210
- };
211
200
  let NotFoundException$1 = class NotFoundException extends ServerlessApplicationRepositoryServiceException$1 {
212
201
  name = "NotFoundException";
213
202
  $fault = "client";
@@ -2283,6 +2272,18 @@ const paginateListApplicationVersions = core.createPaginator(ServerlessApplicati
2283
2272
 
2284
2273
  const paginateListApplications = core.createPaginator(ServerlessApplicationRepositoryClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxItems");
2285
2274
 
2275
+ const Capability = {
2276
+ CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND",
2277
+ CAPABILITY_IAM: "CAPABILITY_IAM",
2278
+ CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM",
2279
+ CAPABILITY_RESOURCE_POLICY: "CAPABILITY_RESOURCE_POLICY",
2280
+ };
2281
+ const Status = {
2282
+ ACTIVE: "ACTIVE",
2283
+ EXPIRED: "EXPIRED",
2284
+ PREPARING: "PREPARING",
2285
+ };
2286
+
2286
2287
  Object.defineProperty(exports, "$Command", {
2287
2288
  enumerable: true,
2288
2289
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./ServerlessApplicationRepositoryClient";
2
2
  export * from "./ServerlessApplicationRepository";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { ServerlessApplicationRepositoryServiceException } from "./models/ServerlessApplicationRepositoryServiceException";
@@ -0,0 +1,11 @@
1
+ export const Capability = {
2
+ CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND",
3
+ CAPABILITY_IAM: "CAPABILITY_IAM",
4
+ CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM",
5
+ CAPABILITY_RESOURCE_POLICY: "CAPABILITY_RESOURCE_POLICY",
6
+ };
7
+ export const Status = {
8
+ ACTIVE: "ACTIVE",
9
+ EXPIRED: "EXPIRED",
10
+ PREPARING: "PREPARING",
11
+ };
@@ -0,0 +1,97 @@
1
+ import { ServerlessApplicationRepositoryServiceException as __BaseException } from "./ServerlessApplicationRepositoryServiceException";
2
+ export class BadRequestException extends __BaseException {
3
+ name = "BadRequestException";
4
+ $fault = "client";
5
+ ErrorCode;
6
+ Message;
7
+ constructor(opts) {
8
+ super({
9
+ name: "BadRequestException",
10
+ $fault: "client",
11
+ ...opts,
12
+ });
13
+ Object.setPrototypeOf(this, BadRequestException.prototype);
14
+ this.ErrorCode = opts.ErrorCode;
15
+ this.Message = opts.Message;
16
+ }
17
+ }
18
+ export class ConflictException extends __BaseException {
19
+ name = "ConflictException";
20
+ $fault = "client";
21
+ ErrorCode;
22
+ Message;
23
+ constructor(opts) {
24
+ super({
25
+ name: "ConflictException",
26
+ $fault: "client",
27
+ ...opts,
28
+ });
29
+ Object.setPrototypeOf(this, ConflictException.prototype);
30
+ this.ErrorCode = opts.ErrorCode;
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ export class ForbiddenException extends __BaseException {
35
+ name = "ForbiddenException";
36
+ $fault = "client";
37
+ ErrorCode;
38
+ Message;
39
+ constructor(opts) {
40
+ super({
41
+ name: "ForbiddenException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
46
+ this.ErrorCode = opts.ErrorCode;
47
+ this.Message = opts.Message;
48
+ }
49
+ }
50
+ export class InternalServerErrorException extends __BaseException {
51
+ name = "InternalServerErrorException";
52
+ $fault = "server";
53
+ ErrorCode;
54
+ Message;
55
+ constructor(opts) {
56
+ super({
57
+ name: "InternalServerErrorException",
58
+ $fault: "server",
59
+ ...opts,
60
+ });
61
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
62
+ this.ErrorCode = opts.ErrorCode;
63
+ this.Message = opts.Message;
64
+ }
65
+ }
66
+ export class TooManyRequestsException extends __BaseException {
67
+ name = "TooManyRequestsException";
68
+ $fault = "client";
69
+ ErrorCode;
70
+ Message;
71
+ constructor(opts) {
72
+ super({
73
+ name: "TooManyRequestsException",
74
+ $fault: "client",
75
+ ...opts,
76
+ });
77
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
78
+ this.ErrorCode = opts.ErrorCode;
79
+ this.Message = opts.Message;
80
+ }
81
+ }
82
+ export class NotFoundException extends __BaseException {
83
+ name = "NotFoundException";
84
+ $fault = "client";
85
+ ErrorCode;
86
+ Message;
87
+ constructor(opts) {
88
+ super({
89
+ name: "NotFoundException",
90
+ $fault: "client",
91
+ ...opts,
92
+ });
93
+ Object.setPrototypeOf(this, NotFoundException.prototype);
94
+ this.ErrorCode = opts.ErrorCode;
95
+ this.Message = opts.Message;
96
+ }
97
+ }
@@ -1,108 +1 @@
1
- import { ServerlessApplicationRepositoryServiceException as __BaseException } from "./ServerlessApplicationRepositoryServiceException";
2
- export const Capability = {
3
- CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND",
4
- CAPABILITY_IAM: "CAPABILITY_IAM",
5
- CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM",
6
- CAPABILITY_RESOURCE_POLICY: "CAPABILITY_RESOURCE_POLICY",
7
- };
8
- export class BadRequestException extends __BaseException {
9
- name = "BadRequestException";
10
- $fault = "client";
11
- ErrorCode;
12
- Message;
13
- constructor(opts) {
14
- super({
15
- name: "BadRequestException",
16
- $fault: "client",
17
- ...opts,
18
- });
19
- Object.setPrototypeOf(this, BadRequestException.prototype);
20
- this.ErrorCode = opts.ErrorCode;
21
- this.Message = opts.Message;
22
- }
23
- }
24
- export class ConflictException extends __BaseException {
25
- name = "ConflictException";
26
- $fault = "client";
27
- ErrorCode;
28
- Message;
29
- constructor(opts) {
30
- super({
31
- name: "ConflictException",
32
- $fault: "client",
33
- ...opts,
34
- });
35
- Object.setPrototypeOf(this, ConflictException.prototype);
36
- this.ErrorCode = opts.ErrorCode;
37
- this.Message = opts.Message;
38
- }
39
- }
40
- export class ForbiddenException extends __BaseException {
41
- name = "ForbiddenException";
42
- $fault = "client";
43
- ErrorCode;
44
- Message;
45
- constructor(opts) {
46
- super({
47
- name: "ForbiddenException",
48
- $fault: "client",
49
- ...opts,
50
- });
51
- Object.setPrototypeOf(this, ForbiddenException.prototype);
52
- this.ErrorCode = opts.ErrorCode;
53
- this.Message = opts.Message;
54
- }
55
- }
56
- export class InternalServerErrorException extends __BaseException {
57
- name = "InternalServerErrorException";
58
- $fault = "server";
59
- ErrorCode;
60
- Message;
61
- constructor(opts) {
62
- super({
63
- name: "InternalServerErrorException",
64
- $fault: "server",
65
- ...opts,
66
- });
67
- Object.setPrototypeOf(this, InternalServerErrorException.prototype);
68
- this.ErrorCode = opts.ErrorCode;
69
- this.Message = opts.Message;
70
- }
71
- }
72
- export class TooManyRequestsException extends __BaseException {
73
- name = "TooManyRequestsException";
74
- $fault = "client";
75
- ErrorCode;
76
- Message;
77
- constructor(opts) {
78
- super({
79
- name: "TooManyRequestsException",
80
- $fault: "client",
81
- ...opts,
82
- });
83
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
84
- this.ErrorCode = opts.ErrorCode;
85
- this.Message = opts.Message;
86
- }
87
- }
88
- export const Status = {
89
- ACTIVE: "ACTIVE",
90
- EXPIRED: "EXPIRED",
91
- PREPARING: "PREPARING",
92
- };
93
- export class NotFoundException extends __BaseException {
94
- name = "NotFoundException";
95
- $fault = "client";
96
- ErrorCode;
97
- Message;
98
- constructor(opts) {
99
- super({
100
- name: "NotFoundException",
101
- $fault: "client",
102
- ...opts,
103
- });
104
- Object.setPrototypeOf(this, NotFoundException.prototype);
105
- this.ErrorCode = opts.ErrorCode;
106
- this.Message = opts.Message;
107
- }
108
- }
1
+ export {};
@@ -202,7 +202,7 @@ const _va = "value";
202
202
  const _ve = "versions";
203
203
  const n0 = "com.amazonaws.serverlessapplicationrepository";
204
204
  import { TypeRegistry } from "@smithy/core/schema";
205
- import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, InternalServerErrorException as __InternalServerErrorException, NotFoundException as __NotFoundException, TooManyRequestsException as __TooManyRequestsException, } from "../models/index";
205
+ import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, InternalServerErrorException as __InternalServerErrorException, NotFoundException as __NotFoundException, TooManyRequestsException as __TooManyRequestsException, } from "../models/errors";
206
206
  import { ServerlessApplicationRepositoryServiceException as __ServerlessApplicationRepositoryServiceException } from "../models/ServerlessApplicationRepositoryServiceException";
207
207
  export var ApplicationDependencySummary = [
208
208
  3,
@@ -29,5 +29,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
29
29
  export type { ServerlessApplicationRepositoryExtensionConfiguration } from "./extensionConfiguration";
30
30
  export * from "./commands";
31
31
  export * from "./pagination";
32
- export * from "./models";
32
+ export * from "./models/enums";
33
+ export * from "./models/errors";
34
+ export type * from "./models/models_0";
33
35
  export { ServerlessApplicationRepositoryServiceException } from "./models/ServerlessApplicationRepositoryServiceException";
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const Capability: {
6
+ readonly CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND";
7
+ readonly CAPABILITY_IAM: "CAPABILITY_IAM";
8
+ readonly CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM";
9
+ readonly CAPABILITY_RESOURCE_POLICY: "CAPABILITY_RESOURCE_POLICY";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type Capability = (typeof Capability)[keyof typeof Capability];
15
+ /**
16
+ * @public
17
+ * @enum
18
+ */
19
+ export declare const Status: {
20
+ readonly ACTIVE: "ACTIVE";
21
+ readonly EXPIRED: "EXPIRED";
22
+ readonly PREPARING: "PREPARING";
23
+ };
24
+ /**
25
+ * @public
26
+ */
27
+ export type Status = (typeof Status)[keyof typeof Status];
@@ -0,0 +1,134 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ServerlessApplicationRepositoryServiceException as __BaseException } from "./ServerlessApplicationRepositoryServiceException";
3
+ /**
4
+ * <p>One of the parameters in the request is invalid.</p>
5
+ * @public
6
+ */
7
+ export declare class BadRequestException extends __BaseException {
8
+ readonly name: "BadRequestException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * <p>400</p>
12
+ * @public
13
+ */
14
+ ErrorCode?: string | undefined;
15
+ /**
16
+ * <p>One of the parameters in the request is invalid.</p>
17
+ * @public
18
+ */
19
+ Message?: string | undefined;
20
+ /**
21
+ * @internal
22
+ */
23
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
24
+ }
25
+ /**
26
+ * <p>The resource already exists.</p>
27
+ * @public
28
+ */
29
+ export declare class ConflictException extends __BaseException {
30
+ readonly name: "ConflictException";
31
+ readonly $fault: "client";
32
+ /**
33
+ * <p>409</p>
34
+ * @public
35
+ */
36
+ ErrorCode?: string | undefined;
37
+ /**
38
+ * <p>The resource already exists.</p>
39
+ * @public
40
+ */
41
+ Message?: string | undefined;
42
+ /**
43
+ * @internal
44
+ */
45
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
46
+ }
47
+ /**
48
+ * <p>The client is not authenticated.</p>
49
+ * @public
50
+ */
51
+ export declare class ForbiddenException extends __BaseException {
52
+ readonly name: "ForbiddenException";
53
+ readonly $fault: "client";
54
+ /**
55
+ * <p>403</p>
56
+ * @public
57
+ */
58
+ ErrorCode?: string | undefined;
59
+ /**
60
+ * <p>The client is not authenticated.</p>
61
+ * @public
62
+ */
63
+ Message?: string | undefined;
64
+ /**
65
+ * @internal
66
+ */
67
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
68
+ }
69
+ /**
70
+ * <p>The AWS Serverless Application Repository service encountered an internal error.</p>
71
+ * @public
72
+ */
73
+ export declare class InternalServerErrorException extends __BaseException {
74
+ readonly name: "InternalServerErrorException";
75
+ readonly $fault: "server";
76
+ /**
77
+ * <p>500</p>
78
+ * @public
79
+ */
80
+ ErrorCode?: string | undefined;
81
+ /**
82
+ * <p>The AWS Serverless Application Repository service encountered an internal error.</p>
83
+ * @public
84
+ */
85
+ Message?: string | undefined;
86
+ /**
87
+ * @internal
88
+ */
89
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
90
+ }
91
+ /**
92
+ * <p>The client is sending more than the allowed number of requests per unit of time.</p>
93
+ * @public
94
+ */
95
+ export declare class TooManyRequestsException extends __BaseException {
96
+ readonly name: "TooManyRequestsException";
97
+ readonly $fault: "client";
98
+ /**
99
+ * <p>429</p>
100
+ * @public
101
+ */
102
+ ErrorCode?: string | undefined;
103
+ /**
104
+ * <p>The client is sending more than the allowed number of requests per unit of time.</p>
105
+ * @public
106
+ */
107
+ Message?: string | undefined;
108
+ /**
109
+ * @internal
110
+ */
111
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
112
+ }
113
+ /**
114
+ * <p>The resource (for example, an access policy statement) specified in the request doesn't exist.</p>
115
+ * @public
116
+ */
117
+ export declare class NotFoundException extends __BaseException {
118
+ readonly name: "NotFoundException";
119
+ readonly $fault: "client";
120
+ /**
121
+ * <p>404</p>
122
+ * @public
123
+ */
124
+ ErrorCode?: string | undefined;
125
+ /**
126
+ * <p>The resource (for example, an access policy statement) specified in the request doesn't exist.</p>
127
+ * @public
128
+ */
129
+ Message?: string | undefined;
130
+ /**
131
+ * @internal
132
+ */
133
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
134
+ }
@@ -1,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ServerlessApplicationRepositoryServiceException as __BaseException } from "./ServerlessApplicationRepositoryServiceException";
1
+ import { Capability, Status } from "./enums";
3
2
  /**
4
3
  * <p>A nested application summary.</p>
5
4
  * @public
@@ -89,20 +88,6 @@ export interface ApplicationSummary {
89
88
  */
90
89
  SpdxLicenseId?: string | undefined;
91
90
  }
92
- /**
93
- * @public
94
- * @enum
95
- */
96
- export declare const Capability: {
97
- readonly CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND";
98
- readonly CAPABILITY_IAM: "CAPABILITY_IAM";
99
- readonly CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM";
100
- readonly CAPABILITY_RESOURCE_POLICY: "CAPABILITY_RESOURCE_POLICY";
101
- };
102
- /**
103
- * @public
104
- */
105
- export type Capability = (typeof Capability)[keyof typeof Capability];
106
91
  /**
107
92
  * <p>Parameters supported by the application.</p>
108
93
  * @public
@@ -276,50 +261,6 @@ export interface VersionSummary {
276
261
  */
277
262
  SourceCodeUrl?: string | undefined;
278
263
  }
279
- /**
280
- * <p>One of the parameters in the request is invalid.</p>
281
- * @public
282
- */
283
- export declare class BadRequestException extends __BaseException {
284
- readonly name: "BadRequestException";
285
- readonly $fault: "client";
286
- /**
287
- * <p>400</p>
288
- * @public
289
- */
290
- ErrorCode?: string | undefined;
291
- /**
292
- * <p>One of the parameters in the request is invalid.</p>
293
- * @public
294
- */
295
- Message?: string | undefined;
296
- /**
297
- * @internal
298
- */
299
- constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
300
- }
301
- /**
302
- * <p>The resource already exists.</p>
303
- * @public
304
- */
305
- export declare class ConflictException extends __BaseException {
306
- readonly name: "ConflictException";
307
- readonly $fault: "client";
308
- /**
309
- * <p>409</p>
310
- * @public
311
- */
312
- ErrorCode?: string | undefined;
313
- /**
314
- * <p>The resource already exists.</p>
315
- * @public
316
- */
317
- Message?: string | undefined;
318
- /**
319
- * @internal
320
- */
321
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
322
- }
323
264
  /**
324
265
  * @public
325
266
  */
@@ -551,72 +492,6 @@ export interface CreateApplicationResponse {
551
492
  */
552
493
  Version?: Version | undefined;
553
494
  }
554
- /**
555
- * <p>The client is not authenticated.</p>
556
- * @public
557
- */
558
- export declare class ForbiddenException extends __BaseException {
559
- readonly name: "ForbiddenException";
560
- readonly $fault: "client";
561
- /**
562
- * <p>403</p>
563
- * @public
564
- */
565
- ErrorCode?: string | undefined;
566
- /**
567
- * <p>The client is not authenticated.</p>
568
- * @public
569
- */
570
- Message?: string | undefined;
571
- /**
572
- * @internal
573
- */
574
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
575
- }
576
- /**
577
- * <p>The AWS Serverless Application Repository service encountered an internal error.</p>
578
- * @public
579
- */
580
- export declare class InternalServerErrorException extends __BaseException {
581
- readonly name: "InternalServerErrorException";
582
- readonly $fault: "server";
583
- /**
584
- * <p>500</p>
585
- * @public
586
- */
587
- ErrorCode?: string | undefined;
588
- /**
589
- * <p>The AWS Serverless Application Repository service encountered an internal error.</p>
590
- * @public
591
- */
592
- Message?: string | undefined;
593
- /**
594
- * @internal
595
- */
596
- constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
597
- }
598
- /**
599
- * <p>The client is sending more than the allowed number of requests per unit of time.</p>
600
- * @public
601
- */
602
- export declare class TooManyRequestsException extends __BaseException {
603
- readonly name: "TooManyRequestsException";
604
- readonly $fault: "client";
605
- /**
606
- * <p>429</p>
607
- * @public
608
- */
609
- ErrorCode?: string | undefined;
610
- /**
611
- * <p>The client is sending more than the allowed number of requests per unit of time.</p>
612
- * @public
613
- */
614
- Message?: string | undefined;
615
- /**
616
- * @internal
617
- */
618
- constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
619
- }
620
495
  /**
621
496
  * @public
622
497
  */
@@ -892,19 +767,6 @@ export interface CreateCloudFormationTemplateRequest {
892
767
  */
893
768
  SemanticVersion?: string | undefined;
894
769
  }
895
- /**
896
- * @public
897
- * @enum
898
- */
899
- export declare const Status: {
900
- readonly ACTIVE: "ACTIVE";
901
- readonly EXPIRED: "EXPIRED";
902
- readonly PREPARING: "PREPARING";
903
- };
904
- /**
905
- * @public
906
- */
907
- export type Status = (typeof Status)[keyof typeof Status];
908
770
  /**
909
771
  * @public
910
772
  */
@@ -950,28 +812,6 @@ export interface CreateCloudFormationTemplateResponse {
950
812
  */
951
813
  TemplateUrl?: string | undefined;
952
814
  }
953
- /**
954
- * <p>The resource (for example, an access policy statement) specified in the request doesn't exist.</p>
955
- * @public
956
- */
957
- export declare class NotFoundException extends __BaseException {
958
- readonly name: "NotFoundException";
959
- readonly $fault: "client";
960
- /**
961
- * <p>404</p>
962
- * @public
963
- */
964
- ErrorCode?: string | undefined;
965
- /**
966
- * <p>The resource (for example, an access policy statement) specified in the request doesn't exist.</p>
967
- * @public
968
- */
969
- Message?: string | undefined;
970
- /**
971
- * @internal
972
- */
973
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
974
- }
975
815
  /**
976
816
  * @public
977
817
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ServerlessApplicationRepositoryExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { ServerlessApplicationRepositoryServiceException } from "./models/ServerlessApplicationRepositoryServiceException";
@@ -0,0 +1,13 @@
1
+ export declare const Capability: {
2
+ readonly CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND";
3
+ readonly CAPABILITY_IAM: "CAPABILITY_IAM";
4
+ readonly CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM";
5
+ readonly CAPABILITY_RESOURCE_POLICY: "CAPABILITY_RESOURCE_POLICY";
6
+ };
7
+ export type Capability = (typeof Capability)[keyof typeof Capability];
8
+ export declare const Status: {
9
+ readonly ACTIVE: "ACTIVE";
10
+ readonly EXPIRED: "EXPIRED";
11
+ readonly PREPARING: "PREPARING";
12
+ };
13
+ export type Status = (typeof Status)[keyof typeof Status];
@@ -0,0 +1,50 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ServerlessApplicationRepositoryServiceException as __BaseException } from "./ServerlessApplicationRepositoryServiceException";
3
+ export declare class BadRequestException extends __BaseException {
4
+ readonly name: "BadRequestException";
5
+ readonly $fault: "client";
6
+ ErrorCode?: string | undefined;
7
+ Message?: string | undefined;
8
+ constructor(
9
+ opts: __ExceptionOptionType<BadRequestException, __BaseException>
10
+ );
11
+ }
12
+ export declare class ConflictException extends __BaseException {
13
+ readonly name: "ConflictException";
14
+ readonly $fault: "client";
15
+ ErrorCode?: string | undefined;
16
+ Message?: string | undefined;
17
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
18
+ }
19
+ export declare class ForbiddenException extends __BaseException {
20
+ readonly name: "ForbiddenException";
21
+ readonly $fault: "client";
22
+ ErrorCode?: string | undefined;
23
+ Message?: string | undefined;
24
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
25
+ }
26
+ export declare class InternalServerErrorException extends __BaseException {
27
+ readonly name: "InternalServerErrorException";
28
+ readonly $fault: "server";
29
+ ErrorCode?: string | undefined;
30
+ Message?: string | undefined;
31
+ constructor(
32
+ opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
33
+ );
34
+ }
35
+ export declare class TooManyRequestsException extends __BaseException {
36
+ readonly name: "TooManyRequestsException";
37
+ readonly $fault: "client";
38
+ ErrorCode?: string | undefined;
39
+ Message?: string | undefined;
40
+ constructor(
41
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
42
+ );
43
+ }
44
+ export declare class NotFoundException extends __BaseException {
45
+ readonly name: "NotFoundException";
46
+ readonly $fault: "client";
47
+ ErrorCode?: string | undefined;
48
+ Message?: string | undefined;
49
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
50
+ }
@@ -1,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ServerlessApplicationRepositoryServiceException as __BaseException } from "./ServerlessApplicationRepositoryServiceException";
1
+ import { Capability, Status } from "./enums";
3
2
  export interface ApplicationDependencySummary {
4
3
  ApplicationId: string | undefined;
5
4
  SemanticVersion: string | undefined;
@@ -20,13 +19,6 @@ export interface ApplicationSummary {
20
19
  Name: string | undefined;
21
20
  SpdxLicenseId?: string | undefined;
22
21
  }
23
- export declare const Capability: {
24
- readonly CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND";
25
- readonly CAPABILITY_IAM: "CAPABILITY_IAM";
26
- readonly CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM";
27
- readonly CAPABILITY_RESOURCE_POLICY: "CAPABILITY_RESOURCE_POLICY";
28
- };
29
- export type Capability = (typeof Capability)[keyof typeof Capability];
30
22
  export interface ParameterDefinition {
31
23
  AllowedPattern?: string | undefined;
32
24
  AllowedValues?: string[] | undefined;
@@ -60,22 +52,6 @@ export interface VersionSummary {
60
52
  SemanticVersion: string | undefined;
61
53
  SourceCodeUrl?: string | undefined;
62
54
  }
63
- export declare class BadRequestException extends __BaseException {
64
- readonly name: "BadRequestException";
65
- readonly $fault: "client";
66
- ErrorCode?: string | undefined;
67
- Message?: string | undefined;
68
- constructor(
69
- opts: __ExceptionOptionType<BadRequestException, __BaseException>
70
- );
71
- }
72
- export declare class ConflictException extends __BaseException {
73
- readonly name: "ConflictException";
74
- readonly $fault: "client";
75
- ErrorCode?: string | undefined;
76
- Message?: string | undefined;
77
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
78
- }
79
55
  export interface CreateApplicationRequest {
80
56
  Author: string | undefined;
81
57
  Description: string | undefined;
@@ -119,31 +95,6 @@ export interface CreateApplicationResponse {
119
95
  VerifiedAuthorUrl?: string | undefined;
120
96
  Version?: Version | undefined;
121
97
  }
122
- export declare class ForbiddenException extends __BaseException {
123
- readonly name: "ForbiddenException";
124
- readonly $fault: "client";
125
- ErrorCode?: string | undefined;
126
- Message?: string | undefined;
127
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
128
- }
129
- export declare class InternalServerErrorException extends __BaseException {
130
- readonly name: "InternalServerErrorException";
131
- readonly $fault: "server";
132
- ErrorCode?: string | undefined;
133
- Message?: string | undefined;
134
- constructor(
135
- opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
136
- );
137
- }
138
- export declare class TooManyRequestsException extends __BaseException {
139
- readonly name: "TooManyRequestsException";
140
- readonly $fault: "client";
141
- ErrorCode?: string | undefined;
142
- Message?: string | undefined;
143
- constructor(
144
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
145
- );
146
- }
147
98
  export interface CreateApplicationVersionRequest {
148
99
  ApplicationId: string | undefined;
149
100
  SemanticVersion: string | undefined;
@@ -192,12 +143,6 @@ export interface CreateCloudFormationTemplateRequest {
192
143
  ApplicationId: string | undefined;
193
144
  SemanticVersion?: string | undefined;
194
145
  }
195
- export declare const Status: {
196
- readonly ACTIVE: "ACTIVE";
197
- readonly EXPIRED: "EXPIRED";
198
- readonly PREPARING: "PREPARING";
199
- };
200
- export type Status = (typeof Status)[keyof typeof Status];
201
146
  export interface CreateCloudFormationTemplateResponse {
202
147
  ApplicationId?: string | undefined;
203
148
  CreationTime?: string | undefined;
@@ -207,13 +152,6 @@ export interface CreateCloudFormationTemplateResponse {
207
152
  TemplateId?: string | undefined;
208
153
  TemplateUrl?: string | undefined;
209
154
  }
210
- export declare class NotFoundException extends __BaseException {
211
- readonly name: "NotFoundException";
212
- readonly $fault: "client";
213
- ErrorCode?: string | undefined;
214
- Message?: string | undefined;
215
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
216
- }
217
155
  export interface DeleteApplicationRequest {
218
156
  ApplicationId: string | undefined;
219
157
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-serverlessapplicationrepository",
3
3
  "description": "AWS SDK for JavaScript Serverlessapplicationrepository Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-serverlessapplicationrepository",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";