@aws-sdk/client-pi 3.281.0 → 3.283.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +6 -1
- package/dist-cjs/protocols/Aws_json1_1.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/PI.d.ts +1 -1
- package/dist-types/PIClient.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +199 -192
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +17 -17
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://pi-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://pi-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://pi.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://pi.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListAvailableResourceMetricsResponseFilterSensitiveLog = exports.ResponseResourceMetricFilterSensitiveLog = exports.ListAvailableResourceMetricsRequestFilterSensitiveLog = exports.ListAvailableResourceDimensionsResponseFilterSensitiveLog = exports.MetricDimensionGroupsFilterSensitiveLog = exports.ListAvailableResourceDimensionsRequestFilterSensitiveLog = exports.GetResourceMetricsResponseFilterSensitiveLog = exports.MetricKeyDataPointsFilterSensitiveLog = exports.ResponseResourceMetricKeyFilterSensitiveLog = exports.GetResourceMetricsRequestFilterSensitiveLog = exports.MetricQueryFilterSensitiveLog = exports.GetResourceMetadataResponseFilterSensitiveLog = exports.GetResourceMetadataRequestFilterSensitiveLog = exports.GetDimensionKeyDetailsResponseFilterSensitiveLog = exports.GetDimensionKeyDetailsRequestFilterSensitiveLog = exports.FeatureMetadataFilterSensitiveLog = exports.DimensionKeyDetailFilterSensitiveLog = exports.DimensionGroupDetailFilterSensitiveLog = exports.DimensionDetailFilterSensitiveLog = exports.DescribeDimensionKeysResponseFilterSensitiveLog = exports.ResponsePartitionKeyFilterSensitiveLog = exports.DimensionKeyDescriptionFilterSensitiveLog = exports.DescribeDimensionKeysRequestFilterSensitiveLog = exports.DimensionGroupFilterSensitiveLog = exports.DataPointFilterSensitiveLog = exports.FeatureStatus = exports.DetailStatus = exports.NotAuthorizedException = exports.InvalidArgumentException = exports.InternalServiceError = exports.ServiceType = void 0;
|
|
3
|
+
exports.ListAvailableResourceMetricsResponseFilterSensitiveLog = exports.ResponseResourceMetricFilterSensitiveLog = exports.ListAvailableResourceMetricsRequestFilterSensitiveLog = exports.ListAvailableResourceDimensionsResponseFilterSensitiveLog = exports.MetricDimensionGroupsFilterSensitiveLog = exports.ListAvailableResourceDimensionsRequestFilterSensitiveLog = exports.GetResourceMetricsResponseFilterSensitiveLog = exports.MetricKeyDataPointsFilterSensitiveLog = exports.ResponseResourceMetricKeyFilterSensitiveLog = exports.GetResourceMetricsRequestFilterSensitiveLog = exports.MetricQueryFilterSensitiveLog = exports.GetResourceMetadataResponseFilterSensitiveLog = exports.GetResourceMetadataRequestFilterSensitiveLog = exports.GetDimensionKeyDetailsResponseFilterSensitiveLog = exports.GetDimensionKeyDetailsRequestFilterSensitiveLog = exports.FeatureMetadataFilterSensitiveLog = exports.DimensionKeyDetailFilterSensitiveLog = exports.DimensionGroupDetailFilterSensitiveLog = exports.DimensionDetailFilterSensitiveLog = exports.DescribeDimensionKeysResponseFilterSensitiveLog = exports.ResponsePartitionKeyFilterSensitiveLog = exports.DimensionKeyDescriptionFilterSensitiveLog = exports.DescribeDimensionKeysRequestFilterSensitiveLog = exports.DimensionGroupFilterSensitiveLog = exports.DataPointFilterSensitiveLog = exports.PeriodAlignment = exports.FeatureStatus = exports.DetailStatus = exports.NotAuthorizedException = exports.InvalidArgumentException = exports.InternalServiceError = exports.ServiceType = void 0;
|
|
4
4
|
const PIServiceException_1 = require("./PIServiceException");
|
|
5
5
|
var ServiceType;
|
|
6
6
|
(function (ServiceType) {
|
|
@@ -64,6 +64,11 @@ var FeatureStatus;
|
|
|
64
64
|
FeatureStatus["UNKNOWN"] = "UNKNOWN";
|
|
65
65
|
FeatureStatus["UNSUPPORTED"] = "UNSUPPORTED";
|
|
66
66
|
})(FeatureStatus = exports.FeatureStatus || (exports.FeatureStatus = {}));
|
|
67
|
+
var PeriodAlignment;
|
|
68
|
+
(function (PeriodAlignment) {
|
|
69
|
+
PeriodAlignment["END_TIME"] = "END_TIME";
|
|
70
|
+
PeriodAlignment["START_TIME"] = "START_TIME";
|
|
71
|
+
})(PeriodAlignment = exports.PeriodAlignment || (exports.PeriodAlignment = {}));
|
|
67
72
|
const DataPointFilterSensitiveLog = (obj) => ({
|
|
68
73
|
...obj,
|
|
69
74
|
});
|
|
@@ -397,6 +397,7 @@ const serializeAws_json1_1GetResourceMetricsRequest = (input, context) => {
|
|
|
397
397
|
MetricQueries: serializeAws_json1_1MetricQueryList(input.MetricQueries, context),
|
|
398
398
|
}),
|
|
399
399
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
400
|
+
...(input.PeriodAlignment != null && { PeriodAlignment: input.PeriodAlignment }),
|
|
400
401
|
...(input.PeriodInSeconds != null && { PeriodInSeconds: input.PeriodInSeconds }),
|
|
401
402
|
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
402
403
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://pi-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://pi-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://pi.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://pi.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -58,6 +58,11 @@ export var FeatureStatus;
|
|
|
58
58
|
FeatureStatus["UNKNOWN"] = "UNKNOWN";
|
|
59
59
|
FeatureStatus["UNSUPPORTED"] = "UNSUPPORTED";
|
|
60
60
|
})(FeatureStatus || (FeatureStatus = {}));
|
|
61
|
+
export var PeriodAlignment;
|
|
62
|
+
(function (PeriodAlignment) {
|
|
63
|
+
PeriodAlignment["END_TIME"] = "END_TIME";
|
|
64
|
+
PeriodAlignment["START_TIME"] = "START_TIME";
|
|
65
|
+
})(PeriodAlignment || (PeriodAlignment = {}));
|
|
61
66
|
export const DataPointFilterSensitiveLog = (obj) => ({
|
|
62
67
|
...obj,
|
|
63
68
|
});
|
|
@@ -382,6 +382,7 @@ const serializeAws_json1_1GetResourceMetricsRequest = (input, context) => {
|
|
|
382
382
|
MetricQueries: serializeAws_json1_1MetricQueryList(input.MetricQueries, context),
|
|
383
383
|
}),
|
|
384
384
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
385
|
+
...(input.PeriodAlignment != null && { PeriodAlignment: input.PeriodAlignment }),
|
|
385
386
|
...(input.PeriodInSeconds != null && { PeriodInSeconds: input.PeriodInSeconds }),
|
|
386
387
|
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
387
388
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
package/dist-types/PI.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ import { PIClient } from "./PIClient";
|
|
|
27
27
|
* </i>. </p>
|
|
28
28
|
* </li>
|
|
29
29
|
* <li>
|
|
30
|
-
*
|
|
30
|
+
* <p>To learn more about Performance Insights and Amazon DocumentDB clusters, go to the <i>
|
|
31
31
|
* <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html"> Amazon DocumentDB Developer Guide</a>
|
|
32
32
|
* </i>.</p>
|
|
33
33
|
* </li>
|
package/dist-types/PIClient.d.ts
CHANGED
|
@@ -149,7 +149,7 @@ export interface PIClientResolvedConfig extends PIClientResolvedConfigType {
|
|
|
149
149
|
* </i>. </p>
|
|
150
150
|
* </li>
|
|
151
151
|
* <li>
|
|
152
|
-
*
|
|
152
|
+
* <p>To learn more about Performance Insights and Amazon DocumentDB clusters, go to the <i>
|
|
153
153
|
* <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html"> Amazon DocumentDB Developer Guide</a>
|
|
154
154
|
* </i>.</p>
|
|
155
155
|
* </li>
|
|
@@ -16,27 +16,27 @@ export interface DataPoint {
|
|
|
16
16
|
/**
|
|
17
17
|
* <p>A logical grouping of Performance Insights metrics for a related subject area. For example, the
|
|
18
18
|
* <code>db.sql</code> dimension group consists of the following dimensions:</p>
|
|
19
|
-
*
|
|
19
|
+
* <ul>
|
|
20
20
|
* <li>
|
|
21
21
|
* <p>
|
|
22
22
|
* <code>db.sql.id</code> - The hash of a running SQL statement, generated by Performance Insights.</p>
|
|
23
23
|
* </li>
|
|
24
24
|
* <li>
|
|
25
|
-
*
|
|
26
|
-
*
|
|
25
|
+
* <p>
|
|
26
|
+
* <code>db.sql.db_id</code> - Either the SQL ID generated by the database engine, or a value generated by Performance Insights that begins with
|
|
27
27
|
* <code>pi-</code>.</p>
|
|
28
28
|
* </li>
|
|
29
29
|
* <li>
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* <p>
|
|
31
|
+
* <code>db.sql.statement</code> - The full text of the SQL statement that is running, for example, <code>SELECT * FROM
|
|
32
32
|
* employees</code>.</p>
|
|
33
33
|
* </li>
|
|
34
34
|
* <li>
|
|
35
|
-
*
|
|
36
|
-
*
|
|
35
|
+
* <p>
|
|
36
|
+
* <code>db.sql_tokenized.id</code> - The hash of the SQL digest generated by Performance Insights.</p>
|
|
37
37
|
* </li>
|
|
38
38
|
* </ul>
|
|
39
|
-
*
|
|
39
|
+
* <note>
|
|
40
40
|
* <p>Each response element returns a maximum of 500 bytes. For larger elements, such as SQL
|
|
41
41
|
* statements, only the first 500 bytes are returned.</p>
|
|
42
42
|
* </note>
|
|
@@ -47,83 +47,83 @@ export interface DimensionGroup {
|
|
|
47
47
|
* <ul>
|
|
48
48
|
* <li>
|
|
49
49
|
* <p>
|
|
50
|
-
*
|
|
51
|
-
*
|
|
50
|
+
* <code>db</code> - The name of the database to which the client is connected. The following values are permitted:</p>
|
|
51
|
+
* <ul>
|
|
52
52
|
* <li>
|
|
53
|
-
*
|
|
54
|
-
*
|
|
53
|
+
* <p>Aurora PostgreSQL</p>
|
|
54
|
+
* </li>
|
|
55
55
|
* <li>
|
|
56
|
-
*
|
|
57
|
-
*
|
|
56
|
+
* <p>Amazon RDS PostgreSQL</p>
|
|
57
|
+
* </li>
|
|
58
58
|
* <li>
|
|
59
|
-
*
|
|
60
|
-
*
|
|
59
|
+
* <p>Aurora MySQL</p>
|
|
60
|
+
* </li>
|
|
61
61
|
* <li>
|
|
62
|
-
*
|
|
63
|
-
*
|
|
62
|
+
* <p>Amazon RDS MySQL</p>
|
|
63
|
+
* </li>
|
|
64
64
|
* <li>
|
|
65
|
-
*
|
|
66
|
-
*
|
|
65
|
+
* <p>Amazon RDS MariaDB</p>
|
|
66
|
+
* </li>
|
|
67
67
|
* <li>
|
|
68
|
-
*
|
|
69
|
-
*
|
|
68
|
+
* <p>Amazon DocumentDB</p>
|
|
69
|
+
* </li>
|
|
70
70
|
* </ul>
|
|
71
71
|
* </li>
|
|
72
72
|
* <li>
|
|
73
73
|
* <p>
|
|
74
|
-
*
|
|
74
|
+
* <code>db.application</code> - The name of the application that is connected to the database. The following values are
|
|
75
75
|
* permitted:</p>
|
|
76
|
-
*
|
|
76
|
+
* <ul>
|
|
77
77
|
* <li>
|
|
78
|
-
*
|
|
79
|
-
*
|
|
78
|
+
* <p>Aurora PostgreSQL</p>
|
|
79
|
+
* </li>
|
|
80
80
|
* <li>
|
|
81
|
-
*
|
|
82
|
-
*
|
|
81
|
+
* <p>Amazon RDS PostgreSQL</p>
|
|
82
|
+
* </li>
|
|
83
83
|
* <li>
|
|
84
|
-
*
|
|
85
|
-
*
|
|
84
|
+
* <p>Amazon DocumentDB</p>
|
|
85
|
+
* </li>
|
|
86
86
|
* </ul>
|
|
87
87
|
* </li>
|
|
88
88
|
* <li>
|
|
89
89
|
* <p>
|
|
90
|
-
*
|
|
90
|
+
* <code>db.host</code> - The host name of the connected client (all engines).</p>
|
|
91
91
|
* </li>
|
|
92
92
|
* <li>
|
|
93
|
-
*
|
|
93
|
+
* <p>
|
|
94
94
|
* <code>db.query</code> - The query that is currently running (only Amazon DocumentDB).</p>
|
|
95
95
|
* </li>
|
|
96
96
|
* <li>
|
|
97
|
-
*
|
|
97
|
+
* <p>
|
|
98
98
|
* <code>db.query_tokenized</code> - The digest query (only Amazon DocumentDB).</p>
|
|
99
99
|
* </li>
|
|
100
100
|
* <li>
|
|
101
101
|
* <p>
|
|
102
|
-
*
|
|
102
|
+
* <code>db.session_type</code> - The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL).</p>
|
|
103
103
|
* </li>
|
|
104
104
|
* <li>
|
|
105
105
|
* <p>
|
|
106
|
-
*
|
|
106
|
+
* <code>db.sql</code> - The text of the SQL statement that is currently running (all engines except Amazon DocumentDB).</p>
|
|
107
107
|
* </li>
|
|
108
108
|
* <li>
|
|
109
109
|
* <p>
|
|
110
|
-
*
|
|
110
|
+
* <code>db.sql_tokenized</code> - The SQL digest (all engines except Amazon DocumentDB).</p>
|
|
111
111
|
* </li>
|
|
112
112
|
* <li>
|
|
113
|
-
*
|
|
114
|
-
*
|
|
113
|
+
* <p>
|
|
114
|
+
* <code>db.user</code> - The user logged in to the database (all engines except Amazon DocumentDB).</p>
|
|
115
115
|
* </li>
|
|
116
116
|
* <li>
|
|
117
117
|
* <p>
|
|
118
|
-
*
|
|
118
|
+
* <code>db.wait_event</code> - The event for which the database backend is waiting (all engines except Amazon DocumentDB).</p>
|
|
119
119
|
* </li>
|
|
120
120
|
* <li>
|
|
121
121
|
* <p>
|
|
122
|
-
*
|
|
122
|
+
* <code>db.wait_event_type</code> - The type of event for which the database backend is waiting (all engines except Amazon DocumentDB).</p>
|
|
123
123
|
* </li>
|
|
124
124
|
* <li>
|
|
125
|
-
*
|
|
126
|
-
*
|
|
125
|
+
* <p>
|
|
126
|
+
* <code>db.wait_state</code> - The event for which the database backend is waiting (only Amazon DocumentDB).</p>
|
|
127
127
|
* </li>
|
|
128
128
|
* </ul>
|
|
129
129
|
*/
|
|
@@ -132,147 +132,147 @@ export interface DimensionGroup {
|
|
|
132
132
|
* <p>A list of specific dimensions from a dimension group. If this parameter is not present,
|
|
133
133
|
* then it signifies that all of the dimensions in the group were requested, or are present in
|
|
134
134
|
* the response.</p>
|
|
135
|
-
*
|
|
136
|
-
*
|
|
135
|
+
* <p>Valid values for elements in the <code>Dimensions</code> array are:</p>
|
|
136
|
+
* <ul>
|
|
137
137
|
* <li>
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
138
|
+
* <p>
|
|
139
|
+
* <code>db.application.name</code> - The name of the application that is connected to the database. Valid values are as follows: </p>
|
|
140
|
+
* <ul>
|
|
141
141
|
* <li>
|
|
142
|
-
*
|
|
143
|
-
*
|
|
142
|
+
* <p>Aurora PostgreSQL</p>
|
|
143
|
+
* </li>
|
|
144
144
|
* <li>
|
|
145
|
-
*
|
|
146
|
-
*
|
|
145
|
+
* <p>Amazon RDS PostgreSQL</p>
|
|
146
|
+
* </li>
|
|
147
147
|
* <li>
|
|
148
|
-
*
|
|
149
|
-
*
|
|
148
|
+
* <p>Amazon DocumentDB</p>
|
|
149
|
+
* </li>
|
|
150
150
|
* </ul>
|
|
151
151
|
* </li>
|
|
152
152
|
* <li>
|
|
153
|
-
*
|
|
154
|
-
*
|
|
153
|
+
* <p>
|
|
154
|
+
* <code>db.host.id</code> - The host ID of the connected client (all engines).</p>
|
|
155
155
|
* </li>
|
|
156
156
|
* <li>
|
|
157
|
-
*
|
|
158
|
-
*
|
|
157
|
+
* <p>
|
|
158
|
+
* <code>db.host.name</code> - The host name of the connected client (all engines).</p>
|
|
159
159
|
* </li>
|
|
160
160
|
* <li>
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
161
|
+
* <p>
|
|
162
|
+
* <code>db.name</code> - The name of the database to which the client is connected. Valid values are as follows:</p>
|
|
163
|
+
* <ul>
|
|
164
164
|
* <li>
|
|
165
|
-
*
|
|
166
|
-
*
|
|
165
|
+
* <p>Aurora PostgreSQL</p>
|
|
166
|
+
* </li>
|
|
167
167
|
* <li>
|
|
168
|
-
*
|
|
169
|
-
*
|
|
168
|
+
* <p>Amazon RDS PostgreSQL</p>
|
|
169
|
+
* </li>
|
|
170
170
|
* <li>
|
|
171
|
-
*
|
|
172
|
-
*
|
|
171
|
+
* <p>Aurora MySQL</p>
|
|
172
|
+
* </li>
|
|
173
173
|
* <li>
|
|
174
|
-
*
|
|
175
|
-
*
|
|
174
|
+
* <p>Amazon RDS MySQL</p>
|
|
175
|
+
* </li>
|
|
176
176
|
* <li>
|
|
177
|
-
*
|
|
178
|
-
*
|
|
177
|
+
* <p>Amazon RDS MariaDB</p>
|
|
178
|
+
* </li>
|
|
179
179
|
* <li>
|
|
180
|
-
*
|
|
181
|
-
*
|
|
180
|
+
* <p>Amazon DocumentDB</p>
|
|
181
|
+
* </li>
|
|
182
182
|
* </ul>
|
|
183
183
|
* </li>
|
|
184
184
|
* <li>
|
|
185
|
-
*
|
|
186
|
-
*
|
|
185
|
+
* <p>
|
|
186
|
+
* <code>db.query.id</code> - The query ID generated by Performance Insights (only Amazon DocumentDB).</p>
|
|
187
187
|
* </li>
|
|
188
188
|
* <li>
|
|
189
|
-
*
|
|
190
|
-
*
|
|
189
|
+
* <p>
|
|
190
|
+
* <code>db.query.db_id</code> - The query ID generated by the database (only Amazon DocumentDB).</p>
|
|
191
191
|
* </li>
|
|
192
192
|
* <li>
|
|
193
|
-
*
|
|
194
|
-
*
|
|
193
|
+
* <p>
|
|
194
|
+
* <code>db.query.statement</code> - The text of the query that is being run (only Amazon DocumentDB).</p>
|
|
195
195
|
* </li>
|
|
196
196
|
* <li>
|
|
197
|
-
*
|
|
198
|
-
*
|
|
197
|
+
* <p>
|
|
198
|
+
* <code>db.query.tokenized_id</code>
|
|
199
199
|
* </p>
|
|
200
200
|
* </li>
|
|
201
201
|
* <li>
|
|
202
|
-
*
|
|
203
|
-
*
|
|
202
|
+
* <p>
|
|
203
|
+
* <code>db.query.tokenized.id</code> - The query digest ID generated by Performance Insights (only Amazon DocumentDB).</p>
|
|
204
204
|
* </li>
|
|
205
205
|
* <li>
|
|
206
|
-
*
|
|
207
|
-
*
|
|
206
|
+
* <p>
|
|
207
|
+
* <code>db.query.tokenized.db_id</code> - The query digest ID generated by Performance Insights (only Amazon DocumentDB).</p>
|
|
208
208
|
* </li>
|
|
209
209
|
* <li>
|
|
210
|
-
*
|
|
211
|
-
*
|
|
210
|
+
* <p>
|
|
211
|
+
* <code>db.query.tokenized.statement</code> - The text of the query digest (only Amazon DocumentDB).</p>
|
|
212
212
|
* </li>
|
|
213
213
|
* <li>
|
|
214
|
-
*
|
|
215
|
-
*
|
|
214
|
+
* <p>
|
|
215
|
+
* <code>db.session_type.name</code> - The type of the current session (only Amazon DocumentDB).</p>
|
|
216
216
|
* </li>
|
|
217
217
|
* <li>
|
|
218
|
-
*
|
|
219
|
-
*
|
|
218
|
+
* <p>
|
|
219
|
+
* <code>db.sql.id</code> - The hash of the full, non-tokenized SQL statement generated by Performance Insights (all engines except Amazon DocumentDB).</p>
|
|
220
220
|
* </li>
|
|
221
221
|
* <li>
|
|
222
|
-
*
|
|
223
|
-
*
|
|
222
|
+
* <p>
|
|
223
|
+
* <code>db.sql.db_id</code> - Either the SQL ID generated by the database engine, or a value generated by Performance Insights that begins with
|
|
224
224
|
* <code>pi-</code> (all engines except Amazon DocumentDB).</p>
|
|
225
225
|
* </li>
|
|
226
226
|
* <li>
|
|
227
|
-
*
|
|
228
|
-
*
|
|
227
|
+
* <p>
|
|
228
|
+
* <code>db.sql.statement</code> - The full text of the SQL statement that is running, as in <code>SELECT * FROM employees</code>
|
|
229
229
|
* (all engines except Amazon DocumentDB)</p>
|
|
230
230
|
* </li>
|
|
231
231
|
* <li>
|
|
232
|
-
*
|
|
233
|
-
*
|
|
234
|
-
*
|
|
232
|
+
* <p>
|
|
233
|
+
* <code>db.sql.tokenized_id</code>
|
|
234
|
+
* </p>
|
|
235
235
|
* </li>
|
|
236
236
|
* <li>
|
|
237
|
-
*
|
|
238
|
-
*
|
|
237
|
+
* <p>
|
|
238
|
+
* <code>db.sql_tokenized.id</code> - The hash of the SQL digest generated by Performance Insights (all engines except Amazon DocumentDB). In the console,
|
|
239
239
|
* <code>db.sql_tokenized.id</code> is called the Support ID because Amazon Web Services Support can look at this data to help you troubleshoot
|
|
240
240
|
* database issues.</p>
|
|
241
241
|
* </li>
|
|
242
242
|
* <li>
|
|
243
|
-
*
|
|
244
|
-
*
|
|
243
|
+
* <p>
|
|
244
|
+
* <code>db.sql_tokenized.db_id</code> - Either the native database ID used to refer to the SQL statement, or a synthetic ID such as
|
|
245
245
|
* <code>pi-2372568224</code> that Performance Insights generates if the native database ID isn't available (all engines except Amazon DocumentDB).</p>
|
|
246
246
|
* </li>
|
|
247
247
|
* <li>
|
|
248
|
-
*
|
|
249
|
-
*
|
|
248
|
+
* <p>
|
|
249
|
+
* <code>db.sql_tokenized.statement</code> - The text of the SQL digest, as in <code>SELECT * FROM employees WHERE employee_id =
|
|
250
250
|
* ?</code> (all engines except Amazon DocumentDB)</p>
|
|
251
251
|
* </li>
|
|
252
252
|
* <li>
|
|
253
|
-
*
|
|
254
|
-
*
|
|
253
|
+
* <p>
|
|
254
|
+
* <code>db.user.id</code> - The ID of the user logged in to the database (all engines except Amazon DocumentDB).</p>
|
|
255
255
|
* </li>
|
|
256
256
|
* <li>
|
|
257
|
-
*
|
|
258
|
-
*
|
|
257
|
+
* <p>
|
|
258
|
+
* <code>db.user.name</code> - The name of the user logged in to the database (all engines except Amazon DocumentDB).</p>
|
|
259
259
|
* </li>
|
|
260
260
|
* <li>
|
|
261
|
-
*
|
|
262
|
-
*
|
|
261
|
+
* <p>
|
|
262
|
+
* <code>db.wait_event.name</code> - The event for which the backend is waiting (all engines except Amazon DocumentDB).</p>
|
|
263
263
|
* </li>
|
|
264
264
|
* <li>
|
|
265
|
-
*
|
|
266
|
-
*
|
|
265
|
+
* <p>
|
|
266
|
+
* <code>db.wait_event.type</code> - The type of event for which the backend is waiting (all engines except Amazon DocumentDB).</p>
|
|
267
267
|
* </li>
|
|
268
268
|
* <li>
|
|
269
|
-
*
|
|
270
|
-
*
|
|
269
|
+
* <p>
|
|
270
|
+
* <code>db.wait_event_type.name</code> - The name of the event type for which the backend is waiting (all engines except
|
|
271
271
|
* Amazon DocumentDB).</p>
|
|
272
272
|
* </li>
|
|
273
273
|
* <li>
|
|
274
|
-
*
|
|
275
|
-
*
|
|
274
|
+
* <p>
|
|
275
|
+
* <code>db.wait_state.name</code> - The event for which the backend is waiting (only Amazon DocumentDB).</p>
|
|
276
276
|
* </li>
|
|
277
277
|
* </ul>
|
|
278
278
|
*/
|
|
@@ -289,14 +289,14 @@ export declare enum ServiceType {
|
|
|
289
289
|
export interface DescribeDimensionKeysRequest {
|
|
290
290
|
/**
|
|
291
291
|
* <p>The Amazon Web Services service for which Performance Insights will return metrics. Valid values are as follows:</p>
|
|
292
|
-
*
|
|
292
|
+
* <ul>
|
|
293
293
|
* <li>
|
|
294
|
-
*
|
|
294
|
+
* <p>
|
|
295
295
|
* <code>RDS</code>
|
|
296
296
|
* </p>
|
|
297
297
|
* </li>
|
|
298
298
|
* <li>
|
|
299
|
-
*
|
|
299
|
+
* <p>
|
|
300
300
|
* <code>DOCDB</code>
|
|
301
301
|
* </p>
|
|
302
302
|
* </li>
|
|
@@ -306,7 +306,7 @@ export interface DescribeDimensionKeysRequest {
|
|
|
306
306
|
/**
|
|
307
307
|
* <p>An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from
|
|
308
308
|
* this data source.</p>
|
|
309
|
-
*
|
|
309
|
+
* <p>To use an Amazon RDS instance as a data source, you specify its <code>DbiResourceId</code> value.
|
|
310
310
|
* For example, specify <code>db-FAIHNTYBKTGAUSUZQYPDS2GW4A</code>.
|
|
311
311
|
* </p>
|
|
312
312
|
*/
|
|
@@ -316,7 +316,7 @@ export interface DescribeDimensionKeysRequest {
|
|
|
316
316
|
* <code>StartTime</code> within the past 7 days. The value specified is <i>inclusive</i>,
|
|
317
317
|
* which means that data points equal to or greater than <code>StartTime</code> are returned.
|
|
318
318
|
* </p>
|
|
319
|
-
*
|
|
319
|
+
* <p>The value for <code>StartTime</code> must be earlier than the value for <code>EndTime</code>.
|
|
320
320
|
* </p>
|
|
321
321
|
*/
|
|
322
322
|
StartTime: Date | undefined;
|
|
@@ -324,23 +324,23 @@ export interface DescribeDimensionKeysRequest {
|
|
|
324
324
|
* <p>The date and time specifying the end of the requested time series data. The value specified is
|
|
325
325
|
* <i>exclusive</i>, which means that data points less than (but not equal to) <code>EndTime</code> are
|
|
326
326
|
* returned.</p>
|
|
327
|
-
*
|
|
327
|
+
* <p>The value for <code>EndTime</code> must be later than the value for <code>StartTime</code>.</p>
|
|
328
328
|
*/
|
|
329
329
|
EndTime: Date | undefined;
|
|
330
330
|
/**
|
|
331
331
|
* <p>The name of a Performance Insights metric to be measured.</p>
|
|
332
|
-
*
|
|
333
|
-
*
|
|
332
|
+
* <p>Valid values for <code>Metric</code> are:</p>
|
|
333
|
+
* <ul>
|
|
334
334
|
* <li>
|
|
335
|
-
*
|
|
336
|
-
*
|
|
335
|
+
* <p>
|
|
336
|
+
* <code>db.load.avg</code> - A scaled representation of the number of active sessions for the database engine. </p>
|
|
337
337
|
* </li>
|
|
338
338
|
* <li>
|
|
339
|
-
*
|
|
340
|
-
*
|
|
339
|
+
* <p>
|
|
340
|
+
* <code>db.sampledload.avg</code> - The raw number of active sessions for the database engine. </p>
|
|
341
341
|
* </li>
|
|
342
342
|
* </ul>
|
|
343
|
-
*
|
|
343
|
+
* <p>If the number of active sessions is less than an internal Performance Insights threshold, <code>db.load.avg</code>
|
|
344
344
|
* and <code>db.sampledload.avg</code> are the same value. If the number of active sessions is greater than
|
|
345
345
|
* the internal threshold, Performance Insights samples the active sessions, with <code>db.load.avg</code>
|
|
346
346
|
* showing the scaled values, <code>db.sampledload.avg</code> showing the raw values, and
|
|
@@ -353,30 +353,29 @@ export interface DescribeDimensionKeysRequest {
|
|
|
353
353
|
* <p>The granularity, in seconds, of the data points returned from Performance Insights. A period can be as short as
|
|
354
354
|
* one second, or as long as one day (86400 seconds). Valid values are:
|
|
355
355
|
* </p>
|
|
356
|
-
*
|
|
356
|
+
* <ul>
|
|
357
357
|
* <li>
|
|
358
|
-
*
|
|
359
|
-
*
|
|
358
|
+
* <p>
|
|
359
|
+
* <code>1</code> (one second)</p>
|
|
360
360
|
* </li>
|
|
361
361
|
* <li>
|
|
362
|
-
*
|
|
363
|
-
*
|
|
362
|
+
* <p>
|
|
363
|
+
* <code>60</code> (one minute)</p>
|
|
364
364
|
* </li>
|
|
365
365
|
* <li>
|
|
366
|
-
*
|
|
367
|
-
*
|
|
366
|
+
* <p>
|
|
367
|
+
* <code>300</code> (five minutes)</p>
|
|
368
368
|
* </li>
|
|
369
369
|
* <li>
|
|
370
|
-
*
|
|
371
|
-
*
|
|
370
|
+
* <p>
|
|
371
|
+
* <code>3600</code> (one hour)</p>
|
|
372
372
|
* </li>
|
|
373
373
|
* <li>
|
|
374
|
-
*
|
|
375
|
-
*
|
|
374
|
+
* <p>
|
|
375
|
+
* <code>86400</code> (twenty-four hours)</p>
|
|
376
376
|
* </li>
|
|
377
377
|
* </ul>
|
|
378
|
-
*
|
|
379
|
-
* <p>If you don't specify <code>PeriodInSeconds</code>, then Performance Insights chooses a value for you, with a
|
|
378
|
+
* <p>If you don't specify <code>PeriodInSeconds</code>, then Performance Insights chooses a value for you, with a
|
|
380
379
|
* goal of returning roughly 100-200 data points in the response.
|
|
381
380
|
* </p>
|
|
382
381
|
*/
|
|
@@ -401,13 +400,13 @@ export interface DescribeDimensionKeysRequest {
|
|
|
401
400
|
PartitionBy?: DimensionGroup;
|
|
402
401
|
/**
|
|
403
402
|
* <p>One or more filters to apply in the request. Restrictions:</p>
|
|
404
|
-
*
|
|
403
|
+
* <ul>
|
|
405
404
|
* <li>
|
|
406
|
-
*
|
|
405
|
+
* <p>Any number of filters by the same dimension, as specified in the <code>GroupBy</code> or
|
|
407
406
|
* <code>Partition</code> parameters.</p>
|
|
408
407
|
* </li>
|
|
409
408
|
* <li>
|
|
410
|
-
*
|
|
409
|
+
* <p>A single filter for any other dimension in this dimension group.</p>
|
|
411
410
|
* </li>
|
|
412
411
|
* </ul>
|
|
413
412
|
*/
|
|
@@ -554,26 +553,26 @@ export interface DimensionKeyDetail {
|
|
|
554
553
|
* full or truncated SQL query for the following dimensions:</p>
|
|
555
554
|
* <ul>
|
|
556
555
|
* <li>
|
|
557
|
-
*
|
|
558
|
-
*
|
|
556
|
+
* <p>
|
|
557
|
+
* <code>db.query.statement</code> (Amazon DocumentDB)</p>
|
|
559
558
|
* </li>
|
|
560
559
|
* <li>
|
|
561
|
-
*
|
|
562
|
-
*
|
|
560
|
+
* <p>
|
|
561
|
+
* <code>db.sql.statement</code> (Amazon RDS and Aurora)</p>
|
|
563
562
|
* </li>
|
|
564
563
|
* </ul>
|
|
565
564
|
*/
|
|
566
565
|
Value?: string;
|
|
567
566
|
/**
|
|
568
567
|
* <p>The full name of the dimension. The full name includes the group name and key name. The following values are valid:</p>
|
|
569
|
-
*
|
|
568
|
+
* <ul>
|
|
570
569
|
* <li>
|
|
571
|
-
*
|
|
572
|
-
*
|
|
570
|
+
* <p>
|
|
571
|
+
* <code>db.query.statement</code> (Amazon DocumentDB)</p>
|
|
573
572
|
* </li>
|
|
574
573
|
* <li>
|
|
575
|
-
*
|
|
576
|
-
*
|
|
574
|
+
* <p>
|
|
575
|
+
* <code>db.sql.statement</code> (Amazon RDS and Aurora)</p>
|
|
577
576
|
* </li>
|
|
578
577
|
* </ul>
|
|
579
578
|
*/
|
|
@@ -613,7 +612,7 @@ export declare enum FeatureStatus {
|
|
|
613
612
|
export interface FeatureMetadata {
|
|
614
613
|
/**
|
|
615
614
|
* <p>The status of the feature on the DB instance. Possible values include the following:</p>
|
|
616
|
-
*
|
|
615
|
+
* <ul>
|
|
617
616
|
* <li>
|
|
618
617
|
* <p>
|
|
619
618
|
* <code>ENABLED</code> - The feature is enabled on the instance.</p>
|
|
@@ -657,13 +656,13 @@ export interface GetDimensionKeyDetailsRequest {
|
|
|
657
656
|
/**
|
|
658
657
|
* <p>The name of the dimension group. Performance Insights searches the specified group for the dimension group ID. The following group name values are
|
|
659
658
|
* valid:</p>
|
|
660
|
-
*
|
|
659
|
+
* <ul>
|
|
661
660
|
* <li>
|
|
662
|
-
*
|
|
661
|
+
* <p>
|
|
663
662
|
* <code>db.query</code> (Amazon DocumentDB only)</p>
|
|
664
663
|
* </li>
|
|
665
664
|
* <li>
|
|
666
|
-
*
|
|
665
|
+
* <p>
|
|
667
666
|
* <code>db.sql</code> (Amazon RDS and Aurora only)</p>
|
|
668
667
|
* </li>
|
|
669
668
|
* </ul>
|
|
@@ -672,13 +671,13 @@ export interface GetDimensionKeyDetailsRequest {
|
|
|
672
671
|
/**
|
|
673
672
|
* <p>The ID of the dimension group from which to retrieve dimension details. For dimension group <code>db.sql</code>, the group ID is
|
|
674
673
|
* <code>db.sql.id</code>. The following group ID values are valid:</p>
|
|
675
|
-
*
|
|
674
|
+
* <ul>
|
|
676
675
|
* <li>
|
|
677
|
-
*
|
|
676
|
+
* <p>
|
|
678
677
|
* <code>db.sql.id</code> for dimension group <code>db.sql</code> (Aurora and RDS only)</p>
|
|
679
678
|
* </li>
|
|
680
679
|
* <li>
|
|
681
|
-
*
|
|
680
|
+
* <p>
|
|
682
681
|
* <code>db.query.id</code> for dimension group <code>db.query</code> (DocumentDB only)</p>
|
|
683
682
|
* </li>
|
|
684
683
|
* </ul>
|
|
@@ -687,14 +686,14 @@ export interface GetDimensionKeyDetailsRequest {
|
|
|
687
686
|
/**
|
|
688
687
|
* <p>A list of dimensions to retrieve the detail data for within the given dimension group. If you don't specify this parameter, Performance Insights returns
|
|
689
688
|
* all dimension data within the specified dimension group. Specify dimension names for the following dimension groups:</p>
|
|
690
|
-
*
|
|
689
|
+
* <ul>
|
|
691
690
|
* <li>
|
|
692
|
-
*
|
|
691
|
+
* <p>
|
|
693
692
|
* <code>db.sql</code> - Specify either the full dimension name <code>db.sql.statement</code> or the short dimension name
|
|
694
693
|
* <code>statement</code> (Aurora and RDS only).</p>
|
|
695
694
|
* </li>
|
|
696
695
|
* <li>
|
|
697
|
-
*
|
|
696
|
+
* <p>
|
|
698
697
|
* <code>db.query</code> - Specify either the full dimension name <code>db.query.statement</code> or the short dimension name
|
|
699
698
|
* <code>statement</code> (DocumentDB only).</p>
|
|
700
699
|
* </li>
|
|
@@ -745,23 +744,23 @@ export interface GetResourceMetadataResponse {
|
|
|
745
744
|
export interface MetricQuery {
|
|
746
745
|
/**
|
|
747
746
|
* <p>The name of a Performance Insights metric to be measured.</p>
|
|
748
|
-
*
|
|
749
|
-
*
|
|
747
|
+
* <p>Valid values for <code>Metric</code> are:</p>
|
|
748
|
+
* <ul>
|
|
750
749
|
* <li>
|
|
751
|
-
*
|
|
750
|
+
* <p>
|
|
752
751
|
* <code>db.load.avg</code> - A scaled representation of the number of active sessions for the
|
|
753
752
|
* database engine.</p>
|
|
754
753
|
* </li>
|
|
755
754
|
* <li>
|
|
756
|
-
*
|
|
755
|
+
* <p>
|
|
757
756
|
* <code>db.sampledload.avg</code> - The raw number of active sessions for the database engine.</p>
|
|
758
757
|
* </li>
|
|
759
758
|
* <li>
|
|
760
|
-
*
|
|
759
|
+
* <p>The counter metrics listed in <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS">Performance Insights
|
|
761
760
|
* operating system counters</a> in the <i>Amazon Aurora User Guide</i>.</p>
|
|
762
761
|
* </li>
|
|
763
762
|
* </ul>
|
|
764
|
-
*
|
|
763
|
+
* <p>If the number of active sessions is less than an internal Performance Insights threshold, <code>db.load.avg</code> and <code>db.sampledload.avg</code> are the same
|
|
765
764
|
* value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with <code>db.load.avg</code> showing the
|
|
766
765
|
* scaled values, <code>db.sampledload.avg</code> showing the raw values, and <code>db.sampledload.avg</code> less than
|
|
767
766
|
* <code>db.load.avg</code>. For most use cases, you can query <code>db.load.avg</code> only.</p>
|
|
@@ -787,17 +786,21 @@ export interface MetricQuery {
|
|
|
787
786
|
*/
|
|
788
787
|
Filter?: Record<string, string>;
|
|
789
788
|
}
|
|
789
|
+
export declare enum PeriodAlignment {
|
|
790
|
+
END_TIME = "END_TIME",
|
|
791
|
+
START_TIME = "START_TIME"
|
|
792
|
+
}
|
|
790
793
|
export interface GetResourceMetricsRequest {
|
|
791
794
|
/**
|
|
792
795
|
* <p>The Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:</p>
|
|
793
|
-
*
|
|
796
|
+
* <ul>
|
|
794
797
|
* <li>
|
|
795
|
-
*
|
|
798
|
+
* <p>
|
|
796
799
|
* <code>RDS</code>
|
|
797
800
|
* </p>
|
|
798
801
|
* </li>
|
|
799
802
|
* <li>
|
|
800
|
-
*
|
|
803
|
+
* <p>
|
|
801
804
|
* <code>DOCDB</code>
|
|
802
805
|
* </p>
|
|
803
806
|
* </li>
|
|
@@ -808,7 +811,7 @@ export interface GetResourceMetricsRequest {
|
|
|
808
811
|
* <p>An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the
|
|
809
812
|
* console, the identifier is shown as <i>ResourceID</i>. When you call <code>DescribeDBInstances</code>, the identifier is
|
|
810
813
|
* returned as <code>DbiResourceId</code>.</p>
|
|
811
|
-
*
|
|
814
|
+
* <p>To use a DB instance as a data source, specify its <code>DbiResourceId</code> value. For example, specify
|
|
812
815
|
* <code>db-ABCDEFGHIJKLMNOPQRSTU1VW2X</code>.</p>
|
|
813
816
|
*/
|
|
814
817
|
Identifier: string | undefined;
|
|
@@ -823,42 +826,42 @@ export interface GetResourceMetricsRequest {
|
|
|
823
826
|
* retention, but you can extend this range up to 2 years. The value specified is
|
|
824
827
|
* <i>inclusive</i>. Thus, the command returns data points equal to or greater
|
|
825
828
|
* than <code>StartTime</code>.</p>
|
|
826
|
-
*
|
|
829
|
+
* <p>The value for <code>StartTime</code> must be earlier than the value for <code>EndTime</code>.</p>
|
|
827
830
|
*/
|
|
828
831
|
StartTime: Date | undefined;
|
|
829
832
|
/**
|
|
830
833
|
* <p>The date and time specifying the end of the requested time series query range. The value
|
|
831
834
|
* specified is <i>exclusive</i>. Thus, the command returns data points less than
|
|
832
835
|
* (but not equal to) <code>EndTime</code>.</p>
|
|
833
|
-
*
|
|
836
|
+
* <p>The value for <code>EndTime</code> must be later than the value for <code>StartTime</code>.</p>
|
|
834
837
|
*/
|
|
835
838
|
EndTime: Date | undefined;
|
|
836
839
|
/**
|
|
837
840
|
* <p>The granularity, in seconds, of the data points returned from Performance Insights. A period can be as short as one second, or as long as one day (86400
|
|
838
841
|
* seconds). Valid values are:</p>
|
|
839
|
-
*
|
|
842
|
+
* <ul>
|
|
840
843
|
* <li>
|
|
841
|
-
*
|
|
842
|
-
*
|
|
844
|
+
* <p>
|
|
845
|
+
* <code>1</code> (one second)</p>
|
|
843
846
|
* </li>
|
|
844
847
|
* <li>
|
|
845
|
-
*
|
|
846
|
-
*
|
|
848
|
+
* <p>
|
|
849
|
+
* <code>60</code> (one minute)</p>
|
|
847
850
|
* </li>
|
|
848
851
|
* <li>
|
|
849
|
-
*
|
|
850
|
-
*
|
|
852
|
+
* <p>
|
|
853
|
+
* <code>300</code> (five minutes)</p>
|
|
851
854
|
* </li>
|
|
852
855
|
* <li>
|
|
853
|
-
*
|
|
854
|
-
*
|
|
856
|
+
* <p>
|
|
857
|
+
* <code>3600</code> (one hour)</p>
|
|
855
858
|
* </li>
|
|
856
859
|
* <li>
|
|
857
|
-
*
|
|
858
|
-
*
|
|
860
|
+
* <p>
|
|
861
|
+
* <code>86400</code> (twenty-four hours)</p>
|
|
859
862
|
* </li>
|
|
860
863
|
* </ul>
|
|
861
|
-
*
|
|
864
|
+
* <p>If you don't specify <code>PeriodInSeconds</code>, then Performance Insights will choose a value for you, with a goal of returning roughly 100-200 data
|
|
862
865
|
* points in the response.</p>
|
|
863
866
|
*/
|
|
864
867
|
PeriodInSeconds?: number;
|
|
@@ -872,6 +875,10 @@ export interface GetResourceMetricsRequest {
|
|
|
872
875
|
* the token, up to the value specified by <code>MaxRecords</code>.</p>
|
|
873
876
|
*/
|
|
874
877
|
NextToken?: string;
|
|
878
|
+
/**
|
|
879
|
+
* <p>The returned timestamp which is the start or end time of the time periods. The default value is <code>END_TIME</code>.</p>
|
|
880
|
+
*/
|
|
881
|
+
PeriodAlignment?: PeriodAlignment | string;
|
|
875
882
|
}
|
|
876
883
|
/**
|
|
877
884
|
* <p>An object describing a Performance Insights metric and one or more dimensions for that metric.</p>
|
|
@@ -879,18 +886,18 @@ export interface GetResourceMetricsRequest {
|
|
|
879
886
|
export interface ResponseResourceMetricKey {
|
|
880
887
|
/**
|
|
881
888
|
* <p>The name of a Performance Insights metric to be measured.</p>
|
|
882
|
-
*
|
|
883
|
-
*
|
|
889
|
+
* <p>Valid values for <code>Metric</code> are:</p>
|
|
890
|
+
* <ul>
|
|
884
891
|
* <li>
|
|
885
|
-
*
|
|
892
|
+
* <p>
|
|
886
893
|
* <code>db.load.avg</code> - A scaled representation of the number of active sessions for the database engine.</p>
|
|
887
894
|
* </li>
|
|
888
895
|
* <li>
|
|
889
|
-
*
|
|
896
|
+
* <p>
|
|
890
897
|
* <code>db.sampledload.avg</code> - The raw number of active sessions for the database engine.</p>
|
|
891
898
|
* </li>
|
|
892
899
|
* <li>
|
|
893
|
-
*
|
|
900
|
+
* <p>The counter metrics listed in <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS">Performance Insights
|
|
894
901
|
* operating system counters</a> in the <i>Amazon Aurora User Guide</i>.</p>
|
|
895
902
|
* </li>
|
|
896
903
|
* </ul>
|
|
@@ -118,6 +118,10 @@ export interface MetricQuery {
|
|
|
118
118
|
GroupBy?: DimensionGroup;
|
|
119
119
|
Filter?: Record<string, string>;
|
|
120
120
|
}
|
|
121
|
+
export declare enum PeriodAlignment {
|
|
122
|
+
END_TIME = "END_TIME",
|
|
123
|
+
START_TIME = "START_TIME",
|
|
124
|
+
}
|
|
121
125
|
export interface GetResourceMetricsRequest {
|
|
122
126
|
ServiceType: ServiceType | string | undefined;
|
|
123
127
|
Identifier: string | undefined;
|
|
@@ -127,6 +131,7 @@ export interface GetResourceMetricsRequest {
|
|
|
127
131
|
PeriodInSeconds?: number;
|
|
128
132
|
MaxResults?: number;
|
|
129
133
|
NextToken?: string;
|
|
134
|
+
PeriodAlignment?: PeriodAlignment | string;
|
|
130
135
|
}
|
|
131
136
|
export interface ResponseResourceMetricKey {
|
|
132
137
|
Metric: 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.283.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",
|
|
@@ -20,25 +20,25 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.282.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.282.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.282.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.272.0",
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.282.0",
|
|
35
35
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.282.0",
|
|
37
37
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
39
39
|
"@aws-sdk/node-config-provider": "3.272.0",
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.282.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.282.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
43
43
|
"@aws-sdk/types": "3.272.0",
|
|
44
44
|
"@aws-sdk/url-parser": "3.272.0",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.282.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.272.0",
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.282.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|