@aws-sdk/client-pi 3.743.0 → 3.744.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 +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/GetDimensionKeyDetailsCommand.d.ts +1 -1
- package/dist-types/commands/GetPerformanceAnalysisReportCommand.d.ts +9 -3
- package/dist-types/models/models_0.d.ts +60 -3
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -851,6 +851,7 @@ var de_PerformanceInsightsMetric = /* @__PURE__ */ __name((output, context) => {
|
|
|
851
851
|
return (0, import_smithy_client.take)(output, {
|
|
852
852
|
Dimensions: import_smithy_client._json,
|
|
853
853
|
DisplayName: import_smithy_client.expectString,
|
|
854
|
+
Filter: import_smithy_client._json,
|
|
854
855
|
Metric: import_smithy_client.expectString,
|
|
855
856
|
Value: import_smithy_client.limitedParseDouble
|
|
856
857
|
});
|
|
@@ -30,7 +30,7 @@ declare const GetDimensionKeyDetailsCommand_base: {
|
|
|
30
30
|
* <p>Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify a SQL ID,
|
|
31
31
|
* <code>GetDimensionKeyDetails</code> retrieves the full text of the dimension <code>db.sql.statement</code> associated with this ID.
|
|
32
32
|
* This operation is useful because <code>GetResourceMetrics</code> and <code>DescribeDimensionKeys</code> don't support retrieval of large
|
|
33
|
-
*
|
|
33
|
+
* SQL statement text, lock snapshots, and execution plans.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -87,6 +87,9 @@ declare const GetPerformanceAnalysisReportCommand_base: {
|
|
|
87
87
|
* // Dimensions: { // DescriptiveMap
|
|
88
88
|
* // "<keys>": "STRING_VALUE",
|
|
89
89
|
* // },
|
|
90
|
+
* // Filter: {
|
|
91
|
+
* // "<keys>": "STRING_VALUE",
|
|
92
|
+
* // },
|
|
90
93
|
* // Value: Number("double"),
|
|
91
94
|
* // },
|
|
92
95
|
* // },
|
|
@@ -99,6 +102,9 @@ declare const GetPerformanceAnalysisReportCommand_base: {
|
|
|
99
102
|
* // Dimensions: {
|
|
100
103
|
* // "<keys>": "STRING_VALUE",
|
|
101
104
|
* // },
|
|
105
|
+
* // Filter: {
|
|
106
|
+
* // "<keys>": "STRING_VALUE",
|
|
107
|
+
* // },
|
|
102
108
|
* // Value: Number("double"),
|
|
103
109
|
* // },
|
|
104
110
|
* // },
|
|
@@ -120,6 +126,7 @@ declare const GetPerformanceAnalysisReportCommand_base: {
|
|
|
120
126
|
* // Dimensions: {
|
|
121
127
|
* // "<keys>": "STRING_VALUE",
|
|
122
128
|
* // },
|
|
129
|
+
* // Filter: "<DescriptiveMap>",
|
|
123
130
|
* // Value: Number("double"),
|
|
124
131
|
* // },
|
|
125
132
|
* // },
|
|
@@ -129,9 +136,8 @@ declare const GetPerformanceAnalysisReportCommand_base: {
|
|
|
129
136
|
* // PerformanceInsightsMetric: {
|
|
130
137
|
* // Metric: "STRING_VALUE",
|
|
131
138
|
* // DisplayName: "STRING_VALUE",
|
|
132
|
-
* // Dimensions:
|
|
133
|
-
* //
|
|
134
|
-
* // },
|
|
139
|
+
* // Dimensions: "<DescriptiveMap>",
|
|
140
|
+
* // Filter: "<DescriptiveMap>",
|
|
135
141
|
* // Value: Number("double"),
|
|
136
142
|
* // },
|
|
137
143
|
* // },
|
|
@@ -31,6 +31,11 @@ export interface PerformanceInsightsMetric {
|
|
|
31
31
|
* @public
|
|
32
32
|
*/
|
|
33
33
|
Dimensions?: Record<string, string> | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The filter for the Performance Insights metric.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
Filter?: Record<string, string> | undefined;
|
|
34
39
|
/**
|
|
35
40
|
* <p>The value of the metric. For example, <code>9</code> for <code>db.load.avg</code>.</p>
|
|
36
41
|
* @public
|
|
@@ -395,10 +400,26 @@ export interface DimensionGroup {
|
|
|
395
400
|
* </li>
|
|
396
401
|
* <li>
|
|
397
402
|
* <p>
|
|
403
|
+
* <code>db.blocking_sql</code> - The SQL queries blocking the most DB load.</p>
|
|
404
|
+
* </li>
|
|
405
|
+
* <li>
|
|
406
|
+
* <p>
|
|
407
|
+
* <code>db.blocking_session</code> - The sessions blocking the most DB load.</p>
|
|
408
|
+
* </li>
|
|
409
|
+
* <li>
|
|
410
|
+
* <p>
|
|
411
|
+
* <code>db.blocking_object</code> - The object resources acquired by other sessions that are blocking the most DB load.</p>
|
|
412
|
+
* </li>
|
|
413
|
+
* <li>
|
|
414
|
+
* <p>
|
|
398
415
|
* <code>db.host</code> - The host name of the connected client (all engines).</p>
|
|
399
416
|
* </li>
|
|
400
417
|
* <li>
|
|
401
418
|
* <p>
|
|
419
|
+
* <code>db.plans</code> - The execution plans for the query (only Aurora PostgreSQL).</p>
|
|
420
|
+
* </li>
|
|
421
|
+
* <li>
|
|
422
|
+
* <p>
|
|
402
423
|
* <code>db.query</code> - The query that is currently running (only Amazon DocumentDB).</p>
|
|
403
424
|
* </li>
|
|
404
425
|
* <li>
|
|
@@ -460,6 +481,30 @@ export interface DimensionGroup {
|
|
|
460
481
|
* </li>
|
|
461
482
|
* <li>
|
|
462
483
|
* <p>
|
|
484
|
+
* <code>db.blocking_sql.id</code> - The ID for each of the SQL queries blocking the most DB load.</p>
|
|
485
|
+
* </li>
|
|
486
|
+
* <li>
|
|
487
|
+
* <p>
|
|
488
|
+
* <code>db.blocking_sql.sql</code> - The SQL text for each of the SQL queries blocking the most DB load.</p>
|
|
489
|
+
* </li>
|
|
490
|
+
* <li>
|
|
491
|
+
* <p>
|
|
492
|
+
* <code>db.blocking_session.id</code> - The ID for each of the sessions blocking the most DB load.</p>
|
|
493
|
+
* </li>
|
|
494
|
+
* <li>
|
|
495
|
+
* <p>
|
|
496
|
+
* <code>db.blocking_object.id</code> - The ID for each of the object resources acquired by other sessions that are blocking the most DB load.</p>
|
|
497
|
+
* </li>
|
|
498
|
+
* <li>
|
|
499
|
+
* <p>
|
|
500
|
+
* <code>db.blocking_object.type</code> - The object type for each of the object resources acquired by other sessions that are blocking the most DB load.</p>
|
|
501
|
+
* </li>
|
|
502
|
+
* <li>
|
|
503
|
+
* <p>
|
|
504
|
+
* <code>db.blocking_object.value</code> - The value for each of the object resources acquired by other sessions that are blocking the most DB load.</p>
|
|
505
|
+
* </li>
|
|
506
|
+
* <li>
|
|
507
|
+
* <p>
|
|
463
508
|
* <code>db.host.id</code> - The host ID of the connected client (all engines).</p>
|
|
464
509
|
* </li>
|
|
465
510
|
* <li>
|
|
@@ -707,7 +752,8 @@ export interface DescribeDimensionKeysRequest {
|
|
|
707
752
|
/**
|
|
708
753
|
* <p>Additional metrics for the top <code>N</code> dimension keys. If the specified dimension group in the <code>GroupBy</code> parameter is
|
|
709
754
|
* <code>db.sql_tokenized</code>, you can specify per-SQL metrics to get the values for the top <code>N</code> SQL digests. The response
|
|
710
|
-
* syntax is as follows: <code>"AdditionalMetrics" : \{ "<i>string</i>" : "<i>string</i>" \}</code
|
|
755
|
+
* syntax is as follows: <code>"AdditionalMetrics" : \{ "<i>string</i>" : "<i>string</i>" \}</code>.</p>
|
|
756
|
+
* <p>The only supported statistic function is <code>.avg</code>.</p>
|
|
711
757
|
* @public
|
|
712
758
|
*/
|
|
713
759
|
AdditionalMetrics?: string[] | undefined;
|
|
@@ -996,6 +1042,10 @@ export interface GetDimensionKeyDetailsRequest {
|
|
|
996
1042
|
* <ul>
|
|
997
1043
|
* <li>
|
|
998
1044
|
* <p>
|
|
1045
|
+
* <code>db.lock_snapshot</code> (Aurora only)</p>
|
|
1046
|
+
* </li>
|
|
1047
|
+
* <li>
|
|
1048
|
+
* <p>
|
|
999
1049
|
* <code>db.query</code> (Amazon DocumentDB only)</p>
|
|
1000
1050
|
* </li>
|
|
1001
1051
|
* <li>
|
|
@@ -1018,6 +1068,10 @@ export interface GetDimensionKeyDetailsRequest {
|
|
|
1018
1068
|
* <p>
|
|
1019
1069
|
* <code>db.query.id</code> for dimension group <code>db.query</code> (DocumentDB only)</p>
|
|
1020
1070
|
* </li>
|
|
1071
|
+
* <li>
|
|
1072
|
+
* <p>For the dimension group <code>db.lock_snapshot</code>, the <code>GroupIdentifier</code> is the epoch timestamp when Performance Insights captured the snapshot, in seconds.
|
|
1073
|
+
* You can retrieve this value with the <code>GetResourceMetrics</code> operation for a 1 second period.</p>
|
|
1074
|
+
* </li>
|
|
1021
1075
|
* </ul>
|
|
1022
1076
|
* @public
|
|
1023
1077
|
*/
|
|
@@ -1028,6 +1082,10 @@ export interface GetDimensionKeyDetailsRequest {
|
|
|
1028
1082
|
* <ul>
|
|
1029
1083
|
* <li>
|
|
1030
1084
|
* <p>
|
|
1085
|
+
* <code>db.lock_trees</code> - Specify the dimension name <code>db.lock_trees</code>. (Aurora only)</p>
|
|
1086
|
+
* </li>
|
|
1087
|
+
* <li>
|
|
1088
|
+
* <p>
|
|
1031
1089
|
* <code>db.sql</code> - Specify either the full dimension name <code>db.sql.statement</code> or the short dimension name
|
|
1032
1090
|
* <code>statement</code> (Aurora and RDS only).</p>
|
|
1033
1091
|
* </li>
|
|
@@ -1305,8 +1363,7 @@ export interface GetResourceMetricsRequest {
|
|
|
1305
1363
|
*/
|
|
1306
1364
|
PeriodInSeconds?: number | undefined;
|
|
1307
1365
|
/**
|
|
1308
|
-
* <p>The maximum number of items to return in the response
|
|
1309
|
-
* pagination token is included in the response so that the remaining results can be retrieved. </p>
|
|
1366
|
+
* <p>The maximum number of items to return in the response.</p>
|
|
1310
1367
|
* @public
|
|
1311
1368
|
*/
|
|
1312
1369
|
MaxResults?: number | undefined;
|
|
@@ -9,6 +9,7 @@ export interface PerformanceInsightsMetric {
|
|
|
9
9
|
Metric?: string | undefined;
|
|
10
10
|
DisplayName?: string | undefined;
|
|
11
11
|
Dimensions?: Record<string, string> | undefined;
|
|
12
|
+
Filter?: Record<string, string> | undefined;
|
|
12
13
|
Value?: number | undefined;
|
|
13
14
|
}
|
|
14
15
|
export interface Data {
|
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.744.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-pi",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.744.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.744.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.744.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.744.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
42
|
-
"@smithy/middleware-serde": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.3",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.4",
|
|
42
|
+
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
45
|
"@smithy/node-http-handler": "^4.0.2",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.3",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.4",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.4",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|