@aws-sdk/client-pi 3.296.0 → 3.298.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/commands/DescribeDimensionKeysCommand.js +2 -3
- package/dist-cjs/commands/GetDimensionKeyDetailsCommand.js +2 -3
- package/dist-cjs/commands/GetResourceMetadataCommand.js +2 -3
- package/dist-cjs/commands/GetResourceMetricsCommand.js +2 -3
- package/dist-cjs/commands/ListAvailableResourceDimensionsCommand.js +2 -3
- package/dist-cjs/commands/ListAvailableResourceMetricsCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -101
- package/dist-es/commands/DescribeDimensionKeysCommand.js +2 -3
- package/dist-es/commands/GetDimensionKeyDetailsCommand.js +2 -3
- package/dist-es/commands/GetResourceMetadataCommand.js +2 -3
- package/dist-es/commands/GetResourceMetricsCommand.js +2 -3
- package/dist-es/commands/ListAvailableResourceDimensionsCommand.js +2 -3
- package/dist-es/commands/ListAvailableResourceMetricsCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -75
- package/dist-types/PI.d.ts +7 -0
- package/dist-types/PIClient.d.ts +24 -4
- package/dist-types/commands/DescribeDimensionKeysCommand.d.ts +16 -0
- package/dist-types/commands/GetDimensionKeyDetailsCommand.d.ts +16 -0
- package/dist-types/commands/GetResourceMetadataCommand.d.ts +16 -0
- package/dist-types/commands/GetResourceMetricsCommand.d.ts +16 -0
- package/dist-types/commands/ListAvailableResourceDimensionsCommand.d.ts +16 -0
- package/dist-types/commands/ListAvailableResourceMetricsCommand.d.ts +16 -0
- package/dist-types/models/PIServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +65 -101
- package/dist-types/pagination/DescribeDimensionKeysPaginator.d.ts +3 -0
- package/dist-types/pagination/GetResourceMetricsPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAvailableResourceDimensionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAvailableResourceMetricsPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -71
- package/package.json +4 -3
|
@@ -4,7 +4,6 @@ exports.DescribeDimensionKeysCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class DescribeDimensionKeysCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class DescribeDimensionKeysCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.GetDimensionKeyDetailsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class GetDimensionKeyDetailsCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class GetDimensionKeyDetailsCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.GetResourceMetadataCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class GetResourceMetadataCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class GetResourceMetadataCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.GetResourceMetricsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class GetResourceMetricsCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class GetResourceMetricsCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.ListAvailableResourceDimensionsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class ListAvailableResourceDimensionsCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class ListAvailableResourceDimensionsCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.ListAvailableResourceMetricsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class ListAvailableResourceMetricsCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class ListAvailableResourceMetricsCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PeriodAlignment = exports.FeatureStatus = exports.DetailStatus = exports.NotAuthorizedException = exports.InvalidArgumentException = exports.InternalServiceError = exports.ServiceType = void 0;
|
|
4
4
|
const PIServiceException_1 = require("./PIServiceException");
|
|
5
5
|
var ServiceType;
|
|
6
6
|
(function (ServiceType) {
|
|
@@ -69,103 +69,3 @@ var PeriodAlignment;
|
|
|
69
69
|
PeriodAlignment["END_TIME"] = "END_TIME";
|
|
70
70
|
PeriodAlignment["START_TIME"] = "START_TIME";
|
|
71
71
|
})(PeriodAlignment = exports.PeriodAlignment || (exports.PeriodAlignment = {}));
|
|
72
|
-
const DataPointFilterSensitiveLog = (obj) => ({
|
|
73
|
-
...obj,
|
|
74
|
-
});
|
|
75
|
-
exports.DataPointFilterSensitiveLog = DataPointFilterSensitiveLog;
|
|
76
|
-
const DimensionGroupFilterSensitiveLog = (obj) => ({
|
|
77
|
-
...obj,
|
|
78
|
-
});
|
|
79
|
-
exports.DimensionGroupFilterSensitiveLog = DimensionGroupFilterSensitiveLog;
|
|
80
|
-
const DescribeDimensionKeysRequestFilterSensitiveLog = (obj) => ({
|
|
81
|
-
...obj,
|
|
82
|
-
});
|
|
83
|
-
exports.DescribeDimensionKeysRequestFilterSensitiveLog = DescribeDimensionKeysRequestFilterSensitiveLog;
|
|
84
|
-
const DimensionKeyDescriptionFilterSensitiveLog = (obj) => ({
|
|
85
|
-
...obj,
|
|
86
|
-
});
|
|
87
|
-
exports.DimensionKeyDescriptionFilterSensitiveLog = DimensionKeyDescriptionFilterSensitiveLog;
|
|
88
|
-
const ResponsePartitionKeyFilterSensitiveLog = (obj) => ({
|
|
89
|
-
...obj,
|
|
90
|
-
});
|
|
91
|
-
exports.ResponsePartitionKeyFilterSensitiveLog = ResponsePartitionKeyFilterSensitiveLog;
|
|
92
|
-
const DescribeDimensionKeysResponseFilterSensitiveLog = (obj) => ({
|
|
93
|
-
...obj,
|
|
94
|
-
});
|
|
95
|
-
exports.DescribeDimensionKeysResponseFilterSensitiveLog = DescribeDimensionKeysResponseFilterSensitiveLog;
|
|
96
|
-
const DimensionDetailFilterSensitiveLog = (obj) => ({
|
|
97
|
-
...obj,
|
|
98
|
-
});
|
|
99
|
-
exports.DimensionDetailFilterSensitiveLog = DimensionDetailFilterSensitiveLog;
|
|
100
|
-
const DimensionGroupDetailFilterSensitiveLog = (obj) => ({
|
|
101
|
-
...obj,
|
|
102
|
-
});
|
|
103
|
-
exports.DimensionGroupDetailFilterSensitiveLog = DimensionGroupDetailFilterSensitiveLog;
|
|
104
|
-
const DimensionKeyDetailFilterSensitiveLog = (obj) => ({
|
|
105
|
-
...obj,
|
|
106
|
-
});
|
|
107
|
-
exports.DimensionKeyDetailFilterSensitiveLog = DimensionKeyDetailFilterSensitiveLog;
|
|
108
|
-
const FeatureMetadataFilterSensitiveLog = (obj) => ({
|
|
109
|
-
...obj,
|
|
110
|
-
});
|
|
111
|
-
exports.FeatureMetadataFilterSensitiveLog = FeatureMetadataFilterSensitiveLog;
|
|
112
|
-
const GetDimensionKeyDetailsRequestFilterSensitiveLog = (obj) => ({
|
|
113
|
-
...obj,
|
|
114
|
-
});
|
|
115
|
-
exports.GetDimensionKeyDetailsRequestFilterSensitiveLog = GetDimensionKeyDetailsRequestFilterSensitiveLog;
|
|
116
|
-
const GetDimensionKeyDetailsResponseFilterSensitiveLog = (obj) => ({
|
|
117
|
-
...obj,
|
|
118
|
-
});
|
|
119
|
-
exports.GetDimensionKeyDetailsResponseFilterSensitiveLog = GetDimensionKeyDetailsResponseFilterSensitiveLog;
|
|
120
|
-
const GetResourceMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
121
|
-
...obj,
|
|
122
|
-
});
|
|
123
|
-
exports.GetResourceMetadataRequestFilterSensitiveLog = GetResourceMetadataRequestFilterSensitiveLog;
|
|
124
|
-
const GetResourceMetadataResponseFilterSensitiveLog = (obj) => ({
|
|
125
|
-
...obj,
|
|
126
|
-
});
|
|
127
|
-
exports.GetResourceMetadataResponseFilterSensitiveLog = GetResourceMetadataResponseFilterSensitiveLog;
|
|
128
|
-
const MetricQueryFilterSensitiveLog = (obj) => ({
|
|
129
|
-
...obj,
|
|
130
|
-
});
|
|
131
|
-
exports.MetricQueryFilterSensitiveLog = MetricQueryFilterSensitiveLog;
|
|
132
|
-
const GetResourceMetricsRequestFilterSensitiveLog = (obj) => ({
|
|
133
|
-
...obj,
|
|
134
|
-
});
|
|
135
|
-
exports.GetResourceMetricsRequestFilterSensitiveLog = GetResourceMetricsRequestFilterSensitiveLog;
|
|
136
|
-
const ResponseResourceMetricKeyFilterSensitiveLog = (obj) => ({
|
|
137
|
-
...obj,
|
|
138
|
-
});
|
|
139
|
-
exports.ResponseResourceMetricKeyFilterSensitiveLog = ResponseResourceMetricKeyFilterSensitiveLog;
|
|
140
|
-
const MetricKeyDataPointsFilterSensitiveLog = (obj) => ({
|
|
141
|
-
...obj,
|
|
142
|
-
});
|
|
143
|
-
exports.MetricKeyDataPointsFilterSensitiveLog = MetricKeyDataPointsFilterSensitiveLog;
|
|
144
|
-
const GetResourceMetricsResponseFilterSensitiveLog = (obj) => ({
|
|
145
|
-
...obj,
|
|
146
|
-
});
|
|
147
|
-
exports.GetResourceMetricsResponseFilterSensitiveLog = GetResourceMetricsResponseFilterSensitiveLog;
|
|
148
|
-
const ListAvailableResourceDimensionsRequestFilterSensitiveLog = (obj) => ({
|
|
149
|
-
...obj,
|
|
150
|
-
});
|
|
151
|
-
exports.ListAvailableResourceDimensionsRequestFilterSensitiveLog = ListAvailableResourceDimensionsRequestFilterSensitiveLog;
|
|
152
|
-
const MetricDimensionGroupsFilterSensitiveLog = (obj) => ({
|
|
153
|
-
...obj,
|
|
154
|
-
});
|
|
155
|
-
exports.MetricDimensionGroupsFilterSensitiveLog = MetricDimensionGroupsFilterSensitiveLog;
|
|
156
|
-
const ListAvailableResourceDimensionsResponseFilterSensitiveLog = (obj) => ({
|
|
157
|
-
...obj,
|
|
158
|
-
});
|
|
159
|
-
exports.ListAvailableResourceDimensionsResponseFilterSensitiveLog = ListAvailableResourceDimensionsResponseFilterSensitiveLog;
|
|
160
|
-
const ListAvailableResourceMetricsRequestFilterSensitiveLog = (obj) => ({
|
|
161
|
-
...obj,
|
|
162
|
-
});
|
|
163
|
-
exports.ListAvailableResourceMetricsRequestFilterSensitiveLog = ListAvailableResourceMetricsRequestFilterSensitiveLog;
|
|
164
|
-
const ResponseResourceMetricFilterSensitiveLog = (obj) => ({
|
|
165
|
-
...obj,
|
|
166
|
-
});
|
|
167
|
-
exports.ResponseResourceMetricFilterSensitiveLog = ResponseResourceMetricFilterSensitiveLog;
|
|
168
|
-
const ListAvailableResourceMetricsResponseFilterSensitiveLog = (obj) => ({
|
|
169
|
-
...obj,
|
|
170
|
-
});
|
|
171
|
-
exports.ListAvailableResourceMetricsResponseFilterSensitiveLog = ListAvailableResourceMetricsResponseFilterSensitiveLog;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeDimensionKeysRequestFilterSensitiveLog, DescribeDimensionKeysResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1DescribeDimensionKeysCommand, serializeAws_json1_1DescribeDimensionKeysCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class DescribeDimensionKeysCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class DescribeDimensionKeysCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetDimensionKeyDetailsRequestFilterSensitiveLog, GetDimensionKeyDetailsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1GetDimensionKeyDetailsCommand, serializeAws_json1_1GetDimensionKeyDetailsCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class GetDimensionKeyDetailsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class GetDimensionKeyDetailsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetResourceMetadataRequestFilterSensitiveLog, GetResourceMetadataResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1GetResourceMetadataCommand, serializeAws_json1_1GetResourceMetadataCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class GetResourceMetadataCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class GetResourceMetadataCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetResourceMetricsRequestFilterSensitiveLog, GetResourceMetricsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1GetResourceMetricsCommand, serializeAws_json1_1GetResourceMetricsCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class GetResourceMetricsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class GetResourceMetricsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListAvailableResourceDimensionsRequestFilterSensitiveLog, ListAvailableResourceDimensionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1ListAvailableResourceDimensionsCommand, serializeAws_json1_1ListAvailableResourceDimensionsCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class ListAvailableResourceDimensionsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class ListAvailableResourceDimensionsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListAvailableResourceMetricsRequestFilterSensitiveLog, ListAvailableResourceMetricsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1ListAvailableResourceMetricsCommand, serializeAws_json1_1ListAvailableResourceMetricsCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class ListAvailableResourceMetricsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class ListAvailableResourceMetricsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -63,78 +63,3 @@ export var PeriodAlignment;
|
|
|
63
63
|
PeriodAlignment["END_TIME"] = "END_TIME";
|
|
64
64
|
PeriodAlignment["START_TIME"] = "START_TIME";
|
|
65
65
|
})(PeriodAlignment || (PeriodAlignment = {}));
|
|
66
|
-
export const DataPointFilterSensitiveLog = (obj) => ({
|
|
67
|
-
...obj,
|
|
68
|
-
});
|
|
69
|
-
export const DimensionGroupFilterSensitiveLog = (obj) => ({
|
|
70
|
-
...obj,
|
|
71
|
-
});
|
|
72
|
-
export const DescribeDimensionKeysRequestFilterSensitiveLog = (obj) => ({
|
|
73
|
-
...obj,
|
|
74
|
-
});
|
|
75
|
-
export const DimensionKeyDescriptionFilterSensitiveLog = (obj) => ({
|
|
76
|
-
...obj,
|
|
77
|
-
});
|
|
78
|
-
export const ResponsePartitionKeyFilterSensitiveLog = (obj) => ({
|
|
79
|
-
...obj,
|
|
80
|
-
});
|
|
81
|
-
export const DescribeDimensionKeysResponseFilterSensitiveLog = (obj) => ({
|
|
82
|
-
...obj,
|
|
83
|
-
});
|
|
84
|
-
export const DimensionDetailFilterSensitiveLog = (obj) => ({
|
|
85
|
-
...obj,
|
|
86
|
-
});
|
|
87
|
-
export const DimensionGroupDetailFilterSensitiveLog = (obj) => ({
|
|
88
|
-
...obj,
|
|
89
|
-
});
|
|
90
|
-
export const DimensionKeyDetailFilterSensitiveLog = (obj) => ({
|
|
91
|
-
...obj,
|
|
92
|
-
});
|
|
93
|
-
export const FeatureMetadataFilterSensitiveLog = (obj) => ({
|
|
94
|
-
...obj,
|
|
95
|
-
});
|
|
96
|
-
export const GetDimensionKeyDetailsRequestFilterSensitiveLog = (obj) => ({
|
|
97
|
-
...obj,
|
|
98
|
-
});
|
|
99
|
-
export const GetDimensionKeyDetailsResponseFilterSensitiveLog = (obj) => ({
|
|
100
|
-
...obj,
|
|
101
|
-
});
|
|
102
|
-
export const GetResourceMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
103
|
-
...obj,
|
|
104
|
-
});
|
|
105
|
-
export const GetResourceMetadataResponseFilterSensitiveLog = (obj) => ({
|
|
106
|
-
...obj,
|
|
107
|
-
});
|
|
108
|
-
export const MetricQueryFilterSensitiveLog = (obj) => ({
|
|
109
|
-
...obj,
|
|
110
|
-
});
|
|
111
|
-
export const GetResourceMetricsRequestFilterSensitiveLog = (obj) => ({
|
|
112
|
-
...obj,
|
|
113
|
-
});
|
|
114
|
-
export const ResponseResourceMetricKeyFilterSensitiveLog = (obj) => ({
|
|
115
|
-
...obj,
|
|
116
|
-
});
|
|
117
|
-
export const MetricKeyDataPointsFilterSensitiveLog = (obj) => ({
|
|
118
|
-
...obj,
|
|
119
|
-
});
|
|
120
|
-
export const GetResourceMetricsResponseFilterSensitiveLog = (obj) => ({
|
|
121
|
-
...obj,
|
|
122
|
-
});
|
|
123
|
-
export const ListAvailableResourceDimensionsRequestFilterSensitiveLog = (obj) => ({
|
|
124
|
-
...obj,
|
|
125
|
-
});
|
|
126
|
-
export const MetricDimensionGroupsFilterSensitiveLog = (obj) => ({
|
|
127
|
-
...obj,
|
|
128
|
-
});
|
|
129
|
-
export const ListAvailableResourceDimensionsResponseFilterSensitiveLog = (obj) => ({
|
|
130
|
-
...obj,
|
|
131
|
-
});
|
|
132
|
-
export const ListAvailableResourceMetricsRequestFilterSensitiveLog = (obj) => ({
|
|
133
|
-
...obj,
|
|
134
|
-
});
|
|
135
|
-
export const ResponseResourceMetricFilterSensitiveLog = (obj) => ({
|
|
136
|
-
...obj,
|
|
137
|
-
});
|
|
138
|
-
export const ListAvailableResourceMetricsResponseFilterSensitiveLog = (obj) => ({
|
|
139
|
-
...obj,
|
|
140
|
-
});
|
package/dist-types/PI.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { ListAvailableResourceDimensionsCommandInput, ListAvailableResourceDimen
|
|
|
7
7
|
import { ListAvailableResourceMetricsCommandInput, ListAvailableResourceMetricsCommandOutput } from "./commands/ListAvailableResourceMetricsCommand";
|
|
8
8
|
import { PIClient } from "./PIClient";
|
|
9
9
|
/**
|
|
10
|
+
* @public
|
|
10
11
|
* <fullname>Amazon RDS Performance Insights</fullname>
|
|
11
12
|
* <p>Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. The guide
|
|
12
13
|
* provides detailed information about Performance Insights data types, parameters and errors.</p>
|
|
@@ -35,6 +36,7 @@ import { PIClient } from "./PIClient";
|
|
|
35
36
|
*/
|
|
36
37
|
export declare class PI extends PIClient {
|
|
37
38
|
/**
|
|
39
|
+
* @public
|
|
38
40
|
* <p>For a specific time period, retrieve the top <code>N</code> dimension keys for a metric.
|
|
39
41
|
* </p>
|
|
40
42
|
* <note>
|
|
@@ -46,6 +48,7 @@ export declare class PI extends PIClient {
|
|
|
46
48
|
describeDimensionKeys(args: DescribeDimensionKeysCommandInput, cb: (err: any, data?: DescribeDimensionKeysCommandOutput) => void): void;
|
|
47
49
|
describeDimensionKeys(args: DescribeDimensionKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDimensionKeysCommandOutput) => void): void;
|
|
48
50
|
/**
|
|
51
|
+
* @public
|
|
49
52
|
* <p>Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify a SQL ID,
|
|
50
53
|
* <code>GetDimensionKeyDetails</code> retrieves the full text of the dimension <code>db.sql.statement</code> associated with this ID.
|
|
51
54
|
* This operation is useful because <code>GetResourceMetrics</code> and <code>DescribeDimensionKeys</code> don't support retrieval of large
|
|
@@ -55,6 +58,7 @@ export declare class PI extends PIClient {
|
|
|
55
58
|
getDimensionKeyDetails(args: GetDimensionKeyDetailsCommandInput, cb: (err: any, data?: GetDimensionKeyDetailsCommandOutput) => void): void;
|
|
56
59
|
getDimensionKeyDetails(args: GetDimensionKeyDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDimensionKeyDetailsCommandOutput) => void): void;
|
|
57
60
|
/**
|
|
61
|
+
* @public
|
|
58
62
|
* <p>Retrieve the metadata for different features. For example, the metadata might indicate
|
|
59
63
|
* that a feature is turned on or off on a specific DB instance.
|
|
60
64
|
* </p>
|
|
@@ -63,6 +67,7 @@ export declare class PI extends PIClient {
|
|
|
63
67
|
getResourceMetadata(args: GetResourceMetadataCommandInput, cb: (err: any, data?: GetResourceMetadataCommandOutput) => void): void;
|
|
64
68
|
getResourceMetadata(args: GetResourceMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceMetadataCommandOutput) => void): void;
|
|
65
69
|
/**
|
|
70
|
+
* @public
|
|
66
71
|
* <p>Retrieve Performance Insights metrics for a set of data sources over a time period. You can provide
|
|
67
72
|
* specific dimension groups and dimensions, and provide aggregation and filtering criteria for
|
|
68
73
|
* each group.</p>
|
|
@@ -75,12 +80,14 @@ export declare class PI extends PIClient {
|
|
|
75
80
|
getResourceMetrics(args: GetResourceMetricsCommandInput, cb: (err: any, data?: GetResourceMetricsCommandOutput) => void): void;
|
|
76
81
|
getResourceMetrics(args: GetResourceMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceMetricsCommandOutput) => void): void;
|
|
77
82
|
/**
|
|
83
|
+
* @public
|
|
78
84
|
* <p>Retrieve the dimensions that can be queried for each specified metric type on a specified DB instance.</p>
|
|
79
85
|
*/
|
|
80
86
|
listAvailableResourceDimensions(args: ListAvailableResourceDimensionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAvailableResourceDimensionsCommandOutput>;
|
|
81
87
|
listAvailableResourceDimensions(args: ListAvailableResourceDimensionsCommandInput, cb: (err: any, data?: ListAvailableResourceDimensionsCommandOutput) => void): void;
|
|
82
88
|
listAvailableResourceDimensions(args: ListAvailableResourceDimensionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAvailableResourceDimensionsCommandOutput) => void): void;
|
|
83
89
|
/**
|
|
90
|
+
* @public
|
|
84
91
|
* <p>Retrieve metrics of the specified types that can be queried for a specified DB instance.
|
|
85
92
|
* </p>
|
|
86
93
|
*/
|
package/dist-types/PIClient.d.ts
CHANGED
|
@@ -14,15 +14,24 @@ import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from
|
|
|
14
14
|
import { ListAvailableResourceDimensionsCommandInput, ListAvailableResourceDimensionsCommandOutput } from "./commands/ListAvailableResourceDimensionsCommand";
|
|
15
15
|
import { ListAvailableResourceMetricsCommandInput, ListAvailableResourceMetricsCommandOutput } from "./commands/ListAvailableResourceMetricsCommand";
|
|
16
16
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
17
20
|
export type ServiceInputTypes = DescribeDimensionKeysCommandInput | GetDimensionKeyDetailsCommandInput | GetResourceMetadataCommandInput | GetResourceMetricsCommandInput | ListAvailableResourceDimensionsCommandInput | ListAvailableResourceMetricsCommandInput;
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
18
24
|
export type ServiceOutputTypes = DescribeDimensionKeysCommandOutput | GetDimensionKeyDetailsCommandOutput | GetResourceMetadataCommandOutput | GetResourceMetricsCommandOutput | ListAvailableResourceDimensionsCommandOutput | ListAvailableResourceMetricsCommandOutput;
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
19
28
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
20
29
|
/**
|
|
21
30
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
22
31
|
*/
|
|
23
32
|
requestHandler?: __HttpHandler;
|
|
24
33
|
/**
|
|
25
|
-
* A constructor for a class implementing the {@link
|
|
34
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
26
35
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
27
36
|
* @internal
|
|
28
37
|
*/
|
|
@@ -112,23 +121,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
112
121
|
*/
|
|
113
122
|
logger?: __Logger;
|
|
114
123
|
/**
|
|
115
|
-
* The {@link
|
|
124
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
116
125
|
*/
|
|
117
126
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
118
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
119
131
|
type PIClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
120
132
|
/**
|
|
121
|
-
*
|
|
133
|
+
* @public
|
|
134
|
+
*
|
|
135
|
+
* The configuration interface of PIClient class constructor that set the region, credentials and other options.
|
|
122
136
|
*/
|
|
123
137
|
export interface PIClientConfig extends PIClientConfigType {
|
|
124
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
125
142
|
type PIClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
126
143
|
/**
|
|
127
|
-
*
|
|
144
|
+
* @public
|
|
145
|
+
*
|
|
146
|
+
* The resolved configuration interface of PIClient class. This is resolved and normalized from the {@link PIClientConfig | constructor configuration interface}.
|
|
128
147
|
*/
|
|
129
148
|
export interface PIClientResolvedConfig extends PIClientResolvedConfigType {
|
|
130
149
|
}
|
|
131
150
|
/**
|
|
151
|
+
* @public
|
|
132
152
|
* <fullname>Amazon RDS Performance Insights</fullname>
|
|
133
153
|
* <p>Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. The guide
|
|
134
154
|
* provides detailed information about Performance Insights data types, parameters and errors.</p>
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DescribeDimensionKeysRequest, DescribeDimensionKeysResponse } from "../models/models_0";
|
|
5
5
|
import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeDimensionKeysCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeDimensionKeysCommandInput extends DescribeDimensionKeysRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeDimensionKeysCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeDimensionKeysCommandOutput extends DescribeDimensionKeysResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>For a specific time period, retrieve the top <code>N</code> dimension keys for a metric.
|
|
18
23
|
* </p>
|
|
19
24
|
* <note>
|
|
@@ -30,6 +35,8 @@ export interface DescribeDimensionKeysCommandOutput extends DescribeDimensionKey
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param DescribeDimensionKeysCommandInput - {@link DescribeDimensionKeysCommandInput}
|
|
39
|
+
* @returns {@link DescribeDimensionKeysCommandOutput}
|
|
33
40
|
* @see {@link DescribeDimensionKeysCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link DescribeDimensionKeysCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link PIClientResolvedConfig | config} for PIClient's `config` shape.
|
|
@@ -48,11 +55,20 @@ export interface DescribeDimensionKeysCommandOutput extends DescribeDimensionKey
|
|
|
48
55
|
export declare class DescribeDimensionKeysCommand extends $Command<DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput, PIClientResolvedConfig> {
|
|
49
56
|
readonly input: DescribeDimensionKeysCommandInput;
|
|
50
57
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
51
61
|
constructor(input: DescribeDimensionKeysCommandInput);
|
|
52
62
|
/**
|
|
53
63
|
* @internal
|
|
54
64
|
*/
|
|
55
65
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput>;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
56
69
|
private serialize;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
57
73
|
private deserialize;
|
|
58
74
|
}
|