@aws-sdk/client-pi 3.577.0 → 3.582.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 +7 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-types/commands/DescribeDimensionKeysCommand.d.ts +1 -1
- package/dist-types/commands/GetResourceMetricsCommand.d.ts +1 -1
- package/dist-types/commands/ListAvailableResourceDimensionsCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +11 -11
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: [ //
|
|
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: [ //
|
|
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.
|
|
4
|
+
"version": "3.582.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",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.582.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.582.0",
|
|
25
|
+
"@aws-sdk/core": "3.582.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.582.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
@@ -34,26 +34,26 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.577.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.0",
|
|
37
|
-
"@smithy/core": "^2.0.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.0.
|
|
37
|
+
"@smithy/core": "^2.0.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.0.1",
|
|
39
39
|
"@smithy/hash-node": "^3.0.0",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.0",
|
|
41
41
|
"@smithy/middleware-content-length": "^3.0.0",
|
|
42
42
|
"@smithy/middleware-endpoint": "^3.0.0",
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.1",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.0",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.0",
|
|
46
46
|
"@smithy/node-config-provider": "^3.0.0",
|
|
47
47
|
"@smithy/node-http-handler": "^3.0.0",
|
|
48
48
|
"@smithy/protocol-http": "^4.0.0",
|
|
49
|
-
"@smithy/smithy-client": "^3.0.
|
|
49
|
+
"@smithy/smithy-client": "^3.0.1",
|
|
50
50
|
"@smithy/types": "^3.0.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.0",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.1",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.1",
|
|
57
57
|
"@smithy/util-endpoints": "^2.0.0",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.0",
|
|
59
59
|
"@smithy/util-retry": "^3.0.0",
|