@aws-sdk/client-rum 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 (89) 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-cjs/pagination/BatchGetRumMetricDefinitionsPaginator.js +2 -24
  20. package/dist-cjs/pagination/GetAppMonitorDataPaginator.js +2 -24
  21. package/dist-cjs/pagination/ListAppMonitorsPaginator.js +2 -24
  22. package/dist-cjs/pagination/ListRumMetricsDestinationsPaginator.js +2 -24
  23. package/dist-es/commands/BatchCreateRumMetricDefinitionsCommand.js +18 -41
  24. package/dist-es/commands/BatchDeleteRumMetricDefinitionsCommand.js +18 -41
  25. package/dist-es/commands/BatchGetRumMetricDefinitionsCommand.js +18 -41
  26. package/dist-es/commands/CreateAppMonitorCommand.js +18 -41
  27. package/dist-es/commands/DeleteAppMonitorCommand.js +18 -41
  28. package/dist-es/commands/DeleteRumMetricsDestinationCommand.js +18 -41
  29. package/dist-es/commands/GetAppMonitorCommand.js +18 -41
  30. package/dist-es/commands/GetAppMonitorDataCommand.js +18 -41
  31. package/dist-es/commands/ListAppMonitorsCommand.js +18 -41
  32. package/dist-es/commands/ListRumMetricsDestinationsCommand.js +18 -41
  33. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  34. package/dist-es/commands/PutRumEventsCommand.js +18 -41
  35. package/dist-es/commands/PutRumMetricsDestinationCommand.js +18 -41
  36. package/dist-es/commands/TagResourceCommand.js +18 -41
  37. package/dist-es/commands/UntagResourceCommand.js +18 -41
  38. package/dist-es/commands/UpdateAppMonitorCommand.js +18 -41
  39. package/dist-es/commands/UpdateRumMetricDefinitionCommand.js +18 -41
  40. package/dist-es/endpoint/EndpointParameters.js +6 -0
  41. package/dist-es/pagination/BatchGetRumMetricDefinitionsPaginator.js +2 -23
  42. package/dist-es/pagination/GetAppMonitorDataPaginator.js +2 -23
  43. package/dist-es/pagination/ListAppMonitorsPaginator.js +2 -23
  44. package/dist-es/pagination/ListRumMetricsDestinationsPaginator.js +2 -23
  45. package/dist-types/commands/BatchCreateRumMetricDefinitionsCommand.d.ts +6 -21
  46. package/dist-types/commands/BatchDeleteRumMetricDefinitionsCommand.d.ts +6 -21
  47. package/dist-types/commands/BatchGetRumMetricDefinitionsCommand.d.ts +6 -21
  48. package/dist-types/commands/CreateAppMonitorCommand.d.ts +6 -21
  49. package/dist-types/commands/DeleteAppMonitorCommand.d.ts +6 -21
  50. package/dist-types/commands/DeleteRumMetricsDestinationCommand.d.ts +6 -21
  51. package/dist-types/commands/GetAppMonitorCommand.d.ts +6 -21
  52. package/dist-types/commands/GetAppMonitorDataCommand.d.ts +6 -21
  53. package/dist-types/commands/ListAppMonitorsCommand.d.ts +6 -21
  54. package/dist-types/commands/ListRumMetricsDestinationsCommand.d.ts +6 -21
  55. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  56. package/dist-types/commands/PutRumEventsCommand.d.ts +6 -21
  57. package/dist-types/commands/PutRumMetricsDestinationCommand.d.ts +6 -21
  58. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  59. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  60. package/dist-types/commands/UpdateAppMonitorCommand.d.ts +6 -21
  61. package/dist-types/commands/UpdateRumMetricDefinitionCommand.d.ts +6 -21
  62. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  63. package/dist-types/pagination/BatchGetRumMetricDefinitionsPaginator.d.ts +1 -1
  64. package/dist-types/pagination/GetAppMonitorDataPaginator.d.ts +1 -1
  65. package/dist-types/pagination/ListAppMonitorsPaginator.d.ts +1 -1
  66. package/dist-types/pagination/ListRumMetricsDestinationsPaginator.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/BatchCreateRumMetricDefinitionsCommand.d.ts +12 -24
  68. package/dist-types/ts3.4/commands/BatchDeleteRumMetricDefinitionsCommand.d.ts +12 -24
  69. package/dist-types/ts3.4/commands/BatchGetRumMetricDefinitionsCommand.d.ts +12 -24
  70. package/dist-types/ts3.4/commands/CreateAppMonitorCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/DeleteAppMonitorCommand.d.ts +14 -23
  72. package/dist-types/ts3.4/commands/DeleteRumMetricsDestinationCommand.d.ts +12 -24
  73. package/dist-types/ts3.4/commands/GetAppMonitorCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/commands/GetAppMonitorDataCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/ListAppMonitorsCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/ListRumMetricsDestinationsCommand.d.ts +12 -24
  77. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/PutRumEventsCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/PutRumMetricsDestinationCommand.d.ts +12 -24
  80. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/UpdateAppMonitorCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/UpdateRumMetricDefinitionCommand.d.ts +12 -24
  84. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  85. package/dist-types/ts3.4/pagination/BatchGetRumMetricDefinitionsPaginator.d.ts +3 -3
  86. package/dist-types/ts3.4/pagination/GetAppMonitorDataPaginator.d.ts +3 -3
  87. package/dist-types/ts3.4/pagination/ListAppMonitorsPaginator.d.ts +3 -3
  88. package/dist-types/ts3.4/pagination/ListRumMetricsDestinationsPaginator.d.ts +3 -3
  89. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class BatchCreateRumMetricDefinitionsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchCreateRumMetricDefinitionsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RUMClient";
29
- const commandName = "BatchCreateRumMetricDefinitionsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RUM",
38
- operation: "BatchCreateRumMetricDefinitions",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_BatchCreateRumMetricDefinitionsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_BatchCreateRumMetricDefinitionsCommand)(output, context);
49
- }
10
+ class BatchCreateRumMetricDefinitionsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RUM", "BatchCreateRumMetricDefinitions", {})
22
+ .n("RUMClient", "BatchCreateRumMetricDefinitionsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_BatchCreateRumMetricDefinitionsCommand)
25
+ .de(Aws_restJson1_1.de_BatchCreateRumMetricDefinitionsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.BatchCreateRumMetricDefinitionsCommand = BatchCreateRumMetricDefinitionsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class BatchDeleteRumMetricDefinitionsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchDeleteRumMetricDefinitionsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RUMClient";
29
- const commandName = "BatchDeleteRumMetricDefinitionsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RUM",
38
- operation: "BatchDeleteRumMetricDefinitions",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_BatchDeleteRumMetricDefinitionsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_BatchDeleteRumMetricDefinitionsCommand)(output, context);
49
- }
10
+ class BatchDeleteRumMetricDefinitionsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RUM", "BatchDeleteRumMetricDefinitions", {})
22
+ .n("RUMClient", "BatchDeleteRumMetricDefinitionsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_BatchDeleteRumMetricDefinitionsCommand)
25
+ .de(Aws_restJson1_1.de_BatchDeleteRumMetricDefinitionsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.BatchDeleteRumMetricDefinitionsCommand = BatchDeleteRumMetricDefinitionsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class BatchGetRumMetricDefinitionsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchGetRumMetricDefinitionsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RUMClient";
29
- const commandName = "BatchGetRumMetricDefinitionsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RUM",
38
- operation: "BatchGetRumMetricDefinitions",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_BatchGetRumMetricDefinitionsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_BatchGetRumMetricDefinitionsCommand)(output, context);
49
- }
10
+ class BatchGetRumMetricDefinitionsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RUM", "BatchGetRumMetricDefinitions", {})
22
+ .n("RUMClient", "BatchGetRumMetricDefinitionsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_BatchGetRumMetricDefinitionsCommand)
25
+ .de(Aws_restJson1_1.de_BatchGetRumMetricDefinitionsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.BatchGetRumMetricDefinitionsCommand = BatchGetRumMetricDefinitionsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateAppMonitorCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateAppMonitorCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RUMClient";
29
- const commandName = "CreateAppMonitorCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RUM",
38
- operation: "CreateAppMonitor",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateAppMonitorCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateAppMonitorCommand)(output, context);
49
- }
10
+ class CreateAppMonitorCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RUM", "CreateAppMonitor", {})
22
+ .n("RUMClient", "CreateAppMonitorCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateAppMonitorCommand)
25
+ .de(Aws_restJson1_1.de_CreateAppMonitorCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateAppMonitorCommand = CreateAppMonitorCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteAppMonitorCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteAppMonitorCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RUMClient";
29
- const commandName = "DeleteAppMonitorCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RUM",
38
- operation: "DeleteAppMonitor",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DeleteAppMonitorCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteAppMonitorCommand)(output, context);
49
- }
10
+ class DeleteAppMonitorCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RUM", "DeleteAppMonitor", {})
22
+ .n("RUMClient", "DeleteAppMonitorCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteAppMonitorCommand)
25
+ .de(Aws_restJson1_1.de_DeleteAppMonitorCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteAppMonitorCommand = DeleteAppMonitorCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteRumMetricsDestinationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteRumMetricsDestinationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RUMClient";
29
- const commandName = "DeleteRumMetricsDestinationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RUM",
38
- operation: "DeleteRumMetricsDestination",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DeleteRumMetricsDestinationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteRumMetricsDestinationCommand)(output, context);
49
- }
10
+ class DeleteRumMetricsDestinationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RUM", "DeleteRumMetricsDestination", {})
22
+ .n("RUMClient", "DeleteRumMetricsDestinationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteRumMetricsDestinationCommand)
25
+ .de(Aws_restJson1_1.de_DeleteRumMetricsDestinationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteRumMetricsDestinationCommand = DeleteRumMetricsDestinationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetAppMonitorCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAppMonitorCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RUMClient";
29
- const commandName = "GetAppMonitorCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RUM",
38
- operation: "GetAppMonitor",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_GetAppMonitorCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GetAppMonitorCommand)(output, context);
49
- }
10
+ class GetAppMonitorCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RUM", "GetAppMonitor", {})
22
+ .n("RUMClient", "GetAppMonitorCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetAppMonitorCommand)
25
+ .de(Aws_restJson1_1.de_GetAppMonitorCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetAppMonitorCommand = GetAppMonitorCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetAppMonitorDataCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAppMonitorDataCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RUMClient";
29
- const commandName = "GetAppMonitorDataCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RUM",
38
- operation: "GetAppMonitorData",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_GetAppMonitorDataCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GetAppMonitorDataCommand)(output, context);
49
- }
10
+ class GetAppMonitorDataCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RUM", "GetAppMonitorData", {})
22
+ .n("RUMClient", "GetAppMonitorDataCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetAppMonitorDataCommand)
25
+ .de(Aws_restJson1_1.de_GetAppMonitorDataCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetAppMonitorDataCommand = GetAppMonitorDataCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListAppMonitorsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAppMonitorsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RUMClient";
29
- const commandName = "ListAppMonitorsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RUM",
38
- operation: "ListAppMonitors",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListAppMonitorsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListAppMonitorsCommand)(output, context);
49
- }
10
+ class ListAppMonitorsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RUM", "ListAppMonitors", {})
22
+ .n("RUMClient", "ListAppMonitorsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListAppMonitorsCommand)
25
+ .de(Aws_restJson1_1.de_ListAppMonitorsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListAppMonitorsCommand = ListAppMonitorsCommand;