@aws-sdk/client-pi 3.956.0 → 3.958.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/README.md +1 -19
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +263 -271
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/pagination/index.js +1 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +263 -271
- package/dist-types/pagination/index.d.ts +1 -1
- package/dist-types/ts3.4/pagination/index.d.ts +1 -1
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
AWS SDK for JavaScript PI Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
9
|
<fullname>Amazon RDS Performance Insights</fullname>
|
|
10
|
-
|
|
11
10
|
<p>Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. The guide
|
|
12
11
|
provides detailed information about Performance Insights data types, parameters and errors.</p>
|
|
13
12
|
<p>When Performance Insights is enabled, the Amazon RDS Performance Insights API provides visibility into the performance of your DB instance. Amazon CloudWatch provides the
|
|
@@ -34,10 +33,8 @@ dimensions, measured at that time point. Examples include SQL, Wait event, User,
|
|
|
34
33
|
</ul>
|
|
35
34
|
|
|
36
35
|
## Installing
|
|
37
|
-
|
|
38
36
|
To install this package, simply type add or install @aws-sdk/client-pi
|
|
39
37
|
using your favorite package manager:
|
|
40
|
-
|
|
41
38
|
- `npm install @aws-sdk/client-pi`
|
|
42
39
|
- `yarn add @aws-sdk/client-pi`
|
|
43
40
|
- `pnpm add @aws-sdk/client-pi`
|
|
@@ -73,9 +70,7 @@ To send a request, you:
|
|
|
73
70
|
// a client can be shared by different commands.
|
|
74
71
|
const client = new PIClient({ region: "REGION" });
|
|
75
72
|
|
|
76
|
-
const params = {
|
|
77
|
-
/** input parameters */
|
|
78
|
-
};
|
|
73
|
+
const params = { /** input parameters */ };
|
|
79
74
|
const command = new ListTagsForResourceCommand(params);
|
|
80
75
|
```
|
|
81
76
|
|
|
@@ -234,7 +229,6 @@ CreatePerformanceAnalysisReport
|
|
|
234
229
|
</summary>
|
|
235
230
|
|
|
236
231
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/CreatePerformanceAnalysisReportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/CreatePerformanceAnalysisReportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/CreatePerformanceAnalysisReportCommandOutput/)
|
|
237
|
-
|
|
238
232
|
</details>
|
|
239
233
|
<details>
|
|
240
234
|
<summary>
|
|
@@ -242,7 +236,6 @@ DeletePerformanceAnalysisReport
|
|
|
242
236
|
</summary>
|
|
243
237
|
|
|
244
238
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/DeletePerformanceAnalysisReportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/DeletePerformanceAnalysisReportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/DeletePerformanceAnalysisReportCommandOutput/)
|
|
245
|
-
|
|
246
239
|
</details>
|
|
247
240
|
<details>
|
|
248
241
|
<summary>
|
|
@@ -250,7 +243,6 @@ DescribeDimensionKeys
|
|
|
250
243
|
</summary>
|
|
251
244
|
|
|
252
245
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/DescribeDimensionKeysCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/DescribeDimensionKeysCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/DescribeDimensionKeysCommandOutput/)
|
|
253
|
-
|
|
254
246
|
</details>
|
|
255
247
|
<details>
|
|
256
248
|
<summary>
|
|
@@ -258,7 +250,6 @@ GetDimensionKeyDetails
|
|
|
258
250
|
</summary>
|
|
259
251
|
|
|
260
252
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/GetDimensionKeyDetailsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/GetDimensionKeyDetailsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/GetDimensionKeyDetailsCommandOutput/)
|
|
261
|
-
|
|
262
253
|
</details>
|
|
263
254
|
<details>
|
|
264
255
|
<summary>
|
|
@@ -266,7 +257,6 @@ GetPerformanceAnalysisReport
|
|
|
266
257
|
</summary>
|
|
267
258
|
|
|
268
259
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/GetPerformanceAnalysisReportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/GetPerformanceAnalysisReportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/GetPerformanceAnalysisReportCommandOutput/)
|
|
269
|
-
|
|
270
260
|
</details>
|
|
271
261
|
<details>
|
|
272
262
|
<summary>
|
|
@@ -274,7 +264,6 @@ GetResourceMetadata
|
|
|
274
264
|
</summary>
|
|
275
265
|
|
|
276
266
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/GetResourceMetadataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/GetResourceMetadataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/GetResourceMetadataCommandOutput/)
|
|
277
|
-
|
|
278
267
|
</details>
|
|
279
268
|
<details>
|
|
280
269
|
<summary>
|
|
@@ -282,7 +271,6 @@ GetResourceMetrics
|
|
|
282
271
|
</summary>
|
|
283
272
|
|
|
284
273
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/GetResourceMetricsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/GetResourceMetricsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/GetResourceMetricsCommandOutput/)
|
|
285
|
-
|
|
286
274
|
</details>
|
|
287
275
|
<details>
|
|
288
276
|
<summary>
|
|
@@ -290,7 +278,6 @@ ListAvailableResourceDimensions
|
|
|
290
278
|
</summary>
|
|
291
279
|
|
|
292
280
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/ListAvailableResourceDimensionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/ListAvailableResourceDimensionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/ListAvailableResourceDimensionsCommandOutput/)
|
|
293
|
-
|
|
294
281
|
</details>
|
|
295
282
|
<details>
|
|
296
283
|
<summary>
|
|
@@ -298,7 +285,6 @@ ListAvailableResourceMetrics
|
|
|
298
285
|
</summary>
|
|
299
286
|
|
|
300
287
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/ListAvailableResourceMetricsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/ListAvailableResourceMetricsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/ListAvailableResourceMetricsCommandOutput/)
|
|
301
|
-
|
|
302
288
|
</details>
|
|
303
289
|
<details>
|
|
304
290
|
<summary>
|
|
@@ -306,7 +292,6 @@ ListPerformanceAnalysisReports
|
|
|
306
292
|
</summary>
|
|
307
293
|
|
|
308
294
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/ListPerformanceAnalysisReportsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/ListPerformanceAnalysisReportsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/ListPerformanceAnalysisReportsCommandOutput/)
|
|
309
|
-
|
|
310
295
|
</details>
|
|
311
296
|
<details>
|
|
312
297
|
<summary>
|
|
@@ -314,7 +299,6 @@ ListTagsForResource
|
|
|
314
299
|
</summary>
|
|
315
300
|
|
|
316
301
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/ListTagsForResourceCommandOutput/)
|
|
317
|
-
|
|
318
302
|
</details>
|
|
319
303
|
<details>
|
|
320
304
|
<summary>
|
|
@@ -322,7 +306,6 @@ TagResource
|
|
|
322
306
|
</summary>
|
|
323
307
|
|
|
324
308
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/TagResourceCommandOutput/)
|
|
325
|
-
|
|
326
309
|
</details>
|
|
327
310
|
<details>
|
|
328
311
|
<summary>
|
|
@@ -330,5 +313,4 @@ UntagResource
|
|
|
330
313
|
</summary>
|
|
331
314
|
|
|
332
315
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/UntagResourceCommandOutput/)
|
|
333
|
-
|
|
334
316
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultPIHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultPIHttpAuthSchemeParametersProvider = defaultPIHttpAuthSchemeParametersProvider;
|