@aws-sdk/client-applicationcostprofiler 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.
@@ -1,11 +1,15 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ApplicationCostProfilerServiceException as __BaseException } from "./ApplicationCostProfilerServiceException";
2
3
  /**
3
4
  * <p>You do not have permission to perform this action.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
8
- message?: string;
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
13
  }
10
14
  export interface DeleteReportDefinitionRequest {
11
15
  /**
@@ -34,26 +38,35 @@ export declare namespace DeleteReportDefinitionResult {
34
38
  /**
35
39
  * <p>An internal server error occurred. Retry your request.</p>
36
40
  */
37
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
38
- name: "InternalServerException";
39
- $fault: "server";
40
- message?: string;
41
+ export declare class InternalServerException extends __BaseException {
42
+ readonly name: "InternalServerException";
43
+ readonly $fault: "server";
44
+ /**
45
+ * @internal
46
+ */
47
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
41
48
  }
42
49
  /**
43
50
  * <p>The calls to AWS Application Cost Profiler API are throttled. The request was denied.</p>
44
51
  */
45
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
46
- name: "ThrottlingException";
47
- $fault: "client";
48
- message?: string;
52
+ export declare class ThrottlingException extends __BaseException {
53
+ readonly name: "ThrottlingException";
54
+ readonly $fault: "client";
55
+ /**
56
+ * @internal
57
+ */
58
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
49
59
  }
50
60
  /**
51
61
  * <p>The input fails to satisfy the constraints for the API.</p>
52
62
  */
53
- export interface ValidationException extends __SmithyException, $MetadataBearer {
54
- name: "ValidationException";
55
- $fault: "client";
56
- message?: string;
63
+ export declare class ValidationException extends __BaseException {
64
+ readonly name: "ValidationException";
65
+ readonly $fault: "client";
66
+ /**
67
+ * @internal
68
+ */
69
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
57
70
  }
58
71
  export interface GetReportDefinitionRequest {
59
72
  /**
@@ -304,10 +317,13 @@ export declare namespace PutReportDefinitionResult {
304
317
  /**
305
318
  * <p>Your request exceeds one or more of the service quotas.</p>
306
319
  */
307
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
308
- name: "ServiceQuotaExceededException";
309
- $fault: "client";
310
- message?: string;
320
+ export declare class ServiceQuotaExceededException extends __BaseException {
321
+ readonly name: "ServiceQuotaExceededException";
322
+ readonly $fault: "client";
323
+ /**
324
+ * @internal
325
+ */
326
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
311
327
  }
312
328
  export interface UpdateReportDefinitionRequest {
313
329
  /**
@@ -3,3 +3,4 @@ export * from "./ApplicationCostProfilerClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ApplicationCostProfilerServiceException } from "./models/ApplicationCostProfilerServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class ApplicationCostProfilerServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,9 +1,11 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ApplicationCostProfilerServiceException as __BaseException } from "./ApplicationCostProfilerServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
6
- message?: string;
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
9
  }
8
10
  export interface DeleteReportDefinitionRequest {
9
11
 
@@ -22,22 +24,25 @@ export declare namespace DeleteReportDefinitionResult {
22
24
  const filterSensitiveLog: (obj: DeleteReportDefinitionResult) => any;
23
25
  }
24
26
 
25
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
26
- name: "InternalServerException";
27
- $fault: "server";
28
- message?: string;
27
+ export declare class InternalServerException extends __BaseException {
28
+ readonly name: "InternalServerException";
29
+ readonly $fault: "server";
30
+
31
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
29
32
  }
30
33
 
31
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
32
- name: "ThrottlingException";
33
- $fault: "client";
34
- message?: string;
34
+ export declare class ThrottlingException extends __BaseException {
35
+ readonly name: "ThrottlingException";
36
+ readonly $fault: "client";
37
+
38
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
35
39
  }
36
40
 
37
- export interface ValidationException extends __SmithyException, $MetadataBearer {
38
- name: "ValidationException";
39
- $fault: "client";
40
- message?: string;
41
+ export declare class ValidationException extends __BaseException {
42
+ readonly name: "ValidationException";
43
+ readonly $fault: "client";
44
+
45
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
41
46
  }
42
47
  export interface GetReportDefinitionRequest {
43
48
 
@@ -188,10 +193,11 @@ export declare namespace PutReportDefinitionResult {
188
193
  const filterSensitiveLog: (obj: PutReportDefinitionResult) => any;
189
194
  }
190
195
 
191
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
192
- name: "ServiceQuotaExceededException";
193
- $fault: "client";
194
- message?: string;
196
+ export declare class ServiceQuotaExceededException extends __BaseException {
197
+ readonly name: "ServiceQuotaExceededException";
198
+ readonly $fault: "client";
199
+
200
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
195
201
  }
196
202
  export interface UpdateReportDefinitionRequest {
197
203
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-applicationcostprofiler",
3
3
  "description": "AWS SDK for JavaScript Applicationcostprofiler 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"