@aws-sdk/client-serverlessapplicationrepository 3.52.0 → 3.53.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.
@@ -3,3 +3,4 @@ export * from "./ServerlessApplicationRepositoryClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ServerlessApplicationRepositoryServiceException } from "./models/ServerlessApplicationRepositoryServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from ServerlessApplicationRepository service.
4
+ */
5
+ export declare class ServerlessApplicationRepositoryServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ServerlessApplicationRepositoryServiceException as __BaseException } from "./ServerlessApplicationRepositoryServiceException";
2
3
  /**
3
4
  * <p>A nested application summary.</p>
4
5
  */
@@ -273,9 +274,9 @@ export declare namespace VersionSummary {
273
274
  /**
274
275
  * <p>One of the parameters in the request is invalid.</p>
275
276
  */
276
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
277
- name: "BadRequestException";
278
- $fault: "client";
277
+ export declare class BadRequestException extends __BaseException {
278
+ readonly name: "BadRequestException";
279
+ readonly $fault: "client";
279
280
  /**
280
281
  * <p>400</p>
281
282
  */
@@ -284,13 +285,17 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
284
285
  * <p>One of the parameters in the request is invalid.</p>
285
286
  */
286
287
  Message?: string;
288
+ /**
289
+ * @internal
290
+ */
291
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
287
292
  }
288
293
  /**
289
294
  * <p>The resource already exists.</p>
290
295
  */
291
- export interface ConflictException extends __SmithyException, $MetadataBearer {
292
- name: "ConflictException";
293
- $fault: "client";
296
+ export declare class ConflictException extends __BaseException {
297
+ readonly name: "ConflictException";
298
+ readonly $fault: "client";
294
299
  /**
295
300
  * <p>409</p>
296
301
  */
@@ -299,6 +304,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
299
304
  * <p>The resource already exists.</p>
300
305
  */
301
306
  Message?: string;
307
+ /**
308
+ * @internal
309
+ */
310
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
302
311
  }
303
312
  export interface CreateApplicationRequest {
304
313
  /**
@@ -508,9 +517,9 @@ export declare namespace CreateApplicationResponse {
508
517
  /**
509
518
  * <p>The client is not authenticated.</p>
510
519
  */
511
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
512
- name: "ForbiddenException";
513
- $fault: "client";
520
+ export declare class ForbiddenException extends __BaseException {
521
+ readonly name: "ForbiddenException";
522
+ readonly $fault: "client";
514
523
  /**
515
524
  * <p>403</p>
516
525
  */
@@ -519,13 +528,17 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
519
528
  * <p>The client is not authenticated.</p>
520
529
  */
521
530
  Message?: string;
531
+ /**
532
+ * @internal
533
+ */
534
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
522
535
  }
523
536
  /**
524
537
  * <p>The AWS Serverless Application Repository service encountered an internal error.</p>
525
538
  */
526
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
527
- name: "InternalServerErrorException";
528
- $fault: "server";
539
+ export declare class InternalServerErrorException extends __BaseException {
540
+ readonly name: "InternalServerErrorException";
541
+ readonly $fault: "server";
529
542
  /**
530
543
  * <p>500</p>
531
544
  */
@@ -534,13 +547,17 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
534
547
  * <p>The AWS Serverless Application Repository service encountered an internal error.</p>
535
548
  */
536
549
  Message?: string;
550
+ /**
551
+ * @internal
552
+ */
553
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
537
554
  }
538
555
  /**
539
556
  * <p>The client is sending more than the allowed number of requests per unit of time.</p>
540
557
  */
541
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
542
- name: "TooManyRequestsException";
543
- $fault: "client";
558
+ export declare class TooManyRequestsException extends __BaseException {
559
+ readonly name: "TooManyRequestsException";
560
+ readonly $fault: "client";
544
561
  /**
545
562
  * <p>429</p>
546
563
  */
@@ -549,6 +566,10 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
549
566
  * <p>The client is sending more than the allowed number of requests per unit of time.</p>
550
567
  */
551
568
  Message?: string;
569
+ /**
570
+ * @internal
571
+ */
572
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
552
573
  }
553
574
  export interface CreateApplicationVersionRequest {
554
575
  /**
@@ -858,9 +879,9 @@ export declare namespace CreateCloudFormationTemplateResponse {
858
879
  /**
859
880
  * <p>The resource (for example, an access policy statement) specified in the request doesn't exist.</p>
860
881
  */
861
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
862
- name: "NotFoundException";
863
- $fault: "client";
882
+ export declare class NotFoundException extends __BaseException {
883
+ readonly name: "NotFoundException";
884
+ readonly $fault: "client";
864
885
  /**
865
886
  * <p>404</p>
866
887
  */
@@ -869,6 +890,10 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
869
890
  * <p>The resource (for example, an access policy statement) specified in the request doesn't exist.</p>
870
891
  */
871
892
  Message?: string;
893
+ /**
894
+ * @internal
895
+ */
896
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
872
897
  }
873
898
  export interface DeleteApplicationRequest {
874
899
  /**
@@ -3,3 +3,4 @@ export * from "./ServerlessApplicationRepositoryClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ServerlessApplicationRepositoryServiceException } from "./models/ServerlessApplicationRepositoryServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class ServerlessApplicationRepositoryServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ServerlessApplicationRepositoryServiceException as __BaseException } from "./ServerlessApplicationRepositoryServiceException";
2
3
 
3
4
  export interface ApplicationDependencySummary {
4
5
 
@@ -136,22 +137,26 @@ export declare namespace VersionSummary {
136
137
  const filterSensitiveLog: (obj: VersionSummary) => any;
137
138
  }
138
139
 
139
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
140
- name: "BadRequestException";
141
- $fault: "client";
140
+ export declare class BadRequestException extends __BaseException {
141
+ readonly name: "BadRequestException";
142
+ readonly $fault: "client";
142
143
 
143
144
  ErrorCode?: string;
144
145
 
145
146
  Message?: string;
147
+
148
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
146
149
  }
147
150
 
148
- export interface ConflictException extends __SmithyException, $MetadataBearer {
149
- name: "ConflictException";
150
- $fault: "client";
151
+ export declare class ConflictException extends __BaseException {
152
+ readonly name: "ConflictException";
153
+ readonly $fault: "client";
151
154
 
152
155
  ErrorCode?: string;
153
156
 
154
157
  Message?: string;
158
+
159
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
155
160
  }
156
161
  export interface CreateApplicationRequest {
157
162
 
@@ -247,31 +252,37 @@ export declare namespace CreateApplicationResponse {
247
252
  const filterSensitiveLog: (obj: CreateApplicationResponse) => any;
248
253
  }
249
254
 
250
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
251
- name: "ForbiddenException";
252
- $fault: "client";
255
+ export declare class ForbiddenException extends __BaseException {
256
+ readonly name: "ForbiddenException";
257
+ readonly $fault: "client";
253
258
 
254
259
  ErrorCode?: string;
255
260
 
256
261
  Message?: string;
262
+
263
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
257
264
  }
258
265
 
259
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
260
- name: "InternalServerErrorException";
261
- $fault: "server";
266
+ export declare class InternalServerErrorException extends __BaseException {
267
+ readonly name: "InternalServerErrorException";
268
+ readonly $fault: "server";
262
269
 
263
270
  ErrorCode?: string;
264
271
 
265
272
  Message?: string;
273
+
274
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
266
275
  }
267
276
 
268
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
269
- name: "TooManyRequestsException";
270
- $fault: "client";
277
+ export declare class TooManyRequestsException extends __BaseException {
278
+ readonly name: "TooManyRequestsException";
279
+ readonly $fault: "client";
271
280
 
272
281
  ErrorCode?: string;
273
282
 
274
283
  Message?: string;
284
+
285
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
275
286
  }
276
287
  export interface CreateApplicationVersionRequest {
277
288
 
@@ -408,13 +419,15 @@ export declare namespace CreateCloudFormationTemplateResponse {
408
419
  const filterSensitiveLog: (obj: CreateCloudFormationTemplateResponse) => any;
409
420
  }
410
421
 
411
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
412
- name: "NotFoundException";
413
- $fault: "client";
422
+ export declare class NotFoundException extends __BaseException {
423
+ readonly name: "NotFoundException";
424
+ readonly $fault: "client";
414
425
 
415
426
  ErrorCode?: string;
416
427
 
417
428
  Message?: string;
429
+
430
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
418
431
  }
419
432
  export interface DeleteApplicationRequest {
420
433
 
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.52.0",
4
+ "version": "3.53.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"