@aws-sdk/client-pi 3.427.0 → 3.429.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.
@@ -173,7 +173,7 @@ export interface AnalysisReportSummary {
173
173
  * @public
174
174
  * <p>The status of the analysis report.</p>
175
175
  */
176
- Status?: AnalysisStatus | string;
176
+ Status?: AnalysisStatus;
177
177
  /**
178
178
  * @public
179
179
  * <p>List of all the tags added to the analysis report.</p>
@@ -188,7 +188,7 @@ export interface CreatePerformanceAnalysisReportRequest {
188
188
  * @public
189
189
  * <p>The Amazon Web Services service for which Performance Insights will return metrics. Valid value is <code>RDS</code>.</p>
190
190
  */
191
- ServiceType: ServiceType | string | undefined;
191
+ ServiceType: ServiceType | undefined;
192
192
  /**
193
193
  * @public
194
194
  * <p>An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from
@@ -286,7 +286,7 @@ export interface DeletePerformanceAnalysisReportRequest {
286
286
  * @public
287
287
  * <p>The Amazon Web Services service for which Performance Insights will return metrics. Valid value is <code>RDS</code>.</p>
288
288
  */
289
- ServiceType: ServiceType | string | undefined;
289
+ ServiceType: ServiceType | undefined;
290
290
  /**
291
291
  * @public
292
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.
@@ -600,7 +600,7 @@ export interface DescribeDimensionKeysRequest {
600
600
  * </li>
601
601
  * </ul>
602
602
  */
603
- ServiceType: ServiceType | string | undefined;
603
+ ServiceType: ServiceType | undefined;
604
604
  /**
605
605
  * @public
606
606
  * <p>An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from
@@ -900,7 +900,7 @@ export interface DimensionKeyDetail {
900
900
  * </li>
901
901
  * </ul>
902
902
  */
903
- Status?: DetailStatus | string;
903
+ Status?: DetailStatus;
904
904
  }
905
905
  /**
906
906
  * @public
@@ -954,7 +954,7 @@ export interface FeatureMetadata {
954
954
  * </li>
955
955
  * </ul>
956
956
  */
957
- Status?: FeatureStatus | string;
957
+ Status?: FeatureStatus;
958
958
  }
959
959
  /**
960
960
  * @public
@@ -964,7 +964,7 @@ export interface GetDimensionKeyDetailsRequest {
964
964
  * @public
965
965
  * <p>The Amazon Web Services service for which Performance Insights returns data. The only valid value is <code>RDS</code>.</p>
966
966
  */
967
- ServiceType: ServiceType | string | undefined;
967
+ ServiceType: ServiceType | undefined;
968
968
  /**
969
969
  * @public
970
970
  * <p>The ID for a data source from which to gather dimension data. This ID must be immutable and
@@ -1055,7 +1055,7 @@ export interface GetPerformanceAnalysisReportRequest {
1055
1055
  * <p>The Amazon Web Services service for which Performance Insights will return metrics. Valid value is
1056
1056
  * <code>RDS</code>.</p>
1057
1057
  */
1058
- ServiceType: ServiceType | string | undefined;
1058
+ ServiceType: ServiceType | undefined;
1059
1059
  /**
1060
1060
  * @public
1061
1061
  * <p>An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers
@@ -1078,13 +1078,13 @@ export interface GetPerformanceAnalysisReportRequest {
1078
1078
  * <p>Indicates the text format in the report. The options are <code>PLAIN_TEXT</code> or <code>MARKDOWN</code>. The default
1079
1079
  * value is <code>plain text</code>.</p>
1080
1080
  */
1081
- TextFormat?: TextFormat | string;
1081
+ TextFormat?: TextFormat;
1082
1082
  /**
1083
1083
  * @public
1084
1084
  * <p>The text language in the report. The default language is <code>EN_US</code> (English).
1085
1085
  * </p>
1086
1086
  */
1087
- AcceptLanguage?: AcceptLanguage | string;
1087
+ AcceptLanguage?: AcceptLanguage;
1088
1088
  }
1089
1089
  /**
1090
1090
  * @public
@@ -1094,7 +1094,7 @@ export interface GetResourceMetadataRequest {
1094
1094
  * @public
1095
1095
  * <p>The Amazon Web Services service for which Performance Insights returns metrics.</p>
1096
1096
  */
1097
- ServiceType: ServiceType | string | undefined;
1097
+ ServiceType: ServiceType | undefined;
1098
1098
  /**
1099
1099
  * @public
1100
1100
  * <p>An immutable identifier for a data source that is unique for an Amazon Web Services Region.
@@ -1211,7 +1211,7 @@ export interface GetResourceMetricsRequest {
1211
1211
  * </li>
1212
1212
  * </ul>
1213
1213
  */
1214
- ServiceType: ServiceType | string | undefined;
1214
+ ServiceType: ServiceType | undefined;
1215
1215
  /**
1216
1216
  * @public
1217
1217
  * <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
@@ -1291,7 +1291,7 @@ export interface GetResourceMetricsRequest {
1291
1291
  * @public
1292
1292
  * <p>The returned timestamp which is the start or end time of the time periods. The default value is <code>END_TIME</code>.</p>
1293
1293
  */
1294
- PeriodAlignment?: PeriodAlignment | string;
1294
+ PeriodAlignment?: PeriodAlignment;
1295
1295
  }
1296
1296
  /**
1297
1297
  * @public
@@ -1392,7 +1392,7 @@ export interface ListAvailableResourceDimensionsRequest {
1392
1392
  * @public
1393
1393
  * <p>The Amazon Web Services service for which Performance Insights returns metrics.</p>
1394
1394
  */
1395
- ServiceType: ServiceType | string | undefined;
1395
+ ServiceType: ServiceType | undefined;
1396
1396
  /**
1397
1397
  * @public
1398
1398
  * <p>An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers
@@ -1460,7 +1460,7 @@ export interface ListAvailableResourceMetricsRequest {
1460
1460
  * @public
1461
1461
  * <p>The Amazon Web Services service for which Performance Insights returns metrics.</p>
1462
1462
  */
1463
- ServiceType: ServiceType | string | undefined;
1463
+ ServiceType: ServiceType | undefined;
1464
1464
  /**
1465
1465
  * @public
1466
1466
  * <p>An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers
@@ -1554,7 +1554,7 @@ export interface ListPerformanceAnalysisReportsRequest {
1554
1554
  * <p>The Amazon Web Services service for which Performance Insights returns metrics. Valid value is
1555
1555
  * <code>RDS</code>.</p>
1556
1556
  */
1557
- ServiceType: ServiceType | string | undefined;
1557
+ ServiceType: ServiceType | undefined;
1558
1558
  /**
1559
1559
  * @public
1560
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
@@ -1609,7 +1609,7 @@ export interface ListTagsForResourceRequest {
1609
1609
  * @public
1610
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
1611
  */
1612
- ServiceType: ServiceType | string | undefined;
1612
+ ServiceType: ServiceType | undefined;
1613
1613
  /**
1614
1614
  * @public
1615
1615
  * <p>Lists all the tags for the Amazon RDS Performance Insights resource. This value is an
@@ -1637,7 +1637,7 @@ export interface TagResourceRequest {
1637
1637
  * @public
1638
1638
  * <p>The Amazon Web Services service for which Performance Insights returns metrics. Valid value is <code>RDS</code>.</p>
1639
1639
  */
1640
- ServiceType: ServiceType | string | undefined;
1640
+ ServiceType: ServiceType | undefined;
1641
1641
  /**
1642
1642
  * @public
1643
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
@@ -1664,7 +1664,7 @@ export interface UntagResourceRequest {
1664
1664
  * @public
1665
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
1666
  */
1667
- ServiceType: ServiceType | string | undefined;
1667
+ ServiceType: ServiceType | undefined;
1668
1668
  /**
1669
1669
  * @public
1670
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
@@ -1702,7 +1702,7 @@ export interface Insight {
1702
1702
  * @public
1703
1703
  * <p>Indicates if the insight is causal or correlated insight.</p>
1704
1704
  */
1705
- Context?: ContextType | string;
1705
+ Context?: ContextType;
1706
1706
  /**
1707
1707
  * @public
1708
1708
  * <p>The start time of the insight. For example, <code>2018-10-30T00:00:00Z</code>.</p>
@@ -1717,7 +1717,7 @@ export interface Insight {
1717
1717
  * @public
1718
1718
  * <p>The severity of the insight. The values are: <code>Low</code>, <code>Medium</code>, or <code>High</code>.</p>
1719
1719
  */
1720
- Severity?: Severity | string;
1720
+ Severity?: Severity;
1721
1721
  /**
1722
1722
  * @public
1723
1723
  * <p>List of supporting insights that provide additional factors for the insight.</p>
@@ -1782,7 +1782,7 @@ export interface AnalysisReport {
1782
1782
  * </li>
1783
1783
  * </ul>
1784
1784
  */
1785
- ServiceType?: ServiceType | string;
1785
+ ServiceType?: ServiceType;
1786
1786
  /**
1787
1787
  * @public
1788
1788
  * <p>The time you created the analysis report.</p>
@@ -1802,7 +1802,7 @@ export interface AnalysisReport {
1802
1802
  * @public
1803
1803
  * <p>The status of the created analysis report.</p>
1804
1804
  */
1805
- Status?: AnalysisStatus | string;
1805
+ Status?: AnalysisStatus;
1806
1806
  /**
1807
1807
  * @public
1808
1808
  * <p>The list of identified insights in the analysis report.</p>
@@ -50,11 +50,11 @@ export interface AnalysisReportSummary {
50
50
  CreateTime?: Date;
51
51
  StartTime?: Date;
52
52
  EndTime?: Date;
53
- Status?: AnalysisStatus | string;
53
+ Status?: AnalysisStatus;
54
54
  Tags?: Tag[];
55
55
  }
56
56
  export interface CreatePerformanceAnalysisReportRequest {
57
- ServiceType: ServiceType | string | undefined;
57
+ ServiceType: ServiceType | undefined;
58
58
  Identifier: string | undefined;
59
59
  StartTime: Date | undefined;
60
60
  EndTime: Date | undefined;
@@ -92,7 +92,7 @@ export interface DataPoint {
92
92
  Value: number | undefined;
93
93
  }
94
94
  export interface DeletePerformanceAnalysisReportRequest {
95
- ServiceType: ServiceType | string | undefined;
95
+ ServiceType: ServiceType | undefined;
96
96
  Identifier: string | undefined;
97
97
  AnalysisReportId: string | undefined;
98
98
  }
@@ -103,7 +103,7 @@ export interface DimensionGroup {
103
103
  Limit?: number;
104
104
  }
105
105
  export interface DescribeDimensionKeysRequest {
106
- ServiceType: ServiceType | string | undefined;
106
+ ServiceType: ServiceType | undefined;
107
107
  Identifier: string | undefined;
108
108
  StartTime: Date | undefined;
109
109
  EndTime: Date | undefined;
@@ -148,7 +148,7 @@ export interface DimensionGroupDetail {
148
148
  export interface DimensionKeyDetail {
149
149
  Value?: string;
150
150
  Dimension?: string;
151
- Status?: DetailStatus | string;
151
+ Status?: DetailStatus;
152
152
  }
153
153
  export declare const FeatureStatus: {
154
154
  readonly DISABLED: "DISABLED";
@@ -160,10 +160,10 @@ export declare const FeatureStatus: {
160
160
  };
161
161
  export type FeatureStatus = (typeof FeatureStatus)[keyof typeof FeatureStatus];
162
162
  export interface FeatureMetadata {
163
- Status?: FeatureStatus | string;
163
+ Status?: FeatureStatus;
164
164
  }
165
165
  export interface GetDimensionKeyDetailsRequest {
166
- ServiceType: ServiceType | string | undefined;
166
+ ServiceType: ServiceType | undefined;
167
167
  Identifier: string | undefined;
168
168
  Group: string | undefined;
169
169
  GroupIdentifier: string | undefined;
@@ -178,14 +178,14 @@ export declare const TextFormat: {
178
178
  };
179
179
  export type TextFormat = (typeof TextFormat)[keyof typeof TextFormat];
180
180
  export interface GetPerformanceAnalysisReportRequest {
181
- ServiceType: ServiceType | string | undefined;
181
+ ServiceType: ServiceType | undefined;
182
182
  Identifier: string | undefined;
183
183
  AnalysisReportId: string | undefined;
184
- TextFormat?: TextFormat | string;
185
- AcceptLanguage?: AcceptLanguage | string;
184
+ TextFormat?: TextFormat;
185
+ AcceptLanguage?: AcceptLanguage;
186
186
  }
187
187
  export interface GetResourceMetadataRequest {
188
- ServiceType: ServiceType | string | undefined;
188
+ ServiceType: ServiceType | undefined;
189
189
  Identifier: string | undefined;
190
190
  }
191
191
  export interface GetResourceMetadataResponse {
@@ -204,7 +204,7 @@ export declare const PeriodAlignment: {
204
204
  export type PeriodAlignment =
205
205
  (typeof PeriodAlignment)[keyof typeof PeriodAlignment];
206
206
  export interface GetResourceMetricsRequest {
207
- ServiceType: ServiceType | string | undefined;
207
+ ServiceType: ServiceType | undefined;
208
208
  Identifier: string | undefined;
209
209
  MetricQueries: MetricQuery[] | undefined;
210
210
  StartTime: Date | undefined;
@@ -212,7 +212,7 @@ export interface GetResourceMetricsRequest {
212
212
  PeriodInSeconds?: number;
213
213
  MaxResults?: number;
214
214
  NextToken?: string;
215
- PeriodAlignment?: PeriodAlignment | string;
215
+ PeriodAlignment?: PeriodAlignment;
216
216
  }
217
217
  export interface ResponseResourceMetricKey {
218
218
  Metric: string | undefined;
@@ -230,7 +230,7 @@ export interface GetResourceMetricsResponse {
230
230
  NextToken?: string;
231
231
  }
232
232
  export interface ListAvailableResourceDimensionsRequest {
233
- ServiceType: ServiceType | string | undefined;
233
+ ServiceType: ServiceType | undefined;
234
234
  Identifier: string | undefined;
235
235
  Metrics: string[] | undefined;
236
236
  MaxResults?: number;
@@ -245,7 +245,7 @@ export interface ListAvailableResourceDimensionsResponse {
245
245
  NextToken?: string;
246
246
  }
247
247
  export interface ListAvailableResourceMetricsRequest {
248
- ServiceType: ServiceType | string | undefined;
248
+ ServiceType: ServiceType | undefined;
249
249
  Identifier: string | undefined;
250
250
  MetricTypes: string[] | undefined;
251
251
  NextToken?: string;
@@ -261,7 +261,7 @@ export interface ListAvailableResourceMetricsResponse {
261
261
  NextToken?: string;
262
262
  }
263
263
  export interface ListPerformanceAnalysisReportsRequest {
264
- ServiceType: ServiceType | string | undefined;
264
+ ServiceType: ServiceType | undefined;
265
265
  Identifier: string | undefined;
266
266
  NextToken?: string;
267
267
  MaxResults?: number;
@@ -272,20 +272,20 @@ export interface ListPerformanceAnalysisReportsResponse {
272
272
  NextToken?: string;
273
273
  }
274
274
  export interface ListTagsForResourceRequest {
275
- ServiceType: ServiceType | string | undefined;
275
+ ServiceType: ServiceType | undefined;
276
276
  ResourceARN: string | undefined;
277
277
  }
278
278
  export interface ListTagsForResourceResponse {
279
279
  Tags?: Tag[];
280
280
  }
281
281
  export interface TagResourceRequest {
282
- ServiceType: ServiceType | string | undefined;
282
+ ServiceType: ServiceType | undefined;
283
283
  ResourceARN: string | undefined;
284
284
  Tags: Tag[] | undefined;
285
285
  }
286
286
  export interface TagResourceResponse {}
287
287
  export interface UntagResourceRequest {
288
- ServiceType: ServiceType | string | undefined;
288
+ ServiceType: ServiceType | undefined;
289
289
  ResourceARN: string | undefined;
290
290
  TagKeys: string[] | undefined;
291
291
  }
@@ -293,10 +293,10 @@ export interface UntagResourceResponse {}
293
293
  export interface Insight {
294
294
  InsightId: string | undefined;
295
295
  InsightType?: string;
296
- Context?: ContextType | string;
296
+ Context?: ContextType;
297
297
  StartTime?: Date;
298
298
  EndTime?: Date;
299
- Severity?: Severity | string;
299
+ Severity?: Severity;
300
300
  SupportingInsights?: Insight[];
301
301
  Description?: string;
302
302
  Recommendations?: Recommendation[];
@@ -306,11 +306,11 @@ export interface Insight {
306
306
  export interface AnalysisReport {
307
307
  AnalysisReportId: string | undefined;
308
308
  Identifier?: string;
309
- ServiceType?: ServiceType | string;
309
+ ServiceType?: ServiceType;
310
310
  CreateTime?: Date;
311
311
  StartTime?: Date;
312
312
  EndTime?: Date;
313
- Status?: AnalysisStatus | string;
313
+ Status?: AnalysisStatus;
314
314
  Insights?: Insight[];
315
315
  }
316
316
  export interface GetPerformanceAnalysisReportResponse {
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.427.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },