@aws-sdk/client-pi 3.1052.0 → 3.1054.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 +7 -0
- package/dist-cjs/index.js +18 -0
- package/dist-cjs/schemas/schemas_0.js +25 -6
- package/dist-es/PI.js +4 -0
- package/dist-es/commands/ListPerformanceAnalysisReportRecommendationsCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/pagination/ListPerformanceAnalysisReportRecommendationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +23 -4
- package/dist-types/PI.d.ts +14 -0
- package/dist-types/PIClient.d.ts +3 -2
- package/dist-types/commands/CreatePerformanceAnalysisReportCommand.d.ts +1 -1
- package/dist-types/commands/GetPerformanceAnalysisReportCommand.d.ts +2 -0
- package/dist-types/commands/ListPerformanceAnalysisReportRecommendationsCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +68 -1
- package/dist-types/pagination/ListPerformanceAnalysisReportRecommendationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/PI.d.ts +30 -0
- package/dist-types/ts3.4/PIClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListPerformanceAnalysisReportRecommendationsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -1
- package/dist-types/ts3.4/pagination/ListPerformanceAnalysisReportRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -268,6 +268,13 @@ ListAvailableResourceMetrics
|
|
|
268
268
|
</details>
|
|
269
269
|
<details>
|
|
270
270
|
<summary>
|
|
271
|
+
ListPerformanceAnalysisReportRecommendations
|
|
272
|
+
</summary>
|
|
273
|
+
|
|
274
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/pi/command/ListPerformanceAnalysisReportRecommendationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/ListPerformanceAnalysisReportRecommendationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-pi/Interface/ListPerformanceAnalysisReportRecommendationsCommandOutput/)
|
|
275
|
+
</details>
|
|
276
|
+
<details>
|
|
277
|
+
<summary>
|
|
271
278
|
ListPerformanceAnalysisReports
|
|
272
279
|
</summary>
|
|
273
280
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -216,6 +216,18 @@ class ListAvailableResourceMetricsCommand extends client.Command
|
|
|
216
216
|
.build() {
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
+
class ListPerformanceAnalysisReportRecommendationsCommand extends client.Command
|
|
220
|
+
.classBuilder()
|
|
221
|
+
.ep(commonParams)
|
|
222
|
+
.m(function (Command, cs, config, o) {
|
|
223
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
224
|
+
})
|
|
225
|
+
.s("PerformanceInsightsv20180227", "ListPerformanceAnalysisReportRecommendations", {})
|
|
226
|
+
.n("PIClient", "ListPerformanceAnalysisReportRecommendationsCommand")
|
|
227
|
+
.sc(schemas_0.ListPerformanceAnalysisReportRecommendations$)
|
|
228
|
+
.build() {
|
|
229
|
+
}
|
|
230
|
+
|
|
219
231
|
class ListPerformanceAnalysisReportsCommand extends client.Command
|
|
220
232
|
.classBuilder()
|
|
221
233
|
.ep(commonParams)
|
|
@@ -272,6 +284,8 @@ const paginateListAvailableResourceDimensions = core.createPaginator(PIClient, L
|
|
|
272
284
|
|
|
273
285
|
const paginateListAvailableResourceMetrics = core.createPaginator(PIClient, ListAvailableResourceMetricsCommand, "NextToken", "NextToken", "MaxResults");
|
|
274
286
|
|
|
287
|
+
const paginateListPerformanceAnalysisReportRecommendations = core.createPaginator(PIClient, ListPerformanceAnalysisReportRecommendationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
288
|
+
|
|
275
289
|
const paginateListPerformanceAnalysisReports = core.createPaginator(PIClient, ListPerformanceAnalysisReportsCommand, "NextToken", "NextToken", "MaxResults");
|
|
276
290
|
|
|
277
291
|
const commands = {
|
|
@@ -284,6 +298,7 @@ const commands = {
|
|
|
284
298
|
GetResourceMetricsCommand,
|
|
285
299
|
ListAvailableResourceDimensionsCommand,
|
|
286
300
|
ListAvailableResourceMetricsCommand,
|
|
301
|
+
ListPerformanceAnalysisReportRecommendationsCommand,
|
|
287
302
|
ListPerformanceAnalysisReportsCommand,
|
|
288
303
|
ListTagsForResourceCommand,
|
|
289
304
|
TagResourceCommand,
|
|
@@ -294,6 +309,7 @@ const paginators = {
|
|
|
294
309
|
paginateGetResourceMetrics,
|
|
295
310
|
paginateListAvailableResourceDimensions,
|
|
296
311
|
paginateListAvailableResourceMetrics,
|
|
312
|
+
paginateListPerformanceAnalysisReportRecommendations,
|
|
297
313
|
paginateListPerformanceAnalysisReports,
|
|
298
314
|
};
|
|
299
315
|
class PI extends PIClient {
|
|
@@ -366,6 +382,7 @@ exports.GetResourceMetadataCommand = GetResourceMetadataCommand;
|
|
|
366
382
|
exports.GetResourceMetricsCommand = GetResourceMetricsCommand;
|
|
367
383
|
exports.ListAvailableResourceDimensionsCommand = ListAvailableResourceDimensionsCommand;
|
|
368
384
|
exports.ListAvailableResourceMetricsCommand = ListAvailableResourceMetricsCommand;
|
|
385
|
+
exports.ListPerformanceAnalysisReportRecommendationsCommand = ListPerformanceAnalysisReportRecommendationsCommand;
|
|
369
386
|
exports.ListPerformanceAnalysisReportsCommand = ListPerformanceAnalysisReportsCommand;
|
|
370
387
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
371
388
|
exports.PI = PI;
|
|
@@ -380,6 +397,7 @@ exports.paginateDescribeDimensionKeys = paginateDescribeDimensionKeys;
|
|
|
380
397
|
exports.paginateGetResourceMetrics = paginateGetResourceMetrics;
|
|
381
398
|
exports.paginateListAvailableResourceDimensions = paginateListAvailableResourceDimensions;
|
|
382
399
|
exports.paginateListAvailableResourceMetrics = paginateListAvailableResourceMetrics;
|
|
400
|
+
exports.paginateListPerformanceAnalysisReportRecommendations = paginateListPerformanceAnalysisReportRecommendations;
|
|
383
401
|
exports.paginateListPerformanceAnalysisReports = paginateListPerformanceAnalysisReports;
|
|
384
402
|
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
385
403
|
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListPerformanceAnalysisReports$ = exports.ListAvailableResourceMetrics$ = exports.ListAvailableResourceDimensions$ = exports.GetResourceMetrics$ = exports.GetResourceMetadata$ = exports.GetPerformanceAnalysisReport$ = exports.GetDimensionKeyDetails$ = exports.DescribeDimensionKeys$ = exports.DeletePerformanceAnalysisReport$ = exports.CreatePerformanceAnalysisReport$ = exports.UntagResourceResponse$ = void 0;
|
|
3
|
+
exports.TagResourceRequest$ = exports.Tag$ = exports.ResponseResourceMetricKey$ = exports.ResponseResourceMetric$ = exports.ResponsePartitionKey$ = exports.Recommendation$ = exports.PerformanceInsightsMetric$ = exports.MetricQuery$ = exports.MetricKeyDataPoints$ = exports.MetricDimensionGroups$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListPerformanceAnalysisReportsResponse$ = exports.ListPerformanceAnalysisReportsRequest$ = exports.ListPerformanceAnalysisReportRecommendationsResponse$ = exports.ListPerformanceAnalysisReportRecommendationsRequest$ = exports.ListAvailableResourceMetricsResponse$ = exports.ListAvailableResourceMetricsRequest$ = exports.ListAvailableResourceDimensionsResponse$ = exports.ListAvailableResourceDimensionsRequest$ = exports.Insight$ = exports.GetResourceMetricsResponse$ = exports.GetResourceMetricsRequest$ = exports.GetResourceMetadataResponse$ = exports.GetResourceMetadataRequest$ = exports.GetPerformanceAnalysisReportResponse$ = exports.GetPerformanceAnalysisReportRequest$ = exports.GetDimensionKeyDetailsResponse$ = exports.GetDimensionKeyDetailsRequest$ = exports.FeatureMetadata$ = exports.DimensionKeyDetail$ = exports.DimensionKeyDescription$ = exports.DimensionGroupDetail$ = exports.DimensionGroup$ = exports.DimensionDetail$ = exports.DescribeDimensionKeysResponse$ = exports.DescribeDimensionKeysRequest$ = exports.DeletePerformanceAnalysisReportResponse$ = exports.DeletePerformanceAnalysisReportRequest$ = exports.DataPoint$ = exports.Data$ = exports.CreatePerformanceAnalysisReportResponse$ = exports.CreatePerformanceAnalysisReportRequest$ = exports.AnalysisReportSummary$ = exports.AnalysisReport$ = exports.errorTypeRegistries = exports.NotAuthorizedException$ = exports.InvalidArgumentException$ = exports.InternalServiceError$ = exports.PIServiceException$ = void 0;
|
|
4
|
+
exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListPerformanceAnalysisReports$ = exports.ListPerformanceAnalysisReportRecommendations$ = exports.ListAvailableResourceMetrics$ = exports.ListAvailableResourceDimensions$ = exports.GetResourceMetrics$ = exports.GetResourceMetadata$ = exports.GetPerformanceAnalysisReport$ = exports.GetDimensionKeyDetails$ = exports.DescribeDimensionKeys$ = exports.DeletePerformanceAnalysisReport$ = exports.CreatePerformanceAnalysisReport$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = void 0;
|
|
5
5
|
const _AA = "AuthorizedActions";
|
|
6
6
|
const _AET = "AlignedEndTime";
|
|
7
7
|
const _AL = "AcceptLanguage";
|
|
@@ -83,7 +83,10 @@ const _LARMR = "ListAvailableResourceMetricsRequest";
|
|
|
83
83
|
const _LARMRi = "ListAvailableResourceMetricsResponse";
|
|
84
84
|
const _LPAR = "ListPerformanceAnalysisReports";
|
|
85
85
|
const _LPARR = "ListPerformanceAnalysisReportsRequest";
|
|
86
|
+
const _LPARRR = "ListPerformanceAnalysisReportRecommendationsRequest";
|
|
87
|
+
const _LPARRRi = "ListPerformanceAnalysisReportRecommendationsResponse";
|
|
86
88
|
const _LPARRi = "ListPerformanceAnalysisReportsResponse";
|
|
89
|
+
const _LPARRis = "ListPerformanceAnalysisReportRecommendations";
|
|
87
90
|
const _LT = "ListTags";
|
|
88
91
|
const _LTFR = "ListTagsForResource";
|
|
89
92
|
const _LTFRR = "ListTagsForResourceRequest";
|
|
@@ -115,7 +118,9 @@ const _R = "Recommendations";
|
|
|
115
118
|
const _RARN = "ResourceARN";
|
|
116
119
|
const _RD = "RequestedDimensions";
|
|
117
120
|
const _RDe = "RecommendationDescription";
|
|
118
|
-
const
|
|
121
|
+
const _RDec = "RecommendationDetails";
|
|
122
|
+
const _RI = "RecommendationIds";
|
|
123
|
+
const _RIe = "RecommendationId";
|
|
119
124
|
const _RL = "RecommendationList";
|
|
120
125
|
const _RPK = "ResponsePartitionKey";
|
|
121
126
|
const _RPKL = "ResponsePartitionKeyList";
|
|
@@ -191,7 +196,7 @@ exports.AnalysisReportSummary$ = [3, n0, _ARS,
|
|
|
191
196
|
exports.CreatePerformanceAnalysisReportRequest$ = [3, n0, _CPARR,
|
|
192
197
|
0,
|
|
193
198
|
[_ST, _I, _STt, _ET, _T],
|
|
194
|
-
[0, 0, 4, 4, () => TagList],
|
|
199
|
+
[0, 0, 4, 4, () => TagList], 3
|
|
195
200
|
];
|
|
196
201
|
exports.CreatePerformanceAnalysisReportResponse$ = [3, n0, _CPARRr,
|
|
197
202
|
0,
|
|
@@ -323,6 +328,16 @@ exports.ListAvailableResourceMetricsResponse$ = [3, n0, _LARMRi,
|
|
|
323
328
|
[_Met, _NT],
|
|
324
329
|
[() => ResponseResourceMetricList, 0]
|
|
325
330
|
];
|
|
331
|
+
exports.ListPerformanceAnalysisReportRecommendationsRequest$ = [3, n0, _LPARRR,
|
|
332
|
+
0,
|
|
333
|
+
[_ST, _I, _ARI, _RI, _MR, _NT],
|
|
334
|
+
[0, 0, 0, 64 | 0, 1, 0], 3
|
|
335
|
+
];
|
|
336
|
+
exports.ListPerformanceAnalysisReportRecommendationsResponse$ = [3, n0, _LPARRRi,
|
|
337
|
+
0,
|
|
338
|
+
[_R, _NT],
|
|
339
|
+
[[() => RecommendationList, 0], 0]
|
|
340
|
+
];
|
|
326
341
|
exports.ListPerformanceAnalysisReportsRequest$ = [3, n0, _LPARR,
|
|
327
342
|
0,
|
|
328
343
|
[_ST, _I, _NT, _MR, _LT],
|
|
@@ -365,8 +380,8 @@ exports.PerformanceInsightsMetric$ = [3, n0, _PIM,
|
|
|
365
380
|
];
|
|
366
381
|
exports.Recommendation$ = [3, n0, _Re,
|
|
367
382
|
0,
|
|
368
|
-
[
|
|
369
|
-
[0, [() => MarkdownString, 0]]
|
|
383
|
+
[_RIe, _RDe, _RDec],
|
|
384
|
+
[0, [() => MarkdownString, 0], [() => MarkdownString, 0]]
|
|
370
385
|
];
|
|
371
386
|
exports.ResponsePartitionKey$ = [3, n0, _RPK,
|
|
372
387
|
0,
|
|
@@ -447,6 +462,7 @@ var MetricQueryList = [1, n0, _MQL,
|
|
|
447
462
|
];
|
|
448
463
|
var MetricTypeList = 64 | 0;
|
|
449
464
|
var MetricValuesList = 64 | 1;
|
|
465
|
+
var RecommendationIdList = 64 | 0;
|
|
450
466
|
var RecommendationList = [1, n0, _RL,
|
|
451
467
|
0, [() => exports.Recommendation$,
|
|
452
468
|
0]
|
|
@@ -497,6 +513,9 @@ exports.ListAvailableResourceDimensions$ = [9, n0, _LARD,
|
|
|
497
513
|
exports.ListAvailableResourceMetrics$ = [9, n0, _LARM,
|
|
498
514
|
0, () => exports.ListAvailableResourceMetricsRequest$, () => exports.ListAvailableResourceMetricsResponse$
|
|
499
515
|
];
|
|
516
|
+
exports.ListPerformanceAnalysisReportRecommendations$ = [9, n0, _LPARRis,
|
|
517
|
+
0, () => exports.ListPerformanceAnalysisReportRecommendationsRequest$, () => exports.ListPerformanceAnalysisReportRecommendationsResponse$
|
|
518
|
+
];
|
|
500
519
|
exports.ListPerformanceAnalysisReports$ = [9, n0, _LPAR,
|
|
501
520
|
0, () => exports.ListPerformanceAnalysisReportsRequest$, () => exports.ListPerformanceAnalysisReportsResponse$
|
|
502
521
|
];
|
package/dist-es/PI.js
CHANGED
|
@@ -8,6 +8,7 @@ import { GetResourceMetadataCommand, } from "./commands/GetResourceMetadataComma
|
|
|
8
8
|
import { GetResourceMetricsCommand, } from "./commands/GetResourceMetricsCommand";
|
|
9
9
|
import { ListAvailableResourceDimensionsCommand, } from "./commands/ListAvailableResourceDimensionsCommand";
|
|
10
10
|
import { ListAvailableResourceMetricsCommand, } from "./commands/ListAvailableResourceMetricsCommand";
|
|
11
|
+
import { ListPerformanceAnalysisReportRecommendationsCommand, } from "./commands/ListPerformanceAnalysisReportRecommendationsCommand";
|
|
11
12
|
import { ListPerformanceAnalysisReportsCommand, } from "./commands/ListPerformanceAnalysisReportsCommand";
|
|
12
13
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
13
14
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
@@ -16,6 +17,7 @@ import { paginateDescribeDimensionKeys } from "./pagination/DescribeDimensionKey
|
|
|
16
17
|
import { paginateGetResourceMetrics } from "./pagination/GetResourceMetricsPaginator";
|
|
17
18
|
import { paginateListAvailableResourceDimensions } from "./pagination/ListAvailableResourceDimensionsPaginator";
|
|
18
19
|
import { paginateListAvailableResourceMetrics } from "./pagination/ListAvailableResourceMetricsPaginator";
|
|
20
|
+
import { paginateListPerformanceAnalysisReportRecommendations, } from "./pagination/ListPerformanceAnalysisReportRecommendationsPaginator";
|
|
19
21
|
import { paginateListPerformanceAnalysisReports } from "./pagination/ListPerformanceAnalysisReportsPaginator";
|
|
20
22
|
import { PIClient } from "./PIClient";
|
|
21
23
|
const commands = {
|
|
@@ -28,6 +30,7 @@ const commands = {
|
|
|
28
30
|
GetResourceMetricsCommand,
|
|
29
31
|
ListAvailableResourceDimensionsCommand,
|
|
30
32
|
ListAvailableResourceMetricsCommand,
|
|
33
|
+
ListPerformanceAnalysisReportRecommendationsCommand,
|
|
31
34
|
ListPerformanceAnalysisReportsCommand,
|
|
32
35
|
ListTagsForResourceCommand,
|
|
33
36
|
TagResourceCommand,
|
|
@@ -38,6 +41,7 @@ const paginators = {
|
|
|
38
41
|
paginateGetResourceMetrics,
|
|
39
42
|
paginateListAvailableResourceDimensions,
|
|
40
43
|
paginateListAvailableResourceMetrics,
|
|
44
|
+
paginateListPerformanceAnalysisReportRecommendations,
|
|
41
45
|
paginateListPerformanceAnalysisReports,
|
|
42
46
|
};
|
|
43
47
|
export class PI extends PIClient {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListPerformanceAnalysisReportRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListPerformanceAnalysisReportRecommendationsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("PerformanceInsightsv20180227", "ListPerformanceAnalysisReportRecommendations", {})
|
|
13
|
+
.n("PIClient", "ListPerformanceAnalysisReportRecommendationsCommand")
|
|
14
|
+
.sc(ListPerformanceAnalysisReportRecommendations$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -7,6 +7,7 @@ export * from "./GetResourceMetadataCommand";
|
|
|
7
7
|
export * from "./GetResourceMetricsCommand";
|
|
8
8
|
export * from "./ListAvailableResourceDimensionsCommand";
|
|
9
9
|
export * from "./ListAvailableResourceMetricsCommand";
|
|
10
|
+
export * from "./ListPerformanceAnalysisReportRecommendationsCommand";
|
|
10
11
|
export * from "./ListPerformanceAnalysisReportsCommand";
|
|
11
12
|
export * from "./ListTagsForResourceCommand";
|
|
12
13
|
export * from "./TagResourceCommand";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListPerformanceAnalysisReportRecommendationsCommand, } from "../commands/ListPerformanceAnalysisReportRecommendationsCommand";
|
|
3
|
+
import { PIClient } from "../PIClient";
|
|
4
|
+
export const paginateListPerformanceAnalysisReportRecommendations = createPaginator(PIClient, ListPerformanceAnalysisReportRecommendationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -3,4 +3,5 @@ export * from "./DescribeDimensionKeysPaginator";
|
|
|
3
3
|
export * from "./GetResourceMetricsPaginator";
|
|
4
4
|
export * from "./ListAvailableResourceDimensionsPaginator";
|
|
5
5
|
export * from "./ListAvailableResourceMetricsPaginator";
|
|
6
|
+
export * from "./ListPerformanceAnalysisReportRecommendationsPaginator";
|
|
6
7
|
export * from "./ListPerformanceAnalysisReportsPaginator";
|
|
@@ -79,7 +79,10 @@ const _LARMR = "ListAvailableResourceMetricsRequest";
|
|
|
79
79
|
const _LARMRi = "ListAvailableResourceMetricsResponse";
|
|
80
80
|
const _LPAR = "ListPerformanceAnalysisReports";
|
|
81
81
|
const _LPARR = "ListPerformanceAnalysisReportsRequest";
|
|
82
|
+
const _LPARRR = "ListPerformanceAnalysisReportRecommendationsRequest";
|
|
83
|
+
const _LPARRRi = "ListPerformanceAnalysisReportRecommendationsResponse";
|
|
82
84
|
const _LPARRi = "ListPerformanceAnalysisReportsResponse";
|
|
85
|
+
const _LPARRis = "ListPerformanceAnalysisReportRecommendations";
|
|
83
86
|
const _LT = "ListTags";
|
|
84
87
|
const _LTFR = "ListTagsForResource";
|
|
85
88
|
const _LTFRR = "ListTagsForResourceRequest";
|
|
@@ -111,7 +114,9 @@ const _R = "Recommendations";
|
|
|
111
114
|
const _RARN = "ResourceARN";
|
|
112
115
|
const _RD = "RequestedDimensions";
|
|
113
116
|
const _RDe = "RecommendationDescription";
|
|
114
|
-
const
|
|
117
|
+
const _RDec = "RecommendationDetails";
|
|
118
|
+
const _RI = "RecommendationIds";
|
|
119
|
+
const _RIe = "RecommendationId";
|
|
115
120
|
const _RL = "RecommendationList";
|
|
116
121
|
const _RPK = "ResponsePartitionKey";
|
|
117
122
|
const _RPKL = "ResponsePartitionKeyList";
|
|
@@ -187,7 +192,7 @@ export var AnalysisReportSummary$ = [3, n0, _ARS,
|
|
|
187
192
|
export var CreatePerformanceAnalysisReportRequest$ = [3, n0, _CPARR,
|
|
188
193
|
0,
|
|
189
194
|
[_ST, _I, _STt, _ET, _T],
|
|
190
|
-
[0, 0, 4, 4, () => TagList],
|
|
195
|
+
[0, 0, 4, 4, () => TagList], 3
|
|
191
196
|
];
|
|
192
197
|
export var CreatePerformanceAnalysisReportResponse$ = [3, n0, _CPARRr,
|
|
193
198
|
0,
|
|
@@ -319,6 +324,16 @@ export var ListAvailableResourceMetricsResponse$ = [3, n0, _LARMRi,
|
|
|
319
324
|
[_Met, _NT],
|
|
320
325
|
[() => ResponseResourceMetricList, 0]
|
|
321
326
|
];
|
|
327
|
+
export var ListPerformanceAnalysisReportRecommendationsRequest$ = [3, n0, _LPARRR,
|
|
328
|
+
0,
|
|
329
|
+
[_ST, _I, _ARI, _RI, _MR, _NT],
|
|
330
|
+
[0, 0, 0, 64 | 0, 1, 0], 3
|
|
331
|
+
];
|
|
332
|
+
export var ListPerformanceAnalysisReportRecommendationsResponse$ = [3, n0, _LPARRRi,
|
|
333
|
+
0,
|
|
334
|
+
[_R, _NT],
|
|
335
|
+
[[() => RecommendationList, 0], 0]
|
|
336
|
+
];
|
|
322
337
|
export var ListPerformanceAnalysisReportsRequest$ = [3, n0, _LPARR,
|
|
323
338
|
0,
|
|
324
339
|
[_ST, _I, _NT, _MR, _LT],
|
|
@@ -361,8 +376,8 @@ export var PerformanceInsightsMetric$ = [3, n0, _PIM,
|
|
|
361
376
|
];
|
|
362
377
|
export var Recommendation$ = [3, n0, _Re,
|
|
363
378
|
0,
|
|
364
|
-
[
|
|
365
|
-
[0, [() => MarkdownString, 0]]
|
|
379
|
+
[_RIe, _RDe, _RDec],
|
|
380
|
+
[0, [() => MarkdownString, 0], [() => MarkdownString, 0]]
|
|
366
381
|
];
|
|
367
382
|
export var ResponsePartitionKey$ = [3, n0, _RPK,
|
|
368
383
|
0,
|
|
@@ -443,6 +458,7 @@ var MetricQueryList = [1, n0, _MQL,
|
|
|
443
458
|
];
|
|
444
459
|
var MetricTypeList = 64 | 0;
|
|
445
460
|
var MetricValuesList = 64 | 1;
|
|
461
|
+
var RecommendationIdList = 64 | 0;
|
|
446
462
|
var RecommendationList = [1, n0, _RL,
|
|
447
463
|
0, [() => Recommendation$,
|
|
448
464
|
0]
|
|
@@ -493,6 +509,9 @@ export var ListAvailableResourceDimensions$ = [9, n0, _LARD,
|
|
|
493
509
|
export var ListAvailableResourceMetrics$ = [9, n0, _LARM,
|
|
494
510
|
0, () => ListAvailableResourceMetricsRequest$, () => ListAvailableResourceMetricsResponse$
|
|
495
511
|
];
|
|
512
|
+
export var ListPerformanceAnalysisReportRecommendations$ = [9, n0, _LPARRis,
|
|
513
|
+
0, () => ListPerformanceAnalysisReportRecommendationsRequest$, () => ListPerformanceAnalysisReportRecommendationsResponse$
|
|
514
|
+
];
|
|
496
515
|
export var ListPerformanceAnalysisReports$ = [9, n0, _LPAR,
|
|
497
516
|
0, () => ListPerformanceAnalysisReportsRequest$, () => ListPerformanceAnalysisReportsResponse$
|
|
498
517
|
];
|
package/dist-types/PI.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { type GetResourceMetadataCommandInput, type GetResourceMetadataCommandOu
|
|
|
8
8
|
import { type GetResourceMetricsCommandInput, type GetResourceMetricsCommandOutput } from "./commands/GetResourceMetricsCommand";
|
|
9
9
|
import { type ListAvailableResourceDimensionsCommandInput, type ListAvailableResourceDimensionsCommandOutput } from "./commands/ListAvailableResourceDimensionsCommand";
|
|
10
10
|
import { type ListAvailableResourceMetricsCommandInput, type ListAvailableResourceMetricsCommandOutput } from "./commands/ListAvailableResourceMetricsCommand";
|
|
11
|
+
import { type ListPerformanceAnalysisReportRecommendationsCommandInput, type ListPerformanceAnalysisReportRecommendationsCommandOutput } from "./commands/ListPerformanceAnalysisReportRecommendationsCommand";
|
|
11
12
|
import { type ListPerformanceAnalysisReportsCommandInput, type ListPerformanceAnalysisReportsCommandOutput } from "./commands/ListPerformanceAnalysisReportsCommand";
|
|
12
13
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
13
14
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -68,6 +69,12 @@ export interface PI {
|
|
|
68
69
|
listAvailableResourceMetrics(args: ListAvailableResourceMetricsCommandInput, options?: __HttpHandlerOptions): Promise<ListAvailableResourceMetricsCommandOutput>;
|
|
69
70
|
listAvailableResourceMetrics(args: ListAvailableResourceMetricsCommandInput, cb: (err: any, data?: ListAvailableResourceMetricsCommandOutput) => void): void;
|
|
70
71
|
listAvailableResourceMetrics(args: ListAvailableResourceMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAvailableResourceMetricsCommandOutput) => void): void;
|
|
72
|
+
/**
|
|
73
|
+
* @see {@link ListPerformanceAnalysisReportRecommendationsCommand}
|
|
74
|
+
*/
|
|
75
|
+
listPerformanceAnalysisReportRecommendations(args: ListPerformanceAnalysisReportRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ListPerformanceAnalysisReportRecommendationsCommandOutput>;
|
|
76
|
+
listPerformanceAnalysisReportRecommendations(args: ListPerformanceAnalysisReportRecommendationsCommandInput, cb: (err: any, data?: ListPerformanceAnalysisReportRecommendationsCommandOutput) => void): void;
|
|
77
|
+
listPerformanceAnalysisReportRecommendations(args: ListPerformanceAnalysisReportRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPerformanceAnalysisReportRecommendationsCommandOutput) => void): void;
|
|
71
78
|
/**
|
|
72
79
|
* @see {@link ListPerformanceAnalysisReportsCommand}
|
|
73
80
|
*/
|
|
@@ -120,6 +127,13 @@ export interface PI {
|
|
|
120
127
|
* @returns AsyncIterable of {@link ListAvailableResourceMetricsCommandOutput}.
|
|
121
128
|
*/
|
|
122
129
|
paginateListAvailableResourceMetrics(args: ListAvailableResourceMetricsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAvailableResourceMetricsCommandOutput>;
|
|
130
|
+
/**
|
|
131
|
+
* @see {@link ListPerformanceAnalysisReportRecommendationsCommand}
|
|
132
|
+
* @param args - command input.
|
|
133
|
+
* @param paginationConfig - optional pagination config.
|
|
134
|
+
* @returns AsyncIterable of {@link ListPerformanceAnalysisReportRecommendationsCommandOutput}.
|
|
135
|
+
*/
|
|
136
|
+
paginateListPerformanceAnalysisReportRecommendations(args: ListPerformanceAnalysisReportRecommendationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPerformanceAnalysisReportRecommendationsCommandOutput>;
|
|
123
137
|
/**
|
|
124
138
|
* @see {@link ListPerformanceAnalysisReportsCommand}
|
|
125
139
|
* @param args - command input.
|
package/dist-types/PIClient.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import type { GetResourceMetadataCommandInput, GetResourceMetadataCommandOutput
|
|
|
15
15
|
import type { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "./commands/GetResourceMetricsCommand";
|
|
16
16
|
import type { ListAvailableResourceDimensionsCommandInput, ListAvailableResourceDimensionsCommandOutput } from "./commands/ListAvailableResourceDimensionsCommand";
|
|
17
17
|
import type { ListAvailableResourceMetricsCommandInput, ListAvailableResourceMetricsCommandOutput } from "./commands/ListAvailableResourceMetricsCommand";
|
|
18
|
+
import type { ListPerformanceAnalysisReportRecommendationsCommandInput, ListPerformanceAnalysisReportRecommendationsCommandOutput } from "./commands/ListPerformanceAnalysisReportRecommendationsCommand";
|
|
18
19
|
import type { ListPerformanceAnalysisReportsCommandInput, ListPerformanceAnalysisReportsCommandOutput } from "./commands/ListPerformanceAnalysisReportsCommand";
|
|
19
20
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
20
21
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -25,11 +26,11 @@ export { __Client };
|
|
|
25
26
|
/**
|
|
26
27
|
* @public
|
|
27
28
|
*/
|
|
28
|
-
export type ServiceInputTypes = CreatePerformanceAnalysisReportCommandInput | DeletePerformanceAnalysisReportCommandInput | DescribeDimensionKeysCommandInput | GetDimensionKeyDetailsCommandInput | GetPerformanceAnalysisReportCommandInput | GetResourceMetadataCommandInput | GetResourceMetricsCommandInput | ListAvailableResourceDimensionsCommandInput | ListAvailableResourceMetricsCommandInput | ListPerformanceAnalysisReportsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
29
|
+
export type ServiceInputTypes = CreatePerformanceAnalysisReportCommandInput | DeletePerformanceAnalysisReportCommandInput | DescribeDimensionKeysCommandInput | GetDimensionKeyDetailsCommandInput | GetPerformanceAnalysisReportCommandInput | GetResourceMetadataCommandInput | GetResourceMetricsCommandInput | ListAvailableResourceDimensionsCommandInput | ListAvailableResourceMetricsCommandInput | ListPerformanceAnalysisReportRecommendationsCommandInput | ListPerformanceAnalysisReportsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
29
30
|
/**
|
|
30
31
|
* @public
|
|
31
32
|
*/
|
|
32
|
-
export type ServiceOutputTypes = CreatePerformanceAnalysisReportCommandOutput | DeletePerformanceAnalysisReportCommandOutput | DescribeDimensionKeysCommandOutput | GetDimensionKeyDetailsCommandOutput | GetPerformanceAnalysisReportCommandOutput | GetResourceMetadataCommandOutput | GetResourceMetricsCommandOutput | ListAvailableResourceDimensionsCommandOutput | ListAvailableResourceMetricsCommandOutput | ListPerformanceAnalysisReportsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
33
|
+
export type ServiceOutputTypes = CreatePerformanceAnalysisReportCommandOutput | DeletePerformanceAnalysisReportCommandOutput | DescribeDimensionKeysCommandOutput | GetDimensionKeyDetailsCommandOutput | GetPerformanceAnalysisReportCommandOutput | GetResourceMetadataCommandOutput | GetResourceMetricsCommandOutput | ListAvailableResourceDimensionsCommandOutput | ListAvailableResourceMetricsCommandOutput | ListPerformanceAnalysisReportRecommendationsCommandOutput | ListPerformanceAnalysisReportsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
33
34
|
/**
|
|
34
35
|
* @public
|
|
35
36
|
*/
|
|
@@ -43,7 +43,7 @@ declare const CreatePerformanceAnalysisReportCommand_base: {
|
|
|
43
43
|
* ServiceType: "RDS" || "DOCDB", // required
|
|
44
44
|
* Identifier: "STRING_VALUE", // required
|
|
45
45
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
46
|
-
* EndTime: new Date("TIMESTAMP"),
|
|
46
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
47
47
|
* Tags: [ // TagList
|
|
48
48
|
* { // Tag
|
|
49
49
|
* Key: "STRING_VALUE", // required
|
|
@@ -81,6 +81,7 @@ declare const GetPerformanceAnalysisReportCommand_base: {
|
|
|
81
81
|
* // { // Recommendation
|
|
82
82
|
* // RecommendationId: "STRING_VALUE",
|
|
83
83
|
* // RecommendationDescription: "STRING_VALUE",
|
|
84
|
+
* // RecommendationDetails: "STRING_VALUE",
|
|
84
85
|
* // },
|
|
85
86
|
* // ],
|
|
86
87
|
* // InsightData: [ // DataList
|
|
@@ -120,6 +121,7 @@ declare const GetPerformanceAnalysisReportCommand_base: {
|
|
|
120
121
|
* // {
|
|
121
122
|
* // RecommendationId: "STRING_VALUE",
|
|
122
123
|
* // RecommendationDescription: "STRING_VALUE",
|
|
124
|
+
* // RecommendationDetails: "STRING_VALUE",
|
|
123
125
|
* // },
|
|
124
126
|
* // ],
|
|
125
127
|
* // InsightData: [
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListPerformanceAnalysisReportRecommendationsRequest, ListPerformanceAnalysisReportRecommendationsResponse } from "../models/models_0";
|
|
4
|
+
import type { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListPerformanceAnalysisReportRecommendationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPerformanceAnalysisReportRecommendationsCommandInput extends ListPerformanceAnalysisReportRecommendationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPerformanceAnalysisReportRecommendationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPerformanceAnalysisReportRecommendationsCommandOutput extends ListPerformanceAnalysisReportRecommendationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListPerformanceAnalysisReportRecommendationsCommand_base: {
|
|
25
|
+
new (input: ListPerformanceAnalysisReportRecommendationsCommandInput): import("@smithy/core/client").CommandImpl<ListPerformanceAnalysisReportRecommendationsCommandInput, ListPerformanceAnalysisReportRecommendationsCommandOutput, PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListPerformanceAnalysisReportRecommendationsCommandInput): import("@smithy/core/client").CommandImpl<ListPerformanceAnalysisReportRecommendationsCommandInput, ListPerformanceAnalysisReportRecommendationsCommandOutput, PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves recommendations for a performance analysis report.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { PIClient, ListPerformanceAnalysisReportRecommendationsCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
37
|
+
* // const { PIClient, ListPerformanceAnalysisReportRecommendationsCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
38
|
+
* // import type { PIClientConfig } from "@aws-sdk/client-pi";
|
|
39
|
+
* const config = {}; // type is PIClientConfig
|
|
40
|
+
* const client = new PIClient(config);
|
|
41
|
+
* const input = { // ListPerformanceAnalysisReportRecommendationsRequest
|
|
42
|
+
* ServiceType: "RDS" || "DOCDB", // required
|
|
43
|
+
* Identifier: "STRING_VALUE", // required
|
|
44
|
+
* AnalysisReportId: "STRING_VALUE", // required
|
|
45
|
+
* RecommendationIds: [ // RecommendationIdList
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* MaxResults: Number("int"),
|
|
49
|
+
* NextToken: "STRING_VALUE",
|
|
50
|
+
* };
|
|
51
|
+
* const command = new ListPerformanceAnalysisReportRecommendationsCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // ListPerformanceAnalysisReportRecommendationsResponse
|
|
54
|
+
* // Recommendations: [ // RecommendationList
|
|
55
|
+
* // { // Recommendation
|
|
56
|
+
* // RecommendationId: "STRING_VALUE",
|
|
57
|
+
* // RecommendationDescription: "STRING_VALUE",
|
|
58
|
+
* // RecommendationDetails: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // NextToken: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param ListPerformanceAnalysisReportRecommendationsCommandInput - {@link ListPerformanceAnalysisReportRecommendationsCommandInput}
|
|
67
|
+
* @returns {@link ListPerformanceAnalysisReportRecommendationsCommandOutput}
|
|
68
|
+
* @see {@link ListPerformanceAnalysisReportRecommendationsCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link ListPerformanceAnalysisReportRecommendationsCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link PIClientResolvedConfig | config} for PIClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
73
|
+
* <p>The request failed due to an unknown error.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InvalidArgumentException} (client fault)
|
|
76
|
+
* <p>One of the arguments provided is invalid for this request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
79
|
+
* <p>The user is not authorized to perform this request.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link PIServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from PI service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class ListPerformanceAnalysisReportRecommendationsCommand extends ListPerformanceAnalysisReportRecommendationsCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: ListPerformanceAnalysisReportRecommendationsRequest;
|
|
92
|
+
output: ListPerformanceAnalysisReportRecommendationsResponse;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: ListPerformanceAnalysisReportRecommendationsCommandInput;
|
|
96
|
+
output: ListPerformanceAnalysisReportRecommendationsCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -7,6 +7,7 @@ export * from "./GetResourceMetadataCommand";
|
|
|
7
7
|
export * from "./GetResourceMetricsCommand";
|
|
8
8
|
export * from "./ListAvailableResourceDimensionsCommand";
|
|
9
9
|
export * from "./ListAvailableResourceMetricsCommand";
|
|
10
|
+
export * from "./ListPerformanceAnalysisReportRecommendationsCommand";
|
|
10
11
|
export * from "./ListPerformanceAnalysisReportsCommand";
|
|
11
12
|
export * from "./ListTagsForResourceCommand";
|
|
12
13
|
export * from "./TagResourceCommand";
|
|
@@ -64,6 +64,11 @@ export interface Recommendation {
|
|
|
64
64
|
* @public
|
|
65
65
|
*/
|
|
66
66
|
RecommendationDescription?: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>Detailed information about the recommendation, including steps to resolve the performance issue.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
RecommendationDetails?: string | undefined;
|
|
67
72
|
}
|
|
68
73
|
/**
|
|
69
74
|
* <p>Metadata assigned to an Amazon RDS resource consisting of a key-value pair.</p>
|
|
@@ -149,7 +154,7 @@ export interface CreatePerformanceAnalysisReportRequest {
|
|
|
149
154
|
* <p>The end time defined for the analysis report.</p>
|
|
150
155
|
* @public
|
|
151
156
|
*/
|
|
152
|
-
EndTime
|
|
157
|
+
EndTime?: Date | undefined;
|
|
153
158
|
/**
|
|
154
159
|
* <p>The metadata assigned to the analysis report consisting of a key-value pair.</p>
|
|
155
160
|
* @public
|
|
@@ -1488,6 +1493,68 @@ export interface ListAvailableResourceMetricsResponse {
|
|
|
1488
1493
|
*/
|
|
1489
1494
|
NextToken?: string | undefined;
|
|
1490
1495
|
}
|
|
1496
|
+
/**
|
|
1497
|
+
* @public
|
|
1498
|
+
*/
|
|
1499
|
+
export interface ListPerformanceAnalysisReportRecommendationsRequest {
|
|
1500
|
+
/**
|
|
1501
|
+
* <p>The Amazon Web Services service for which Performance Insights returns metrics. Valid value is
|
|
1502
|
+
* <code>RDS</code>.</p>
|
|
1503
|
+
* @public
|
|
1504
|
+
*/
|
|
1505
|
+
ServiceType: ServiceType | undefined;
|
|
1506
|
+
/**
|
|
1507
|
+
* <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
|
|
1508
|
+
* console, the identifier is shown as <i>ResourceID</i>. When you call <code>DescribeDBInstances</code>, the identifier is
|
|
1509
|
+
* returned as <code>DbiResourceId</code>.</p>
|
|
1510
|
+
* <p>To use a DB instance as a data source, specify its <code>DbiResourceId</code> value. For example, specify
|
|
1511
|
+
* <code>db-ABCDEFGHIJKLMNOPQRSTU1VW2X</code>.</p>
|
|
1512
|
+
* @public
|
|
1513
|
+
*/
|
|
1514
|
+
Identifier: string | undefined;
|
|
1515
|
+
/**
|
|
1516
|
+
* <p>A unique identifier of the created analysis report. For example,
|
|
1517
|
+
* <code>report-12345678901234567</code>
|
|
1518
|
+
* </p>
|
|
1519
|
+
* @public
|
|
1520
|
+
*/
|
|
1521
|
+
AnalysisReportId: string | undefined;
|
|
1522
|
+
/**
|
|
1523
|
+
* <p>A list of recommendation identifiers to filter the results.</p>
|
|
1524
|
+
* @public
|
|
1525
|
+
*/
|
|
1526
|
+
RecommendationIds?: string[] | undefined;
|
|
1527
|
+
/**
|
|
1528
|
+
* <p>The maximum number of items to return in the response. If more items exist than the specified <code>MaxResults</code> value, a
|
|
1529
|
+
* pagination token is included in the response so that the remaining results can be retrieved. </p>
|
|
1530
|
+
* @public
|
|
1531
|
+
*/
|
|
1532
|
+
MaxResults?: number | undefined;
|
|
1533
|
+
/**
|
|
1534
|
+
* <p>An optional pagination token provided by a previous request.
|
|
1535
|
+
* If this parameter is specified, the response includes only records beyond
|
|
1536
|
+
* the token, up to the value specified by <code>MaxResults</code>.</p>
|
|
1537
|
+
* @public
|
|
1538
|
+
*/
|
|
1539
|
+
NextToken?: string | undefined;
|
|
1540
|
+
}
|
|
1541
|
+
/**
|
|
1542
|
+
* @public
|
|
1543
|
+
*/
|
|
1544
|
+
export interface ListPerformanceAnalysisReportRecommendationsResponse {
|
|
1545
|
+
/**
|
|
1546
|
+
* <p>The list of recommendations for the analysis report.</p>
|
|
1547
|
+
* @public
|
|
1548
|
+
*/
|
|
1549
|
+
Recommendations?: Recommendation[] | undefined;
|
|
1550
|
+
/**
|
|
1551
|
+
* <p>An optional pagination token provided by a previous request.
|
|
1552
|
+
* If this parameter is specified, the response includes only records beyond the token,
|
|
1553
|
+
* up to the value specified by <code>MaxResults</code>.</p>
|
|
1554
|
+
* @public
|
|
1555
|
+
*/
|
|
1556
|
+
NextToken?: string | undefined;
|
|
1557
|
+
}
|
|
1491
1558
|
/**
|
|
1492
1559
|
* @public
|
|
1493
1560
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListPerformanceAnalysisReportRecommendationsCommandInput, ListPerformanceAnalysisReportRecommendationsCommandOutput } from "../commands/ListPerformanceAnalysisReportRecommendationsCommand";
|
|
3
|
+
import type { PIPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListPerformanceAnalysisReportRecommendations: (config: PIPaginationConfiguration, input: ListPerformanceAnalysisReportRecommendationsCommandInput, ...rest: any[]) => Paginator<ListPerformanceAnalysisReportRecommendationsCommandOutput>;
|
|
@@ -3,4 +3,5 @@ export * from "./DescribeDimensionKeysPaginator";
|
|
|
3
3
|
export * from "./GetResourceMetricsPaginator";
|
|
4
4
|
export * from "./ListAvailableResourceDimensionsPaginator";
|
|
5
5
|
export * from "./ListAvailableResourceMetricsPaginator";
|
|
6
|
+
export * from "./ListPerformanceAnalysisReportRecommendationsPaginator";
|
|
6
7
|
export * from "./ListPerformanceAnalysisReportsPaginator";
|
|
@@ -39,6 +39,8 @@ export declare var ListAvailableResourceDimensionsRequest$: StaticStructureSchem
|
|
|
39
39
|
export declare var ListAvailableResourceDimensionsResponse$: StaticStructureSchema;
|
|
40
40
|
export declare var ListAvailableResourceMetricsRequest$: StaticStructureSchema;
|
|
41
41
|
export declare var ListAvailableResourceMetricsResponse$: StaticStructureSchema;
|
|
42
|
+
export declare var ListPerformanceAnalysisReportRecommendationsRequest$: StaticStructureSchema;
|
|
43
|
+
export declare var ListPerformanceAnalysisReportRecommendationsResponse$: StaticStructureSchema;
|
|
42
44
|
export declare var ListPerformanceAnalysisReportsRequest$: StaticStructureSchema;
|
|
43
45
|
export declare var ListPerformanceAnalysisReportsResponse$: StaticStructureSchema;
|
|
44
46
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
@@ -65,6 +67,7 @@ export declare var GetResourceMetadata$: StaticOperationSchema;
|
|
|
65
67
|
export declare var GetResourceMetrics$: StaticOperationSchema;
|
|
66
68
|
export declare var ListAvailableResourceDimensions$: StaticOperationSchema;
|
|
67
69
|
export declare var ListAvailableResourceMetrics$: StaticOperationSchema;
|
|
70
|
+
export declare var ListPerformanceAnalysisReportRecommendations$: StaticOperationSchema;
|
|
68
71
|
export declare var ListPerformanceAnalysisReports$: StaticOperationSchema;
|
|
69
72
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
70
73
|
export declare var TagResource$: StaticOperationSchema;
|
package/dist-types/ts3.4/PI.d.ts
CHANGED
|
@@ -39,6 +39,10 @@ import {
|
|
|
39
39
|
ListAvailableResourceMetricsCommandInput,
|
|
40
40
|
ListAvailableResourceMetricsCommandOutput,
|
|
41
41
|
} from "./commands/ListAvailableResourceMetricsCommand";
|
|
42
|
+
import {
|
|
43
|
+
ListPerformanceAnalysisReportRecommendationsCommandInput,
|
|
44
|
+
ListPerformanceAnalysisReportRecommendationsCommandOutput,
|
|
45
|
+
} from "./commands/ListPerformanceAnalysisReportRecommendationsCommand";
|
|
42
46
|
import {
|
|
43
47
|
ListPerformanceAnalysisReportsCommandInput,
|
|
44
48
|
ListPerformanceAnalysisReportsCommandOutput,
|
|
@@ -174,6 +178,25 @@ export interface PI {
|
|
|
174
178
|
options: __HttpHandlerOptions,
|
|
175
179
|
cb: (err: any, data?: ListAvailableResourceMetricsCommandOutput) => void
|
|
176
180
|
): void;
|
|
181
|
+
listPerformanceAnalysisReportRecommendations(
|
|
182
|
+
args: ListPerformanceAnalysisReportRecommendationsCommandInput,
|
|
183
|
+
options?: __HttpHandlerOptions
|
|
184
|
+
): Promise<ListPerformanceAnalysisReportRecommendationsCommandOutput>;
|
|
185
|
+
listPerformanceAnalysisReportRecommendations(
|
|
186
|
+
args: ListPerformanceAnalysisReportRecommendationsCommandInput,
|
|
187
|
+
cb: (
|
|
188
|
+
err: any,
|
|
189
|
+
data?: ListPerformanceAnalysisReportRecommendationsCommandOutput
|
|
190
|
+
) => void
|
|
191
|
+
): void;
|
|
192
|
+
listPerformanceAnalysisReportRecommendations(
|
|
193
|
+
args: ListPerformanceAnalysisReportRecommendationsCommandInput,
|
|
194
|
+
options: __HttpHandlerOptions,
|
|
195
|
+
cb: (
|
|
196
|
+
err: any,
|
|
197
|
+
data?: ListPerformanceAnalysisReportRecommendationsCommandOutput
|
|
198
|
+
) => void
|
|
199
|
+
): void;
|
|
177
200
|
listPerformanceAnalysisReports(
|
|
178
201
|
args: ListPerformanceAnalysisReportsCommandInput,
|
|
179
202
|
options?: __HttpHandlerOptions
|
|
@@ -254,6 +277,13 @@ export interface PI {
|
|
|
254
277
|
Exclude<keyof PaginationConfiguration, "client">
|
|
255
278
|
>
|
|
256
279
|
): Paginator<ListAvailableResourceMetricsCommandOutput>;
|
|
280
|
+
paginateListPerformanceAnalysisReportRecommendations(
|
|
281
|
+
args: ListPerformanceAnalysisReportRecommendationsCommandInput,
|
|
282
|
+
paginationConfig?: Pick<
|
|
283
|
+
PaginationConfiguration,
|
|
284
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
285
|
+
>
|
|
286
|
+
): Paginator<ListPerformanceAnalysisReportRecommendationsCommandOutput>;
|
|
257
287
|
paginateListPerformanceAnalysisReports(
|
|
258
288
|
args: ListPerformanceAnalysisReportsCommandInput,
|
|
259
289
|
paginationConfig?: Pick<
|
|
@@ -72,6 +72,10 @@ import {
|
|
|
72
72
|
ListAvailableResourceMetricsCommandInput,
|
|
73
73
|
ListAvailableResourceMetricsCommandOutput,
|
|
74
74
|
} from "./commands/ListAvailableResourceMetricsCommand";
|
|
75
|
+
import {
|
|
76
|
+
ListPerformanceAnalysisReportRecommendationsCommandInput,
|
|
77
|
+
ListPerformanceAnalysisReportRecommendationsCommandOutput,
|
|
78
|
+
} from "./commands/ListPerformanceAnalysisReportRecommendationsCommand";
|
|
75
79
|
import {
|
|
76
80
|
ListPerformanceAnalysisReportsCommandInput,
|
|
77
81
|
ListPerformanceAnalysisReportsCommandOutput,
|
|
@@ -105,6 +109,7 @@ export type ServiceInputTypes =
|
|
|
105
109
|
| GetResourceMetricsCommandInput
|
|
106
110
|
| ListAvailableResourceDimensionsCommandInput
|
|
107
111
|
| ListAvailableResourceMetricsCommandInput
|
|
112
|
+
| ListPerformanceAnalysisReportRecommendationsCommandInput
|
|
108
113
|
| ListPerformanceAnalysisReportsCommandInput
|
|
109
114
|
| ListTagsForResourceCommandInput
|
|
110
115
|
| TagResourceCommandInput
|
|
@@ -119,6 +124,7 @@ export type ServiceOutputTypes =
|
|
|
119
124
|
| GetResourceMetricsCommandOutput
|
|
120
125
|
| ListAvailableResourceDimensionsCommandOutput
|
|
121
126
|
| ListAvailableResourceMetricsCommandOutput
|
|
127
|
+
| ListPerformanceAnalysisReportRecommendationsCommandOutput
|
|
122
128
|
| ListPerformanceAnalysisReportsCommandOutput
|
|
123
129
|
| ListTagsForResourceCommandOutput
|
|
124
130
|
| TagResourceCommandOutput
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListPerformanceAnalysisReportRecommendationsRequest,
|
|
5
|
+
ListPerformanceAnalysisReportRecommendationsResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
PIClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../PIClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListPerformanceAnalysisReportRecommendationsCommandInput
|
|
15
|
+
extends ListPerformanceAnalysisReportRecommendationsRequest {}
|
|
16
|
+
export interface ListPerformanceAnalysisReportRecommendationsCommandOutput
|
|
17
|
+
extends ListPerformanceAnalysisReportRecommendationsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListPerformanceAnalysisReportRecommendationsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListPerformanceAnalysisReportRecommendationsCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
ListPerformanceAnalysisReportRecommendationsCommandInput,
|
|
24
|
+
ListPerformanceAnalysisReportRecommendationsCommandOutput,
|
|
25
|
+
PIClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: ListPerformanceAnalysisReportRecommendationsCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
ListPerformanceAnalysisReportRecommendationsCommandInput,
|
|
33
|
+
ListPerformanceAnalysisReportRecommendationsCommandOutput,
|
|
34
|
+
PIClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class ListPerformanceAnalysisReportRecommendationsCommand extends ListPerformanceAnalysisReportRecommendationsCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: ListPerformanceAnalysisReportRecommendationsRequest;
|
|
46
|
+
output: ListPerformanceAnalysisReportRecommendationsResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: ListPerformanceAnalysisReportRecommendationsCommandInput;
|
|
50
|
+
output: ListPerformanceAnalysisReportRecommendationsCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -7,6 +7,7 @@ export * from "./GetResourceMetadataCommand";
|
|
|
7
7
|
export * from "./GetResourceMetricsCommand";
|
|
8
8
|
export * from "./ListAvailableResourceDimensionsCommand";
|
|
9
9
|
export * from "./ListAvailableResourceMetricsCommand";
|
|
10
|
+
export * from "./ListPerformanceAnalysisReportRecommendationsCommand";
|
|
10
11
|
export * from "./ListPerformanceAnalysisReportsCommand";
|
|
11
12
|
export * from "./ListTagsForResourceCommand";
|
|
12
13
|
export * from "./TagResourceCommand";
|
|
@@ -23,6 +23,7 @@ export interface Data {
|
|
|
23
23
|
export interface Recommendation {
|
|
24
24
|
RecommendationId?: string | undefined;
|
|
25
25
|
RecommendationDescription?: string | undefined;
|
|
26
|
+
RecommendationDetails?: string | undefined;
|
|
26
27
|
}
|
|
27
28
|
export interface Tag {
|
|
28
29
|
Key: string | undefined;
|
|
@@ -40,7 +41,7 @@ export interface CreatePerformanceAnalysisReportRequest {
|
|
|
40
41
|
ServiceType: ServiceType | undefined;
|
|
41
42
|
Identifier: string | undefined;
|
|
42
43
|
StartTime: Date | undefined;
|
|
43
|
-
EndTime
|
|
44
|
+
EndTime?: Date | undefined;
|
|
44
45
|
Tags?: Tag[] | undefined;
|
|
45
46
|
}
|
|
46
47
|
export interface CreatePerformanceAnalysisReportResponse {
|
|
@@ -194,6 +195,18 @@ export interface ListAvailableResourceMetricsResponse {
|
|
|
194
195
|
Metrics?: ResponseResourceMetric[] | undefined;
|
|
195
196
|
NextToken?: string | undefined;
|
|
196
197
|
}
|
|
198
|
+
export interface ListPerformanceAnalysisReportRecommendationsRequest {
|
|
199
|
+
ServiceType: ServiceType | undefined;
|
|
200
|
+
Identifier: string | undefined;
|
|
201
|
+
AnalysisReportId: string | undefined;
|
|
202
|
+
RecommendationIds?: string[] | undefined;
|
|
203
|
+
MaxResults?: number | undefined;
|
|
204
|
+
NextToken?: string | undefined;
|
|
205
|
+
}
|
|
206
|
+
export interface ListPerformanceAnalysisReportRecommendationsResponse {
|
|
207
|
+
Recommendations?: Recommendation[] | undefined;
|
|
208
|
+
NextToken?: string | undefined;
|
|
209
|
+
}
|
|
197
210
|
export interface ListPerformanceAnalysisReportsRequest {
|
|
198
211
|
ServiceType: ServiceType | undefined;
|
|
199
212
|
Identifier: string | undefined;
|
package/dist-types/ts3.4/pagination/ListPerformanceAnalysisReportRecommendationsPaginator.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListPerformanceAnalysisReportRecommendationsCommandInput,
|
|
4
|
+
ListPerformanceAnalysisReportRecommendationsCommandOutput,
|
|
5
|
+
} from "../commands/ListPerformanceAnalysisReportRecommendationsCommand";
|
|
6
|
+
import { PIPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListPerformanceAnalysisReportRecommendations: (
|
|
8
|
+
config: PIPaginationConfiguration,
|
|
9
|
+
input: ListPerformanceAnalysisReportRecommendationsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListPerformanceAnalysisReportRecommendationsCommandOutput>;
|
|
@@ -3,4 +3,5 @@ export * from "./DescribeDimensionKeysPaginator";
|
|
|
3
3
|
export * from "./GetResourceMetricsPaginator";
|
|
4
4
|
export * from "./ListAvailableResourceDimensionsPaginator";
|
|
5
5
|
export * from "./ListAvailableResourceMetricsPaginator";
|
|
6
|
+
export * from "./ListPerformanceAnalysisReportRecommendationsPaginator";
|
|
6
7
|
export * from "./ListPerformanceAnalysisReportsPaginator";
|
|
@@ -38,6 +38,8 @@ export declare var ListAvailableResourceDimensionsRequest$: StaticStructureSchem
|
|
|
38
38
|
export declare var ListAvailableResourceDimensionsResponse$: StaticStructureSchema;
|
|
39
39
|
export declare var ListAvailableResourceMetricsRequest$: StaticStructureSchema;
|
|
40
40
|
export declare var ListAvailableResourceMetricsResponse$: StaticStructureSchema;
|
|
41
|
+
export declare var ListPerformanceAnalysisReportRecommendationsRequest$: StaticStructureSchema;
|
|
42
|
+
export declare var ListPerformanceAnalysisReportRecommendationsResponse$: StaticStructureSchema;
|
|
41
43
|
export declare var ListPerformanceAnalysisReportsRequest$: StaticStructureSchema;
|
|
42
44
|
export declare var ListPerformanceAnalysisReportsResponse$: StaticStructureSchema;
|
|
43
45
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
@@ -64,6 +66,7 @@ export declare var GetResourceMetadata$: StaticOperationSchema;
|
|
|
64
66
|
export declare var GetResourceMetrics$: StaticOperationSchema;
|
|
65
67
|
export declare var ListAvailableResourceDimensions$: StaticOperationSchema;
|
|
66
68
|
export declare var ListAvailableResourceMetrics$: StaticOperationSchema;
|
|
69
|
+
export declare var ListPerformanceAnalysisReportRecommendations$: StaticOperationSchema;
|
|
67
70
|
export declare var ListPerformanceAnalysisReports$: StaticOperationSchema;
|
|
68
71
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
69
72
|
export declare var TagResource$: StaticOperationSchema;
|
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.1054.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-pi",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.14",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.45",
|
|
26
26
|
"@aws-sdk/types": "^3.973.9",
|
|
27
27
|
"@smithy/core": "^3.24.3",
|
|
28
28
|
"@smithy/fetch-http-handler": "^5.4.3",
|