@aws-sdk/client-rum 3.515.0 → 3.521.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.
@@ -28,7 +28,7 @@ const getRuntimeConfig = (config) => {
28
28
  (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
29
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
30
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
- requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
31
+ requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
32
32
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
33
33
  sha256: config?.sha256 ?? sha256_browser_1.Sha256,
34
34
  streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
@@ -34,7 +34,7 @@ const getRuntimeConfig = (config) => {
34
34
  (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
35
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
36
  region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
- requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
37
+ requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
38
38
  retryMode: config?.retryMode ??
39
39
  (0, node_config_provider_1.loadConfig)({
40
40
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
@@ -24,7 +24,7 @@ export const getRuntimeConfig = (config) => {
24
24
  defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
25
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
26
  region: config?.region ?? invalidProvider("Region is missing"),
27
- requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
27
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
28
28
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
29
29
  sha256: config?.sha256 ?? Sha256,
30
30
  streamCollector: config?.streamCollector ?? streamCollector,
@@ -30,7 +30,7 @@ export const getRuntimeConfig = (config) => {
30
30
  defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
31
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
32
  region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
33
- requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
33
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
34
34
  retryMode: config?.retryMode ??
35
35
  loadNodeConfig({
36
36
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
@@ -3,7 +3,7 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
3
3
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
4
  import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
@@ -38,11 +38,11 @@ export type ServiceOutputTypes = BatchCreateRumMetricDefinitionsCommandOutput |
38
38
  /**
39
39
  * @public
40
40
  */
41
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
41
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
42
42
  /**
43
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
43
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
44
44
  */
45
- requestHandler?: __HttpHandler;
45
+ requestHandler?: __HttpHandlerUserInput;
46
46
  /**
47
47
  * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
48
48
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
@@ -31,22 +31,23 @@ declare const BatchCreateRumMetricDefinitionsCommand_base: {
31
31
  * <p>By default, RUM app monitors send some metrics to CloudWatch. These default metrics
32
32
  * are listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-metrics.html">CloudWatch metrics that you can collect
33
33
  * with CloudWatch RUM</a>.</p>
34
- * <p>In addition to these default metrics, you can choose to send extended metrics or custom metrics or both.</p>
34
+ * <p>In addition to these default metrics, you can choose to send extended metrics, custom
35
+ * metrics, or both.</p>
35
36
  * <ul>
36
37
  * <li>
37
- * <p>Extended metrics enable you to send metrics with additional dimensions not included
38
- * in the default metrics. You can also send extended metrics to Evidently as well as CloudWatch.
39
- * The valid dimension names for the additional dimensions for extended metrics are
40
- * <code>BrowserName</code>, <code>CountryCode</code>, <code>DeviceType</code>,
41
- * <code>FileType</code>, <code>OSName</code>, and <code>PageId</code>. For more information, see
42
- * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-vended-metrics.html">
43
- * Extended metrics that you can send to CloudWatch and CloudWatch Evidently</a>.</p>
38
+ * <p>Extended metrics let you send metrics with additional dimensions that aren't included in the
39
+ * default metrics. You can also send extended metrics to both Evidently and CloudWatch. The valid dimension names for the additional dimensions for extended
40
+ * metrics are <code>BrowserName</code>, <code>CountryCode</code>,
41
+ * <code>DeviceType</code>, <code>FileType</code>, <code>OSName</code>, and
42
+ * <code>PageId</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-vended-metrics.html">
43
+ * Extended metrics that you can send to CloudWatch and CloudWatch
44
+ * Evidently</a>.</p>
44
45
  * </li>
45
46
  * <li>
46
- * <p>Custom metrics are metrics that you define. You can send custom metrics to CloudWatch or
47
- * to CloudWatch Evidently or to both. With custom metrics,
48
- * you can use any metric name and namespace, and to derive the metrics you can use any custom events, built-in events,
49
- * custom attributes, or default attributes. </p>
47
+ * <p>Custom metrics are metrics that you define. You can send custom metrics to CloudWatch.
48
+ * CloudWatch Evidently, or both. With custom metrics, you can use any metric
49
+ * name and namespace. To derive the metrics, you can use any custom events, built-in
50
+ * events, custom attributes, or default attributes. </p>
50
51
  * <p>You can't send custom metrics to the <code>AWS/RUM</code> namespace. You must send custom metrics to a
51
52
  * custom namespace that you define. The namespace that you use can't start with <code>AWS/</code>.
52
53
  * CloudWatch RUM prepends <code>RUM/CustomMetrics/</code> to the custom namespace that you define,
@@ -76,6 +76,25 @@ export interface AppMonitorConfiguration {
76
76
  * @public
77
77
  * <p>The ARN of the guest IAM role that is attached to the Amazon Cognito identity pool
78
78
  * that is used to authorize the sending of data to RUM.</p>
79
+ * <note>
80
+ * <p>It is possible that an app monitor does not have a value for <code>GuestRoleArn</code>. For example,
81
+ * this can happen when you use the console to create an app monitor and you allow CloudWatch RUM to
82
+ * create a new identity pool for Authorization. In this case, <code>GuestRoleArn</code> is not present in the
83
+ * <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_GetAppMonitor.html">GetAppMonitor</a>
84
+ * response because it is not stored by the service.</p>
85
+ * <p>If this issue affects you, you can take one of the following steps:</p>
86
+ * <ul>
87
+ * <li>
88
+ * <p>Use the Cloud Development Kit (CDK) to create an identity pool and the associated IAM
89
+ * role, and use that for your app monitor.</p>
90
+ * </li>
91
+ * <li>
92
+ * <p>Make a separate <a href="https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetIdentityPoolRoles.html">GetIdentityPoolRoles</a>
93
+ * call to Amazon Cognito to retrieve
94
+ * the <code>GuestRoleArn</code>.</p>
95
+ * </li>
96
+ * </ul>
97
+ * </note>
79
98
  */
80
99
  GuestRoleArn?: string;
81
100
  /**
@@ -285,8 +304,8 @@ export type MetricDestination = (typeof MetricDestination)[keyof typeof MetricDe
285
304
  * @public
286
305
  * <p>Use this structure to define one extended metric or custom metric that RUM will send
287
306
  * to CloudWatch or CloudWatch Evidently. For more information, see
288
- * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-vended-metrics.html">
289
- * Additional metrics that you can send to CloudWatch and CloudWatch Evidently</a>.</p>
307
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-and-extended-metrics.html">
308
+ * Custom metrics and extended metrics that you can send to CloudWatch and CloudWatch Evidently</a>.</p>
290
309
  * <p>This structure is validated differently for extended metrics and custom metrics. For extended metrics
291
310
  * that are sent to the <code>AWS/RUM</code> namespace, the following validations apply:</p>
292
311
  * <ul>
@@ -294,9 +313,10 @@ export type MetricDestination = (typeof MetricDestination)[keyof typeof MetricDe
294
313
  * <p>The <code>Namespace</code> parameter must be omitted or set to <code>AWS/RUM</code>.</p>
295
314
  * </li>
296
315
  * <li>
297
- * <p>Only certain combinations of values for <code>Name</code>, <code>ValueKey</code>, and <code>EventPattern</code>
298
- * are valid. In addition to what is displayed in the list below, the <code>EventPattern</code> can also include information
299
- * used by the <code>DimensionKeys</code> field.</p>
316
+ * <p>Only certain combinations of values for <code>Name</code>, <code>ValueKey</code>, and
317
+ * <code>EventPattern</code> are valid. In addition to what is displayed in the
318
+ * following list, the <code>EventPattern</code> can also include information used by
319
+ * the <code>DimensionKeys</code> field.</p>
300
320
  * <ul>
301
321
  * <li>
302
322
  * <p>If <code>Name</code> is <code>PerformanceNavigationDuration</code>, then
@@ -385,6 +405,24 @@ export type MetricDestination = (typeof MetricDestination)[keyof typeof MetricDe
385
405
  * must include <code>\{"event_type":["com.amazon.rum.session_start_event"]\}</code>
386
406
  * </p>
387
407
  * </li>
408
+ * <li>
409
+ * <p>If <code>Name</code> is <code>PageViewCount</code>, then
410
+ * <code>ValueKey</code>must be null and the <code>EventPattern</code>
411
+ * must include <code>\{"event_type":["com.amazon.rum.page_view_event"]\}</code>
412
+ * </p>
413
+ * </li>
414
+ * <li>
415
+ * <p>If <code>Name</code> is <code>Http4xxCount</code>, then
416
+ * <code>ValueKey</code>must be null and the <code>EventPattern</code>
417
+ * must include <code>\{"event_type": ["com.amazon.rum.http_event"],"event_details":\{"response":\{"status":[\{"numeric":["&gt;=",400,"&lt;",500]\}]\}\}\} \}</code>
418
+ * </p>
419
+ * </li>
420
+ * <li>
421
+ * <p>If <code>Name</code> is <code>Http5xxCount</code>, then
422
+ * <code>ValueKey</code>must be null and the <code>EventPattern</code>
423
+ * must include <code>\{"event_type": ["com.amazon.rum.http_event"],"event_details":\{"response":\{"status":[\{"numeric":["&gt;=",500,"&lt;=",599]\}]\}\}\} \}</code>
424
+ * </p>
425
+ * </li>
388
426
  * </ul>
389
427
  * </li>
390
428
  * </ul>
@@ -574,10 +612,10 @@ export interface MetricDefinitionRequest {
574
612
  /**
575
613
  * @public
576
614
  * <p>The field within the event object that the metric value is sourced from.</p>
577
- * <p>If you omit this field, a hardcoded value of 1 is pushed as the metric value. This is useful if you
578
- * just want to count the number of events that the filter catches. </p>
579
- * <p>If this metric is sent to CloudWatch Evidently, this field will be passed to Evidently raw and Evidently
580
- * will handle data extraction from the event.</p>
615
+ * <p>If you omit this field, a hardcoded value of 1 is pushed as the metric value. This is
616
+ * useful if you want to count the number of events that the filter catches. </p>
617
+ * <p>If this metric is sent to CloudWatch Evidently, this field will be passed to
618
+ * Evidently raw. Evidently will handle data extraction from the event.</p>
581
619
  */
582
620
  ValueKey?: string;
583
621
  /**
@@ -676,9 +714,8 @@ export interface MetricDefinitionRequest {
676
714
  * </p>
677
715
  * </li>
678
716
  * </ul>
679
- * <p>If the metrics destination'
680
- * is <code>CloudWatch</code> and the event
681
- * also matches a value in <code>DimensionKeys</code>, then the metric is published with the specified dimensions. </p>
717
+ * <p>If the metrics destination is <code>CloudWatch</code> and the event also matches a value
718
+ * in <code>DimensionKeys</code>, then the metric is published with the specified dimensions. </p>
682
719
  */
683
720
  EventPattern?: string;
684
721
  /**
@@ -700,10 +737,11 @@ export interface BatchCreateRumMetricDefinitionsRequest {
700
737
  AppMonitorName: string | undefined;
701
738
  /**
702
739
  * @public
703
- * <p>The destination to send the metrics to. Valid values are <code>CloudWatch</code> and <code>Evidently</code>. If
704
- * you specify <code>Evidently</code>, you must also specify the ARN of the CloudWatchEvidently experiment
705
- * that will receive
706
- * the metrics and an IAM role that has permission to write to the experiment.</p>
740
+ * <p>The destination to send the metrics to. Valid values are <code>CloudWatch</code> and
741
+ * <code>Evidently</code>. If you specify <code>Evidently</code>, you must also specify the
742
+ * Amazon Resource Name (ARN) of the CloudWatchEvidently experiment that will receive
743
+ * the metrics and an IAM role that has permission to write to the
744
+ * experiment.</p>
707
745
  */
708
746
  Destination: MetricDestination | undefined;
709
747
  /**
@@ -1080,7 +1118,7 @@ export interface CreateAppMonitorRequest {
1080
1118
  * Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the
1081
1119
  * Amazon Cognito identity pool to use for authorization. If you don't include <code>AppMonitorConfiguration</code>, you must set up your own
1082
1120
  * authorization method. For more information, see
1083
- * <a href="https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html">Authorize your application
1121
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-get-started-authorization.html">Authorize your application
1084
1122
  * to send data to Amazon Web Services</a>.</p>
1085
1123
  * <p>If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions.</p>
1086
1124
  */
@@ -1423,10 +1461,15 @@ export interface PutRumMetricsDestinationRequest {
1423
1461
  /**
1424
1462
  * @public
1425
1463
  * <p>This parameter is required if <code>Destination</code> is <code>Evidently</code>. If <code>Destination</code> is
1426
- * <code>CloudWatch</code>, do not use this parameter.</p>
1464
+ * <code>CloudWatch</code>, don't use this parameter.</p>
1427
1465
  * <p>This parameter specifies
1428
1466
  * the ARN of an IAM role that RUM will assume to write to the Evidently
1429
1467
  * experiment that you are sending metrics to. This role must have permission to write to that experiment.</p>
1468
+ * <p>If you specify this parameter, you must be signed on to a role that has <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">PassRole</a> permissions attached to it, to allow
1469
+ * the role to be passed. The <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html#managed-policies-cloudwatch-RUM">
1470
+ * CloudWatchAmazonCloudWatchRUMFullAccess</a>
1471
+ * policy doesn't include <code>PassRole</code>
1472
+ * permissions.</p>
1430
1473
  */
1431
1474
  IamRoleArn?: string;
1432
1475
  }
@@ -1455,7 +1498,7 @@ export interface UpdateAppMonitorRequest {
1455
1498
  * Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the
1456
1499
  * Amazon Cognito identity pool to use for authorization. If you don't include <code>AppMonitorConfiguration</code>, you must set up your own
1457
1500
  * authorization method. For more information, see
1458
- * <a href="https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html">Authorize your application
1501
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-get-started-authorization.html">Authorize your application
1459
1502
  * to send data to Amazon Web Services</a>.</p>
1460
1503
  */
1461
1504
  AppMonitorConfiguration?: AppMonitorConfiguration;
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
- updateHttpClientConfig(key: never, value: never): void;
16
- httpHandlerConfigs(): {};
17
- }) | RequestHandler;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
18
15
  retryMode: string | import("@smithy/types").Provider<string>;
19
16
  sha256: import("@smithy/types").HashConstructor;
20
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
- updateHttpClientConfig(key: never, value: never): void;
16
- httpHandlerConfigs(): {};
17
- }) | RequestHandler;
14
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
18
15
  retryMode: string | import("@smithy/types").Provider<string>;
19
16
  sha256: import("@smithy/types").HashConstructor;
20
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,10 +5,7 @@ import { RUMClientConfig } from "./RUMClient";
5
5
  export declare const getRuntimeConfig: (config: RUMClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
- updateHttpClientConfig(key: never, value: never): void;
10
- httpHandlerConfigs(): {};
11
- }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
12
9
  apiVersion: string;
13
10
  urlParser: import("@smithy/types").UrlParser;
14
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -18,7 +18,7 @@ import {
18
18
  RetryInputConfig,
19
19
  RetryResolvedConfig,
20
20
  } from "@smithy/middleware-retry";
21
- import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
22
  import {
23
23
  Client as __Client,
24
24
  DefaultsMode as __DefaultsMode,
@@ -157,8 +157,8 @@ export type ServiceOutputTypes =
157
157
  | UpdateAppMonitorCommandOutput
158
158
  | UpdateRumMetricDefinitionCommandOutput;
159
159
  export interface ClientDefaults
160
- extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
161
- requestHandler?: __HttpHandler;
160
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
161
+ requestHandler?: __HttpHandlerUserInput;
162
162
  sha256?: __ChecksumConstructor | __HashConstructor;
163
163
  urlParser?: __UrlParser;
164
164
  bodyLengthChecker?: __BodyLengthCalculator;
@@ -15,19 +15,7 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
15
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
16
16
  region: string | import("@smithy/types").Provider<any>;
17
17
  requestHandler:
18
- | (import("@smithy/types").RequestHandler<
19
- any,
20
- any,
21
- import("@smithy/types").HttpHandlerOptions
22
- > &
23
- import("@smithy/types").RequestHandler<
24
- import("@smithy/protocol-http").HttpRequest,
25
- import("@smithy/protocol-http").HttpResponse,
26
- import("@smithy/types").HttpHandlerOptions
27
- > & {
28
- updateHttpClientConfig(key: never, value: never): void;
29
- httpHandlerConfigs(): {};
30
- })
18
+ | import("@smithy/protocol-http").HttpHandler<any>
31
19
  | RequestHandler;
32
20
  retryMode: string | import("@smithy/types").Provider<string>;
33
21
  sha256: import("@smithy/types").HashConstructor;
@@ -19,20 +19,8 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
19
19
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
20
  region: string | import("@smithy/types").Provider<string>;
21
21
  requestHandler:
22
- | (import("@smithy/types").RequestHandler<
23
- any,
24
- any,
25
- import("@smithy/types").HttpHandlerOptions
26
- > &
27
- import("@smithy/types").RequestHandler<
28
- import("@smithy/protocol-http").HttpRequest,
29
- import("@smithy/protocol-http").HttpResponse,
30
- import("@smithy/types").HttpHandlerOptions
31
- > & {
32
- updateHttpClientConfig(key: never, value: never): void;
33
- httpHandlerConfigs(): {};
34
- })
35
- | RequestHandler;
22
+ | RequestHandler
23
+ | import("@smithy/protocol-http").HttpHandler<any>;
36
24
  retryMode: string | import("@smithy/types").Provider<string>;
37
25
  sha256: import("@smithy/types").HashConstructor;
38
26
  streamCollector: import("@smithy/types").StreamCollector;
@@ -3,19 +3,10 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
3
3
  runtime: string;
4
4
  sha256: import("@smithy/types").HashConstructor;
5
5
  requestHandler:
6
- | (import("@smithy/types").RequestHandler<
7
- any,
8
- any,
9
- import("@smithy/types").HttpHandlerOptions
10
- > &
11
- import("@smithy/types").RequestHandler<
12
- import("@smithy/protocol-http").HttpRequest,
13
- import("@smithy/protocol-http").HttpResponse,
14
- import("@smithy/types").HttpHandlerOptions
15
- > & {
16
- updateHttpClientConfig(key: never, value: never): void;
17
- httpHandlerConfigs(): {};
18
- })
6
+ | import("@smithy/types").NodeHttpHandlerOptions
7
+ | import("@smithy/types").FetchHttpHandlerOptions
8
+ | Record<string, unknown>
9
+ | import("@smithy/protocol-http").HttpHandler<any>
19
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
20
11
  apiVersion: string;
21
12
  urlParser: import("@smithy/types").UrlParser;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rum",
3
3
  "description": "AWS SDK for JavaScript Rum Client for Node.js, Browser and React Native",
4
- "version": "3.515.0",
4
+ "version": "3.521.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-rum",
@@ -20,42 +20,42 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.515.0",
24
- "@aws-sdk/core": "3.513.0",
25
- "@aws-sdk/credential-provider-node": "3.515.0",
26
- "@aws-sdk/middleware-host-header": "3.515.0",
27
- "@aws-sdk/middleware-logger": "3.515.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.515.0",
29
- "@aws-sdk/middleware-user-agent": "3.515.0",
30
- "@aws-sdk/region-config-resolver": "3.515.0",
31
- "@aws-sdk/types": "3.515.0",
32
- "@aws-sdk/util-endpoints": "3.515.0",
33
- "@aws-sdk/util-user-agent-browser": "3.515.0",
34
- "@aws-sdk/util-user-agent-node": "3.515.0",
35
- "@smithy/config-resolver": "^2.1.1",
36
- "@smithy/core": "^1.3.2",
37
- "@smithy/fetch-http-handler": "^2.4.1",
38
- "@smithy/hash-node": "^2.1.1",
39
- "@smithy/invalid-dependency": "^2.1.1",
40
- "@smithy/middleware-content-length": "^2.1.1",
41
- "@smithy/middleware-endpoint": "^2.4.1",
42
- "@smithy/middleware-retry": "^2.1.1",
43
- "@smithy/middleware-serde": "^2.1.1",
44
- "@smithy/middleware-stack": "^2.1.1",
45
- "@smithy/node-config-provider": "^2.2.1",
46
- "@smithy/node-http-handler": "^2.3.1",
47
- "@smithy/protocol-http": "^3.1.1",
48
- "@smithy/smithy-client": "^2.3.1",
49
- "@smithy/types": "^2.9.1",
50
- "@smithy/url-parser": "^2.1.1",
23
+ "@aws-sdk/client-sts": "3.521.0",
24
+ "@aws-sdk/core": "3.521.0",
25
+ "@aws-sdk/credential-provider-node": "3.521.0",
26
+ "@aws-sdk/middleware-host-header": "3.521.0",
27
+ "@aws-sdk/middleware-logger": "3.521.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.521.0",
29
+ "@aws-sdk/middleware-user-agent": "3.521.0",
30
+ "@aws-sdk/region-config-resolver": "3.521.0",
31
+ "@aws-sdk/types": "3.521.0",
32
+ "@aws-sdk/util-endpoints": "3.521.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.521.0",
34
+ "@aws-sdk/util-user-agent-node": "3.521.0",
35
+ "@smithy/config-resolver": "^2.1.2",
36
+ "@smithy/core": "^1.3.3",
37
+ "@smithy/fetch-http-handler": "^2.4.2",
38
+ "@smithy/hash-node": "^2.1.2",
39
+ "@smithy/invalid-dependency": "^2.1.2",
40
+ "@smithy/middleware-content-length": "^2.1.2",
41
+ "@smithy/middleware-endpoint": "^2.4.2",
42
+ "@smithy/middleware-retry": "^2.1.2",
43
+ "@smithy/middleware-serde": "^2.1.2",
44
+ "@smithy/middleware-stack": "^2.1.2",
45
+ "@smithy/node-config-provider": "^2.2.2",
46
+ "@smithy/node-http-handler": "^2.4.0",
47
+ "@smithy/protocol-http": "^3.2.0",
48
+ "@smithy/smithy-client": "^2.4.0",
49
+ "@smithy/types": "^2.10.0",
50
+ "@smithy/url-parser": "^2.1.2",
51
51
  "@smithy/util-base64": "^2.1.1",
52
52
  "@smithy/util-body-length-browser": "^2.1.1",
53
53
  "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.1",
55
- "@smithy/util-defaults-mode-node": "^2.2.0",
56
- "@smithy/util-endpoints": "^1.1.1",
57
- "@smithy/util-middleware": "^2.1.1",
58
- "@smithy/util-retry": "^2.1.1",
54
+ "@smithy/util-defaults-mode-browser": "^2.1.2",
55
+ "@smithy/util-defaults-mode-node": "^2.2.1",
56
+ "@smithy/util-endpoints": "^1.1.2",
57
+ "@smithy/util-middleware": "^2.1.2",
58
+ "@smithy/util-retry": "^2.1.2",
59
59
  "@smithy/util-utf8": "^2.1.1",
60
60
  "tslib": "^2.5.0"
61
61
  },