@aws-sdk/client-rum 3.478.0 → 3.484.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 (73) hide show
  1. package/dist-cjs/commands/BatchCreateRumMetricDefinitionsCommand.js +18 -41
  2. package/dist-cjs/commands/BatchDeleteRumMetricDefinitionsCommand.js +18 -41
  3. package/dist-cjs/commands/BatchGetRumMetricDefinitionsCommand.js +18 -41
  4. package/dist-cjs/commands/CreateAppMonitorCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteAppMonitorCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteRumMetricsDestinationCommand.js +18 -41
  7. package/dist-cjs/commands/GetAppMonitorCommand.js +18 -41
  8. package/dist-cjs/commands/GetAppMonitorDataCommand.js +18 -41
  9. package/dist-cjs/commands/ListAppMonitorsCommand.js +18 -41
  10. package/dist-cjs/commands/ListRumMetricsDestinationsCommand.js +18 -41
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  12. package/dist-cjs/commands/PutRumEventsCommand.js +18 -41
  13. package/dist-cjs/commands/PutRumMetricsDestinationCommand.js +18 -41
  14. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  15. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  16. package/dist-cjs/commands/UpdateAppMonitorCommand.js +18 -41
  17. package/dist-cjs/commands/UpdateRumMetricDefinitionCommand.js +18 -41
  18. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  19. package/dist-es/commands/BatchCreateRumMetricDefinitionsCommand.js +18 -41
  20. package/dist-es/commands/BatchDeleteRumMetricDefinitionsCommand.js +18 -41
  21. package/dist-es/commands/BatchGetRumMetricDefinitionsCommand.js +18 -41
  22. package/dist-es/commands/CreateAppMonitorCommand.js +18 -41
  23. package/dist-es/commands/DeleteAppMonitorCommand.js +18 -41
  24. package/dist-es/commands/DeleteRumMetricsDestinationCommand.js +18 -41
  25. package/dist-es/commands/GetAppMonitorCommand.js +18 -41
  26. package/dist-es/commands/GetAppMonitorDataCommand.js +18 -41
  27. package/dist-es/commands/ListAppMonitorsCommand.js +18 -41
  28. package/dist-es/commands/ListRumMetricsDestinationsCommand.js +18 -41
  29. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  30. package/dist-es/commands/PutRumEventsCommand.js +18 -41
  31. package/dist-es/commands/PutRumMetricsDestinationCommand.js +18 -41
  32. package/dist-es/commands/TagResourceCommand.js +18 -41
  33. package/dist-es/commands/UntagResourceCommand.js +18 -41
  34. package/dist-es/commands/UpdateAppMonitorCommand.js +18 -41
  35. package/dist-es/commands/UpdateRumMetricDefinitionCommand.js +18 -41
  36. package/dist-es/endpoint/EndpointParameters.js +6 -0
  37. package/dist-types/commands/BatchCreateRumMetricDefinitionsCommand.d.ts +6 -21
  38. package/dist-types/commands/BatchDeleteRumMetricDefinitionsCommand.d.ts +6 -21
  39. package/dist-types/commands/BatchGetRumMetricDefinitionsCommand.d.ts +6 -21
  40. package/dist-types/commands/CreateAppMonitorCommand.d.ts +6 -21
  41. package/dist-types/commands/DeleteAppMonitorCommand.d.ts +6 -21
  42. package/dist-types/commands/DeleteRumMetricsDestinationCommand.d.ts +6 -21
  43. package/dist-types/commands/GetAppMonitorCommand.d.ts +6 -21
  44. package/dist-types/commands/GetAppMonitorDataCommand.d.ts +6 -21
  45. package/dist-types/commands/ListAppMonitorsCommand.d.ts +6 -21
  46. package/dist-types/commands/ListRumMetricsDestinationsCommand.d.ts +6 -21
  47. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  48. package/dist-types/commands/PutRumEventsCommand.d.ts +6 -21
  49. package/dist-types/commands/PutRumMetricsDestinationCommand.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/commands/UpdateAppMonitorCommand.d.ts +6 -21
  53. package/dist-types/commands/UpdateRumMetricDefinitionCommand.d.ts +6 -21
  54. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  55. package/dist-types/ts3.4/commands/BatchCreateRumMetricDefinitionsCommand.d.ts +12 -24
  56. package/dist-types/ts3.4/commands/BatchDeleteRumMetricDefinitionsCommand.d.ts +12 -24
  57. package/dist-types/ts3.4/commands/BatchGetRumMetricDefinitionsCommand.d.ts +12 -24
  58. package/dist-types/ts3.4/commands/CreateAppMonitorCommand.d.ts +14 -23
  59. package/dist-types/ts3.4/commands/DeleteAppMonitorCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/commands/DeleteRumMetricsDestinationCommand.d.ts +12 -24
  61. package/dist-types/ts3.4/commands/GetAppMonitorCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/GetAppMonitorDataCommand.d.ts +14 -23
  63. package/dist-types/ts3.4/commands/ListAppMonitorsCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/ListRumMetricsDestinationsCommand.d.ts +12 -24
  65. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/PutRumEventsCommand.d.ts +14 -23
  67. package/dist-types/ts3.4/commands/PutRumMetricsDestinationCommand.d.ts +12 -24
  68. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  69. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/UpdateAppMonitorCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/UpdateRumMetricDefinitionCommand.d.ts +12 -24
  72. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  73. package/package.json +11 -11
@@ -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_BatchDeleteRumMetricDefinitionsCommand, se_BatchDeleteRumMetricDefinitionsCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class BatchDeleteRumMetricDefinitionsCommand 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, BatchDeleteRumMetricDefinitionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RUMClient";
26
- const commandName = "BatchDeleteRumMetricDefinitionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RUM",
35
- operation: "BatchDeleteRumMetricDefinitions",
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_BatchDeleteRumMetricDefinitionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchDeleteRumMetricDefinitionsCommand(output, context);
46
- }
7
+ export class BatchDeleteRumMetricDefinitionsCommand 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("RUM", "BatchDeleteRumMetricDefinitions", {})
19
+ .n("RUMClient", "BatchDeleteRumMetricDefinitionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchDeleteRumMetricDefinitionsCommand)
22
+ .de(de_BatchDeleteRumMetricDefinitionsCommand)
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_BatchGetRumMetricDefinitionsCommand, se_BatchGetRumMetricDefinitionsCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class BatchGetRumMetricDefinitionsCommand 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, BatchGetRumMetricDefinitionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RUMClient";
26
- const commandName = "BatchGetRumMetricDefinitionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RUM",
35
- operation: "BatchGetRumMetricDefinitions",
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_BatchGetRumMetricDefinitionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchGetRumMetricDefinitionsCommand(output, context);
46
- }
7
+ export class BatchGetRumMetricDefinitionsCommand 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("RUM", "BatchGetRumMetricDefinitions", {})
19
+ .n("RUMClient", "BatchGetRumMetricDefinitionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchGetRumMetricDefinitionsCommand)
22
+ .de(de_BatchGetRumMetricDefinitionsCommand)
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_CreateAppMonitorCommand, se_CreateAppMonitorCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateAppMonitorCommand 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, CreateAppMonitorCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RUMClient";
26
- const commandName = "CreateAppMonitorCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RUM",
35
- operation: "CreateAppMonitor",
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_CreateAppMonitorCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateAppMonitorCommand(output, context);
46
- }
7
+ export class CreateAppMonitorCommand 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("RUM", "CreateAppMonitor", {})
19
+ .n("RUMClient", "CreateAppMonitorCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateAppMonitorCommand)
22
+ .de(de_CreateAppMonitorCommand)
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_DeleteAppMonitorCommand, se_DeleteAppMonitorCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteAppMonitorCommand 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, DeleteAppMonitorCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RUMClient";
26
- const commandName = "DeleteAppMonitorCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RUM",
35
- operation: "DeleteAppMonitor",
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_DeleteAppMonitorCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteAppMonitorCommand(output, context);
46
- }
7
+ export class DeleteAppMonitorCommand 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("RUM", "DeleteAppMonitor", {})
19
+ .n("RUMClient", "DeleteAppMonitorCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteAppMonitorCommand)
22
+ .de(de_DeleteAppMonitorCommand)
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_DeleteRumMetricsDestinationCommand, se_DeleteRumMetricsDestinationCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteRumMetricsDestinationCommand 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, DeleteRumMetricsDestinationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RUMClient";
26
- const commandName = "DeleteRumMetricsDestinationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RUM",
35
- operation: "DeleteRumMetricsDestination",
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_DeleteRumMetricsDestinationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteRumMetricsDestinationCommand(output, context);
46
- }
7
+ export class DeleteRumMetricsDestinationCommand 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("RUM", "DeleteRumMetricsDestination", {})
19
+ .n("RUMClient", "DeleteRumMetricsDestinationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteRumMetricsDestinationCommand)
22
+ .de(de_DeleteRumMetricsDestinationCommand)
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_GetAppMonitorCommand, se_GetAppMonitorCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetAppMonitorCommand 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, GetAppMonitorCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RUMClient";
26
- const commandName = "GetAppMonitorCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RUM",
35
- operation: "GetAppMonitor",
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_GetAppMonitorCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetAppMonitorCommand(output, context);
46
- }
7
+ export class GetAppMonitorCommand 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("RUM", "GetAppMonitor", {})
19
+ .n("RUMClient", "GetAppMonitorCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetAppMonitorCommand)
22
+ .de(de_GetAppMonitorCommand)
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_GetAppMonitorDataCommand, se_GetAppMonitorDataCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetAppMonitorDataCommand 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, GetAppMonitorDataCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RUMClient";
26
- const commandName = "GetAppMonitorDataCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RUM",
35
- operation: "GetAppMonitorData",
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_GetAppMonitorDataCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetAppMonitorDataCommand(output, context);
46
- }
7
+ export class GetAppMonitorDataCommand 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("RUM", "GetAppMonitorData", {})
19
+ .n("RUMClient", "GetAppMonitorDataCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetAppMonitorDataCommand)
22
+ .de(de_GetAppMonitorDataCommand)
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_ListAppMonitorsCommand, se_ListAppMonitorsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListAppMonitorsCommand 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, ListAppMonitorsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RUMClient";
26
- const commandName = "ListAppMonitorsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RUM",
35
- operation: "ListAppMonitors",
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_ListAppMonitorsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAppMonitorsCommand(output, context);
46
- }
7
+ export class ListAppMonitorsCommand 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("RUM", "ListAppMonitors", {})
19
+ .n("RUMClient", "ListAppMonitorsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAppMonitorsCommand)
22
+ .de(de_ListAppMonitorsCommand)
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_ListRumMetricsDestinationsCommand, se_ListRumMetricsDestinationsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListRumMetricsDestinationsCommand 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, ListRumMetricsDestinationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RUMClient";
26
- const commandName = "ListRumMetricsDestinationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RUM",
35
- operation: "ListRumMetricsDestinations",
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_ListRumMetricsDestinationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListRumMetricsDestinationsCommand(output, context);
46
- }
7
+ export class ListRumMetricsDestinationsCommand 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("RUM", "ListRumMetricsDestinations", {})
19
+ .n("RUMClient", "ListRumMetricsDestinationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListRumMetricsDestinationsCommand)
22
+ .de(de_ListRumMetricsDestinationsCommand)
23
+ .build() {
47
24
  }