@aws-sdk/client-pi 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,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 { PIServiceException as __BaseException } from "./PIServiceException";
2
3
  /**
3
4
  * <p>A timestamp, and a single numerical value, which together represent a measurement at a particular point in time.</p>
4
5
  */
@@ -411,26 +412,38 @@ export declare namespace DescribeDimensionKeysResponse {
411
412
  /**
412
413
  * <p>The request failed due to an unknown error.</p>
413
414
  */
414
- export interface InternalServiceError extends __SmithyException, $MetadataBearer {
415
- name: "InternalServiceError";
416
- $fault: "server";
415
+ export declare class InternalServiceError extends __BaseException {
416
+ readonly name: "InternalServiceError";
417
+ readonly $fault: "server";
417
418
  Message?: string;
419
+ /**
420
+ * @internal
421
+ */
422
+ constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
418
423
  }
419
424
  /**
420
425
  * <p>One of the arguments provided is invalid for this request.</p>
421
426
  */
422
- export interface InvalidArgumentException extends __SmithyException, $MetadataBearer {
423
- name: "InvalidArgumentException";
424
- $fault: "client";
427
+ export declare class InvalidArgumentException extends __BaseException {
428
+ readonly name: "InvalidArgumentException";
429
+ readonly $fault: "client";
425
430
  Message?: string;
431
+ /**
432
+ * @internal
433
+ */
434
+ constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
426
435
  }
427
436
  /**
428
437
  * <p>The user is not authorized to perform this request.</p>
429
438
  */
430
- export interface NotAuthorizedException extends __SmithyException, $MetadataBearer {
431
- name: "NotAuthorizedException";
432
- $fault: "client";
439
+ export declare class NotAuthorizedException extends __BaseException {
440
+ readonly name: "NotAuthorizedException";
441
+ readonly $fault: "client";
433
442
  Message?: string;
443
+ /**
444
+ * @internal
445
+ */
446
+ constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
434
447
  }
435
448
  export declare enum DetailStatus {
436
449
  AVAILABLE = "AVAILABLE",
@@ -3,3 +3,4 @@ export * from "./PIClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { PIServiceException } from "./models/PIServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class PIServiceException 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 { PIServiceException as __BaseException } from "./PIServiceException";
2
3
 
3
4
  export interface DataPoint {
4
5
 
@@ -106,22 +107,28 @@ export declare namespace DescribeDimensionKeysResponse {
106
107
  const filterSensitiveLog: (obj: DescribeDimensionKeysResponse) => any;
107
108
  }
108
109
 
109
- export interface InternalServiceError extends __SmithyException, $MetadataBearer {
110
- name: "InternalServiceError";
111
- $fault: "server";
110
+ export declare class InternalServiceError extends __BaseException {
111
+ readonly name: "InternalServiceError";
112
+ readonly $fault: "server";
112
113
  Message?: string;
114
+
115
+ constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
113
116
  }
114
117
 
115
- export interface InvalidArgumentException extends __SmithyException, $MetadataBearer {
116
- name: "InvalidArgumentException";
117
- $fault: "client";
118
+ export declare class InvalidArgumentException extends __BaseException {
119
+ readonly name: "InvalidArgumentException";
120
+ readonly $fault: "client";
118
121
  Message?: string;
122
+
123
+ constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
119
124
  }
120
125
 
121
- export interface NotAuthorizedException extends __SmithyException, $MetadataBearer {
122
- name: "NotAuthorizedException";
123
- $fault: "client";
126
+ export declare class NotAuthorizedException extends __BaseException {
127
+ readonly name: "NotAuthorizedException";
128
+ readonly $fault: "client";
124
129
  Message?: string;
130
+
131
+ constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
125
132
  }
126
133
  export declare enum DetailStatus {
127
134
  AVAILABLE = "AVAILABLE",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pi",
3
3
  "description": "AWS SDK for JavaScript Pi 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"