@aws-sdk/client-pi 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/PI.js +0 -25
- package/dist-cjs/PIClient.js +0 -30
- package/dist-cjs/commands/DescribeDimensionKeysCommand.js +0 -30
- package/dist-cjs/commands/GetDimensionKeyDetailsCommand.js +0 -28
- package/dist-cjs/commands/GetResourceMetricsCommand.js +0 -31
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +3 -6
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -52
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/PI.js +0 -1
- package/dist-es/PIClient.js +0 -1
- package/dist-es/commands/DescribeDimensionKeysCommand.js +0 -1
- package/dist-es/commands/GetDimensionKeyDetailsCommand.js +0 -1
- package/dist-es/commands/GetResourceMetricsCommand.js +0 -1
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +3 -6
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +3 -5
- package/dist-types/ts3.4/PI.d.ts +4 -47
- package/dist-types/ts3.4/PIClient.d.ts +24 -110
- package/dist-types/ts3.4/commands/DescribeDimensionKeysCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetDimensionKeyDetailsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetResourceMetricsCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +3 -5
- package/dist-types/ts3.4/models/models_0.d.ts +82 -588
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/PI.js.map +0 -1
- package/dist-cjs/PIClient.js.map +0 -1
- package/dist-cjs/commands/DescribeDimensionKeysCommand.js.map +0 -1
- package/dist-cjs/commands/GetDimensionKeyDetailsCommand.js.map +0 -1
- package/dist-cjs/commands/GetResourceMetricsCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/PI.js.map +0 -1
- package/dist-es/PIClient.js.map +0 -1
- package/dist-es/commands/DescribeDimensionKeysCommand.js.map +0 -1
- package/dist-es/commands/GetDimensionKeyDetailsCommand.js.map +0 -1
- package/dist-es/commands/GetResourceMetricsCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/PI.ts +0 -154
- package/src/PIClient.ts +0 -272
- package/src/commands/DescribeDimensionKeysCommand.ts +0 -100
- package/src/commands/GetDimensionKeyDetailsCommand.ts +0 -98
- package/src/commands/GetResourceMetricsCommand.ts +0 -101
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -6
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -855
- package/src/protocols/Aws_json1_1.ts +0 -786
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/dist-es/models/index.js
CHANGED
|
@@ -77,4 +77,3 @@ export var GetResourceMetricsResponse;
|
|
|
77
77
|
(function (GetResourceMetricsResponse) {
|
|
78
78
|
GetResourceMetricsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
79
79
|
})(GetResourceMetricsResponse || (GetResourceMetricsResponse = {}));
|
|
80
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
import packageInfo from "../package.json";
|
|
2
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
4
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
4
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -7,11 +8,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
|
7
8
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
8
9
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
10
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
|
-
import packageInfo from "../package.json";
|
|
11
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
12
|
export var getRuntimeConfig = function (config) {
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
14
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
15
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
import packageInfo from "../package.json";
|
|
2
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -6,17 +7,15 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
6
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
9
|
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
|
-
import packageInfo from "../package.json";
|
|
15
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
20
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
6
6
|
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
7
7
|
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export * from "./PIClient";
|
|
2
1
|
export * from "./PI";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./PIClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
package/dist-types/ts3.4/PI.d.ts
CHANGED
|
@@ -3,60 +3,17 @@ import { DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput }
|
|
|
3
3
|
import { GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput } from "./commands/GetDimensionKeyDetailsCommand";
|
|
4
4
|
import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "./commands/GetResourceMetricsCommand";
|
|
5
5
|
import { PIClient } from "./PIClient";
|
|
6
|
-
|
|
7
|
-
* <fullname>Amazon RDS Performance Insights</fullname>
|
|
8
|
-
*
|
|
9
|
-
* <p>Amazon RDS Performance Insights enables you to monitor and explore different dimensions of
|
|
10
|
-
* database load based on data captured from a running DB instance. The guide provides detailed
|
|
11
|
-
* information about Performance Insights data types, parameters and errors.</p>
|
|
12
|
-
*
|
|
13
|
-
* <p>When Performance Insights is enabled, the Amazon RDS Performance Insights API provides visibility into the performance of your DB instance. Amazon
|
|
14
|
-
* CloudWatch provides the authoritative source for AWS service-vended monitoring metrics. Performance Insights offers a domain-specific
|
|
15
|
-
* view of DB load. </p>
|
|
16
|
-
* <p>DB load is measured as Average Active Sessions. Performance Insights provides the data to API consumers as a two-dimensional
|
|
17
|
-
* time-series dataset. The time dimension provides DB load data for each time point in the queried time range. Each time
|
|
18
|
-
* point decomposes overall load in relation to the requested dimensions, measured at that time point. Examples include
|
|
19
|
-
* SQL, Wait event, User, and Host.</p>
|
|
20
|
-
*
|
|
21
|
-
* <ul>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>To learn more about Performance Insights and Amazon Aurora DB instances, go to the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html">Amazon Aurora User Guide</a>.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>To learn more about Performance Insights and Amazon RDS DB instances, go to the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html">Amazon RDS User Guide</a>.</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* </ul>
|
|
29
|
-
*/
|
|
6
|
+
|
|
30
7
|
export declare class PI extends PIClient {
|
|
31
|
-
|
|
32
|
-
* <p>For a specific time period, retrieve the top <code>N</code> dimension keys for a
|
|
33
|
-
* metric.</p>
|
|
34
|
-
* <note>
|
|
35
|
-
* <p>Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements,
|
|
36
|
-
* only the first 500 bytes are returned.</p>
|
|
37
|
-
* </note>
|
|
38
|
-
*/
|
|
8
|
+
|
|
39
9
|
describeDimensionKeys(args: DescribeDimensionKeysCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDimensionKeysCommandOutput>;
|
|
40
10
|
describeDimensionKeys(args: DescribeDimensionKeysCommandInput, cb: (err: any, data?: DescribeDimensionKeysCommandOutput) => void): void;
|
|
41
11
|
describeDimensionKeys(args: DescribeDimensionKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDimensionKeysCommandOutput) => void): void;
|
|
42
|
-
|
|
43
|
-
* <p>Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify a
|
|
44
|
-
* SQL ID, <code>GetDimensionKeyDetails</code> retrieves the full text of the dimension <code>db.sql.statement</code>
|
|
45
|
-
* associated with this ID. This operation is useful because <code>GetResourceMetrics</code> and
|
|
46
|
-
* <code>DescribeDimensionKeys</code> don't support retrieval of large SQL statement text.</p>
|
|
47
|
-
*/
|
|
12
|
+
|
|
48
13
|
getDimensionKeyDetails(args: GetDimensionKeyDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetDimensionKeyDetailsCommandOutput>;
|
|
49
14
|
getDimensionKeyDetails(args: GetDimensionKeyDetailsCommandInput, cb: (err: any, data?: GetDimensionKeyDetailsCommandOutput) => void): void;
|
|
50
15
|
getDimensionKeyDetails(args: GetDimensionKeyDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDimensionKeyDetailsCommandOutput) => void): void;
|
|
51
|
-
|
|
52
|
-
* <p>Retrieve Performance Insights metrics for a set of data sources, over a time period. You can provide
|
|
53
|
-
* specific dimension groups and dimensions, and provide aggregation and filtering criteria for
|
|
54
|
-
* each group.</p>
|
|
55
|
-
* <note>
|
|
56
|
-
* <p>Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements,
|
|
57
|
-
* only the first 500 bytes are returned.</p>
|
|
58
|
-
* </note>
|
|
59
|
-
*/
|
|
16
|
+
|
|
60
17
|
getResourceMetrics(args: GetResourceMetricsCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceMetricsCommandOutput>;
|
|
61
18
|
getResourceMetrics(args: GetResourceMetricsCommandInput, cb: (err: any, data?: GetResourceMetricsCommandOutput) => void): void;
|
|
62
19
|
getResourceMetrics(args: GetResourceMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceMetricsCommandOutput) => void): void;
|
|
@@ -12,145 +12,59 @@ import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from
|
|
|
12
12
|
export declare type ServiceInputTypes = DescribeDimensionKeysCommandInput | GetDimensionKeyDetailsCommandInput | GetResourceMetricsCommandInput;
|
|
13
13
|
export declare type ServiceOutputTypes = DescribeDimensionKeysCommandOutput | GetDimensionKeyDetailsCommandOutput | GetResourceMetricsCommandOutput;
|
|
14
14
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
15
|
-
|
|
16
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
17
|
-
*/
|
|
15
|
+
|
|
18
16
|
requestHandler?: __HttpHandler;
|
|
19
|
-
|
|
20
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
21
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
22
|
-
* @internal
|
|
23
|
-
*/
|
|
17
|
+
|
|
24
18
|
sha256?: __HashConstructor;
|
|
25
|
-
|
|
26
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
27
|
-
* @internal
|
|
28
|
-
*/
|
|
19
|
+
|
|
29
20
|
urlParser?: __UrlParser;
|
|
30
|
-
|
|
31
|
-
* A function that can calculate the length of a request body.
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
21
|
+
|
|
34
22
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
35
|
-
|
|
36
|
-
* A function that converts a stream into an array of bytes.
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
23
|
+
|
|
39
24
|
streamCollector?: __StreamCollector;
|
|
40
|
-
|
|
41
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
25
|
+
|
|
44
26
|
base64Decoder?: __Decoder;
|
|
45
|
-
|
|
46
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
27
|
+
|
|
49
28
|
base64Encoder?: __Encoder;
|
|
50
|
-
|
|
51
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
29
|
+
|
|
54
30
|
utf8Decoder?: __Decoder;
|
|
55
|
-
|
|
56
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
31
|
+
|
|
59
32
|
utf8Encoder?: __Encoder;
|
|
60
|
-
|
|
61
|
-
* The runtime environment.
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
33
|
+
|
|
64
34
|
runtime?: string;
|
|
65
|
-
|
|
66
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
67
|
-
* trait of an operation.
|
|
68
|
-
*/
|
|
35
|
+
|
|
69
36
|
disableHostPrefix?: boolean;
|
|
70
|
-
|
|
71
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
72
|
-
*/
|
|
37
|
+
|
|
73
38
|
maxAttempts?: number | __Provider<number>;
|
|
74
|
-
|
|
75
|
-
* Specifies which retry algorithm to use.
|
|
76
|
-
*/
|
|
39
|
+
|
|
77
40
|
retryMode?: string | __Provider<string>;
|
|
78
|
-
|
|
79
|
-
* Optional logger for logging debug/info/warn/error.
|
|
80
|
-
*/
|
|
41
|
+
|
|
81
42
|
logger?: __Logger;
|
|
82
|
-
|
|
83
|
-
* Unique service identifier.
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
43
|
+
|
|
86
44
|
serviceId?: string;
|
|
87
|
-
|
|
88
|
-
* The AWS region to which this client will send requests
|
|
89
|
-
*/
|
|
45
|
+
|
|
90
46
|
region?: string | __Provider<string>;
|
|
91
|
-
|
|
92
|
-
* Default credentials provider; Not available in browser runtime.
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
47
|
+
|
|
95
48
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
96
|
-
|
|
97
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
49
|
+
|
|
100
50
|
regionInfoProvider?: RegionInfoProvider;
|
|
101
|
-
|
|
102
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
51
|
+
|
|
105
52
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
106
53
|
}
|
|
107
54
|
declare type PIClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
108
|
-
|
|
109
|
-
* The configuration interface of PIClient class constructor that set the region, credentials and other options.
|
|
110
|
-
*/
|
|
55
|
+
|
|
111
56
|
export interface PIClientConfig extends PIClientConfigType {
|
|
112
57
|
}
|
|
113
58
|
declare type PIClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
114
|
-
|
|
115
|
-
* The resolved configuration interface of PIClient class. This is resolved and normalized from the {@link PIClientConfig | constructor configuration interface}.
|
|
116
|
-
*/
|
|
59
|
+
|
|
117
60
|
export interface PIClientResolvedConfig extends PIClientResolvedConfigType {
|
|
118
61
|
}
|
|
119
|
-
|
|
120
|
-
* <fullname>Amazon RDS Performance Insights</fullname>
|
|
121
|
-
*
|
|
122
|
-
* <p>Amazon RDS Performance Insights enables you to monitor and explore different dimensions of
|
|
123
|
-
* database load based on data captured from a running DB instance. The guide provides detailed
|
|
124
|
-
* information about Performance Insights data types, parameters and errors.</p>
|
|
125
|
-
*
|
|
126
|
-
* <p>When Performance Insights is enabled, the Amazon RDS Performance Insights API provides visibility into the performance of your DB instance. Amazon
|
|
127
|
-
* CloudWatch provides the authoritative source for AWS service-vended monitoring metrics. Performance Insights offers a domain-specific
|
|
128
|
-
* view of DB load. </p>
|
|
129
|
-
* <p>DB load is measured as Average Active Sessions. Performance Insights provides the data to API consumers as a two-dimensional
|
|
130
|
-
* time-series dataset. The time dimension provides DB load data for each time point in the queried time range. Each time
|
|
131
|
-
* point decomposes overall load in relation to the requested dimensions, measured at that time point. Examples include
|
|
132
|
-
* SQL, Wait event, User, and Host.</p>
|
|
133
|
-
*
|
|
134
|
-
* <ul>
|
|
135
|
-
* <li>
|
|
136
|
-
* <p>To learn more about Performance Insights and Amazon Aurora DB instances, go to the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html">Amazon Aurora User Guide</a>.</p>
|
|
137
|
-
* </li>
|
|
138
|
-
* <li>
|
|
139
|
-
* <p>To learn more about Performance Insights and Amazon RDS DB instances, go to the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html">Amazon RDS User Guide</a>.</p>
|
|
140
|
-
* </li>
|
|
141
|
-
* </ul>
|
|
142
|
-
*/
|
|
62
|
+
|
|
143
63
|
export declare class PIClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, PIClientResolvedConfig> {
|
|
144
|
-
|
|
145
|
-
* The resolved configuration of PIClient class. This is resolved and normalized from the {@link PIClientConfig | constructor configuration interface}.
|
|
146
|
-
*/
|
|
64
|
+
|
|
147
65
|
readonly config: PIClientResolvedConfig;
|
|
148
66
|
constructor(configuration: PIClientConfig);
|
|
149
|
-
|
|
150
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
151
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
152
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
153
|
-
*/
|
|
67
|
+
|
|
154
68
|
destroy(): void;
|
|
155
69
|
}
|
|
156
70
|
export {};
|
|
@@ -6,34 +6,11 @@ export interface DescribeDimensionKeysCommandInput extends DescribeDimensionKeys
|
|
|
6
6
|
}
|
|
7
7
|
export interface DescribeDimensionKeysCommandOutput extends DescribeDimensionKeysResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>For a specific time period, retrieve the top <code>N</code> dimension keys for a
|
|
11
|
-
* metric.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements,
|
|
14
|
-
* only the first 500 bytes are returned.</p>
|
|
15
|
-
* </note>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { PIClient, DescribeDimensionKeysCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
20
|
-
* // const { PIClient, DescribeDimensionKeysCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
21
|
-
* const client = new PIClient(config);
|
|
22
|
-
* const command = new DescribeDimensionKeysCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link DescribeDimensionKeysCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link DescribeDimensionKeysCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link PIClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
9
|
+
|
|
31
10
|
export declare class DescribeDimensionKeysCommand extends $Command<DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput, PIClientResolvedConfig> {
|
|
32
11
|
readonly input: DescribeDimensionKeysCommandInput;
|
|
33
12
|
constructor(input: DescribeDimensionKeysCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
13
|
+
|
|
37
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput>;
|
|
38
15
|
private serialize;
|
|
39
16
|
private deserialize;
|
|
@@ -6,32 +6,11 @@ export interface GetDimensionKeyDetailsCommandInput extends GetDimensionKeyDetai
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetDimensionKeyDetailsCommandOutput extends GetDimensionKeyDetailsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify a
|
|
11
|
-
* SQL ID, <code>GetDimensionKeyDetails</code> retrieves the full text of the dimension <code>db.sql.statement</code>
|
|
12
|
-
* associated with this ID. This operation is useful because <code>GetResourceMetrics</code> and
|
|
13
|
-
* <code>DescribeDimensionKeys</code> don't support retrieval of large SQL statement text.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { PIClient, GetDimensionKeyDetailsCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
18
|
-
* // const { PIClient, GetDimensionKeyDetailsCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
19
|
-
* const client = new PIClient(config);
|
|
20
|
-
* const command = new GetDimensionKeyDetailsCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link GetDimensionKeyDetailsCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link GetDimensionKeyDetailsCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link PIClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
9
|
+
|
|
29
10
|
export declare class GetDimensionKeyDetailsCommand extends $Command<GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput, PIClientResolvedConfig> {
|
|
30
11
|
readonly input: GetDimensionKeyDetailsCommandInput;
|
|
31
12
|
constructor(input: GetDimensionKeyDetailsCommandInput);
|
|
32
|
-
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
13
|
+
|
|
35
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput>;
|
|
36
15
|
private serialize;
|
|
37
16
|
private deserialize;
|
|
@@ -6,35 +6,11 @@ export interface GetResourceMetricsCommandInput extends GetResourceMetricsReques
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetResourceMetricsCommandOutput extends GetResourceMetricsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Retrieve Performance Insights metrics for a set of data sources, over a time period. You can provide
|
|
11
|
-
* specific dimension groups and dimensions, and provide aggregation and filtering criteria for
|
|
12
|
-
* each group.</p>
|
|
13
|
-
* <note>
|
|
14
|
-
* <p>Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements,
|
|
15
|
-
* only the first 500 bytes are returned.</p>
|
|
16
|
-
* </note>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { PIClient, GetResourceMetricsCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
21
|
-
* // const { PIClient, GetResourceMetricsCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
22
|
-
* const client = new PIClient(config);
|
|
23
|
-
* const command = new GetResourceMetricsCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link GetResourceMetricsCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link GetResourceMetricsCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link PIClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
9
|
+
|
|
32
10
|
export declare class GetResourceMetricsCommand extends $Command<GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput, PIClientResolvedConfig> {
|
|
33
11
|
readonly input: GetResourceMetricsCommandInput;
|
|
34
12
|
constructor(input: GetResourceMetricsCommandInput);
|
|
35
|
-
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
13
|
+
|
|
38
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput>;
|
|
39
15
|
private serialize;
|
|
40
16
|
private deserialize;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export * from "./PIClient";
|
|
2
1
|
export * from "./PI";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./PIClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|