@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_DescribeDimensionKeysCommand, se_DescribeDimensionKeysCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeDimensionKeysCommand 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, DescribeDimensionKeysCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PIClient";
26
- const commandName = "DescribeDimensionKeysCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PerformanceInsightsv20180227",
35
- operation: "DescribeDimensionKeys",
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_DescribeDimensionKeysCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeDimensionKeysCommand(output, context);
46
- }
7
+ export class DescribeDimensionKeysCommand 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", "DescribeDimensionKeys", {})
19
+ .n("PIClient", "DescribeDimensionKeysCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeDimensionKeysCommand)
22
+ .de(de_DescribeDimensionKeysCommand)
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_GetDimensionKeyDetailsCommand, se_GetDimensionKeyDetailsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetDimensionKeyDetailsCommand 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, GetDimensionKeyDetailsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PIClient";
26
- const commandName = "GetDimensionKeyDetailsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PerformanceInsightsv20180227",
35
- operation: "GetDimensionKeyDetails",
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_GetDimensionKeyDetailsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetDimensionKeyDetailsCommand(output, context);
46
- }
7
+ export class GetDimensionKeyDetailsCommand 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", "GetDimensionKeyDetails", {})
19
+ .n("PIClient", "GetDimensionKeyDetailsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetDimensionKeyDetailsCommand)
22
+ .de(de_GetDimensionKeyDetailsCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
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 { GetPerformanceAnalysisReportResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_GetPerformanceAnalysisReportCommand, se_GetPerformanceAnalysisReportCommand, } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class GetPerformanceAnalysisReportCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetPerformanceAnalysisReportCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "PIClient";
27
- const commandName = "GetPerformanceAnalysisReportCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: GetPerformanceAnalysisReportResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "PerformanceInsightsv20180227",
36
- operation: "GetPerformanceAnalysisReport",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_GetPerformanceAnalysisReportCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_GetPerformanceAnalysisReportCommand(output, context);
47
- }
8
+ export class GetPerformanceAnalysisReportCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("PerformanceInsightsv20180227", "GetPerformanceAnalysisReport", {})
20
+ .n("PIClient", "GetPerformanceAnalysisReportCommand")
21
+ .f(void 0, GetPerformanceAnalysisReportResponseFilterSensitiveLog)
22
+ .ser(se_GetPerformanceAnalysisReportCommand)
23
+ .de(de_GetPerformanceAnalysisReportCommand)
24
+ .build() {
48
25
  }
@@ -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_GetResourceMetadataCommand, se_GetResourceMetadataCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetResourceMetadataCommand 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, GetResourceMetadataCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PIClient";
26
- const commandName = "GetResourceMetadataCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PerformanceInsightsv20180227",
35
- operation: "GetResourceMetadata",
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_GetResourceMetadataCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetResourceMetadataCommand(output, context);
46
- }
7
+ export class GetResourceMetadataCommand 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", "GetResourceMetadata", {})
19
+ .n("PIClient", "GetResourceMetadataCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetResourceMetadataCommand)
22
+ .de(de_GetResourceMetadataCommand)
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_GetResourceMetricsCommand, se_GetResourceMetricsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetResourceMetricsCommand 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, GetResourceMetricsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PIClient";
26
- const commandName = "GetResourceMetricsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PerformanceInsightsv20180227",
35
- operation: "GetResourceMetrics",
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_GetResourceMetricsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetResourceMetricsCommand(output, context);
46
- }
7
+ export class GetResourceMetricsCommand 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", "GetResourceMetrics", {})
19
+ .n("PIClient", "GetResourceMetricsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetResourceMetricsCommand)
22
+ .de(de_GetResourceMetricsCommand)
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_ListAvailableResourceDimensionsCommand, se_ListAvailableResourceDimensionsCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListAvailableResourceDimensionsCommand 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, ListAvailableResourceDimensionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PIClient";
26
- const commandName = "ListAvailableResourceDimensionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PerformanceInsightsv20180227",
35
- operation: "ListAvailableResourceDimensions",
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_ListAvailableResourceDimensionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAvailableResourceDimensionsCommand(output, context);
46
- }
7
+ export class ListAvailableResourceDimensionsCommand 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", "ListAvailableResourceDimensions", {})
19
+ .n("PIClient", "ListAvailableResourceDimensionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAvailableResourceDimensionsCommand)
22
+ .de(de_ListAvailableResourceDimensionsCommand)
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_ListAvailableResourceMetricsCommand, se_ListAvailableResourceMetricsCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListAvailableResourceMetricsCommand 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, ListAvailableResourceMetricsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PIClient";
26
- const commandName = "ListAvailableResourceMetricsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PerformanceInsightsv20180227",
35
- operation: "ListAvailableResourceMetrics",
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_ListAvailableResourceMetricsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAvailableResourceMetricsCommand(output, context);
46
- }
7
+ export class ListAvailableResourceMetricsCommand 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", "ListAvailableResourceMetrics", {})
19
+ .n("PIClient", "ListAvailableResourceMetricsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAvailableResourceMetricsCommand)
22
+ .de(de_ListAvailableResourceMetricsCommand)
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_ListPerformanceAnalysisReportsCommand, se_ListPerformanceAnalysisReportsCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListPerformanceAnalysisReportsCommand 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, ListPerformanceAnalysisReportsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PIClient";
26
- const commandName = "ListPerformanceAnalysisReportsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PerformanceInsightsv20180227",
35
- operation: "ListPerformanceAnalysisReports",
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_ListPerformanceAnalysisReportsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListPerformanceAnalysisReportsCommand(output, context);
46
- }
7
+ export class ListPerformanceAnalysisReportsCommand 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", "ListPerformanceAnalysisReports", {})
19
+ .n("PIClient", "ListPerformanceAnalysisReportsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListPerformanceAnalysisReportsCommand)
22
+ .de(de_ListPerformanceAnalysisReportsCommand)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand 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, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PIClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PerformanceInsightsv20180227",
35
- operation: "ListTagsForResource",
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_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
19
+ .n("PIClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
47
24
  }