@aws-sdk/client-pi 3.301.0 → 3.303.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/models/models_0.js +21 -25
- package/dist-es/models/models_0.js +21 -25
- package/dist-types/models/models_0.d.ts +41 -21
- package/dist-types/ts3.4/models/models_0.d.ts +26 -21
- package/package.json +34 -34
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PeriodAlignment = exports.FeatureStatus = exports.DetailStatus = exports.NotAuthorizedException = exports.InvalidArgumentException = exports.InternalServiceError = exports.ServiceType = void 0;
|
|
4
4
|
const PIServiceException_1 = require("./PIServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
})(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
|
|
5
|
+
exports.ServiceType = {
|
|
6
|
+
DOCDB: "DOCDB",
|
|
7
|
+
RDS: "RDS",
|
|
8
|
+
};
|
|
10
9
|
class InternalServiceError extends PIServiceException_1.PIServiceException {
|
|
11
10
|
constructor(opts) {
|
|
12
11
|
super({
|
|
@@ -49,23 +48,20 @@ class NotAuthorizedException extends PIServiceException_1.PIServiceException {
|
|
|
49
48
|
}
|
|
50
49
|
}
|
|
51
50
|
exports.NotAuthorizedException = NotAuthorizedException;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
PeriodAlignment["END_TIME"] = "END_TIME";
|
|
70
|
-
PeriodAlignment["START_TIME"] = "START_TIME";
|
|
71
|
-
})(PeriodAlignment = exports.PeriodAlignment || (exports.PeriodAlignment = {}));
|
|
51
|
+
exports.DetailStatus = {
|
|
52
|
+
AVAILABLE: "AVAILABLE",
|
|
53
|
+
PROCESSING: "PROCESSING",
|
|
54
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
55
|
+
};
|
|
56
|
+
exports.FeatureStatus = {
|
|
57
|
+
DISABLED: "DISABLED",
|
|
58
|
+
DISABLED_PENDING_REBOOT: "DISABLED_PENDING_REBOOT",
|
|
59
|
+
ENABLED: "ENABLED",
|
|
60
|
+
ENABLED_PENDING_REBOOT: "ENABLED_PENDING_REBOOT",
|
|
61
|
+
UNKNOWN: "UNKNOWN",
|
|
62
|
+
UNSUPPORTED: "UNSUPPORTED",
|
|
63
|
+
};
|
|
64
|
+
exports.PeriodAlignment = {
|
|
65
|
+
END_TIME: "END_TIME",
|
|
66
|
+
START_TIME: "START_TIME",
|
|
67
|
+
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { PIServiceException as __BaseException } from "./PIServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
})(ServiceType || (ServiceType = {}));
|
|
2
|
+
export const ServiceType = {
|
|
3
|
+
DOCDB: "DOCDB",
|
|
4
|
+
RDS: "RDS",
|
|
5
|
+
};
|
|
7
6
|
export class InternalServiceError extends __BaseException {
|
|
8
7
|
constructor(opts) {
|
|
9
8
|
super({
|
|
@@ -43,23 +42,20 @@ export class NotAuthorizedException extends __BaseException {
|
|
|
43
42
|
this.Message = opts.Message;
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
|
-
export
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
PeriodAlignment["END_TIME"] = "END_TIME";
|
|
64
|
-
PeriodAlignment["START_TIME"] = "START_TIME";
|
|
65
|
-
})(PeriodAlignment || (PeriodAlignment = {}));
|
|
45
|
+
export const DetailStatus = {
|
|
46
|
+
AVAILABLE: "AVAILABLE",
|
|
47
|
+
PROCESSING: "PROCESSING",
|
|
48
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
49
|
+
};
|
|
50
|
+
export const FeatureStatus = {
|
|
51
|
+
DISABLED: "DISABLED",
|
|
52
|
+
DISABLED_PENDING_REBOOT: "DISABLED_PENDING_REBOOT",
|
|
53
|
+
ENABLED: "ENABLED",
|
|
54
|
+
ENABLED_PENDING_REBOOT: "ENABLED_PENDING_REBOOT",
|
|
55
|
+
UNKNOWN: "UNKNOWN",
|
|
56
|
+
UNSUPPORTED: "UNSUPPORTED",
|
|
57
|
+
};
|
|
58
|
+
export const PeriodAlignment = {
|
|
59
|
+
END_TIME: "END_TIME",
|
|
60
|
+
START_TIME: "START_TIME",
|
|
61
|
+
};
|
|
@@ -286,11 +286,16 @@ export interface DimensionGroup {
|
|
|
286
286
|
}
|
|
287
287
|
/**
|
|
288
288
|
* @public
|
|
289
|
+
* @enum
|
|
289
290
|
*/
|
|
290
|
-
export declare
|
|
291
|
-
DOCDB
|
|
292
|
-
RDS
|
|
293
|
-
}
|
|
291
|
+
export declare const ServiceType: {
|
|
292
|
+
readonly DOCDB: "DOCDB";
|
|
293
|
+
readonly RDS: "RDS";
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* @public
|
|
297
|
+
*/
|
|
298
|
+
export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
|
|
294
299
|
/**
|
|
295
300
|
* @public
|
|
296
301
|
*/
|
|
@@ -535,12 +540,17 @@ export declare class NotAuthorizedException extends __BaseException {
|
|
|
535
540
|
}
|
|
536
541
|
/**
|
|
537
542
|
* @public
|
|
543
|
+
* @enum
|
|
538
544
|
*/
|
|
539
|
-
export declare
|
|
540
|
-
AVAILABLE
|
|
541
|
-
PROCESSING
|
|
542
|
-
UNAVAILABLE
|
|
543
|
-
}
|
|
545
|
+
export declare const DetailStatus: {
|
|
546
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
547
|
+
readonly PROCESSING: "PROCESSING";
|
|
548
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
549
|
+
};
|
|
550
|
+
/**
|
|
551
|
+
* @public
|
|
552
|
+
*/
|
|
553
|
+
export type DetailStatus = (typeof DetailStatus)[keyof typeof DetailStatus];
|
|
544
554
|
/**
|
|
545
555
|
* @public
|
|
546
556
|
* <p>The information about a dimension.</p>
|
|
@@ -621,15 +631,20 @@ export interface DimensionKeyDetail {
|
|
|
621
631
|
}
|
|
622
632
|
/**
|
|
623
633
|
* @public
|
|
634
|
+
* @enum
|
|
624
635
|
*/
|
|
625
|
-
export declare
|
|
626
|
-
DISABLED
|
|
627
|
-
DISABLED_PENDING_REBOOT
|
|
628
|
-
ENABLED
|
|
629
|
-
ENABLED_PENDING_REBOOT
|
|
630
|
-
UNKNOWN
|
|
631
|
-
UNSUPPORTED
|
|
632
|
-
}
|
|
636
|
+
export declare const FeatureStatus: {
|
|
637
|
+
readonly DISABLED: "DISABLED";
|
|
638
|
+
readonly DISABLED_PENDING_REBOOT: "DISABLED_PENDING_REBOOT";
|
|
639
|
+
readonly ENABLED: "ENABLED";
|
|
640
|
+
readonly ENABLED_PENDING_REBOOT: "ENABLED_PENDING_REBOOT";
|
|
641
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
642
|
+
readonly UNSUPPORTED: "UNSUPPORTED";
|
|
643
|
+
};
|
|
644
|
+
/**
|
|
645
|
+
* @public
|
|
646
|
+
*/
|
|
647
|
+
export type FeatureStatus = (typeof FeatureStatus)[keyof typeof FeatureStatus];
|
|
633
648
|
/**
|
|
634
649
|
* @public
|
|
635
650
|
* <p>The metadata for a feature. For example, the metadata might indicate that a feature is
|
|
@@ -827,11 +842,16 @@ export interface MetricQuery {
|
|
|
827
842
|
}
|
|
828
843
|
/**
|
|
829
844
|
* @public
|
|
845
|
+
* @enum
|
|
830
846
|
*/
|
|
831
|
-
export declare
|
|
832
|
-
END_TIME
|
|
833
|
-
START_TIME
|
|
834
|
-
}
|
|
847
|
+
export declare const PeriodAlignment: {
|
|
848
|
+
readonly END_TIME: "END_TIME";
|
|
849
|
+
readonly START_TIME: "START_TIME";
|
|
850
|
+
};
|
|
851
|
+
/**
|
|
852
|
+
* @public
|
|
853
|
+
*/
|
|
854
|
+
export type PeriodAlignment = (typeof PeriodAlignment)[keyof typeof PeriodAlignment];
|
|
835
855
|
/**
|
|
836
856
|
* @public
|
|
837
857
|
*/
|
|
@@ -9,10 +9,11 @@ export interface DimensionGroup {
|
|
|
9
9
|
Dimensions?: string[];
|
|
10
10
|
Limit?: number;
|
|
11
11
|
}
|
|
12
|
-
export declare
|
|
13
|
-
DOCDB
|
|
14
|
-
RDS
|
|
15
|
-
}
|
|
12
|
+
export declare const ServiceType: {
|
|
13
|
+
readonly DOCDB: "DOCDB";
|
|
14
|
+
readonly RDS: "RDS";
|
|
15
|
+
};
|
|
16
|
+
export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
|
|
16
17
|
export interface DescribeDimensionKeysRequest {
|
|
17
18
|
ServiceType: ServiceType | string | undefined;
|
|
18
19
|
Identifier: string | undefined;
|
|
@@ -67,11 +68,12 @@ export declare class NotAuthorizedException extends __BaseException {
|
|
|
67
68
|
opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>
|
|
68
69
|
);
|
|
69
70
|
}
|
|
70
|
-
export declare
|
|
71
|
-
AVAILABLE
|
|
72
|
-
PROCESSING
|
|
73
|
-
UNAVAILABLE
|
|
74
|
-
}
|
|
71
|
+
export declare const DetailStatus: {
|
|
72
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
73
|
+
readonly PROCESSING: "PROCESSING";
|
|
74
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
75
|
+
};
|
|
76
|
+
export type DetailStatus = (typeof DetailStatus)[keyof typeof DetailStatus];
|
|
75
77
|
export interface DimensionDetail {
|
|
76
78
|
Identifier?: string;
|
|
77
79
|
}
|
|
@@ -84,14 +86,15 @@ export interface DimensionKeyDetail {
|
|
|
84
86
|
Dimension?: string;
|
|
85
87
|
Status?: DetailStatus | string;
|
|
86
88
|
}
|
|
87
|
-
export declare
|
|
88
|
-
DISABLED
|
|
89
|
-
DISABLED_PENDING_REBOOT
|
|
90
|
-
ENABLED
|
|
91
|
-
ENABLED_PENDING_REBOOT
|
|
92
|
-
UNKNOWN
|
|
93
|
-
UNSUPPORTED
|
|
94
|
-
}
|
|
89
|
+
export declare const FeatureStatus: {
|
|
90
|
+
readonly DISABLED: "DISABLED";
|
|
91
|
+
readonly DISABLED_PENDING_REBOOT: "DISABLED_PENDING_REBOOT";
|
|
92
|
+
readonly ENABLED: "ENABLED";
|
|
93
|
+
readonly ENABLED_PENDING_REBOOT: "ENABLED_PENDING_REBOOT";
|
|
94
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
95
|
+
readonly UNSUPPORTED: "UNSUPPORTED";
|
|
96
|
+
};
|
|
97
|
+
export type FeatureStatus = (typeof FeatureStatus)[keyof typeof FeatureStatus];
|
|
95
98
|
export interface FeatureMetadata {
|
|
96
99
|
Status?: FeatureStatus | string;
|
|
97
100
|
}
|
|
@@ -118,10 +121,12 @@ export interface MetricQuery {
|
|
|
118
121
|
GroupBy?: DimensionGroup;
|
|
119
122
|
Filter?: Record<string, string>;
|
|
120
123
|
}
|
|
121
|
-
export declare
|
|
122
|
-
END_TIME
|
|
123
|
-
START_TIME
|
|
124
|
-
}
|
|
124
|
+
export declare const PeriodAlignment: {
|
|
125
|
+
readonly END_TIME: "END_TIME";
|
|
126
|
+
readonly START_TIME: "START_TIME";
|
|
127
|
+
};
|
|
128
|
+
export type PeriodAlignment =
|
|
129
|
+
(typeof PeriodAlignment)[keyof typeof PeriodAlignment];
|
|
125
130
|
export interface GetResourceMetricsRequest {
|
|
126
131
|
ServiceType: ServiceType | string | undefined;
|
|
127
132
|
Identifier: string | undefined;
|
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.
|
|
4
|
+
"version": "3.303.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",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|