@aws-sdk/client-rum 3.54.1 → 3.55.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-rum
9
+
10
+
11
+
12
+
13
+
6
14
  ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-rum
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class RUMClient extends smithy_client_1.Client {
14
14
  constructor(configuration) {
15
- const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
- const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
- const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
- const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
- const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
- const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
- const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
15
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
16
+ const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
17
+ const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
18
+ const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
19
+ const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
20
+ const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
21
+ const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
22
22
  super(_config_6);
23
23
  this.config = _config_6;
24
- this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
- this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
- this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
- this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
- this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
24
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
25
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
28
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
30
  }
31
31
  destroy() {
32
32
  super.destroy();
@@ -11,7 +11,7 @@ class CreateAppMonitorCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RUMClient";
@@ -27,10 +27,10 @@ class CreateAppMonitorCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1CreateAppMonitorCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1CreateAppMonitorCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1CreateAppMonitorCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateAppMonitorCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateAppMonitorCommand = CreateAppMonitorCommand;
@@ -11,7 +11,7 @@ class DeleteAppMonitorCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RUMClient";
@@ -27,10 +27,10 @@ class DeleteAppMonitorCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DeleteAppMonitorCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteAppMonitorCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DeleteAppMonitorCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteAppMonitorCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteAppMonitorCommand = DeleteAppMonitorCommand;
@@ -11,7 +11,7 @@ class GetAppMonitorCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RUMClient";
@@ -27,10 +27,10 @@ class GetAppMonitorCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetAppMonitorCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetAppMonitorCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetAppMonitorCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetAppMonitorCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetAppMonitorCommand = GetAppMonitorCommand;
@@ -11,7 +11,7 @@ class GetAppMonitorDataCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RUMClient";
@@ -27,10 +27,10 @@ class GetAppMonitorDataCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetAppMonitorDataCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetAppMonitorDataCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetAppMonitorDataCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetAppMonitorDataCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetAppMonitorDataCommand = GetAppMonitorDataCommand;
@@ -11,7 +11,7 @@ class ListAppMonitorsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RUMClient";
@@ -27,10 +27,10 @@ class ListAppMonitorsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListAppMonitorsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListAppMonitorsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListAppMonitorsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListAppMonitorsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListAppMonitorsCommand = ListAppMonitorsCommand;
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RUMClient";
@@ -27,10 +27,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -11,7 +11,7 @@ class PutRumEventsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RUMClient";
@@ -27,10 +27,10 @@ class PutRumEventsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1PutRumEventsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1PutRumEventsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1PutRumEventsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1PutRumEventsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PutRumEventsCommand = PutRumEventsCommand;
@@ -11,7 +11,7 @@ class TagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RUMClient";
@@ -27,10 +27,10 @@ class TagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1TagResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TagResourceCommand = TagResourceCommand;
@@ -11,7 +11,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RUMClient";
@@ -27,10 +27,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class UpdateAppMonitorCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RUMClient";
@@ -27,10 +27,10 @@ class UpdateAppMonitorCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UpdateAppMonitorCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateAppMonitorCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateAppMonitorCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateAppMonitorCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateAppMonitorCommand = UpdateAppMonitorCommand;
@@ -122,7 +122,7 @@ const partitionHash = {
122
122
  ],
123
123
  },
124
124
  };
125
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
125
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
126
126
  ...options,
127
127
  signingService: "rum",
128
128
  regionHash,
@@ -42,7 +42,7 @@ const serializeAws_restJson1DeleteAppMonitorCommand = async (input, context) =>
42
42
  if (labelValue.length <= 0) {
43
43
  throw new Error("Empty value provided for input HTTP label: Name.");
44
44
  }
45
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
45
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
46
46
  }
47
47
  else {
48
48
  throw new Error("No value provided for input HTTP label: Name.");
@@ -68,7 +68,7 @@ const serializeAws_restJson1GetAppMonitorCommand = async (input, context) => {
68
68
  if (labelValue.length <= 0) {
69
69
  throw new Error("Empty value provided for input HTTP label: Name.");
70
70
  }
71
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
71
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
72
72
  }
73
73
  else {
74
74
  throw new Error("No value provided for input HTTP label: Name.");
@@ -96,7 +96,7 @@ const serializeAws_restJson1GetAppMonitorDataCommand = async (input, context) =>
96
96
  if (labelValue.length <= 0) {
97
97
  throw new Error("Empty value provided for input HTTP label: Name.");
98
98
  }
99
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
99
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
100
100
  }
101
101
  else {
102
102
  throw new Error("No value provided for input HTTP label: Name.");
@@ -151,7 +151,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
151
151
  if (labelValue.length <= 0) {
152
152
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
153
153
  }
154
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
154
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
155
155
  }
156
156
  else {
157
157
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -179,7 +179,7 @@ const serializeAws_restJson1PutRumEventsCommand = async (input, context) => {
179
179
  if (labelValue.length <= 0) {
180
180
  throw new Error("Empty value provided for input HTTP label: Id.");
181
181
  }
182
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
182
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
183
183
  }
184
184
  else {
185
185
  throw new Error("No value provided for input HTTP label: Id.");
@@ -199,7 +199,7 @@ const serializeAws_restJson1PutRumEventsCommand = async (input, context) => {
199
199
  let { hostname: resolvedHostname } = await context.endpoint();
200
200
  if (context.disableHostPrefix !== true) {
201
201
  resolvedHostname = "dataplane." + resolvedHostname;
202
- if (!protocol_http_1.isValidHostname(resolvedHostname)) {
202
+ if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
203
203
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
204
204
  }
205
205
  }
@@ -225,7 +225,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
225
225
  if (labelValue.length <= 0) {
226
226
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
227
227
  }
228
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
228
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
229
229
  }
230
230
  else {
231
231
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -254,7 +254,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
254
254
  if (labelValue.length <= 0) {
255
255
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
256
256
  }
257
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
257
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
258
258
  }
259
259
  else {
260
260
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -286,7 +286,7 @@ const serializeAws_restJson1UpdateAppMonitorCommand = async (input, context) =>
286
286
  if (labelValue.length <= 0) {
287
287
  throw new Error("Empty value provided for input HTTP label: Name.");
288
288
  }
289
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
289
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
290
290
  }
291
291
  else {
292
292
  throw new Error("No value provided for input HTTP label: Name.");
@@ -319,9 +319,9 @@ const deserializeAws_restJson1CreateAppMonitorCommand = async (output, context)
319
319
  $metadata: deserializeMetadata(output),
320
320
  Id: undefined,
321
321
  };
322
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
322
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
323
323
  if (data.Id !== undefined && data.Id !== null) {
324
- contents.Id = smithy_client_1.expectString(data.Id);
324
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
325
325
  }
326
326
  return Promise.resolve(contents);
327
327
  };
@@ -360,7 +360,7 @@ const deserializeAws_restJson1CreateAppMonitorCommandError = async (output, cont
360
360
  $fault: "client",
361
361
  $metadata: deserializeMetadata(output),
362
362
  });
363
- throw smithy_client_1.decorateServiceException(response, parsedBody);
363
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
364
364
  }
365
365
  };
366
366
  const deserializeAws_restJson1DeleteAppMonitorCommand = async (output, context) => {
@@ -408,7 +408,7 @@ const deserializeAws_restJson1DeleteAppMonitorCommandError = async (output, cont
408
408
  $fault: "client",
409
409
  $metadata: deserializeMetadata(output),
410
410
  });
411
- throw smithy_client_1.decorateServiceException(response, parsedBody);
411
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
412
412
  }
413
413
  };
414
414
  const deserializeAws_restJson1GetAppMonitorCommand = async (output, context) => {
@@ -419,7 +419,7 @@ const deserializeAws_restJson1GetAppMonitorCommand = async (output, context) =>
419
419
  $metadata: deserializeMetadata(output),
420
420
  AppMonitor: undefined,
421
421
  };
422
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
422
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
423
423
  if (data.AppMonitor !== undefined && data.AppMonitor !== null) {
424
424
  contents.AppMonitor = deserializeAws_restJson1AppMonitor(data.AppMonitor, context);
425
425
  }
@@ -457,7 +457,7 @@ const deserializeAws_restJson1GetAppMonitorCommandError = async (output, context
457
457
  $fault: "client",
458
458
  $metadata: deserializeMetadata(output),
459
459
  });
460
- throw smithy_client_1.decorateServiceException(response, parsedBody);
460
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
461
461
  }
462
462
  };
463
463
  const deserializeAws_restJson1GetAppMonitorDataCommand = async (output, context) => {
@@ -469,12 +469,12 @@ const deserializeAws_restJson1GetAppMonitorDataCommand = async (output, context)
469
469
  Events: undefined,
470
470
  NextToken: undefined,
471
471
  };
472
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
472
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
473
473
  if (data.Events !== undefined && data.Events !== null) {
474
474
  contents.Events = deserializeAws_restJson1EventDataList(data.Events, context);
475
475
  }
476
476
  if (data.NextToken !== undefined && data.NextToken !== null) {
477
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
477
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
478
478
  }
479
479
  return Promise.resolve(contents);
480
480
  };
@@ -510,7 +510,7 @@ const deserializeAws_restJson1GetAppMonitorDataCommandError = async (output, con
510
510
  $fault: "client",
511
511
  $metadata: deserializeMetadata(output),
512
512
  });
513
- throw smithy_client_1.decorateServiceException(response, parsedBody);
513
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
514
514
  }
515
515
  };
516
516
  const deserializeAws_restJson1ListAppMonitorsCommand = async (output, context) => {
@@ -522,12 +522,12 @@ const deserializeAws_restJson1ListAppMonitorsCommand = async (output, context) =
522
522
  AppMonitorSummaries: undefined,
523
523
  NextToken: undefined,
524
524
  };
525
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
525
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
526
526
  if (data.AppMonitorSummaries !== undefined && data.AppMonitorSummaries !== null) {
527
527
  contents.AppMonitorSummaries = deserializeAws_restJson1AppMonitorSummaryList(data.AppMonitorSummaries, context);
528
528
  }
529
529
  if (data.NextToken !== undefined && data.NextToken !== null) {
530
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
530
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
531
531
  }
532
532
  return Promise.resolve(contents);
533
533
  };
@@ -560,7 +560,7 @@ const deserializeAws_restJson1ListAppMonitorsCommandError = async (output, conte
560
560
  $fault: "client",
561
561
  $metadata: deserializeMetadata(output),
562
562
  });
563
- throw smithy_client_1.decorateServiceException(response, parsedBody);
563
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
564
564
  }
565
565
  };
566
566
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -572,9 +572,9 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
572
572
  ResourceArn: undefined,
573
573
  Tags: undefined,
574
574
  };
575
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
575
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
576
576
  if (data.ResourceArn !== undefined && data.ResourceArn !== null) {
577
- contents.ResourceArn = smithy_client_1.expectString(data.ResourceArn);
577
+ contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
578
578
  }
579
579
  if (data.Tags !== undefined && data.Tags !== null) {
580
580
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
@@ -607,7 +607,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
607
607
  $fault: "client",
608
608
  $metadata: deserializeMetadata(output),
609
609
  });
610
- throw smithy_client_1.decorateServiceException(response, parsedBody);
610
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
611
611
  }
612
612
  };
613
613
  const deserializeAws_restJson1PutRumEventsCommand = async (output, context) => {
@@ -652,7 +652,7 @@ const deserializeAws_restJson1PutRumEventsCommandError = async (output, context)
652
652
  $fault: "client",
653
653
  $metadata: deserializeMetadata(output),
654
654
  });
655
- throw smithy_client_1.decorateServiceException(response, parsedBody);
655
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
656
656
  }
657
657
  };
658
658
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -691,7 +691,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
691
691
  $fault: "client",
692
692
  $metadata: deserializeMetadata(output),
693
693
  });
694
- throw smithy_client_1.decorateServiceException(response, parsedBody);
694
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
695
695
  }
696
696
  };
697
697
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -730,7 +730,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
730
730
  $fault: "client",
731
731
  $metadata: deserializeMetadata(output),
732
732
  });
733
- throw smithy_client_1.decorateServiceException(response, parsedBody);
733
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
734
734
  }
735
735
  };
736
736
  const deserializeAws_restJson1UpdateAppMonitorCommand = async (output, context) => {
@@ -778,116 +778,116 @@ const deserializeAws_restJson1UpdateAppMonitorCommandError = async (output, cont
778
778
  $fault: "client",
779
779
  $metadata: deserializeMetadata(output),
780
780
  });
781
- throw smithy_client_1.decorateServiceException(response, parsedBody);
781
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
782
782
  }
783
783
  };
784
784
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
785
785
  const contents = {};
786
786
  const data = parsedOutput.body;
787
787
  if (data.message !== undefined && data.message !== null) {
788
- contents.message = smithy_client_1.expectString(data.message);
788
+ contents.message = (0, smithy_client_1.expectString)(data.message);
789
789
  }
790
790
  const exception = new models_0_1.AccessDeniedException({
791
791
  $metadata: deserializeMetadata(parsedOutput),
792
792
  ...contents,
793
793
  });
794
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
794
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
795
795
  };
796
796
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
797
797
  const contents = {};
798
798
  const data = parsedOutput.body;
799
799
  if (data.message !== undefined && data.message !== null) {
800
- contents.message = smithy_client_1.expectString(data.message);
800
+ contents.message = (0, smithy_client_1.expectString)(data.message);
801
801
  }
802
802
  if (data.resourceName !== undefined && data.resourceName !== null) {
803
- contents.resourceName = smithy_client_1.expectString(data.resourceName);
803
+ contents.resourceName = (0, smithy_client_1.expectString)(data.resourceName);
804
804
  }
805
805
  if (data.resourceType !== undefined && data.resourceType !== null) {
806
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
806
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
807
807
  }
808
808
  const exception = new models_0_1.ConflictException({
809
809
  $metadata: deserializeMetadata(parsedOutput),
810
810
  ...contents,
811
811
  });
812
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
812
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
813
813
  };
814
814
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
815
815
  const contents = {};
816
816
  if (parsedOutput.headers["retry-after"] !== undefined) {
817
- contents.retryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
817
+ contents.retryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
818
818
  }
819
819
  const data = parsedOutput.body;
820
820
  if (data.message !== undefined && data.message !== null) {
821
- contents.message = smithy_client_1.expectString(data.message);
821
+ contents.message = (0, smithy_client_1.expectString)(data.message);
822
822
  }
823
823
  const exception = new models_0_1.InternalServerException({
824
824
  $metadata: deserializeMetadata(parsedOutput),
825
825
  ...contents,
826
826
  });
827
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
827
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
828
828
  };
829
829
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
830
830
  const contents = {};
831
831
  const data = parsedOutput.body;
832
832
  if (data.message !== undefined && data.message !== null) {
833
- contents.message = smithy_client_1.expectString(data.message);
833
+ contents.message = (0, smithy_client_1.expectString)(data.message);
834
834
  }
835
835
  if (data.resourceName !== undefined && data.resourceName !== null) {
836
- contents.resourceName = smithy_client_1.expectString(data.resourceName);
836
+ contents.resourceName = (0, smithy_client_1.expectString)(data.resourceName);
837
837
  }
838
838
  if (data.resourceType !== undefined && data.resourceType !== null) {
839
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
839
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
840
840
  }
841
841
  const exception = new models_0_1.ResourceNotFoundException({
842
842
  $metadata: deserializeMetadata(parsedOutput),
843
843
  ...contents,
844
844
  });
845
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
845
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
846
846
  };
847
847
  const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
848
848
  const contents = {};
849
849
  const data = parsedOutput.body;
850
850
  if (data.message !== undefined && data.message !== null) {
851
- contents.message = smithy_client_1.expectString(data.message);
851
+ contents.message = (0, smithy_client_1.expectString)(data.message);
852
852
  }
853
853
  const exception = new models_0_1.ServiceQuotaExceededException({
854
854
  $metadata: deserializeMetadata(parsedOutput),
855
855
  ...contents,
856
856
  });
857
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
857
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
858
858
  };
859
859
  const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
860
860
  const contents = {};
861
861
  if (parsedOutput.headers["retry-after"] !== undefined) {
862
- contents.retryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
862
+ contents.retryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
863
863
  }
864
864
  const data = parsedOutput.body;
865
865
  if (data.message !== undefined && data.message !== null) {
866
- contents.message = smithy_client_1.expectString(data.message);
866
+ contents.message = (0, smithy_client_1.expectString)(data.message);
867
867
  }
868
868
  if (data.quotaCode !== undefined && data.quotaCode !== null) {
869
- contents.quotaCode = smithy_client_1.expectString(data.quotaCode);
869
+ contents.quotaCode = (0, smithy_client_1.expectString)(data.quotaCode);
870
870
  }
871
871
  if (data.serviceCode !== undefined && data.serviceCode !== null) {
872
- contents.serviceCode = smithy_client_1.expectString(data.serviceCode);
872
+ contents.serviceCode = (0, smithy_client_1.expectString)(data.serviceCode);
873
873
  }
874
874
  const exception = new models_0_1.ThrottlingException({
875
875
  $metadata: deserializeMetadata(parsedOutput),
876
876
  ...contents,
877
877
  });
878
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
878
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
879
879
  };
880
880
  const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
881
881
  const contents = {};
882
882
  const data = parsedOutput.body;
883
883
  if (data.message !== undefined && data.message !== null) {
884
- contents.message = smithy_client_1.expectString(data.message);
884
+ contents.message = (0, smithy_client_1.expectString)(data.message);
885
885
  }
886
886
  const exception = new models_0_1.ValidationException({
887
887
  $metadata: deserializeMetadata(parsedOutput),
888
888
  ...contents,
889
889
  });
890
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
890
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
891
891
  };
892
892
  const serializeAws_restJson1AppMonitorConfiguration = (input, context) => {
893
893
  return {
@@ -905,7 +905,7 @@ const serializeAws_restJson1AppMonitorConfiguration = (input, context) => {
905
905
  ...(input.IncludedPages !== undefined &&
906
906
  input.IncludedPages !== null && { IncludedPages: serializeAws_restJson1Pages(input.IncludedPages, context) }),
907
907
  ...(input.SessionSampleRate !== undefined &&
908
- input.SessionSampleRate !== null && { SessionSampleRate: smithy_client_1.serializeFloat(input.SessionSampleRate) }),
908
+ input.SessionSampleRate !== null && { SessionSampleRate: (0, smithy_client_1.serializeFloat)(input.SessionSampleRate) }),
909
909
  ...(input.Telemetries !== undefined &&
910
910
  input.Telemetries !== null && { Telemetries: serializeAws_restJson1Telemetries(input.Telemetries, context) }),
911
911
  };
@@ -1024,15 +1024,15 @@ const deserializeAws_restJson1AppMonitor = (output, context) => {
1024
1024
  AppMonitorConfiguration: output.AppMonitorConfiguration !== undefined && output.AppMonitorConfiguration !== null
1025
1025
  ? deserializeAws_restJson1AppMonitorConfiguration(output.AppMonitorConfiguration, context)
1026
1026
  : undefined,
1027
- Created: smithy_client_1.expectString(output.Created),
1027
+ Created: (0, smithy_client_1.expectString)(output.Created),
1028
1028
  DataStorage: output.DataStorage !== undefined && output.DataStorage !== null
1029
1029
  ? deserializeAws_restJson1DataStorage(output.DataStorage, context)
1030
1030
  : undefined,
1031
- Domain: smithy_client_1.expectString(output.Domain),
1032
- Id: smithy_client_1.expectString(output.Id),
1033
- LastModified: smithy_client_1.expectString(output.LastModified),
1034
- Name: smithy_client_1.expectString(output.Name),
1035
- State: smithy_client_1.expectString(output.State),
1031
+ Domain: (0, smithy_client_1.expectString)(output.Domain),
1032
+ Id: (0, smithy_client_1.expectString)(output.Id),
1033
+ LastModified: (0, smithy_client_1.expectString)(output.LastModified),
1034
+ Name: (0, smithy_client_1.expectString)(output.Name),
1035
+ State: (0, smithy_client_1.expectString)(output.State),
1036
1036
  Tags: output.Tags !== undefined && output.Tags !== null
1037
1037
  ? deserializeAws_restJson1TagMap(output.Tags, context)
1038
1038
  : undefined,
@@ -1040,20 +1040,20 @@ const deserializeAws_restJson1AppMonitor = (output, context) => {
1040
1040
  };
1041
1041
  const deserializeAws_restJson1AppMonitorConfiguration = (output, context) => {
1042
1042
  return {
1043
- AllowCookies: smithy_client_1.expectBoolean(output.AllowCookies),
1044
- EnableXRay: smithy_client_1.expectBoolean(output.EnableXRay),
1043
+ AllowCookies: (0, smithy_client_1.expectBoolean)(output.AllowCookies),
1044
+ EnableXRay: (0, smithy_client_1.expectBoolean)(output.EnableXRay),
1045
1045
  ExcludedPages: output.ExcludedPages !== undefined && output.ExcludedPages !== null
1046
1046
  ? deserializeAws_restJson1Pages(output.ExcludedPages, context)
1047
1047
  : undefined,
1048
1048
  FavoritePages: output.FavoritePages !== undefined && output.FavoritePages !== null
1049
1049
  ? deserializeAws_restJson1FavoritePages(output.FavoritePages, context)
1050
1050
  : undefined,
1051
- GuestRoleArn: smithy_client_1.expectString(output.GuestRoleArn),
1052
- IdentityPoolId: smithy_client_1.expectString(output.IdentityPoolId),
1051
+ GuestRoleArn: (0, smithy_client_1.expectString)(output.GuestRoleArn),
1052
+ IdentityPoolId: (0, smithy_client_1.expectString)(output.IdentityPoolId),
1053
1053
  IncludedPages: output.IncludedPages !== undefined && output.IncludedPages !== null
1054
1054
  ? deserializeAws_restJson1Pages(output.IncludedPages, context)
1055
1055
  : undefined,
1056
- SessionSampleRate: smithy_client_1.limitedParseDouble(output.SessionSampleRate),
1056
+ SessionSampleRate: (0, smithy_client_1.limitedParseDouble)(output.SessionSampleRate),
1057
1057
  Telemetries: output.Telemetries !== undefined && output.Telemetries !== null
1058
1058
  ? deserializeAws_restJson1Telemetries(output.Telemetries, context)
1059
1059
  : undefined,
@@ -1061,11 +1061,11 @@ const deserializeAws_restJson1AppMonitorConfiguration = (output, context) => {
1061
1061
  };
1062
1062
  const deserializeAws_restJson1AppMonitorSummary = (output, context) => {
1063
1063
  return {
1064
- Created: smithy_client_1.expectString(output.Created),
1065
- Id: smithy_client_1.expectString(output.Id),
1066
- LastModified: smithy_client_1.expectString(output.LastModified),
1067
- Name: smithy_client_1.expectString(output.Name),
1068
- State: smithy_client_1.expectString(output.State),
1064
+ Created: (0, smithy_client_1.expectString)(output.Created),
1065
+ Id: (0, smithy_client_1.expectString)(output.Id),
1066
+ LastModified: (0, smithy_client_1.expectString)(output.LastModified),
1067
+ Name: (0, smithy_client_1.expectString)(output.Name),
1068
+ State: (0, smithy_client_1.expectString)(output.State),
1069
1069
  };
1070
1070
  };
1071
1071
  const deserializeAws_restJson1AppMonitorSummaryList = (output, context) => {
@@ -1081,8 +1081,8 @@ const deserializeAws_restJson1AppMonitorSummaryList = (output, context) => {
1081
1081
  };
1082
1082
  const deserializeAws_restJson1CwLog = (output, context) => {
1083
1083
  return {
1084
- CwLogEnabled: smithy_client_1.expectBoolean(output.CwLogEnabled),
1085
- CwLogGroup: smithy_client_1.expectString(output.CwLogGroup),
1084
+ CwLogEnabled: (0, smithy_client_1.expectBoolean)(output.CwLogEnabled),
1085
+ CwLogGroup: (0, smithy_client_1.expectString)(output.CwLogGroup),
1086
1086
  };
1087
1087
  };
1088
1088
  const deserializeAws_restJson1DataStorage = (output, context) => {
@@ -1099,7 +1099,7 @@ const deserializeAws_restJson1EventDataList = (output, context) => {
1099
1099
  if (entry === null) {
1100
1100
  return null;
1101
1101
  }
1102
- return smithy_client_1.expectString(entry);
1102
+ return (0, smithy_client_1.expectString)(entry);
1103
1103
  });
1104
1104
  return retVal;
1105
1105
  };
@@ -1110,7 +1110,7 @@ const deserializeAws_restJson1FavoritePages = (output, context) => {
1110
1110
  if (entry === null) {
1111
1111
  return null;
1112
1112
  }
1113
- return smithy_client_1.expectString(entry);
1113
+ return (0, smithy_client_1.expectString)(entry);
1114
1114
  });
1115
1115
  return retVal;
1116
1116
  };
@@ -1121,7 +1121,7 @@ const deserializeAws_restJson1Pages = (output, context) => {
1121
1121
  if (entry === null) {
1122
1122
  return null;
1123
1123
  }
1124
- return smithy_client_1.expectString(entry);
1124
+ return (0, smithy_client_1.expectString)(entry);
1125
1125
  });
1126
1126
  return retVal;
1127
1127
  };
@@ -1132,7 +1132,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1132
1132
  }
1133
1133
  return {
1134
1134
  ...acc,
1135
- [key]: smithy_client_1.expectString(value),
1135
+ [key]: (0, smithy_client_1.expectString)(value),
1136
1136
  };
1137
1137
  }, {});
1138
1138
  };
@@ -1143,7 +1143,7 @@ const deserializeAws_restJson1Telemetries = (output, context) => {
1143
1143
  if (entry === null) {
1144
1144
  return null;
1145
1145
  }
1146
- return smithy_client_1.expectString(entry);
1146
+ return (0, smithy_client_1.expectString)(entry);
1147
1147
  });
1148
1148
  return retVal;
1149
1149
  };
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
17
  const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
18
18
  const getRuntimeConfig = (config) => {
19
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
- const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
20
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
21
21
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
22
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
23
23
  return {
24
24
  ...clientSharedValues,
25
25
  ...config,
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
29
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
30
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
31
31
  credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
32
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
34
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
35
35
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
36
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
20
  const getRuntimeConfig = (config) => {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
- const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  return {
26
26
  ...clientSharedValues,
27
27
  ...config,
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
30
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
31
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
32
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
33
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
34
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
33
+ credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
34
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
+ maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
37
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
39
39
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
40
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
41
  }),
42
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
43
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
44
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
44
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
46
46
  utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
47
47
  utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
48
48
  };
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
- const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
8
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
9
  return {
10
10
  ...browserDefaults,
11
11
  ...config,
package/dist-es/RUM.js CHANGED
@@ -22,7 +22,7 @@ var RUM = (function (_super) {
22
22
  }
23
23
  else if (typeof cb === "function") {
24
24
  if (typeof optionsOrCb !== "object")
25
- throw new Error("Expect http options but get " + typeof optionsOrCb);
25
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
26
26
  this.send(command, optionsOrCb || {}, cb);
27
27
  }
28
28
  else {
@@ -36,7 +36,7 @@ var RUM = (function (_super) {
36
36
  }
37
37
  else if (typeof cb === "function") {
38
38
  if (typeof optionsOrCb !== "object")
39
- throw new Error("Expect http options but get " + typeof optionsOrCb);
39
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
40
40
  this.send(command, optionsOrCb || {}, cb);
41
41
  }
42
42
  else {
@@ -50,7 +50,7 @@ var RUM = (function (_super) {
50
50
  }
51
51
  else if (typeof cb === "function") {
52
52
  if (typeof optionsOrCb !== "object")
53
- throw new Error("Expect http options but get " + typeof optionsOrCb);
53
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
54
54
  this.send(command, optionsOrCb || {}, cb);
55
55
  }
56
56
  else {
@@ -64,7 +64,7 @@ var RUM = (function (_super) {
64
64
  }
65
65
  else if (typeof cb === "function") {
66
66
  if (typeof optionsOrCb !== "object")
67
- throw new Error("Expect http options but get " + typeof optionsOrCb);
67
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
68
68
  this.send(command, optionsOrCb || {}, cb);
69
69
  }
70
70
  else {
@@ -78,7 +78,7 @@ var RUM = (function (_super) {
78
78
  }
79
79
  else if (typeof cb === "function") {
80
80
  if (typeof optionsOrCb !== "object")
81
- throw new Error("Expect http options but get " + typeof optionsOrCb);
81
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
82
82
  this.send(command, optionsOrCb || {}, cb);
83
83
  }
84
84
  else {
@@ -92,7 +92,7 @@ var RUM = (function (_super) {
92
92
  }
93
93
  else if (typeof cb === "function") {
94
94
  if (typeof optionsOrCb !== "object")
95
- throw new Error("Expect http options but get " + typeof optionsOrCb);
95
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
96
96
  this.send(command, optionsOrCb || {}, cb);
97
97
  }
98
98
  else {
@@ -106,7 +106,7 @@ var RUM = (function (_super) {
106
106
  }
107
107
  else if (typeof cb === "function") {
108
108
  if (typeof optionsOrCb !== "object")
109
- throw new Error("Expect http options but get " + typeof optionsOrCb);
109
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
110
110
  this.send(command, optionsOrCb || {}, cb);
111
111
  }
112
112
  else {
@@ -120,7 +120,7 @@ var RUM = (function (_super) {
120
120
  }
121
121
  else if (typeof cb === "function") {
122
122
  if (typeof optionsOrCb !== "object")
123
- throw new Error("Expect http options but get " + typeof optionsOrCb);
123
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
124
124
  this.send(command, optionsOrCb || {}, cb);
125
125
  }
126
126
  else {
@@ -134,7 +134,7 @@ var RUM = (function (_super) {
134
134
  }
135
135
  else if (typeof cb === "function") {
136
136
  if (typeof optionsOrCb !== "object")
137
- throw new Error("Expect http options but get " + typeof optionsOrCb);
137
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
138
138
  this.send(command, optionsOrCb || {}, cb);
139
139
  }
140
140
  else {
@@ -148,7 +148,7 @@ var RUM = (function (_super) {
148
148
  }
149
149
  else if (typeof cb === "function") {
150
150
  if (typeof optionsOrCb !== "object")
151
- throw new Error("Expect http options but get " + typeof optionsOrCb);
151
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
152
152
  this.send(command, optionsOrCb || {}, cb);
153
153
  }
154
154
  else {
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new GetAppMonitorDataCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new GetAppMonitorDataCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.getAppMonitorData.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.getAppMonitorData.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateGetAppMonitorData(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof RUM)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof RUMClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListAppMonitorsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListAppMonitorsCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listAppMonitors.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listAppMonitors.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListAppMonitors(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof RUM)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof RUMClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -13,7 +13,7 @@ export var serializeAws_restJson1CreateAppMonitorCommand = function (input, cont
13
13
  headers = {
14
14
  "content-type": "application/json",
15
15
  };
16
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitor";
16
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitor";
17
17
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.AppMonitorConfiguration !== undefined &&
18
18
  input.AppMonitorConfiguration !== null && {
19
19
  AppMonitorConfiguration: serializeAws_restJson1AppMonitorConfiguration(input.AppMonitorConfiguration, context),
@@ -38,7 +38,7 @@ export var serializeAws_restJson1DeleteAppMonitorCommand = function (input, cont
38
38
  case 1:
39
39
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
40
40
  headers = {};
41
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitor/{Name}";
41
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitor/{Name}";
42
42
  if (input.Name !== undefined) {
43
43
  labelValue = input.Name;
44
44
  if (labelValue.length <= 0) {
@@ -69,7 +69,7 @@ export var serializeAws_restJson1GetAppMonitorCommand = function (input, context
69
69
  case 1:
70
70
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
71
71
  headers = {};
72
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitor/{Name}";
72
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitor/{Name}";
73
73
  if (input.Name !== undefined) {
74
74
  labelValue = input.Name;
75
75
  if (labelValue.length <= 0) {
@@ -102,7 +102,7 @@ export var serializeAws_restJson1GetAppMonitorDataCommand = function (input, con
102
102
  headers = {
103
103
  "content-type": "application/json",
104
104
  };
105
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitor/{Name}/data";
105
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitor/{Name}/data";
106
106
  if (input.Name !== undefined) {
107
107
  labelValue = input.Name;
108
108
  if (labelValue.length <= 0) {
@@ -136,7 +136,7 @@ export var serializeAws_restJson1ListAppMonitorsCommand = function (input, conte
136
136
  case 1:
137
137
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
138
138
  headers = {};
139
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitors";
139
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitors";
140
140
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
141
141
  return [2, new __HttpRequest({
142
142
  protocol: protocol,
@@ -159,7 +159,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
159
159
  case 1:
160
160
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
161
161
  headers = {};
162
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
162
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
163
163
  if (input.ResourceArn !== undefined) {
164
164
  labelValue = input.ResourceArn;
165
165
  if (labelValue.length <= 0) {
@@ -192,7 +192,7 @@ export var serializeAws_restJson1PutRumEventsCommand = function (input, context)
192
192
  headers = {
193
193
  "content-type": "application/json",
194
194
  };
195
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitors/{Id}";
195
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitors/{Id}";
196
196
  if (input.Id !== undefined) {
197
197
  labelValue = input.Id;
198
198
  if (labelValue.length <= 0) {
@@ -240,7 +240,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
240
240
  headers = {
241
241
  "content-type": "application/json",
242
242
  };
243
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
243
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
244
244
  if (input.ResourceArn !== undefined) {
245
245
  labelValue = input.ResourceArn;
246
246
  if (labelValue.length <= 0) {
@@ -272,7 +272,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
272
272
  case 1:
273
273
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
274
274
  headers = {};
275
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
275
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
276
276
  if (input.ResourceArn !== undefined) {
277
277
  labelValue = input.ResourceArn;
278
278
  if (labelValue.length <= 0) {
@@ -307,7 +307,7 @@ export var serializeAws_restJson1UpdateAppMonitorCommand = function (input, cont
307
307
  headers = {
308
308
  "content-type": "application/json",
309
309
  };
310
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitor/{Name}";
310
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/appmonitor/{Name}";
311
311
  if (input.Name !== undefined) {
312
312
  labelValue = input.Name;
313
313
  if (labelValue.length <= 0) {
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
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.54.1",
4
+ "version": "3.55.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,47 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.54.1",
22
- "@aws-sdk/config-resolver": "3.54.1",
23
- "@aws-sdk/credential-provider-node": "3.54.1",
24
- "@aws-sdk/fetch-http-handler": "3.54.1",
25
- "@aws-sdk/hash-node": "3.54.1",
26
- "@aws-sdk/invalid-dependency": "3.54.1",
27
- "@aws-sdk/middleware-content-length": "3.54.1",
28
- "@aws-sdk/middleware-host-header": "3.54.1",
29
- "@aws-sdk/middleware-logger": "3.54.1",
30
- "@aws-sdk/middleware-retry": "3.54.1",
31
- "@aws-sdk/middleware-serde": "3.54.1",
32
- "@aws-sdk/middleware-signing": "3.54.1",
33
- "@aws-sdk/middleware-stack": "3.54.1",
34
- "@aws-sdk/middleware-user-agent": "3.54.1",
35
- "@aws-sdk/node-config-provider": "3.54.1",
36
- "@aws-sdk/node-http-handler": "3.54.1",
37
- "@aws-sdk/protocol-http": "3.54.1",
38
- "@aws-sdk/smithy-client": "3.54.1",
39
- "@aws-sdk/types": "3.54.1",
40
- "@aws-sdk/url-parser": "3.54.1",
41
- "@aws-sdk/util-base64-browser": "3.52.0",
42
- "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.54.0",
44
- "@aws-sdk/util-body-length-node": "3.54.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
- "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
- "@aws-sdk/util-user-agent-browser": "3.54.1",
48
- "@aws-sdk/util-user-agent-node": "3.54.1",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "tslib": "^2.3.0"
21
+ "@aws-sdk/client-sts": "3.55.0",
22
+ "@aws-sdk/config-resolver": "3.55.0",
23
+ "@aws-sdk/credential-provider-node": "3.55.0",
24
+ "@aws-sdk/fetch-http-handler": "3.55.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.55.0",
28
+ "@aws-sdk/middleware-host-header": "3.55.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.55.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.55.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.55.0",
35
+ "@aws-sdk/node-config-provider": "3.55.0",
36
+ "@aws-sdk/node-http-handler": "3.55.0",
37
+ "@aws-sdk/protocol-http": "3.55.0",
38
+ "@aws-sdk/smithy-client": "3.55.0",
39
+ "@aws-sdk/types": "3.55.0",
40
+ "@aws-sdk/url-parser": "3.55.0",
41
+ "@aws-sdk/util-base64-browser": "3.55.0",
42
+ "@aws-sdk/util-base64-node": "3.55.0",
43
+ "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-node": "3.55.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.55.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.55.0",
48
+ "@aws-sdk/util-user-agent-node": "3.55.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "tslib": "^2.3.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.55.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",
58
58
  "downlevel-dts": "0.7.0",
59
59
  "rimraf": "3.0.2",
60
60
  "typedoc": "0.19.2",
61
- "typescript": "~4.3.5"
61
+ "typescript": "~4.6.2"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=12.0.0"