@aws-sdk/client-pi 3.477.0 → 3.481.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.
Files changed (77) hide show
  1. package/dist-cjs/commands/CreatePerformanceAnalysisReportCommand.js +18 -41
  2. package/dist-cjs/commands/DeletePerformanceAnalysisReportCommand.js +18 -41
  3. package/dist-cjs/commands/DescribeDimensionKeysCommand.js +18 -41
  4. package/dist-cjs/commands/GetDimensionKeyDetailsCommand.js +18 -41
  5. package/dist-cjs/commands/GetPerformanceAnalysisReportCommand.js +18 -41
  6. package/dist-cjs/commands/GetResourceMetadataCommand.js +18 -41
  7. package/dist-cjs/commands/GetResourceMetricsCommand.js +18 -41
  8. package/dist-cjs/commands/ListAvailableResourceDimensionsCommand.js +18 -41
  9. package/dist-cjs/commands/ListAvailableResourceMetricsCommand.js +18 -41
  10. package/dist-cjs/commands/ListPerformanceAnalysisReportsCommand.js +18 -41
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  12. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  13. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  14. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  15. package/dist-cjs/pagination/DescribeDimensionKeysPaginator.js +2 -24
  16. package/dist-cjs/pagination/GetResourceMetricsPaginator.js +2 -24
  17. package/dist-cjs/pagination/ListAvailableResourceDimensionsPaginator.js +2 -24
  18. package/dist-cjs/pagination/ListAvailableResourceMetricsPaginator.js +2 -24
  19. package/dist-cjs/pagination/ListPerformanceAnalysisReportsPaginator.js +2 -24
  20. package/dist-es/commands/CreatePerformanceAnalysisReportCommand.js +18 -41
  21. package/dist-es/commands/DeletePerformanceAnalysisReportCommand.js +18 -41
  22. package/dist-es/commands/DescribeDimensionKeysCommand.js +18 -41
  23. package/dist-es/commands/GetDimensionKeyDetailsCommand.js +18 -41
  24. package/dist-es/commands/GetPerformanceAnalysisReportCommand.js +18 -41
  25. package/dist-es/commands/GetResourceMetadataCommand.js +18 -41
  26. package/dist-es/commands/GetResourceMetricsCommand.js +18 -41
  27. package/dist-es/commands/ListAvailableResourceDimensionsCommand.js +18 -41
  28. package/dist-es/commands/ListAvailableResourceMetricsCommand.js +18 -41
  29. package/dist-es/commands/ListPerformanceAnalysisReportsCommand.js +18 -41
  30. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  31. package/dist-es/commands/TagResourceCommand.js +18 -41
  32. package/dist-es/commands/UntagResourceCommand.js +18 -41
  33. package/dist-es/endpoint/EndpointParameters.js +6 -0
  34. package/dist-es/pagination/DescribeDimensionKeysPaginator.js +2 -23
  35. package/dist-es/pagination/GetResourceMetricsPaginator.js +2 -23
  36. package/dist-es/pagination/ListAvailableResourceDimensionsPaginator.js +2 -23
  37. package/dist-es/pagination/ListAvailableResourceMetricsPaginator.js +2 -23
  38. package/dist-es/pagination/ListPerformanceAnalysisReportsPaginator.js +2 -23
  39. package/dist-types/commands/CreatePerformanceAnalysisReportCommand.d.ts +6 -21
  40. package/dist-types/commands/DeletePerformanceAnalysisReportCommand.d.ts +6 -21
  41. package/dist-types/commands/DescribeDimensionKeysCommand.d.ts +6 -21
  42. package/dist-types/commands/GetDimensionKeyDetailsCommand.d.ts +6 -21
  43. package/dist-types/commands/GetPerformanceAnalysisReportCommand.d.ts +6 -21
  44. package/dist-types/commands/GetResourceMetadataCommand.d.ts +6 -21
  45. package/dist-types/commands/GetResourceMetricsCommand.d.ts +6 -21
  46. package/dist-types/commands/ListAvailableResourceDimensionsCommand.d.ts +6 -21
  47. package/dist-types/commands/ListAvailableResourceMetricsCommand.d.ts +6 -21
  48. package/dist-types/commands/ListPerformanceAnalysisReportsCommand.d.ts +6 -21
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  50. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  51. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  52. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  53. package/dist-types/pagination/DescribeDimensionKeysPaginator.d.ts +1 -1
  54. package/dist-types/pagination/GetResourceMetricsPaginator.d.ts +1 -1
  55. package/dist-types/pagination/ListAvailableResourceDimensionsPaginator.d.ts +1 -1
  56. package/dist-types/pagination/ListAvailableResourceMetricsPaginator.d.ts +1 -1
  57. package/dist-types/pagination/ListPerformanceAnalysisReportsPaginator.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/CreatePerformanceAnalysisReportCommand.d.ts +12 -24
  59. package/dist-types/ts3.4/commands/DeletePerformanceAnalysisReportCommand.d.ts +12 -24
  60. package/dist-types/ts3.4/commands/DescribeDimensionKeysCommand.d.ts +12 -24
  61. package/dist-types/ts3.4/commands/GetDimensionKeyDetailsCommand.d.ts +12 -24
  62. package/dist-types/ts3.4/commands/GetPerformanceAnalysisReportCommand.d.ts +12 -24
  63. package/dist-types/ts3.4/commands/GetResourceMetadataCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/GetResourceMetricsCommand.d.ts +14 -23
  65. package/dist-types/ts3.4/commands/ListAvailableResourceDimensionsCommand.d.ts +12 -24
  66. package/dist-types/ts3.4/commands/ListAvailableResourceMetricsCommand.d.ts +12 -24
  67. package/dist-types/ts3.4/commands/ListPerformanceAnalysisReportsCommand.d.ts +12 -24
  68. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  69. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  72. package/dist-types/ts3.4/pagination/DescribeDimensionKeysPaginator.d.ts +3 -3
  73. package/dist-types/ts3.4/pagination/GetResourceMetricsPaginator.d.ts +3 -3
  74. package/dist-types/ts3.4/pagination/ListAvailableResourceDimensionsPaginator.d.ts +3 -3
  75. package/dist-types/ts3.4/pagination/ListAvailableResourceMetricsPaginator.d.ts +3 -3
  76. package/dist-types/ts3.4/pagination/ListPerformanceAnalysisReportsPaginator.d.ts +3 -3
  77. package/package.json +11 -10
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PIClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PerformanceInsightsv20180227",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("PerformanceInsightsv20180227", "TagResource", {})
19
+ .n("PIClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PIClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PerformanceInsightsv20180227",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("PerformanceInsightsv20180227", "UntagResource", {})
19
+ .n("PIClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "pi",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeDimensionKeysCommand, } from "../commands/DescribeDimensionKeysCommand";
2
3
  import { PIClient } from "../PIClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeDimensionKeysCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeDimensionKeys(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof PIClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected PI | PIClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeDimensionKeys = createPaginator(PIClient, DescribeDimensionKeysCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetResourceMetricsCommand, } from "../commands/GetResourceMetricsCommand";
2
3
  import { PIClient } from "../PIClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetResourceMetricsCommand(input), ...args);
5
- };
6
- export async function* paginateGetResourceMetrics(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof PIClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected PI | PIClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetResourceMetrics = createPaginator(PIClient, GetResourceMetricsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAvailableResourceDimensionsCommand, } from "../commands/ListAvailableResourceDimensionsCommand";
2
3
  import { PIClient } from "../PIClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAvailableResourceDimensionsCommand(input), ...args);
5
- };
6
- export async function* paginateListAvailableResourceDimensions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof PIClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected PI | PIClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAvailableResourceDimensions = createPaginator(PIClient, ListAvailableResourceDimensionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAvailableResourceMetricsCommand, } from "../commands/ListAvailableResourceMetricsCommand";
2
3
  import { PIClient } from "../PIClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAvailableResourceMetricsCommand(input), ...args);
5
- };
6
- export async function* paginateListAvailableResourceMetrics(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof PIClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected PI | PIClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAvailableResourceMetrics = createPaginator(PIClient, ListAvailableResourceMetricsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListPerformanceAnalysisReportsCommand, } from "../commands/ListPerformanceAnalysisReportsCommand";
2
3
  import { PIClient } from "../PIClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListPerformanceAnalysisReportsCommand(input), ...args);
5
- };
6
- export async function* paginateListPerformanceAnalysisReports(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof PIClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected PI | PIClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListPerformanceAnalysisReports = createPaginator(PIClient, ListPerformanceAnalysisReportsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreatePerformanceAnalysisReportRequest, CreatePerformanceAnalysisReportResponse } from "../models/models_0";
5
4
  import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreatePerformanceAnalysisReportCommandInput extends CreatePerfo
21
20
  */
22
21
  export interface CreatePerformanceAnalysisReportCommandOutput extends CreatePerformanceAnalysisReportResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreatePerformanceAnalysisReportCommand_base: {
24
+ new (input: CreatePerformanceAnalysisReportCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePerformanceAnalysisReportCommandInput, CreatePerformanceAnalysisReportCommandOutput, PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new performance analysis report for a specific time period for the
@@ -70,23 +73,5 @@ export interface CreatePerformanceAnalysisReportCommandOutput extends CreatePerf
70
73
  * <p>Base exception class for all service exceptions from PI service.</p>
71
74
  *
72
75
  */
73
- export declare class CreatePerformanceAnalysisReportCommand extends $Command<CreatePerformanceAnalysisReportCommandInput, CreatePerformanceAnalysisReportCommandOutput, PIClientResolvedConfig> {
74
- readonly input: CreatePerformanceAnalysisReportCommandInput;
75
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
- /**
77
- * @public
78
- */
79
- constructor(input: CreatePerformanceAnalysisReportCommandInput);
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePerformanceAnalysisReportCommandInput, CreatePerformanceAnalysisReportCommandOutput>;
84
- /**
85
- * @internal
86
- */
87
- private serialize;
88
- /**
89
- * @internal
90
- */
91
- private deserialize;
76
+ export declare class CreatePerformanceAnalysisReportCommand extends CreatePerformanceAnalysisReportCommand_base {
92
77
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeletePerformanceAnalysisReportRequest, DeletePerformanceAnalysisReportResponse } from "../models/models_0";
5
4
  import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeletePerformanceAnalysisReportCommandInput extends DeletePerfo
21
20
  */
22
21
  export interface DeletePerformanceAnalysisReportCommandOutput extends DeletePerformanceAnalysisReportResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeletePerformanceAnalysisReportCommand_base: {
24
+ new (input: DeletePerformanceAnalysisReportCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePerformanceAnalysisReportCommandInput, DeletePerformanceAnalysisReportCommandOutput, PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a performance analysis report.</p>
@@ -60,23 +63,5 @@ export interface DeletePerformanceAnalysisReportCommandOutput extends DeletePerf
60
63
  * <p>Base exception class for all service exceptions from PI service.</p>
61
64
  *
62
65
  */
63
- export declare class DeletePerformanceAnalysisReportCommand extends $Command<DeletePerformanceAnalysisReportCommandInput, DeletePerformanceAnalysisReportCommandOutput, PIClientResolvedConfig> {
64
- readonly input: DeletePerformanceAnalysisReportCommandInput;
65
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
66
- /**
67
- * @public
68
- */
69
- constructor(input: DeletePerformanceAnalysisReportCommandInput);
70
- /**
71
- * @internal
72
- */
73
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePerformanceAnalysisReportCommandInput, DeletePerformanceAnalysisReportCommandOutput>;
74
- /**
75
- * @internal
76
- */
77
- private serialize;
78
- /**
79
- * @internal
80
- */
81
- private deserialize;
66
+ export declare class DeletePerformanceAnalysisReportCommand extends DeletePerformanceAnalysisReportCommand_base {
82
67
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DescribeDimensionKeysRequest, DescribeDimensionKeysResponse } from "../models/models_0";
5
4
  import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeDimensionKeysCommandInput extends DescribeDimensionKeys
21
20
  */
22
21
  export interface DescribeDimensionKeysCommandOutput extends DescribeDimensionKeysResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeDimensionKeysCommand_base: {
24
+ new (input: DescribeDimensionKeysCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput, PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>For a specific time period, retrieve the top <code>N</code> dimension keys for a metric.
@@ -115,23 +118,5 @@ export interface DescribeDimensionKeysCommandOutput extends DescribeDimensionKey
115
118
  * <p>Base exception class for all service exceptions from PI service.</p>
116
119
  *
117
120
  */
118
- export declare class DescribeDimensionKeysCommand extends $Command<DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput, PIClientResolvedConfig> {
119
- readonly input: DescribeDimensionKeysCommandInput;
120
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
121
- /**
122
- * @public
123
- */
124
- constructor(input: DescribeDimensionKeysCommandInput);
125
- /**
126
- * @internal
127
- */
128
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput>;
129
- /**
130
- * @internal
131
- */
132
- private serialize;
133
- /**
134
- * @internal
135
- */
136
- private deserialize;
121
+ export declare class DescribeDimensionKeysCommand extends DescribeDimensionKeysCommand_base {
137
122
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetDimensionKeyDetailsRequest, GetDimensionKeyDetailsResponse } from "../models/models_0";
5
4
  import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetDimensionKeyDetailsCommandInput extends GetDimensionKeyDetai
21
20
  */
22
21
  export interface GetDimensionKeyDetailsCommandOutput extends GetDimensionKeyDetailsResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetDimensionKeyDetailsCommand_base: {
24
+ new (input: GetDimensionKeyDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput, PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify a SQL ID,
@@ -75,23 +78,5 @@ export interface GetDimensionKeyDetailsCommandOutput extends GetDimensionKeyDeta
75
78
  * <p>Base exception class for all service exceptions from PI service.</p>
76
79
  *
77
80
  */
78
- export declare class GetDimensionKeyDetailsCommand extends $Command<GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput, PIClientResolvedConfig> {
79
- readonly input: GetDimensionKeyDetailsCommandInput;
80
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
- /**
82
- * @public
83
- */
84
- constructor(input: GetDimensionKeyDetailsCommandInput);
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput>;
89
- /**
90
- * @internal
91
- */
92
- private serialize;
93
- /**
94
- * @internal
95
- */
96
- private deserialize;
81
+ export declare class GetDimensionKeyDetailsCommand extends GetDimensionKeyDetailsCommand_base {
97
82
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetPerformanceAnalysisReportRequest, GetPerformanceAnalysisReportResponse } from "../models/models_0";
5
4
  import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetPerformanceAnalysisReportCommandInput extends GetPerformance
21
20
  */
22
21
  export interface GetPerformanceAnalysisReportCommandOutput extends GetPerformanceAnalysisReportResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetPerformanceAnalysisReportCommand_base: {
24
+ new (input: GetPerformanceAnalysisReportCommandInput): import("@smithy/smithy-client").CommandImpl<GetPerformanceAnalysisReportCommandInput, GetPerformanceAnalysisReportCommandOutput, PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the report including the report ID, status, time details, and the insights
@@ -158,23 +161,5 @@ export interface GetPerformanceAnalysisReportCommandOutput extends GetPerformanc
158
161
  * <p>Base exception class for all service exceptions from PI service.</p>
159
162
  *
160
163
  */
161
- export declare class GetPerformanceAnalysisReportCommand extends $Command<GetPerformanceAnalysisReportCommandInput, GetPerformanceAnalysisReportCommandOutput, PIClientResolvedConfig> {
162
- readonly input: GetPerformanceAnalysisReportCommandInput;
163
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
164
- /**
165
- * @public
166
- */
167
- constructor(input: GetPerformanceAnalysisReportCommandInput);
168
- /**
169
- * @internal
170
- */
171
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPerformanceAnalysisReportCommandInput, GetPerformanceAnalysisReportCommandOutput>;
172
- /**
173
- * @internal
174
- */
175
- private serialize;
176
- /**
177
- * @internal
178
- */
179
- private deserialize;
164
+ export declare class GetPerformanceAnalysisReportCommand extends GetPerformanceAnalysisReportCommand_base {
180
165
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetResourceMetadataRequest, GetResourceMetadataResponse } from "../models/models_0";
5
4
  import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetResourceMetadataCommandInput extends GetResourceMetadataRequ
21
20
  */
22
21
  export interface GetResourceMetadataCommandOutput extends GetResourceMetadataResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetResourceMetadataCommand_base: {
24
+ new (input: GetResourceMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourceMetadataCommandInput, GetResourceMetadataCommandOutput, PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieve the metadata for different features. For example, the metadata might indicate
@@ -68,23 +71,5 @@ export interface GetResourceMetadataCommandOutput extends GetResourceMetadataRes
68
71
  * <p>Base exception class for all service exceptions from PI service.</p>
69
72
  *
70
73
  */
71
- export declare class GetResourceMetadataCommand extends $Command<GetResourceMetadataCommandInput, GetResourceMetadataCommandOutput, PIClientResolvedConfig> {
72
- readonly input: GetResourceMetadataCommandInput;
73
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
- /**
75
- * @public
76
- */
77
- constructor(input: GetResourceMetadataCommandInput);
78
- /**
79
- * @internal
80
- */
81
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourceMetadataCommandInput, GetResourceMetadataCommandOutput>;
82
- /**
83
- * @internal
84
- */
85
- private serialize;
86
- /**
87
- * @internal
88
- */
89
- private deserialize;
74
+ export declare class GetResourceMetadataCommand extends GetResourceMetadataCommand_base {
90
75
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetResourceMetricsRequest, GetResourceMetricsResponse } from "../models/models_0";
5
4
  import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetResourceMetricsCommandInput extends GetResourceMetricsReques
21
20
  */
22
21
  export interface GetResourceMetricsCommandOutput extends GetResourceMetricsResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetResourceMetricsCommand_base: {
24
+ new (input: GetResourceMetricsCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput, PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieve Performance Insights metrics for a set of data sources over a time period. You can provide
@@ -107,23 +110,5 @@ export interface GetResourceMetricsCommandOutput extends GetResourceMetricsRespo
107
110
  * <p>Base exception class for all service exceptions from PI service.</p>
108
111
  *
109
112
  */
110
- export declare class GetResourceMetricsCommand extends $Command<GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput, PIClientResolvedConfig> {
111
- readonly input: GetResourceMetricsCommandInput;
112
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
113
- /**
114
- * @public
115
- */
116
- constructor(input: GetResourceMetricsCommandInput);
117
- /**
118
- * @internal
119
- */
120
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput>;
121
- /**
122
- * @internal
123
- */
124
- private serialize;
125
- /**
126
- * @internal
127
- */
128
- private deserialize;
113
+ export declare class GetResourceMetricsCommand extends GetResourceMetricsCommand_base {
129
114
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListAvailableResourceDimensionsRequest, ListAvailableResourceDimensionsResponse } from "../models/models_0";
5
4
  import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListAvailableResourceDimensionsCommandInput extends ListAvailab
21
20
  */
22
21
  export interface ListAvailableResourceDimensionsCommandOutput extends ListAvailableResourceDimensionsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListAvailableResourceDimensionsCommand_base: {
24
+ new (input: ListAvailableResourceDimensionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAvailableResourceDimensionsCommandInput, ListAvailableResourceDimensionsCommandOutput, PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieve the dimensions that can be queried for each specified metric type on a specified DB instance.</p>
@@ -81,23 +84,5 @@ export interface ListAvailableResourceDimensionsCommandOutput extends ListAvaila
81
84
  * <p>Base exception class for all service exceptions from PI service.</p>
82
85
  *
83
86
  */
84
- export declare class ListAvailableResourceDimensionsCommand extends $Command<ListAvailableResourceDimensionsCommandInput, ListAvailableResourceDimensionsCommandOutput, PIClientResolvedConfig> {
85
- readonly input: ListAvailableResourceDimensionsCommandInput;
86
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
- /**
88
- * @public
89
- */
90
- constructor(input: ListAvailableResourceDimensionsCommandInput);
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAvailableResourceDimensionsCommandInput, ListAvailableResourceDimensionsCommandOutput>;
95
- /**
96
- * @internal
97
- */
98
- private serialize;
99
- /**
100
- * @internal
101
- */
102
- private deserialize;
87
+ export declare class ListAvailableResourceDimensionsCommand extends ListAvailableResourceDimensionsCommand_base {
103
88
  }