@aws-sdk/client-pi 3.554.0 → 3.561.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.
@@ -27,8 +27,8 @@ declare const GetResourceMetricsCommand_base: {
27
27
  };
28
28
  /**
29
29
  * <p>Retrieve Performance Insights metrics for a set of data sources over a time period. You can provide
30
- * specific dimension groups and dimensions, and provide aggregation and filtering criteria for
31
- * each group.</p>
30
+ * specific dimension groups and dimensions, and provide filtering criteria for each group. You must specify an aggregate function for
31
+ * each metric.</p>
32
32
  * <note>
33
33
  * <p>Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements,
34
34
  * only the first 500 bytes are returned.</p>
@@ -1125,8 +1125,11 @@ export interface GetResourceMetadataResponse {
1125
1125
  Features?: Record<string, FeatureMetadata>;
1126
1126
  }
1127
1127
  /**
1128
- * <p>A single query to be processed. You must provide the metric to query. If no other
1129
- * parameters are specified, Performance Insights returns all data points for the specified metric. Optionally, you can
1128
+ * <p>A single query to be processed. You must provide the metric to query and append an aggregate function to the metric.
1129
+ * For example, to find the average for the metric <code>db.load</code>
1130
+ * you must use <code>db.load.avg</code>. Valid values for aggregate functions include <code>.avg</code>, <code>.min</code>,
1131
+ * <code>.max</code>, and <code>.sum</code>.
1132
+ * If no other parameters are specified, Performance Insights returns all data points for the specified metric. Optionally, you can
1130
1133
  * request that the data points be aggregated by dimension group (<code>GroupBy</code>), and return only
1131
1134
  * those data points that match your criteria (<code>Filter</code>).</p>
1132
1135
  * @public
@@ -1149,6 +1152,10 @@ export interface MetricQuery {
1149
1152
  * <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
1150
1153
  * operating system counters</a> in the <i>Amazon Aurora User Guide</i>.</p>
1151
1154
  * </li>
1155
+ * <li>
1156
+ * <p>The counter metrics listed in <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS">Performance Insights
1157
+ * operating system counters</a> in the <i>Amazon RDS User Guide</i>.</p>
1158
+ * </li>
1152
1159
  * </ul>
1153
1160
  * <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
1154
1161
  * 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
@@ -1222,8 +1229,10 @@ export interface GetResourceMetricsRequest {
1222
1229
  */
1223
1230
  Identifier: string | undefined;
1224
1231
  /**
1225
- * <p>An array of one or more queries to perform. Each query must specify a Performance Insights metric, and can optionally specify aggregation and filtering
1226
- * criteria.</p>
1232
+ * <p>An array of one or more queries to perform. Each query must specify a Performance Insights metric and specify an aggregate function, and you can provide filtering
1233
+ * criteria. You must append the aggregate function to the metric. For example, to find the average for the metric <code>db.load</code>
1234
+ * you must use <code>db.load.avg</code>. Valid values for aggregate functions include <code>.avg</code>, <code>.min</code>,
1235
+ * <code>.max</code>, and <code>.sum</code>.</p>
1227
1236
  * @public
1228
1237
  */
1229
1238
  MetricQueries: MetricQuery[] | undefined;
@@ -1314,6 +1323,10 @@ export interface ResponseResourceMetricKey {
1314
1323
  * <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
1315
1324
  * operating system counters</a> in the <i>Amazon Aurora User Guide</i>.</p>
1316
1325
  * </li>
1326
+ * <li>
1327
+ * <p>The counter metrics listed in <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS">Performance Insights
1328
+ * operating system counters</a> in the <i>Amazon RDS User Guide</i>.</p>
1329
+ * </li>
1317
1330
  * </ul>
1318
1331
  * <p>If the number of active sessions is less than an internal Performance Insights threshold, <code>db.load.avg</code> and
1319
1332
  * <code>db.sampledload.avg</code> are the same value. If the number of active sessions is greater than the
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.554.0",
4
+ "version": "3.561.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,9 +20,9 @@
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.554.0",
24
- "@aws-sdk/core": "3.554.0",
25
- "@aws-sdk/credential-provider-node": "3.554.0",
23
+ "@aws-sdk/client-sts": "3.556.0",
24
+ "@aws-sdk/core": "3.556.0",
25
+ "@aws-sdk/credential-provider-node": "3.556.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",