@aws-sdk/client-pi 3.388.0 → 3.392.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 +63 -7
- package/dist-cjs/PI.js +14 -0
- package/dist-cjs/commands/CreatePerformanceAnalysisReportCommand.js +46 -0
- package/dist-cjs/commands/DeletePerformanceAnalysisReportCommand.js +46 -0
- package/dist-cjs/commands/GetPerformanceAnalysisReportCommand.js +47 -0
- package/dist-cjs/commands/ListPerformanceAnalysisReportsCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +49 -1
- package/dist-cjs/pagination/ListPerformanceAnalysisReportsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +417 -1
- package/dist-es/PI.js +14 -0
- package/dist-es/commands/CreatePerformanceAnalysisReportCommand.js +42 -0
- package/dist-es/commands/DeletePerformanceAnalysisReportCommand.js +42 -0
- package/dist-es/commands/GetPerformanceAnalysisReportCommand.js +43 -0
- package/dist-es/commands/ListPerformanceAnalysisReportsCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +44 -0
- package/dist-es/pagination/ListPerformanceAnalysisReportsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +402 -0
- package/dist-types/PI.d.ts +49 -0
- package/dist-types/PIClient.d.ts +9 -2
- package/dist-types/commands/CreatePerformanceAnalysisReportCommand.d.ts +92 -0
- package/dist-types/commands/DeletePerformanceAnalysisReportCommand.d.ts +82 -0
- package/dist-types/commands/GetPerformanceAnalysisReportCommand.d.ts +180 -0
- package/dist-types/commands/ListPerformanceAnalysisReportsCommand.d.ts +101 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/TagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +84 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +633 -51
- package/dist-types/pagination/ListPerformanceAnalysisReportsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
- package/dist-types/ts3.4/PI.d.ts +119 -0
- package/dist-types/ts3.4/PIClient.d.ts +44 -2
- package/dist-types/ts3.4/commands/CreatePerformanceAnalysisReportCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeletePerformanceAnalysisReportCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetPerformanceAnalysisReportCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPerformanceAnalysisReportsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +171 -29
- package/dist-types/ts3.4/pagination/ListPerformanceAnalysisReportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
- package/package.json +28 -28
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeletePerformanceAnalysisReportRequest, DeletePerformanceAnalysisReportResponse } from "../models/models_0";
|
|
5
|
+
import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeletePerformanceAnalysisReportCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePerformanceAnalysisReportCommandInput extends DeletePerformanceAnalysisReportRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePerformanceAnalysisReportCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePerformanceAnalysisReportCommandOutput extends DeletePerformanceAnalysisReportResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes a performance analysis report.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { PIClient, DeletePerformanceAnalysisReportCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
31
|
+
* // const { PIClient, DeletePerformanceAnalysisReportCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
32
|
+
* const client = new PIClient(config);
|
|
33
|
+
* const input = { // DeletePerformanceAnalysisReportRequest
|
|
34
|
+
* ServiceType: "RDS" || "DOCDB", // required
|
|
35
|
+
* Identifier: "STRING_VALUE", // required
|
|
36
|
+
* AnalysisReportId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new DeletePerformanceAnalysisReportCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param DeletePerformanceAnalysisReportCommandInput - {@link DeletePerformanceAnalysisReportCommandInput}
|
|
45
|
+
* @returns {@link DeletePerformanceAnalysisReportCommandOutput}
|
|
46
|
+
* @see {@link DeletePerformanceAnalysisReportCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link DeletePerformanceAnalysisReportCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link PIClientResolvedConfig | config} for PIClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
51
|
+
* <p>The request failed due to an unknown error.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InvalidArgumentException} (client fault)
|
|
54
|
+
* <p>One of the arguments provided is invalid for this request.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
57
|
+
* <p>The user is not authorized to perform this request.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link PIServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from PI service.</p>
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export declare class DeletePerformanceAnalysisReportCommand extends $Command<DeletePerformanceAnalysisReportCommandInput, DeletePerformanceAnalysisReportCommandOutput, PIClientResolvedConfig> {
|
|
64
|
+
readonly input: DeletePerformanceAnalysisReportCommandInput;
|
|
65
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
constructor(input: DeletePerformanceAnalysisReportCommandInput);
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePerformanceAnalysisReportCommandInput, DeletePerformanceAnalysisReportCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private deserialize;
|
|
82
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { GetPerformanceAnalysisReportRequest, GetPerformanceAnalysisReportResponse } from "../models/models_0";
|
|
5
|
+
import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetPerformanceAnalysisReportCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetPerformanceAnalysisReportCommandInput extends GetPerformanceAnalysisReportRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetPerformanceAnalysisReportCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPerformanceAnalysisReportCommandOutput extends GetPerformanceAnalysisReportResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves the report including the report ID, status, time details, and the insights
|
|
27
|
+
* with recommendations. The report status can be <code>RUNNING</code>,
|
|
28
|
+
* <code>SUCCEEDED</code>, or <code>FAILED</code>. The insights include the
|
|
29
|
+
* <code>description</code> and <code>recommendation</code> fields. </p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { PIClient, GetPerformanceAnalysisReportCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
34
|
+
* // const { PIClient, GetPerformanceAnalysisReportCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
35
|
+
* const client = new PIClient(config);
|
|
36
|
+
* const input = { // GetPerformanceAnalysisReportRequest
|
|
37
|
+
* ServiceType: "RDS" || "DOCDB", // required
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* AnalysisReportId: "STRING_VALUE", // required
|
|
40
|
+
* TextFormat: "PLAIN_TEXT" || "MARKDOWN",
|
|
41
|
+
* AcceptLanguage: "EN_US",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetPerformanceAnalysisReportCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetPerformanceAnalysisReportResponse
|
|
46
|
+
* // AnalysisReport: { // AnalysisReport
|
|
47
|
+
* // AnalysisReportId: "STRING_VALUE", // required
|
|
48
|
+
* // Identifier: "STRING_VALUE",
|
|
49
|
+
* // ServiceType: "RDS" || "DOCDB",
|
|
50
|
+
* // CreateTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // Status: "RUNNING" || "SUCCEEDED" || "FAILED",
|
|
54
|
+
* // Insights: [ // InsightList
|
|
55
|
+
* // { // Insight
|
|
56
|
+
* // InsightId: "STRING_VALUE", // required
|
|
57
|
+
* // InsightType: "STRING_VALUE",
|
|
58
|
+
* // Context: "CAUSAL" || "CONTEXTUAL",
|
|
59
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
60
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
61
|
+
* // Severity: "LOW" || "MEDIUM" || "HIGH",
|
|
62
|
+
* // SupportingInsights: [
|
|
63
|
+
* // {
|
|
64
|
+
* // InsightId: "STRING_VALUE", // required
|
|
65
|
+
* // InsightType: "STRING_VALUE",
|
|
66
|
+
* // Context: "CAUSAL" || "CONTEXTUAL",
|
|
67
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
68
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
69
|
+
* // Severity: "LOW" || "MEDIUM" || "HIGH",
|
|
70
|
+
* // SupportingInsights: "<InsightList>",
|
|
71
|
+
* // Description: "STRING_VALUE",
|
|
72
|
+
* // Recommendations: [ // RecommendationList
|
|
73
|
+
* // { // Recommendation
|
|
74
|
+
* // RecommendationId: "STRING_VALUE",
|
|
75
|
+
* // RecommendationDescription: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // InsightData: [ // DataList
|
|
79
|
+
* // { // Data
|
|
80
|
+
* // PerformanceInsightsMetric: { // PerformanceInsightsMetric
|
|
81
|
+
* // Metric: "STRING_VALUE",
|
|
82
|
+
* // DisplayName: "STRING_VALUE",
|
|
83
|
+
* // Dimensions: { // DescriptiveMap
|
|
84
|
+
* // "<keys>": "STRING_VALUE",
|
|
85
|
+
* // },
|
|
86
|
+
* // Value: Number("double"),
|
|
87
|
+
* // },
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // BaselineData: [
|
|
91
|
+
* // {
|
|
92
|
+
* // PerformanceInsightsMetric: {
|
|
93
|
+
* // Metric: "STRING_VALUE",
|
|
94
|
+
* // DisplayName: "STRING_VALUE",
|
|
95
|
+
* // Dimensions: {
|
|
96
|
+
* // "<keys>": "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // Value: Number("double"),
|
|
99
|
+
* // },
|
|
100
|
+
* // },
|
|
101
|
+
* // ],
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // Description: "STRING_VALUE",
|
|
105
|
+
* // Recommendations: [
|
|
106
|
+
* // {
|
|
107
|
+
* // RecommendationId: "STRING_VALUE",
|
|
108
|
+
* // RecommendationDescription: "STRING_VALUE",
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
111
|
+
* // InsightData: [
|
|
112
|
+
* // {
|
|
113
|
+
* // PerformanceInsightsMetric: {
|
|
114
|
+
* // Metric: "STRING_VALUE",
|
|
115
|
+
* // DisplayName: "STRING_VALUE",
|
|
116
|
+
* // Dimensions: {
|
|
117
|
+
* // "<keys>": "STRING_VALUE",
|
|
118
|
+
* // },
|
|
119
|
+
* // Value: Number("double"),
|
|
120
|
+
* // },
|
|
121
|
+
* // },
|
|
122
|
+
* // ],
|
|
123
|
+
* // BaselineData: [
|
|
124
|
+
* // {
|
|
125
|
+
* // PerformanceInsightsMetric: {
|
|
126
|
+
* // Metric: "STRING_VALUE",
|
|
127
|
+
* // DisplayName: "STRING_VALUE",
|
|
128
|
+
* // Dimensions: {
|
|
129
|
+
* // "<keys>": "STRING_VALUE",
|
|
130
|
+
* // },
|
|
131
|
+
* // Value: Number("double"),
|
|
132
|
+
* // },
|
|
133
|
+
* // },
|
|
134
|
+
* // ],
|
|
135
|
+
* // },
|
|
136
|
+
* // ],
|
|
137
|
+
* // },
|
|
138
|
+
* // };
|
|
139
|
+
*
|
|
140
|
+
* ```
|
|
141
|
+
*
|
|
142
|
+
* @param GetPerformanceAnalysisReportCommandInput - {@link GetPerformanceAnalysisReportCommandInput}
|
|
143
|
+
* @returns {@link GetPerformanceAnalysisReportCommandOutput}
|
|
144
|
+
* @see {@link GetPerformanceAnalysisReportCommandInput} for command's `input` shape.
|
|
145
|
+
* @see {@link GetPerformanceAnalysisReportCommandOutput} for command's `response` shape.
|
|
146
|
+
* @see {@link PIClientResolvedConfig | config} for PIClient's `config` shape.
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
149
|
+
* <p>The request failed due to an unknown error.</p>
|
|
150
|
+
*
|
|
151
|
+
* @throws {@link InvalidArgumentException} (client fault)
|
|
152
|
+
* <p>One of the arguments provided is invalid for this request.</p>
|
|
153
|
+
*
|
|
154
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
155
|
+
* <p>The user is not authorized to perform this request.</p>
|
|
156
|
+
*
|
|
157
|
+
* @throws {@link PIServiceException}
|
|
158
|
+
* <p>Base exception class for all service exceptions from PI service.</p>
|
|
159
|
+
*
|
|
160
|
+
*/
|
|
161
|
+
export declare class GetPerformanceAnalysisReportCommand extends $Command<GetPerformanceAnalysisReportCommandInput, GetPerformanceAnalysisReportCommandOutput, PIClientResolvedConfig> {
|
|
162
|
+
readonly input: GetPerformanceAnalysisReportCommandInput;
|
|
163
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
constructor(input: GetPerformanceAnalysisReportCommandInput);
|
|
168
|
+
/**
|
|
169
|
+
* @internal
|
|
170
|
+
*/
|
|
171
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPerformanceAnalysisReportCommandInput, GetPerformanceAnalysisReportCommandOutput>;
|
|
172
|
+
/**
|
|
173
|
+
* @internal
|
|
174
|
+
*/
|
|
175
|
+
private serialize;
|
|
176
|
+
/**
|
|
177
|
+
* @internal
|
|
178
|
+
*/
|
|
179
|
+
private deserialize;
|
|
180
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ListPerformanceAnalysisReportsRequest, ListPerformanceAnalysisReportsResponse } from "../models/models_0";
|
|
5
|
+
import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListPerformanceAnalysisReportsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPerformanceAnalysisReportsCommandInput extends ListPerformanceAnalysisReportsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPerformanceAnalysisReportsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPerformanceAnalysisReportsCommandOutput extends ListPerformanceAnalysisReportsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists all the analysis reports created for the DB instance. The reports are sorted based on the start time of each report.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { PIClient, ListPerformanceAnalysisReportsCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
31
|
+
* // const { PIClient, ListPerformanceAnalysisReportsCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
32
|
+
* const client = new PIClient(config);
|
|
33
|
+
* const input = { // ListPerformanceAnalysisReportsRequest
|
|
34
|
+
* ServiceType: "RDS" || "DOCDB", // required
|
|
35
|
+
* Identifier: "STRING_VALUE", // required
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* ListTags: true || false,
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListPerformanceAnalysisReportsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListPerformanceAnalysisReportsResponse
|
|
43
|
+
* // AnalysisReports: [ // AnalysisReportSummaryList
|
|
44
|
+
* // { // AnalysisReportSummary
|
|
45
|
+
* // AnalysisReportId: "STRING_VALUE",
|
|
46
|
+
* // CreateTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // Status: "RUNNING" || "SUCCEEDED" || "FAILED",
|
|
50
|
+
* // Tags: [ // TagList
|
|
51
|
+
* // { // Tag
|
|
52
|
+
* // Key: "STRING_VALUE", // required
|
|
53
|
+
* // Value: "STRING_VALUE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // NextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListPerformanceAnalysisReportsCommandInput - {@link ListPerformanceAnalysisReportsCommandInput}
|
|
64
|
+
* @returns {@link ListPerformanceAnalysisReportsCommandOutput}
|
|
65
|
+
* @see {@link ListPerformanceAnalysisReportsCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListPerformanceAnalysisReportsCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link PIClientResolvedConfig | config} for PIClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
70
|
+
* <p>The request failed due to an unknown error.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InvalidArgumentException} (client fault)
|
|
73
|
+
* <p>One of the arguments provided is invalid for this request.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
76
|
+
* <p>The user is not authorized to perform this request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link PIServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from PI service.</p>
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare class ListPerformanceAnalysisReportsCommand extends $Command<ListPerformanceAnalysisReportsCommandInput, ListPerformanceAnalysisReportsCommandOutput, PIClientResolvedConfig> {
|
|
83
|
+
readonly input: ListPerformanceAnalysisReportsCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: ListPerformanceAnalysisReportsCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPerformanceAnalysisReportsCommandInput, ListPerformanceAnalysisReportsCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
|
+
import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves all the metadata tags associated with Amazon RDS Performance Insights resource.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { PIClient, ListTagsForResourceCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
31
|
+
* // const { PIClient, ListTagsForResourceCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
32
|
+
* const client = new PIClient(config);
|
|
33
|
+
* const input = { // ListTagsForResourceRequest
|
|
34
|
+
* ServiceType: "RDS" || "DOCDB", // required
|
|
35
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListTagsForResourceResponse
|
|
40
|
+
* // Tags: [ // TagList
|
|
41
|
+
* // { // Tag
|
|
42
|
+
* // Key: "STRING_VALUE", // required
|
|
43
|
+
* // Value: "STRING_VALUE", // required
|
|
44
|
+
* // },
|
|
45
|
+
* // ],
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
51
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
52
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link PIClientResolvedConfig | config} for PIClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
57
|
+
* <p>The request failed due to an unknown error.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InvalidArgumentException} (client fault)
|
|
60
|
+
* <p>One of the arguments provided is invalid for this request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
63
|
+
* <p>The user is not authorized to perform this request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link PIServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from PI service.</p>
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, PIClientResolvedConfig> {
|
|
70
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
71
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private serialize;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private deserialize;
|
|
88
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
|
+
import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Adds metadata tags to the Amazon RDS Performance Insights resource.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { PIClient, TagResourceCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
31
|
+
* // const { PIClient, TagResourceCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
32
|
+
* const client = new PIClient(config);
|
|
33
|
+
* const input = { // TagResourceRequest
|
|
34
|
+
* ServiceType: "RDS" || "DOCDB", // required
|
|
35
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
36
|
+
* Tags: [ // TagList // required
|
|
37
|
+
* { // Tag
|
|
38
|
+
* Key: "STRING_VALUE", // required
|
|
39
|
+
* Value: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
43
|
+
* const command = new TagResourceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
50
|
+
* @returns {@link TagResourceCommandOutput}
|
|
51
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link PIClientResolvedConfig | config} for PIClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
56
|
+
* <p>The request failed due to an unknown error.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InvalidArgumentException} (client fault)
|
|
59
|
+
* <p>One of the arguments provided is invalid for this request.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
62
|
+
* <p>The user is not authorized to perform this request.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link PIServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from PI service.</p>
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, PIClientResolvedConfig> {
|
|
69
|
+
readonly input: TagResourceCommandInput;
|
|
70
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
constructor(input: TagResourceCommandInput);
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private deserialize;
|
|
87
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
|
+
import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the metadata tags from the Amazon RDS Performance Insights resource.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { PIClient, UntagResourceCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
31
|
+
* // const { PIClient, UntagResourceCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
32
|
+
* const client = new PIClient(config);
|
|
33
|
+
* const input = { // UntagResourceRequest
|
|
34
|
+
* ServiceType: "RDS" || "DOCDB", // required
|
|
35
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
36
|
+
* TagKeys: [ // TagKeyList // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
40
|
+
* const command = new UntagResourceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
47
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
48
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link PIClientResolvedConfig | config} for PIClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
53
|
+
* <p>The request failed due to an unknown error.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InvalidArgumentException} (client fault)
|
|
56
|
+
* <p>One of the arguments provided is invalid for this request.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
59
|
+
* <p>The user is not authorized to perform this request.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link PIServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from PI service.</p>
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, PIClientResolvedConfig> {
|
|
66
|
+
readonly input: UntagResourceCommandInput;
|
|
67
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
constructor(input: UntagResourceCommandInput);
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private serialize;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private deserialize;
|
|
84
|
+
}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
export * from "./CreatePerformanceAnalysisReportCommand";
|
|
2
|
+
export * from "./DeletePerformanceAnalysisReportCommand";
|
|
1
3
|
export * from "./DescribeDimensionKeysCommand";
|
|
2
4
|
export * from "./GetDimensionKeyDetailsCommand";
|
|
5
|
+
export * from "./GetPerformanceAnalysisReportCommand";
|
|
3
6
|
export * from "./GetResourceMetadataCommand";
|
|
4
7
|
export * from "./GetResourceMetricsCommand";
|
|
5
8
|
export * from "./ListAvailableResourceDimensionsCommand";
|
|
6
9
|
export * from "./ListAvailableResourceMetricsCommand";
|
|
10
|
+
export * from "./ListPerformanceAnalysisReportsCommand";
|
|
11
|
+
export * from "./ListTagsForResourceCommand";
|
|
12
|
+
export * from "./TagResourceCommand";
|
|
13
|
+
export * from "./UntagResourceCommand";
|