@aws-sdk/client-rum 3.190.0 → 3.193.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 (129) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/RUM.js +105 -0
  4. package/dist-cjs/RUMClient.js +11 -8
  5. package/dist-cjs/commands/BatchCreateRumMetricDefinitionsCommand.js +46 -0
  6. package/dist-cjs/commands/BatchDeleteRumMetricDefinitionsCommand.js +46 -0
  7. package/dist-cjs/commands/BatchGetRumMetricDefinitionsCommand.js +46 -0
  8. package/dist-cjs/commands/CreateAppMonitorCommand.js +10 -0
  9. package/dist-cjs/commands/DeleteAppMonitorCommand.js +10 -0
  10. package/dist-cjs/commands/DeleteRumMetricsDestinationCommand.js +46 -0
  11. package/dist-cjs/commands/GetAppMonitorCommand.js +10 -0
  12. package/dist-cjs/commands/GetAppMonitorDataCommand.js +10 -0
  13. package/dist-cjs/commands/ListAppMonitorsCommand.js +10 -0
  14. package/dist-cjs/commands/ListRumMetricsDestinationsCommand.js +46 -0
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  16. package/dist-cjs/commands/PutRumEventsCommand.js +10 -0
  17. package/dist-cjs/commands/PutRumMetricsDestinationCommand.js +46 -0
  18. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  19. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  20. package/dist-cjs/commands/UpdateAppMonitorCommand.js +10 -0
  21. package/dist-cjs/commands/UpdateRumMetricDefinitionCommand.js +46 -0
  22. package/dist-cjs/commands/index.js +7 -0
  23. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  24. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  25. package/dist-cjs/endpoint/ruleset.js +318 -0
  26. package/dist-cjs/models/models_0.js +98 -16
  27. package/dist-cjs/pagination/BatchGetRumMetricDefinitionsPaginator.js +36 -0
  28. package/dist-cjs/pagination/ListRumMetricsDestinationsPaginator.js +36 -0
  29. package/dist-cjs/pagination/index.js +2 -0
  30. package/dist-cjs/protocols/Aws_restJson1.js +675 -17
  31. package/dist-cjs/runtimeConfig.shared.js +3 -3
  32. package/dist-es/RUM.js +105 -0
  33. package/dist-es/RUMClient.js +12 -9
  34. package/dist-es/commands/BatchCreateRumMetricDefinitionsCommand.js +42 -0
  35. package/dist-es/commands/BatchDeleteRumMetricDefinitionsCommand.js +42 -0
  36. package/dist-es/commands/BatchGetRumMetricDefinitionsCommand.js +42 -0
  37. package/dist-es/commands/CreateAppMonitorCommand.js +10 -0
  38. package/dist-es/commands/DeleteAppMonitorCommand.js +10 -0
  39. package/dist-es/commands/DeleteRumMetricsDestinationCommand.js +42 -0
  40. package/dist-es/commands/GetAppMonitorCommand.js +10 -0
  41. package/dist-es/commands/GetAppMonitorDataCommand.js +10 -0
  42. package/dist-es/commands/ListAppMonitorsCommand.js +10 -0
  43. package/dist-es/commands/ListRumMetricsDestinationsCommand.js +42 -0
  44. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  45. package/dist-es/commands/PutRumEventsCommand.js +10 -0
  46. package/dist-es/commands/PutRumMetricsDestinationCommand.js +42 -0
  47. package/dist-es/commands/TagResourceCommand.js +10 -0
  48. package/dist-es/commands/UntagResourceCommand.js +10 -0
  49. package/dist-es/commands/UpdateAppMonitorCommand.js +10 -0
  50. package/dist-es/commands/UpdateRumMetricDefinitionCommand.js +42 -0
  51. package/dist-es/commands/index.js +7 -0
  52. package/dist-es/endpoint/EndpointParameters.js +8 -0
  53. package/dist-es/endpoint/endpointResolver.js +8 -0
  54. package/dist-es/endpoint/ruleset.js +315 -0
  55. package/dist-es/models/models_0.js +76 -14
  56. package/dist-es/pagination/BatchGetRumMetricDefinitionsPaginator.js +32 -0
  57. package/dist-es/pagination/ListRumMetricsDestinationsPaginator.js +32 -0
  58. package/dist-es/pagination/index.js +2 -0
  59. package/dist-es/protocols/Aws_restJson1.js +657 -13
  60. package/dist-es/runtimeConfig.shared.js +2 -2
  61. package/dist-types/RUM.d.ts +83 -0
  62. package/dist-types/RUMClient.d.ts +15 -11
  63. package/dist-types/commands/BatchCreateRumMetricDefinitionsCommand.d.ts +60 -0
  64. package/dist-types/commands/BatchDeleteRumMetricDefinitionsCommand.d.ts +42 -0
  65. package/dist-types/commands/BatchGetRumMetricDefinitionsCommand.d.ts +37 -0
  66. package/dist-types/commands/CreateAppMonitorCommand.d.ts +2 -0
  67. package/dist-types/commands/DeleteAppMonitorCommand.d.ts +2 -0
  68. package/dist-types/commands/DeleteRumMetricsDestinationCommand.d.ts +38 -0
  69. package/dist-types/commands/GetAppMonitorCommand.d.ts +2 -0
  70. package/dist-types/commands/GetAppMonitorDataCommand.d.ts +2 -0
  71. package/dist-types/commands/ListAppMonitorsCommand.d.ts +2 -0
  72. package/dist-types/commands/ListRumMetricsDestinationsCommand.d.ts +39 -0
  73. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  74. package/dist-types/commands/PutRumEventsCommand.d.ts +2 -0
  75. package/dist-types/commands/PutRumMetricsDestinationCommand.d.ts +39 -0
  76. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  77. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  78. package/dist-types/commands/UpdateAppMonitorCommand.d.ts +2 -0
  79. package/dist-types/commands/UpdateRumMetricDefinitionCommand.d.ts +38 -0
  80. package/dist-types/commands/index.d.ts +7 -0
  81. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  82. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  83. package/dist-types/endpoint/ruleset.d.ts +2 -0
  84. package/dist-types/models/models_0.d.ts +719 -57
  85. package/dist-types/pagination/BatchGetRumMetricDefinitionsPaginator.d.ts +4 -0
  86. package/dist-types/pagination/ListRumMetricsDestinationsPaginator.d.ts +4 -0
  87. package/dist-types/pagination/index.d.ts +2 -0
  88. package/dist-types/protocols/Aws_restJson1.d.ts +21 -0
  89. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  90. package/dist-types/runtimeConfig.d.ts +4 -2
  91. package/dist-types/runtimeConfig.native.d.ts +4 -2
  92. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  93. package/dist-types/ts3.4/RUM.d.ts +119 -0
  94. package/dist-types/ts3.4/RUMClient.d.ts +59 -10
  95. package/dist-types/ts3.4/commands/BatchCreateRumMetricDefinitionsCommand.d.ts +41 -0
  96. package/dist-types/ts3.4/commands/BatchDeleteRumMetricDefinitionsCommand.d.ts +41 -0
  97. package/dist-types/ts3.4/commands/BatchGetRumMetricDefinitionsCommand.d.ts +41 -0
  98. package/dist-types/ts3.4/commands/CreateAppMonitorCommand.d.ts +2 -0
  99. package/dist-types/ts3.4/commands/DeleteAppMonitorCommand.d.ts +2 -0
  100. package/dist-types/ts3.4/commands/DeleteRumMetricsDestinationCommand.d.ts +41 -0
  101. package/dist-types/ts3.4/commands/GetAppMonitorCommand.d.ts +2 -0
  102. package/dist-types/ts3.4/commands/GetAppMonitorDataCommand.d.ts +2 -0
  103. package/dist-types/ts3.4/commands/ListAppMonitorsCommand.d.ts +2 -0
  104. package/dist-types/ts3.4/commands/ListRumMetricsDestinationsCommand.d.ts +41 -0
  105. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  106. package/dist-types/ts3.4/commands/PutRumEventsCommand.d.ts +2 -0
  107. package/dist-types/ts3.4/commands/PutRumMetricsDestinationCommand.d.ts +41 -0
  108. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  109. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  110. package/dist-types/ts3.4/commands/UpdateAppMonitorCommand.d.ts +2 -0
  111. package/dist-types/ts3.4/commands/UpdateRumMetricDefinitionCommand.d.ts +41 -0
  112. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  113. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  114. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  115. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  116. package/dist-types/ts3.4/models/models_0.d.ts +170 -18
  117. package/dist-types/ts3.4/pagination/BatchGetRumMetricDefinitionsPaginator.d.ts +11 -0
  118. package/dist-types/ts3.4/pagination/ListRumMetricsDestinationsPaginator.d.ts +11 -0
  119. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  120. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  121. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  122. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  123. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  124. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  125. package/package.json +28 -26
  126. package/dist-cjs/endpoints.js +0 -132
  127. package/dist-es/endpoints.js +0 -128
  128. package/dist-types/endpoints.d.ts +0 -2
  129. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { UpdateAppMonitorRequest, UpdateAppMonitorResponse } from "../models/models_0";
@@ -35,6 +36,7 @@ export interface UpdateAppMonitorCommandOutput extends UpdateAppMonitorResponse,
35
36
  */
36
37
  export declare class UpdateAppMonitorCommand extends $Command<UpdateAppMonitorCommandInput, UpdateAppMonitorCommandOutput, RUMClientResolvedConfig> {
37
38
  readonly input: UpdateAppMonitorCommandInput;
39
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
38
40
  constructor(input: UpdateAppMonitorCommandInput);
39
41
  /**
40
42
  * @internal
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { UpdateRumMetricDefinitionRequest, UpdateRumMetricDefinitionResponse } from "../models/models_0";
5
+ import { RUMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RUMClient";
6
+ export interface UpdateRumMetricDefinitionCommandInput extends UpdateRumMetricDefinitionRequest {
7
+ }
8
+ export interface UpdateRumMetricDefinitionCommandOutput extends UpdateRumMetricDefinitionResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Modifies one existing metric definition for CloudWatch RUM extended metrics. For
12
+ * more information about extended metrics, see <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_BatchCreateRumMetricsDefinitions.html">BatchCreateRumMetricsDefinitions</a>.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { RUMClient, UpdateRumMetricDefinitionCommand } from "@aws-sdk/client-rum"; // ES Modules import
17
+ * // const { RUMClient, UpdateRumMetricDefinitionCommand } = require("@aws-sdk/client-rum"); // CommonJS import
18
+ * const client = new RUMClient(config);
19
+ * const command = new UpdateRumMetricDefinitionCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link UpdateRumMetricDefinitionCommandInput} for command's `input` shape.
24
+ * @see {@link UpdateRumMetricDefinitionCommandOutput} for command's `response` shape.
25
+ * @see {@link RUMClientResolvedConfig | config} for RUMClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class UpdateRumMetricDefinitionCommand extends $Command<UpdateRumMetricDefinitionCommandInput, UpdateRumMetricDefinitionCommandOutput, RUMClientResolvedConfig> {
29
+ readonly input: UpdateRumMetricDefinitionCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateRumMetricDefinitionCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RUMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRumMetricDefinitionCommandInput, UpdateRumMetricDefinitionCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -1,10 +1,17 @@
1
+ export * from "./BatchCreateRumMetricDefinitionsCommand";
2
+ export * from "./BatchDeleteRumMetricDefinitionsCommand";
3
+ export * from "./BatchGetRumMetricDefinitionsCommand";
1
4
  export * from "./CreateAppMonitorCommand";
2
5
  export * from "./DeleteAppMonitorCommand";
6
+ export * from "./DeleteRumMetricsDestinationCommand";
3
7
  export * from "./GetAppMonitorCommand";
4
8
  export * from "./GetAppMonitorDataCommand";
5
9
  export * from "./ListAppMonitorsCommand";
10
+ export * from "./ListRumMetricsDestinationsCommand";
6
11
  export * from "./ListTagsForResourceCommand";
7
12
  export * from "./PutRumEventsCommand";
13
+ export * from "./PutRumMetricsDestinationCommand";
8
14
  export * from "./TagResourceCommand";
9
15
  export * from "./UntagResourceCommand";
10
16
  export * from "./UpdateAppMonitorCommand";
17
+ export * from "./UpdateRumMetricDefinitionCommand";
@@ -0,0 +1,19 @@
1
+ import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
2
+ export interface ClientInputEndpointParameters {
3
+ region?: string | Provider<string>;
4
+ useDualstackEndpoint?: boolean | Provider<boolean>;
5
+ useFipsEndpoint?: boolean | Provider<boolean>;
6
+ endpoint?: string | Provider<string>;
7
+ }
8
+ export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
+ defaultSigningName: string;
10
+ };
11
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export interface EndpointParameters extends __EndpointParameters {
15
+ Region?: string;
16
+ UseDualStack?: boolean;
17
+ UseFIPS?: boolean;
18
+ Endpoint?: string;
19
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;