@aws-sdk/client-cost-optimization-hub 3.1147.0 → 3.1149.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1146.0";
72
+ var version = "3.1148.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
132
132
  customEndpointFunctions.aws = awsEndpointFunctions;
133
133
 
134
134
  class CostOptimizationHubServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.costoptimizationhub#CostOptimizationHubServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, CostOptimizationHubServiceException.prototype);
@@ -139,6 +140,7 @@ class CostOptimizationHubServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AccessDeniedException extends CostOptimizationHubServiceException {
143
+ static shapeId = "com.amazonaws.costoptimizationhub#AccessDeniedException";
142
144
  name = "AccessDeniedException";
143
145
  $fault = "client";
144
146
  constructor(opts) {
@@ -151,6 +153,7 @@ class AccessDeniedException extends CostOptimizationHubServiceException {
151
153
  }
152
154
  }
153
155
  class InternalServerException extends CostOptimizationHubServiceException {
156
+ static shapeId = "com.amazonaws.costoptimizationhub#InternalServerException";
154
157
  name = "InternalServerException";
155
158
  $fault = "server";
156
159
  constructor(opts) {
@@ -163,6 +166,7 @@ class InternalServerException extends CostOptimizationHubServiceException {
163
166
  }
164
167
  }
165
168
  class ThrottlingException extends CostOptimizationHubServiceException {
169
+ static shapeId = "com.amazonaws.costoptimizationhub#ThrottlingException";
166
170
  name = "ThrottlingException";
167
171
  $fault = "client";
168
172
  constructor(opts) {
@@ -175,6 +179,7 @@ class ThrottlingException extends CostOptimizationHubServiceException {
175
179
  }
176
180
  }
177
181
  class ValidationException extends CostOptimizationHubServiceException {
182
+ static shapeId = "com.amazonaws.costoptimizationhub#ValidationException";
178
183
  name = "ValidationException";
179
184
  $fault = "client";
180
185
  reason;
@@ -191,6 +196,7 @@ class ValidationException extends CostOptimizationHubServiceException {
191
196
  }
192
197
  }
193
198
  class ResourceNotFoundException extends CostOptimizationHubServiceException {
199
+ static shapeId = "com.amazonaws.costoptimizationhub#ResourceNotFoundException";
194
200
  name = "ResourceNotFoundException";
195
201
  $fault = "client";
196
202
  resourceId;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class CostOptimizationHubServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.costoptimizationhub#CostOptimizationHubServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, CostOptimizationHubServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { CostOptimizationHubServiceException as __BaseException } from "./CostOptimizationHubServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.costoptimizationhub#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class InternalServerException extends __BaseException {
16
+ static shapeId = "com.amazonaws.costoptimizationhub#InternalServerException";
15
17
  name = "InternalServerException";
16
18
  $fault = "server";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class InternalServerException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class ThrottlingException extends __BaseException {
29
+ static shapeId = "com.amazonaws.costoptimizationhub#ThrottlingException";
27
30
  name = "ThrottlingException";
28
31
  $fault = "client";
29
32
  constructor(opts) {
@@ -36,6 +39,7 @@ export class ThrottlingException extends __BaseException {
36
39
  }
37
40
  }
38
41
  export class ValidationException extends __BaseException {
42
+ static shapeId = "com.amazonaws.costoptimizationhub#ValidationException";
39
43
  name = "ValidationException";
40
44
  $fault = "client";
41
45
  reason;
@@ -52,6 +56,7 @@ export class ValidationException extends __BaseException {
52
56
  }
53
57
  }
54
58
  export class ResourceNotFoundException extends __BaseException {
59
+ static shapeId = "com.amazonaws.costoptimizationhub#ResourceNotFoundException";
55
60
  name = "ResourceNotFoundException";
56
61
  $fault = "client";
57
62
  resourceId;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from CostOptimizationHub service.
8
8
  */
9
9
  export declare class CostOptimizationHubServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -7,6 +7,7 @@ import type { ValidationExceptionDetail } from "./models_0";
7
7
  * @public
8
8
  */
9
9
  export declare class AccessDeniedException extends __BaseException {
10
+ static readonly shapeId: string;
10
11
  readonly name: "AccessDeniedException";
11
12
  readonly $fault: "client";
12
13
  /**
@@ -19,6 +20,7 @@ export declare class AccessDeniedException extends __BaseException {
19
20
  * @public
20
21
  */
21
22
  export declare class InternalServerException extends __BaseException {
23
+ static readonly shapeId: string;
22
24
  readonly name: "InternalServerException";
23
25
  readonly $fault: "server";
24
26
  /**
@@ -31,6 +33,7 @@ export declare class InternalServerException extends __BaseException {
31
33
  * @public
32
34
  */
33
35
  export declare class ThrottlingException extends __BaseException {
36
+ static readonly shapeId: string;
34
37
  readonly name: "ThrottlingException";
35
38
  readonly $fault: "client";
36
39
  /**
@@ -43,6 +46,7 @@ export declare class ThrottlingException extends __BaseException {
43
46
  * @public
44
47
  */
45
48
  export declare class ValidationException extends __BaseException {
49
+ static readonly shapeId: string;
46
50
  readonly name: "ValidationException";
47
51
  readonly $fault: "client";
48
52
  /**
@@ -65,6 +69,7 @@ export declare class ValidationException extends __BaseException {
65
69
  * @public
66
70
  */
67
71
  export declare class ResourceNotFoundException extends __BaseException {
72
+ static readonly shapeId: string;
68
73
  readonly name: "ResourceNotFoundException";
69
74
  readonly $fault: "client";
70
75
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class CostOptimizationHubServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -3,21 +3,25 @@ import { CostOptimizationHubServiceException as __BaseException } from "./CostOp
3
3
  import { ValidationExceptionReason } from "./enums";
4
4
  import { ValidationExceptionDetail } from "./models_0";
5
5
  export declare class AccessDeniedException extends __BaseException {
6
+ static readonly shapeId: string;
6
7
  readonly name: "AccessDeniedException";
7
8
  readonly $fault: "client";
8
9
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
10
  }
10
11
  export declare class InternalServerException extends __BaseException {
12
+ static readonly shapeId: string;
11
13
  readonly name: "InternalServerException";
12
14
  readonly $fault: "server";
13
15
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
14
16
  }
15
17
  export declare class ThrottlingException extends __BaseException {
18
+ static readonly shapeId: string;
16
19
  readonly name: "ThrottlingException";
17
20
  readonly $fault: "client";
18
21
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
19
22
  }
20
23
  export declare class ValidationException extends __BaseException {
24
+ static readonly shapeId: string;
21
25
  readonly name: "ValidationException";
22
26
  readonly $fault: "client";
23
27
  reason?: ValidationExceptionReason | undefined;
@@ -25,6 +29,7 @@ export declare class ValidationException extends __BaseException {
25
29
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
26
30
  }
27
31
  export declare class ResourceNotFoundException extends __BaseException {
32
+ static readonly shapeId: string;
28
33
  readonly name: "ResourceNotFoundException";
29
34
  readonly $fault: "client";
30
35
  resourceId: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cost-optimization-hub",
3
- "version": "3.1147.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Cost Optimization Hub Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cost-optimization-hub",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.2",
50
+ "@aws-sdk/credential-provider-node": "^3.972.85",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",