@aws-sdk/client-service-catalog 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 "./ServiceCatalogClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ServiceCatalogServiceException } from "./models/ServiceCatalogServiceException";
@@ -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 ServiceCatalog service.
4
+ */
5
+ export declare class ServiceCatalogServiceException 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 { ServiceCatalogServiceException as __BaseException } from "./ServiceCatalogServiceException";
2
3
  export declare enum PortfolioShareType {
3
4
  AWS_ORGANIZATIONS = "AWS_ORGANIZATIONS",
4
5
  AWS_SERVICECATALOG = "AWS_SERVICECATALOG",
@@ -66,27 +67,39 @@ export declare namespace AcceptPortfolioShareOutput {
66
67
  /**
67
68
  * <p>One or more parameters provided to the operation are not valid.</p>
68
69
  */
69
- export interface InvalidParametersException extends __SmithyException, $MetadataBearer {
70
- name: "InvalidParametersException";
71
- $fault: "client";
70
+ export declare class InvalidParametersException extends __BaseException {
71
+ readonly name: "InvalidParametersException";
72
+ readonly $fault: "client";
72
73
  Message?: string;
74
+ /**
75
+ * @internal
76
+ */
77
+ constructor(opts: __ExceptionOptionType<InvalidParametersException, __BaseException>);
73
78
  }
74
79
  /**
75
80
  * <p>The current limits of the service would have been exceeded by this operation. Decrease your
76
81
  * resource use or increase your service limits and retry the operation.</p>
77
82
  */
78
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
79
- name: "LimitExceededException";
80
- $fault: "client";
83
+ export declare class LimitExceededException extends __BaseException {
84
+ readonly name: "LimitExceededException";
85
+ readonly $fault: "client";
81
86
  Message?: string;
87
+ /**
88
+ * @internal
89
+ */
90
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
82
91
  }
83
92
  /**
84
93
  * <p>The specified resource was not found.</p>
85
94
  */
86
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
87
- name: "ResourceNotFoundException";
88
- $fault: "client";
95
+ export declare class ResourceNotFoundException extends __BaseException {
96
+ readonly name: "ResourceNotFoundException";
97
+ readonly $fault: "client";
89
98
  Message?: string;
99
+ /**
100
+ * @internal
101
+ */
102
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
90
103
  }
91
104
  export declare enum AccessLevelFilterKey {
92
105
  ACCOUNT = "Account",
@@ -178,10 +191,14 @@ export declare namespace AssociateBudgetWithResourceOutput {
178
191
  /**
179
192
  * <p>The specified resource is a duplicate.</p>
180
193
  */
181
- export interface DuplicateResourceException extends __SmithyException, $MetadataBearer {
182
- name: "DuplicateResourceException";
183
- $fault: "client";
194
+ export declare class DuplicateResourceException extends __BaseException {
195
+ readonly name: "DuplicateResourceException";
196
+ readonly $fault: "client";
184
197
  Message?: string;
198
+ /**
199
+ * @internal
200
+ */
201
+ constructor(opts: __ExceptionOptionType<DuplicateResourceException, __BaseException>);
185
202
  }
186
203
  export declare enum PrincipalType {
187
204
  IAM = "IAM"
@@ -352,20 +369,28 @@ export declare namespace AssociateTagOptionWithResourceOutput {
352
369
  * <p>An attempt was made to modify a resource that is in a state that is not valid.
353
370
  * Check your resources to ensure that they are in valid states before retrying the operation.</p>
354
371
  */
355
- export interface InvalidStateException extends __SmithyException, $MetadataBearer {
356
- name: "InvalidStateException";
357
- $fault: "client";
372
+ export declare class InvalidStateException extends __BaseException {
373
+ readonly name: "InvalidStateException";
374
+ readonly $fault: "client";
358
375
  Message?: string;
376
+ /**
377
+ * @internal
378
+ */
379
+ constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
359
380
  }
360
381
  /**
361
382
  * <p>An operation requiring TagOptions failed because the TagOptions migration process has
362
383
  * not been performed for this account. Please use the AWS console to perform the migration
363
384
  * process before retrying the operation.</p>
364
385
  */
365
- export interface TagOptionNotMigratedException extends __SmithyException, $MetadataBearer {
366
- name: "TagOptionNotMigratedException";
367
- $fault: "client";
386
+ export declare class TagOptionNotMigratedException extends __BaseException {
387
+ readonly name: "TagOptionNotMigratedException";
388
+ readonly $fault: "client";
368
389
  Message?: string;
390
+ /**
391
+ * @internal
392
+ */
393
+ constructor(opts: __ExceptionOptionType<TagOptionNotMigratedException, __BaseException>);
369
394
  }
370
395
  /**
371
396
  * <p>A self-service action association consisting of the Action ID, the Product ID, and the Provisioning Artifact ID.</p>
@@ -978,10 +1003,14 @@ export declare namespace CreatePortfolioShareOutput {
978
1003
  /**
979
1004
  * <p>The operation is not supported.</p>
980
1005
  */
981
- export interface OperationNotSupportedException extends __SmithyException, $MetadataBearer {
982
- name: "OperationNotSupportedException";
983
- $fault: "client";
1006
+ export declare class OperationNotSupportedException extends __BaseException {
1007
+ readonly name: "OperationNotSupportedException";
1008
+ readonly $fault: "client";
984
1009
  Message?: string;
1010
+ /**
1011
+ * @internal
1012
+ */
1013
+ constructor(opts: __ExceptionOptionType<OperationNotSupportedException, __BaseException>);
985
1014
  }
986
1015
  export declare enum ProductType {
987
1016
  CLOUD_FORMATION_TEMPLATE = "CLOUD_FORMATION_TEMPLATE",
@@ -1780,10 +1809,14 @@ export declare namespace DeletePortfolioOutput {
1780
1809
  /**
1781
1810
  * <p>A resource that is currently in use. Ensure that the resource is not in use and retry the operation.</p>
1782
1811
  */
1783
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
1784
- name: "ResourceInUseException";
1785
- $fault: "client";
1812
+ export declare class ResourceInUseException extends __BaseException {
1813
+ readonly name: "ResourceInUseException";
1814
+ readonly $fault: "client";
1786
1815
  Message?: string;
1816
+ /**
1817
+ * @internal
1818
+ */
1819
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
1787
1820
  }
1788
1821
  export interface DeletePortfolioShareInput {
1789
1822
  /**
@@ -3,3 +3,4 @@ export * from "./ServiceCatalogClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ServiceCatalogServiceException } from "./models/ServiceCatalogServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class ServiceCatalogServiceException 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 { ServiceCatalogServiceException as __BaseException } from "./ServiceCatalogServiceException";
2
3
  export declare enum PortfolioShareType {
3
4
  AWS_ORGANIZATIONS = "AWS_ORGANIZATIONS",
4
5
  AWS_SERVICECATALOG = "AWS_SERVICECATALOG",
@@ -23,22 +24,28 @@ export declare namespace AcceptPortfolioShareOutput {
23
24
  const filterSensitiveLog: (obj: AcceptPortfolioShareOutput) => any;
24
25
  }
25
26
 
26
- export interface InvalidParametersException extends __SmithyException, $MetadataBearer {
27
- name: "InvalidParametersException";
28
- $fault: "client";
27
+ export declare class InvalidParametersException extends __BaseException {
28
+ readonly name: "InvalidParametersException";
29
+ readonly $fault: "client";
29
30
  Message?: string;
31
+
32
+ constructor(opts: __ExceptionOptionType<InvalidParametersException, __BaseException>);
30
33
  }
31
34
 
32
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
33
- name: "LimitExceededException";
34
- $fault: "client";
35
+ export declare class LimitExceededException extends __BaseException {
36
+ readonly name: "LimitExceededException";
37
+ readonly $fault: "client";
35
38
  Message?: string;
39
+
40
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
36
41
  }
37
42
 
38
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
39
- name: "ResourceNotFoundException";
40
- $fault: "client";
43
+ export declare class ResourceNotFoundException extends __BaseException {
44
+ readonly name: "ResourceNotFoundException";
45
+ readonly $fault: "client";
41
46
  Message?: string;
47
+
48
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
42
49
  }
43
50
  export declare enum AccessLevelFilterKey {
44
51
  ACCOUNT = "Account",
@@ -89,10 +96,12 @@ export declare namespace AssociateBudgetWithResourceOutput {
89
96
  const filterSensitiveLog: (obj: AssociateBudgetWithResourceOutput) => any;
90
97
  }
91
98
 
92
- export interface DuplicateResourceException extends __SmithyException, $MetadataBearer {
93
- name: "DuplicateResourceException";
94
- $fault: "client";
99
+ export declare class DuplicateResourceException extends __BaseException {
100
+ readonly name: "DuplicateResourceException";
101
+ readonly $fault: "client";
95
102
  Message?: string;
103
+
104
+ constructor(opts: __ExceptionOptionType<DuplicateResourceException, __BaseException>);
96
105
  }
97
106
  export declare enum PrincipalType {
98
107
  IAM = "IAM"
@@ -174,16 +183,20 @@ export declare namespace AssociateTagOptionWithResourceOutput {
174
183
  const filterSensitiveLog: (obj: AssociateTagOptionWithResourceOutput) => any;
175
184
  }
176
185
 
177
- export interface InvalidStateException extends __SmithyException, $MetadataBearer {
178
- name: "InvalidStateException";
179
- $fault: "client";
186
+ export declare class InvalidStateException extends __BaseException {
187
+ readonly name: "InvalidStateException";
188
+ readonly $fault: "client";
180
189
  Message?: string;
190
+
191
+ constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
181
192
  }
182
193
 
183
- export interface TagOptionNotMigratedException extends __SmithyException, $MetadataBearer {
184
- name: "TagOptionNotMigratedException";
185
- $fault: "client";
194
+ export declare class TagOptionNotMigratedException extends __BaseException {
195
+ readonly name: "TagOptionNotMigratedException";
196
+ readonly $fault: "client";
186
197
  Message?: string;
198
+
199
+ constructor(opts: __ExceptionOptionType<TagOptionNotMigratedException, __BaseException>);
187
200
  }
188
201
 
189
202
  export interface ServiceActionAssociation {
@@ -438,10 +451,12 @@ export declare namespace CreatePortfolioShareOutput {
438
451
  const filterSensitiveLog: (obj: CreatePortfolioShareOutput) => any;
439
452
  }
440
453
 
441
- export interface OperationNotSupportedException extends __SmithyException, $MetadataBearer {
442
- name: "OperationNotSupportedException";
443
- $fault: "client";
454
+ export declare class OperationNotSupportedException extends __BaseException {
455
+ readonly name: "OperationNotSupportedException";
456
+ readonly $fault: "client";
444
457
  Message?: string;
458
+
459
+ constructor(opts: __ExceptionOptionType<OperationNotSupportedException, __BaseException>);
445
460
  }
446
461
  export declare enum ProductType {
447
462
  CLOUD_FORMATION_TEMPLATE = "CLOUD_FORMATION_TEMPLATE",
@@ -803,10 +818,12 @@ export declare namespace DeletePortfolioOutput {
803
818
  const filterSensitiveLog: (obj: DeletePortfolioOutput) => any;
804
819
  }
805
820
 
806
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
807
- name: "ResourceInUseException";
808
- $fault: "client";
821
+ export declare class ResourceInUseException extends __BaseException {
822
+ readonly name: "ResourceInUseException";
823
+ readonly $fault: "client";
809
824
  Message?: string;
825
+
826
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
810
827
  }
811
828
  export interface DeletePortfolioShareInput {
812
829
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-service-catalog",
3
3
  "description": "AWS SDK for JavaScript Service Catalog 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",