@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
|
@@ -1,5 +1,267 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { PIServiceException as __BaseException } from "./PIServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @enum
|
|
6
|
+
*/
|
|
7
|
+
export declare const AcceptLanguage: {
|
|
8
|
+
readonly EN_US: "EN_US";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type AcceptLanguage = (typeof AcceptLanguage)[keyof typeof AcceptLanguage];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* <p>This data type helps to determine Performance Insights metric to render for the insight.</p>
|
|
17
|
+
*/
|
|
18
|
+
export interface PerformanceInsightsMetric {
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
* <p>The Performance Insights metric.</p>
|
|
22
|
+
*/
|
|
23
|
+
Metric?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>The Performance Insights metric name.</p>
|
|
27
|
+
*/
|
|
28
|
+
DisplayName?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
* <p>A dimension map that contains the dimensions for this partition.</p>
|
|
32
|
+
*/
|
|
33
|
+
Dimensions?: Record<string, string>;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
* <p>The value of the metric. For example, <code>9</code> for <code>db.load.avg</code>.</p>
|
|
37
|
+
*/
|
|
38
|
+
Value?: number;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
* <p>List of data objects which provide details about source metrics.
|
|
43
|
+
* This field can be used to determine the PI metric to render
|
|
44
|
+
* for the insight. This data type also includes static values
|
|
45
|
+
* for the metrics for the Insight that were calculated and included
|
|
46
|
+
* in text and annotations on the DB load chart.</p>
|
|
47
|
+
*/
|
|
48
|
+
export interface Data {
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
* <p>This field determines the Performance Insights metric to render
|
|
52
|
+
* for the insight. The <code>name</code> field refers to a Performance Insights metric.
|
|
53
|
+
* </p>
|
|
54
|
+
*/
|
|
55
|
+
PerformanceInsightsMetric?: PerformanceInsightsMetric;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
* @enum
|
|
60
|
+
*/
|
|
61
|
+
export declare const ContextType: {
|
|
62
|
+
readonly CAUSAL: "CAUSAL";
|
|
63
|
+
readonly CONTEXTUAL: "CONTEXTUAL";
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export type ContextType = (typeof ContextType)[keyof typeof ContextType];
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
* <p>The list of recommendations for the insight.</p>
|
|
72
|
+
*/
|
|
73
|
+
export interface Recommendation {
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
* <p>The unique identifier for the recommendation.</p>
|
|
77
|
+
*/
|
|
78
|
+
RecommendationId?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
* <p>The recommendation details to help resolve the performance issue. For example,
|
|
82
|
+
* <code>Investigate the following SQLs that contributed to 100% of the total DBLoad during that time period: sql-id</code>
|
|
83
|
+
* </p>
|
|
84
|
+
*/
|
|
85
|
+
RecommendationDescription?: string;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
* @enum
|
|
90
|
+
*/
|
|
91
|
+
export declare const Severity: {
|
|
92
|
+
readonly HIGH: "HIGH";
|
|
93
|
+
readonly LOW: "LOW";
|
|
94
|
+
readonly MEDIUM: "MEDIUM";
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export type Severity = (typeof Severity)[keyof typeof Severity];
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
* @enum
|
|
103
|
+
*/
|
|
104
|
+
export declare const ServiceType: {
|
|
105
|
+
readonly DOCDB: "DOCDB";
|
|
106
|
+
readonly RDS: "RDS";
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
* @enum
|
|
115
|
+
*/
|
|
116
|
+
export declare const AnalysisStatus: {
|
|
117
|
+
readonly FAILED: "FAILED";
|
|
118
|
+
readonly RUNNING: "RUNNING";
|
|
119
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export type AnalysisStatus = (typeof AnalysisStatus)[keyof typeof AnalysisStatus];
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
* <p>Metadata assigned to an Amazon RDS resource consisting of a key-value pair.</p>
|
|
128
|
+
*/
|
|
129
|
+
export interface Tag {
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
* <p>A key is the required name of the tag. The string value can be from 1 to 128 Unicode
|
|
133
|
+
* characters in length and can't be prefixed with <code>aws:</code> or <code>rds:</code>.
|
|
134
|
+
* The string can only contain only the set of Unicode letters, digits,
|
|
135
|
+
* white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: <code>"^([\\p\{L\}\\p\{Z\}\\p\{N\}_.:/=+\\-@]*)$"</code>).</p>
|
|
136
|
+
*/
|
|
137
|
+
Key: string | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* <p>A value is the optional value of the tag. The string value can be from 1 to 256
|
|
141
|
+
* Unicode characters in length and can't be prefixed with <code>aws:</code> or <code>rds:</code>.
|
|
142
|
+
* The string can only contain only the set of Unicode letters, digits,
|
|
143
|
+
* white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p\{L\}\\p\{Z\}\\p\{N\}_.:/=+\\-@]*)$").</p>
|
|
144
|
+
*/
|
|
145
|
+
Value: string | undefined;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
* <p>Retrieves the details of the performance analysis report.</p>
|
|
150
|
+
*/
|
|
151
|
+
export interface AnalysisReportSummary {
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
* <p>The name of the analysis report.</p>
|
|
155
|
+
*/
|
|
156
|
+
AnalysisReportId?: string;
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
* <p>The time you created the analysis report.</p>
|
|
160
|
+
*/
|
|
161
|
+
CreateTime?: Date;
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
* <p>The start time of the analysis in the report.</p>
|
|
165
|
+
*/
|
|
166
|
+
StartTime?: Date;
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
* <p>The end time of the analysis in the report.</p>
|
|
170
|
+
*/
|
|
171
|
+
EndTime?: Date;
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
* <p>The status of the analysis report.</p>
|
|
175
|
+
*/
|
|
176
|
+
Status?: AnalysisStatus | string;
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
* <p>List of all the tags added to the analysis report.</p>
|
|
180
|
+
*/
|
|
181
|
+
Tags?: Tag[];
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
export interface CreatePerformanceAnalysisReportRequest {
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
* <p>The Amazon Web Services service for which Performance Insights will return metrics. Valid value is <code>RDS</code>.</p>
|
|
190
|
+
*/
|
|
191
|
+
ServiceType: ServiceType | string | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* @public
|
|
194
|
+
* <p>An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from
|
|
195
|
+
* this data source.</p>
|
|
196
|
+
* <p>To use an Amazon RDS instance as a data source, you specify its <code>DbiResourceId</code> value.
|
|
197
|
+
* For example, specify <code>db-ADECBTYHKTSAUMUZQYPDS2GW4A</code>.</p>
|
|
198
|
+
*/
|
|
199
|
+
Identifier: string | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* @public
|
|
202
|
+
* <p>The start time defined for the analysis report.</p>
|
|
203
|
+
*/
|
|
204
|
+
StartTime: Date | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
* <p>The end time defined for the analysis report.</p>
|
|
208
|
+
*/
|
|
209
|
+
EndTime: Date | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* @public
|
|
212
|
+
* <p>The metadata assigned to the analysis report consisting of a key-value pair.</p>
|
|
213
|
+
*/
|
|
214
|
+
Tags?: Tag[];
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export interface CreatePerformanceAnalysisReportResponse {
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
* <p>A unique identifier for the created analysis report.</p>
|
|
223
|
+
*/
|
|
224
|
+
AnalysisReportId?: string;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* @public
|
|
228
|
+
* <p>The request failed due to an unknown error.</p>
|
|
229
|
+
*/
|
|
230
|
+
export declare class InternalServiceError extends __BaseException {
|
|
231
|
+
readonly name: "InternalServiceError";
|
|
232
|
+
readonly $fault: "server";
|
|
233
|
+
Message?: string;
|
|
234
|
+
/**
|
|
235
|
+
* @internal
|
|
236
|
+
*/
|
|
237
|
+
constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
* <p>One of the arguments provided is invalid for this request.</p>
|
|
242
|
+
*/
|
|
243
|
+
export declare class InvalidArgumentException extends __BaseException {
|
|
244
|
+
readonly name: "InvalidArgumentException";
|
|
245
|
+
readonly $fault: "client";
|
|
246
|
+
Message?: string;
|
|
247
|
+
/**
|
|
248
|
+
* @internal
|
|
249
|
+
*/
|
|
250
|
+
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* @public
|
|
254
|
+
* <p>The user is not authorized to perform this request.</p>
|
|
255
|
+
*/
|
|
256
|
+
export declare class NotAuthorizedException extends __BaseException {
|
|
257
|
+
readonly name: "NotAuthorizedException";
|
|
258
|
+
readonly $fault: "client";
|
|
259
|
+
Message?: string;
|
|
260
|
+
/**
|
|
261
|
+
* @internal
|
|
262
|
+
*/
|
|
263
|
+
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
264
|
+
}
|
|
3
265
|
/**
|
|
4
266
|
* @public
|
|
5
267
|
* <p>A timestamp, and a single numerical value, which together represent a measurement at a particular point in time.</p>
|
|
@@ -16,6 +278,35 @@ export interface DataPoint {
|
|
|
16
278
|
*/
|
|
17
279
|
Value: number | undefined;
|
|
18
280
|
}
|
|
281
|
+
/**
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
export interface DeletePerformanceAnalysisReportRequest {
|
|
285
|
+
/**
|
|
286
|
+
* @public
|
|
287
|
+
* <p>The Amazon Web Services service for which Performance Insights will return metrics. Valid value is <code>RDS</code>.</p>
|
|
288
|
+
*/
|
|
289
|
+
ServiceType: ServiceType | string | undefined;
|
|
290
|
+
/**
|
|
291
|
+
* @public
|
|
292
|
+
* <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.
|
|
293
|
+
* In the console, the identifier is shown as <i>ResourceID</i>. When you
|
|
294
|
+
* call <code>DescribeDBInstances</code>, the identifier is returned as <code>DbiResourceId</code>.</p>
|
|
295
|
+
* <p>To use a DB instance as a data source, specify its <code>DbiResourceId</code> value. For example, specify
|
|
296
|
+
* <code>db-ABCDEFGHIJKLMNOPQRSTU1VW2X</code>.</p>
|
|
297
|
+
*/
|
|
298
|
+
Identifier: string | undefined;
|
|
299
|
+
/**
|
|
300
|
+
* @public
|
|
301
|
+
* <p>The unique identifier of the analysis report for deletion.</p>
|
|
302
|
+
*/
|
|
303
|
+
AnalysisReportId: string | undefined;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
export interface DeletePerformanceAnalysisReportResponse {
|
|
309
|
+
}
|
|
19
310
|
/**
|
|
20
311
|
* @public
|
|
21
312
|
* <p>A logical grouping of Performance Insights metrics for a related subject area. For example, the
|
|
@@ -289,18 +580,6 @@ export interface DimensionGroup {
|
|
|
289
580
|
*/
|
|
290
581
|
Limit?: number;
|
|
291
582
|
}
|
|
292
|
-
/**
|
|
293
|
-
* @public
|
|
294
|
-
* @enum
|
|
295
|
-
*/
|
|
296
|
-
export declare const ServiceType: {
|
|
297
|
-
readonly DOCDB: "DOCDB";
|
|
298
|
-
readonly RDS: "RDS";
|
|
299
|
-
};
|
|
300
|
-
/**
|
|
301
|
-
* @public
|
|
302
|
-
*/
|
|
303
|
-
export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
|
|
304
583
|
/**
|
|
305
584
|
* @public
|
|
306
585
|
*/
|
|
@@ -526,45 +805,6 @@ export interface DescribeDimensionKeysResponse {
|
|
|
526
805
|
*/
|
|
527
806
|
NextToken?: string;
|
|
528
807
|
}
|
|
529
|
-
/**
|
|
530
|
-
* @public
|
|
531
|
-
* <p>The request failed due to an unknown error.</p>
|
|
532
|
-
*/
|
|
533
|
-
export declare class InternalServiceError extends __BaseException {
|
|
534
|
-
readonly name: "InternalServiceError";
|
|
535
|
-
readonly $fault: "server";
|
|
536
|
-
Message?: string;
|
|
537
|
-
/**
|
|
538
|
-
* @internal
|
|
539
|
-
*/
|
|
540
|
-
constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
|
|
541
|
-
}
|
|
542
|
-
/**
|
|
543
|
-
* @public
|
|
544
|
-
* <p>One of the arguments provided is invalid for this request.</p>
|
|
545
|
-
*/
|
|
546
|
-
export declare class InvalidArgumentException extends __BaseException {
|
|
547
|
-
readonly name: "InvalidArgumentException";
|
|
548
|
-
readonly $fault: "client";
|
|
549
|
-
Message?: string;
|
|
550
|
-
/**
|
|
551
|
-
* @internal
|
|
552
|
-
*/
|
|
553
|
-
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
554
|
-
}
|
|
555
|
-
/**
|
|
556
|
-
* @public
|
|
557
|
-
* <p>The user is not authorized to perform this request.</p>
|
|
558
|
-
*/
|
|
559
|
-
export declare class NotAuthorizedException extends __BaseException {
|
|
560
|
-
readonly name: "NotAuthorizedException";
|
|
561
|
-
readonly $fault: "client";
|
|
562
|
-
Message?: string;
|
|
563
|
-
/**
|
|
564
|
-
* @internal
|
|
565
|
-
*/
|
|
566
|
-
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
567
|
-
}
|
|
568
808
|
/**
|
|
569
809
|
* @public
|
|
570
810
|
* @enum
|
|
@@ -794,6 +1034,58 @@ export interface GetDimensionKeyDetailsResponse {
|
|
|
794
1034
|
*/
|
|
795
1035
|
Dimensions?: DimensionKeyDetail[];
|
|
796
1036
|
}
|
|
1037
|
+
/**
|
|
1038
|
+
* @public
|
|
1039
|
+
* @enum
|
|
1040
|
+
*/
|
|
1041
|
+
export declare const TextFormat: {
|
|
1042
|
+
readonly MARKDOWN: "MARKDOWN";
|
|
1043
|
+
readonly PLAIN_TEXT: "PLAIN_TEXT";
|
|
1044
|
+
};
|
|
1045
|
+
/**
|
|
1046
|
+
* @public
|
|
1047
|
+
*/
|
|
1048
|
+
export type TextFormat = (typeof TextFormat)[keyof typeof TextFormat];
|
|
1049
|
+
/**
|
|
1050
|
+
* @public
|
|
1051
|
+
*/
|
|
1052
|
+
export interface GetPerformanceAnalysisReportRequest {
|
|
1053
|
+
/**
|
|
1054
|
+
* @public
|
|
1055
|
+
* <p>The Amazon Web Services service for which Performance Insights will return metrics. Valid value is
|
|
1056
|
+
* <code>RDS</code>.</p>
|
|
1057
|
+
*/
|
|
1058
|
+
ServiceType: ServiceType | string | undefined;
|
|
1059
|
+
/**
|
|
1060
|
+
* @public
|
|
1061
|
+
* <p>An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers
|
|
1062
|
+
* metrics from this data source. In the console, the identifier is shown as
|
|
1063
|
+
* <i>ResourceID</i>. When you call <code>DescribeDBInstances</code>, the identifier is
|
|
1064
|
+
* returned as <code>DbiResourceId</code>.</p>
|
|
1065
|
+
* <p>To use a DB instance as a data source, specify its <code>DbiResourceId</code> value. For example, specify
|
|
1066
|
+
* <code>db-ABCDEFGHIJKLMNOPQRSTU1VW2X</code>.</p>
|
|
1067
|
+
*/
|
|
1068
|
+
Identifier: string | undefined;
|
|
1069
|
+
/**
|
|
1070
|
+
* @public
|
|
1071
|
+
* <p>A unique identifier of the created analysis report. For example,
|
|
1072
|
+
* <code>report-12345678901234567</code>
|
|
1073
|
+
* </p>
|
|
1074
|
+
*/
|
|
1075
|
+
AnalysisReportId: string | undefined;
|
|
1076
|
+
/**
|
|
1077
|
+
* @public
|
|
1078
|
+
* <p>Indicates the text format in the report. The options are <code>PLAIN_TEXT</code> or <code>MARKDOWN</code>. The default
|
|
1079
|
+
* value is <code>plain text</code>.</p>
|
|
1080
|
+
*/
|
|
1081
|
+
TextFormat?: TextFormat | string;
|
|
1082
|
+
/**
|
|
1083
|
+
* @public
|
|
1084
|
+
* <p>The text language in the report. The default language is <code>EN_US</code> (English).
|
|
1085
|
+
* </p>
|
|
1086
|
+
*/
|
|
1087
|
+
AcceptLanguage?: AcceptLanguage | string;
|
|
1088
|
+
}
|
|
797
1089
|
/**
|
|
798
1090
|
* @public
|
|
799
1091
|
*/
|
|
@@ -1253,3 +1545,293 @@ export interface ListAvailableResourceMetricsResponse {
|
|
|
1253
1545
|
*/
|
|
1254
1546
|
NextToken?: string;
|
|
1255
1547
|
}
|
|
1548
|
+
/**
|
|
1549
|
+
* @public
|
|
1550
|
+
*/
|
|
1551
|
+
export interface ListPerformanceAnalysisReportsRequest {
|
|
1552
|
+
/**
|
|
1553
|
+
* @public
|
|
1554
|
+
* <p>The Amazon Web Services service for which Performance Insights returns metrics. Valid value is
|
|
1555
|
+
* <code>RDS</code>.</p>
|
|
1556
|
+
*/
|
|
1557
|
+
ServiceType: ServiceType | string | undefined;
|
|
1558
|
+
/**
|
|
1559
|
+
* @public
|
|
1560
|
+
* <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
|
|
1561
|
+
* console, the identifier is shown as <i>ResourceID</i>. When you call <code>DescribeDBInstances</code>, the identifier is
|
|
1562
|
+
* returned as <code>DbiResourceId</code>.</p>
|
|
1563
|
+
* <p>To use a DB instance as a data source, specify its <code>DbiResourceId</code> value. For example, specify
|
|
1564
|
+
* <code>db-ABCDEFGHIJKLMNOPQRSTU1VW2X</code>.</p>
|
|
1565
|
+
*/
|
|
1566
|
+
Identifier: string | undefined;
|
|
1567
|
+
/**
|
|
1568
|
+
* @public
|
|
1569
|
+
* <p>An optional pagination token provided by a previous request.
|
|
1570
|
+
* If this parameter is specified, the response includes only records beyond
|
|
1571
|
+
* the token, up to the value specified by <code>MaxResults</code>.</p>
|
|
1572
|
+
*/
|
|
1573
|
+
NextToken?: string;
|
|
1574
|
+
/**
|
|
1575
|
+
* @public
|
|
1576
|
+
* <p>The maximum number of items to return in the response. If more items exist than the specified <code>MaxResults</code> value, a
|
|
1577
|
+
* pagination token is included in the response so that the remaining results can be retrieved. </p>
|
|
1578
|
+
*/
|
|
1579
|
+
MaxResults?: number;
|
|
1580
|
+
/**
|
|
1581
|
+
* @public
|
|
1582
|
+
* <p>Specifies whether or not to include the list of tags in the response.</p>
|
|
1583
|
+
*/
|
|
1584
|
+
ListTags?: boolean;
|
|
1585
|
+
}
|
|
1586
|
+
/**
|
|
1587
|
+
* @public
|
|
1588
|
+
*/
|
|
1589
|
+
export interface ListPerformanceAnalysisReportsResponse {
|
|
1590
|
+
/**
|
|
1591
|
+
* @public
|
|
1592
|
+
* <p>List of reports including the report identifier, start and end time, creation time,
|
|
1593
|
+
* and status.</p>
|
|
1594
|
+
*/
|
|
1595
|
+
AnalysisReports?: AnalysisReportSummary[];
|
|
1596
|
+
/**
|
|
1597
|
+
* @public
|
|
1598
|
+
* <p>An optional pagination token provided by a previous request.
|
|
1599
|
+
* If this parameter is specified, the response includes only records beyond the token,
|
|
1600
|
+
* up to the value specified by <code>MaxResults</code>.</p>
|
|
1601
|
+
*/
|
|
1602
|
+
NextToken?: string;
|
|
1603
|
+
}
|
|
1604
|
+
/**
|
|
1605
|
+
* @public
|
|
1606
|
+
*/
|
|
1607
|
+
export interface ListTagsForResourceRequest {
|
|
1608
|
+
/**
|
|
1609
|
+
* @public
|
|
1610
|
+
* <p>List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid value is <code>RDS</code>.</p>
|
|
1611
|
+
*/
|
|
1612
|
+
ServiceType: ServiceType | string | undefined;
|
|
1613
|
+
/**
|
|
1614
|
+
* @public
|
|
1615
|
+
* <p>Lists all the tags for the Amazon RDS Performance Insights resource. This value is an
|
|
1616
|
+
* Amazon Resource Name (ARN). For information about creating an ARN,
|
|
1617
|
+
* see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing">
|
|
1618
|
+
* Constructing an RDS Amazon Resource Name (ARN)</a>.</p>
|
|
1619
|
+
*/
|
|
1620
|
+
ResourceARN: string | undefined;
|
|
1621
|
+
}
|
|
1622
|
+
/**
|
|
1623
|
+
* @public
|
|
1624
|
+
*/
|
|
1625
|
+
export interface ListTagsForResourceResponse {
|
|
1626
|
+
/**
|
|
1627
|
+
* @public
|
|
1628
|
+
* <p>The metadata assigned to an Amazon RDS resource consisting of a key-value pair.</p>
|
|
1629
|
+
*/
|
|
1630
|
+
Tags?: Tag[];
|
|
1631
|
+
}
|
|
1632
|
+
/**
|
|
1633
|
+
* @public
|
|
1634
|
+
*/
|
|
1635
|
+
export interface TagResourceRequest {
|
|
1636
|
+
/**
|
|
1637
|
+
* @public
|
|
1638
|
+
* <p>The Amazon Web Services service for which Performance Insights returns metrics. Valid value is <code>RDS</code>.</p>
|
|
1639
|
+
*/
|
|
1640
|
+
ServiceType: ServiceType | string | undefined;
|
|
1641
|
+
/**
|
|
1642
|
+
* @public
|
|
1643
|
+
* <p>The Amazon RDS Performance Insights resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about
|
|
1644
|
+
* creating an ARN, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing">
|
|
1645
|
+
* Constructing an RDS Amazon Resource Name (ARN)</a>.</p>
|
|
1646
|
+
*/
|
|
1647
|
+
ResourceARN: string | undefined;
|
|
1648
|
+
/**
|
|
1649
|
+
* @public
|
|
1650
|
+
* <p>The metadata assigned to an Amazon RDS resource consisting of a key-value pair.</p>
|
|
1651
|
+
*/
|
|
1652
|
+
Tags: Tag[] | undefined;
|
|
1653
|
+
}
|
|
1654
|
+
/**
|
|
1655
|
+
* @public
|
|
1656
|
+
*/
|
|
1657
|
+
export interface TagResourceResponse {
|
|
1658
|
+
}
|
|
1659
|
+
/**
|
|
1660
|
+
* @public
|
|
1661
|
+
*/
|
|
1662
|
+
export interface UntagResourceRequest {
|
|
1663
|
+
/**
|
|
1664
|
+
* @public
|
|
1665
|
+
* <p>List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid value is <code>RDS</code>.</p>
|
|
1666
|
+
*/
|
|
1667
|
+
ServiceType: ServiceType | string | undefined;
|
|
1668
|
+
/**
|
|
1669
|
+
* @public
|
|
1670
|
+
* <p>The Amazon RDS Performance Insights resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about
|
|
1671
|
+
* creating an ARN, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing">
|
|
1672
|
+
* Constructing an RDS Amazon Resource Name (ARN)</a>.</p>
|
|
1673
|
+
*/
|
|
1674
|
+
ResourceARN: string | undefined;
|
|
1675
|
+
/**
|
|
1676
|
+
* @public
|
|
1677
|
+
* <p>The metadata assigned to an Amazon RDS Performance Insights resource consisting of a key-value pair.</p>
|
|
1678
|
+
*/
|
|
1679
|
+
TagKeys: string[] | undefined;
|
|
1680
|
+
}
|
|
1681
|
+
/**
|
|
1682
|
+
* @public
|
|
1683
|
+
*/
|
|
1684
|
+
export interface UntagResourceResponse {
|
|
1685
|
+
}
|
|
1686
|
+
/**
|
|
1687
|
+
* @public
|
|
1688
|
+
* <p>Retrieves the list of performance issues which are identified.</p>
|
|
1689
|
+
*/
|
|
1690
|
+
export interface Insight {
|
|
1691
|
+
/**
|
|
1692
|
+
* @public
|
|
1693
|
+
* <p>The unique identifier for the insight. For example, <code>insight-12345678901234567</code>.</p>
|
|
1694
|
+
*/
|
|
1695
|
+
InsightId: string | undefined;
|
|
1696
|
+
/**
|
|
1697
|
+
* @public
|
|
1698
|
+
* <p>The type of insight. For example, <code>HighDBLoad</code>, <code>HighCPU</code>, or <code>DominatingSQLs</code>.</p>
|
|
1699
|
+
*/
|
|
1700
|
+
InsightType?: string;
|
|
1701
|
+
/**
|
|
1702
|
+
* @public
|
|
1703
|
+
* <p>Indicates if the insight is causal or correlated insight.</p>
|
|
1704
|
+
*/
|
|
1705
|
+
Context?: ContextType | string;
|
|
1706
|
+
/**
|
|
1707
|
+
* @public
|
|
1708
|
+
* <p>The start time of the insight. For example, <code>2018-10-30T00:00:00Z</code>.</p>
|
|
1709
|
+
*/
|
|
1710
|
+
StartTime?: Date;
|
|
1711
|
+
/**
|
|
1712
|
+
* @public
|
|
1713
|
+
* <p>The end time of the insight. For example, <code>2018-10-30T00:00:00Z</code>.</p>
|
|
1714
|
+
*/
|
|
1715
|
+
EndTime?: Date;
|
|
1716
|
+
/**
|
|
1717
|
+
* @public
|
|
1718
|
+
* <p>The severity of the insight. The values are: <code>Low</code>, <code>Medium</code>, or <code>High</code>.</p>
|
|
1719
|
+
*/
|
|
1720
|
+
Severity?: Severity | string;
|
|
1721
|
+
/**
|
|
1722
|
+
* @public
|
|
1723
|
+
* <p>List of supporting insights that provide additional factors for the insight.</p>
|
|
1724
|
+
*/
|
|
1725
|
+
SupportingInsights?: Insight[];
|
|
1726
|
+
/**
|
|
1727
|
+
* @public
|
|
1728
|
+
* <p>Description of the insight. For example:
|
|
1729
|
+
* <code>A high severity Insight found between 02:00 to 02:30,
|
|
1730
|
+
* where there was an unusually high DB load 600x above baseline.
|
|
1731
|
+
* Likely performance impact</code>.</p>
|
|
1732
|
+
*/
|
|
1733
|
+
Description?: string;
|
|
1734
|
+
/**
|
|
1735
|
+
* @public
|
|
1736
|
+
* <p>List of recommendations for the insight.
|
|
1737
|
+
* For example, <code>Investigate the following SQLs that contributed
|
|
1738
|
+
* to 100% of the total DBLoad during that time period: sql-id</code>.</p>
|
|
1739
|
+
*/
|
|
1740
|
+
Recommendations?: Recommendation[];
|
|
1741
|
+
/**
|
|
1742
|
+
* @public
|
|
1743
|
+
* <p>List of data objects containing metrics and references from the time range while generating the insight.</p>
|
|
1744
|
+
*/
|
|
1745
|
+
InsightData?: Data[];
|
|
1746
|
+
/**
|
|
1747
|
+
* @public
|
|
1748
|
+
* <p>
|
|
1749
|
+
* Metric names and values from the timeframe
|
|
1750
|
+
* used as baseline to generate the insight.</p>
|
|
1751
|
+
*/
|
|
1752
|
+
BaselineData?: Data[];
|
|
1753
|
+
}
|
|
1754
|
+
/**
|
|
1755
|
+
* @public
|
|
1756
|
+
* <p>Retrieves the summary of the performance analysis report created for a time period.</p>
|
|
1757
|
+
*/
|
|
1758
|
+
export interface AnalysisReport {
|
|
1759
|
+
/**
|
|
1760
|
+
* @public
|
|
1761
|
+
* <p>The name of the analysis report.</p>
|
|
1762
|
+
*/
|
|
1763
|
+
AnalysisReportId: string | undefined;
|
|
1764
|
+
/**
|
|
1765
|
+
* @public
|
|
1766
|
+
* <p>The unique identifier of the analysis report.</p>
|
|
1767
|
+
*/
|
|
1768
|
+
Identifier?: string;
|
|
1769
|
+
/**
|
|
1770
|
+
* @public
|
|
1771
|
+
* <p>List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:</p>
|
|
1772
|
+
* <ul>
|
|
1773
|
+
* <li>
|
|
1774
|
+
* <p>
|
|
1775
|
+
* <code>RDS</code>
|
|
1776
|
+
* </p>
|
|
1777
|
+
* </li>
|
|
1778
|
+
* <li>
|
|
1779
|
+
* <p>
|
|
1780
|
+
* <code>DOCDB</code>
|
|
1781
|
+
* </p>
|
|
1782
|
+
* </li>
|
|
1783
|
+
* </ul>
|
|
1784
|
+
*/
|
|
1785
|
+
ServiceType?: ServiceType | string;
|
|
1786
|
+
/**
|
|
1787
|
+
* @public
|
|
1788
|
+
* <p>The time you created the analysis report.</p>
|
|
1789
|
+
*/
|
|
1790
|
+
CreateTime?: Date;
|
|
1791
|
+
/**
|
|
1792
|
+
* @public
|
|
1793
|
+
* <p>The analysis start time in the report.</p>
|
|
1794
|
+
*/
|
|
1795
|
+
StartTime?: Date;
|
|
1796
|
+
/**
|
|
1797
|
+
* @public
|
|
1798
|
+
* <p>The analysis end time in the report.</p>
|
|
1799
|
+
*/
|
|
1800
|
+
EndTime?: Date;
|
|
1801
|
+
/**
|
|
1802
|
+
* @public
|
|
1803
|
+
* <p>The status of the created analysis report.</p>
|
|
1804
|
+
*/
|
|
1805
|
+
Status?: AnalysisStatus | string;
|
|
1806
|
+
/**
|
|
1807
|
+
* @public
|
|
1808
|
+
* <p>The list of identified insights in the analysis report.</p>
|
|
1809
|
+
*/
|
|
1810
|
+
Insights?: Insight[];
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* @public
|
|
1814
|
+
*/
|
|
1815
|
+
export interface GetPerformanceAnalysisReportResponse {
|
|
1816
|
+
/**
|
|
1817
|
+
* @public
|
|
1818
|
+
* <p>The summary of the performance analysis report created for a time period.</p>
|
|
1819
|
+
*/
|
|
1820
|
+
AnalysisReport?: AnalysisReport;
|
|
1821
|
+
}
|
|
1822
|
+
/**
|
|
1823
|
+
* @internal
|
|
1824
|
+
*/
|
|
1825
|
+
export declare const RecommendationFilterSensitiveLog: (obj: Recommendation) => any;
|
|
1826
|
+
/**
|
|
1827
|
+
* @internal
|
|
1828
|
+
*/
|
|
1829
|
+
export declare const InsightFilterSensitiveLog: (obj: Insight) => any;
|
|
1830
|
+
/**
|
|
1831
|
+
* @internal
|
|
1832
|
+
*/
|
|
1833
|
+
export declare const AnalysisReportFilterSensitiveLog: (obj: AnalysisReport) => any;
|
|
1834
|
+
/**
|
|
1835
|
+
* @internal
|
|
1836
|
+
*/
|
|
1837
|
+
export declare const GetPerformanceAnalysisReportResponseFilterSensitiveLog: (obj: GetPerformanceAnalysisReportResponse) => any;
|