@aws-sdk/client-pi 3.577.0 → 3.581.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/dist-cjs/index.js CHANGED
@@ -30,6 +30,7 @@ __export(src_exports, {
30
30
  DescribeDimensionKeysCommand: () => DescribeDimensionKeysCommand,
31
31
  DetailStatus: () => DetailStatus,
32
32
  FeatureStatus: () => FeatureStatus,
33
+ FineGrainedAction: () => FineGrainedAction,
33
34
  GetDimensionKeyDetailsCommand: () => GetDimensionKeyDetailsCommand,
34
35
  GetPerformanceAnalysisReportCommand: () => GetPerformanceAnalysisReportCommand,
35
36
  GetPerformanceAnalysisReportResponseFilterSensitiveLog: () => GetPerformanceAnalysisReportResponseFilterSensitiveLog,
@@ -258,6 +259,11 @@ var AnalysisStatus = {
258
259
  RUNNING: "RUNNING",
259
260
  SUCCEEDED: "SUCCEEDED"
260
261
  };
262
+ var FineGrainedAction = {
263
+ DESCRIBE_DIMENSION_KEYS: "DescribeDimensionKeys",
264
+ GET_DIMENSION_KEY_DETAILS: "GetDimensionKeyDetails",
265
+ GET_RESOURCE_METRICS: "GetResourceMetrics"
266
+ };
261
267
  var _InternalServiceError = class _InternalServiceError extends PIServiceException {
262
268
  /**
263
269
  * @internal
@@ -1166,6 +1172,7 @@ var paginateListPerformanceAnalysisReports = (0, import_core.createPaginator)(PI
1166
1172
  Severity,
1167
1173
  ServiceType,
1168
1174
  AnalysisStatus,
1175
+ FineGrainedAction,
1169
1176
  InternalServiceError,
1170
1177
  InvalidArgumentException,
1171
1178
  NotAuthorizedException,
@@ -21,6 +21,11 @@ export const AnalysisStatus = {
21
21
  RUNNING: "RUNNING",
22
22
  SUCCEEDED: "SUCCEEDED",
23
23
  };
24
+ export const FineGrainedAction = {
25
+ DESCRIBE_DIMENSION_KEYS: "DescribeDimensionKeys",
26
+ GET_DIMENSION_KEY_DETAILS: "GetDimensionKeyDetails",
27
+ GET_RESOURCE_METRICS: "GetResourceMetrics",
28
+ };
24
29
  export class InternalServiceError extends __BaseException {
25
30
  constructor(opts) {
26
31
  super({
@@ -47,7 +47,7 @@ declare const DescribeDimensionKeysCommand_base: {
47
47
  * PeriodInSeconds: Number("int"),
48
48
  * GroupBy: { // DimensionGroup
49
49
  * Group: "STRING_VALUE", // required
50
- * Dimensions: [ // RequestStringList
50
+ * Dimensions: [ // SanitizedStringList
51
51
  * "STRING_VALUE",
52
52
  * ],
53
53
  * Limit: Number("int"),
@@ -47,7 +47,7 @@ declare const GetResourceMetricsCommand_base: {
47
47
  * Metric: "STRING_VALUE", // required
48
48
  * GroupBy: { // DimensionGroup
49
49
  * Group: "STRING_VALUE", // required
50
- * Dimensions: [ // RequestStringList
50
+ * Dimensions: [ // SanitizedStringList
51
51
  * "STRING_VALUE",
52
52
  * ],
53
53
  * Limit: Number("int"),
@@ -41,6 +41,9 @@ declare const ListAvailableResourceDimensionsCommand_base: {
41
41
  * ],
42
42
  * MaxResults: Number("int"),
43
43
  * NextToken: "STRING_VALUE",
44
+ * AuthorizedActions: [ // AuthorizedActionsList
45
+ * "DescribeDimensionKeys" || "GetDimensionKeyDetails" || "GetResourceMetrics",
46
+ * ],
44
47
  * };
45
48
  * const command = new ListAvailableResourceDimensionsCommand(input);
46
49
  * const response = await client.send(command);
@@ -180,6 +180,19 @@ export interface AnalysisReportSummary {
180
180
  */
181
181
  Tags?: Tag[];
182
182
  }
183
+ /**
184
+ * @public
185
+ * @enum
186
+ */
187
+ export declare const FineGrainedAction: {
188
+ readonly DESCRIBE_DIMENSION_KEYS: "DescribeDimensionKeys";
189
+ readonly GET_DIMENSION_KEY_DETAILS: "GetDimensionKeyDetails";
190
+ readonly GET_RESOURCE_METRICS: "GetResourceMetrics";
191
+ };
192
+ /**
193
+ * @public
194
+ */
195
+ export type FineGrainedAction = (typeof FineGrainedAction)[keyof typeof FineGrainedAction];
183
196
  /**
184
197
  * @public
185
198
  */
@@ -1432,6 +1445,14 @@ export interface ListAvailableResourceDimensionsRequest {
1432
1445
  * @public
1433
1446
  */
1434
1447
  NextToken?: string;
1448
+ /**
1449
+ * <p>The actions to discover the dimensions you are authorized to access. If you specify multiple actions, then the response will
1450
+ * contain the dimensions common for all the actions.</p>
1451
+ * <p>When you don't specify this request parameter or provide an empty list, the response contains all the
1452
+ * available dimensions for the target database engine whether or not you are authorized to access them.</p>
1453
+ * @public
1454
+ */
1455
+ AuthorizedActions?: FineGrainedAction[];
1435
1456
  }
1436
1457
  /**
1437
1458
  * <p>The available dimension information for a metric type.</p>
@@ -53,6 +53,13 @@ export interface AnalysisReportSummary {
53
53
  Status?: AnalysisStatus;
54
54
  Tags?: Tag[];
55
55
  }
56
+ export declare const FineGrainedAction: {
57
+ readonly DESCRIBE_DIMENSION_KEYS: "DescribeDimensionKeys";
58
+ readonly GET_DIMENSION_KEY_DETAILS: "GetDimensionKeyDetails";
59
+ readonly GET_RESOURCE_METRICS: "GetResourceMetrics";
60
+ };
61
+ export type FineGrainedAction =
62
+ (typeof FineGrainedAction)[keyof typeof FineGrainedAction];
56
63
  export interface CreatePerformanceAnalysisReportRequest {
57
64
  ServiceType: ServiceType | undefined;
58
65
  Identifier: string | undefined;
@@ -235,6 +242,7 @@ export interface ListAvailableResourceDimensionsRequest {
235
242
  Metrics: string[] | undefined;
236
243
  MaxResults?: number;
237
244
  NextToken?: string;
245
+ AuthorizedActions?: FineGrainedAction[];
238
246
  }
239
247
  export interface MetricDimensionGroups {
240
248
  Metric?: string;
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.577.0",
4
+ "version": "3.581.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-pi",