@aws-sdk/client-auto-scaling-plans 3.54.1 → 3.58.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,30 @@
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.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-auto-scaling-plans
9
+
10
+
11
+
12
+
13
+
14
+ # [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-auto-scaling-plans
17
+
18
+
19
+
20
+
21
+
22
+ # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-auto-scaling-plans
25
+
26
+
27
+
28
+
29
+
6
30
  ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
31
 
8
32
  **Note:** Version bump only for package @aws-sdk/client-auto-scaling-plans
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class AutoScalingPlansClient 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 CreateScalingPlanCommand 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 = "AutoScalingPlansClient";
@@ -27,10 +27,10 @@ class CreateScalingPlanCommand 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_json1_1_1.serializeAws_json1_1CreateScalingPlanCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateScalingPlanCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1CreateScalingPlanCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateScalingPlanCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateScalingPlanCommand = CreateScalingPlanCommand;
@@ -11,7 +11,7 @@ class DeleteScalingPlanCommand 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 = "AutoScalingPlansClient";
@@ -27,10 +27,10 @@ class DeleteScalingPlanCommand 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_json1_1_1.serializeAws_json1_1DeleteScalingPlanCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteScalingPlanCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DeleteScalingPlanCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteScalingPlanCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteScalingPlanCommand = DeleteScalingPlanCommand;
@@ -11,7 +11,7 @@ class DescribeScalingPlanResourcesCommand 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 = "AutoScalingPlansClient";
@@ -27,10 +27,10 @@ class DescribeScalingPlanResourcesCommand 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_json1_1_1.serializeAws_json1_1DescribeScalingPlanResourcesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeScalingPlanResourcesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeScalingPlanResourcesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeScalingPlanResourcesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeScalingPlanResourcesCommand = DescribeScalingPlanResourcesCommand;
@@ -11,7 +11,7 @@ class DescribeScalingPlansCommand 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 = "AutoScalingPlansClient";
@@ -27,10 +27,10 @@ class DescribeScalingPlansCommand 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_json1_1_1.serializeAws_json1_1DescribeScalingPlansCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeScalingPlansCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeScalingPlansCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeScalingPlansCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeScalingPlansCommand = DescribeScalingPlansCommand;
@@ -11,7 +11,7 @@ class GetScalingPlanResourceForecastDataCommand 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 = "AutoScalingPlansClient";
@@ -27,10 +27,10 @@ class GetScalingPlanResourceForecastDataCommand 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_json1_1_1.serializeAws_json1_1GetScalingPlanResourceForecastDataCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetScalingPlanResourceForecastDataCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetScalingPlanResourceForecastDataCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetScalingPlanResourceForecastDataCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetScalingPlanResourceForecastDataCommand = GetScalingPlanResourceForecastDataCommand;
@@ -11,7 +11,7 @@ class UpdateScalingPlanCommand 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 = "AutoScalingPlansClient";
@@ -27,10 +27,10 @@ class UpdateScalingPlanCommand 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_json1_1_1.serializeAws_json1_1UpdateScalingPlanCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateScalingPlanCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateScalingPlanCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateScalingPlanCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateScalingPlanCommand = UpdateScalingPlanCommand;
@@ -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: "autoscaling-plans",
128
128
  regionHash,
@@ -107,7 +107,7 @@ const deserializeAws_json1_1CreateScalingPlanCommandError = async (output, conte
107
107
  $fault: "client",
108
108
  $metadata: deserializeMetadata(output),
109
109
  });
110
- throw smithy_client_1.decorateServiceException(response, parsedBody);
110
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
111
111
  }
112
112
  };
113
113
  const deserializeAws_json1_1DeleteScalingPlanCommand = async (output, context) => {
@@ -152,7 +152,7 @@ const deserializeAws_json1_1DeleteScalingPlanCommandError = async (output, conte
152
152
  $fault: "client",
153
153
  $metadata: deserializeMetadata(output),
154
154
  });
155
- throw smithy_client_1.decorateServiceException(response, parsedBody);
155
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
156
156
  }
157
157
  };
158
158
  const deserializeAws_json1_1DescribeScalingPlanResourcesCommand = async (output, context) => {
@@ -197,7 +197,7 @@ const deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = async (ou
197
197
  $fault: "client",
198
198
  $metadata: deserializeMetadata(output),
199
199
  });
200
- throw smithy_client_1.decorateServiceException(response, parsedBody);
200
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
201
201
  }
202
202
  };
203
203
  const deserializeAws_json1_1DescribeScalingPlansCommand = async (output, context) => {
@@ -242,7 +242,7 @@ const deserializeAws_json1_1DescribeScalingPlansCommandError = async (output, co
242
242
  $fault: "client",
243
243
  $metadata: deserializeMetadata(output),
244
244
  });
245
- throw smithy_client_1.decorateServiceException(response, parsedBody);
245
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
246
246
  }
247
247
  };
248
248
  const deserializeAws_json1_1GetScalingPlanResourceForecastDataCommand = async (output, context) => {
@@ -281,7 +281,7 @@ const deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = asy
281
281
  $fault: "client",
282
282
  $metadata: deserializeMetadata(output),
283
283
  });
284
- throw smithy_client_1.decorateServiceException(response, parsedBody);
284
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
285
285
  }
286
286
  };
287
287
  const deserializeAws_json1_1UpdateScalingPlanCommand = async (output, context) => {
@@ -326,7 +326,7 @@ const deserializeAws_json1_1UpdateScalingPlanCommandError = async (output, conte
326
326
  $fault: "client",
327
327
  $metadata: deserializeMetadata(output),
328
328
  });
329
- throw smithy_client_1.decorateServiceException(response, parsedBody);
329
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
330
330
  }
331
331
  };
332
332
  const deserializeAws_json1_1ConcurrentUpdateExceptionResponse = async (parsedOutput, context) => {
@@ -336,7 +336,7 @@ const deserializeAws_json1_1ConcurrentUpdateExceptionResponse = async (parsedOut
336
336
  $metadata: deserializeMetadata(parsedOutput),
337
337
  ...deserialized,
338
338
  });
339
- return smithy_client_1.decorateServiceException(exception, body);
339
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
340
340
  };
341
341
  const deserializeAws_json1_1InternalServiceExceptionResponse = async (parsedOutput, context) => {
342
342
  const body = parsedOutput.body;
@@ -345,7 +345,7 @@ const deserializeAws_json1_1InternalServiceExceptionResponse = async (parsedOutp
345
345
  $metadata: deserializeMetadata(parsedOutput),
346
346
  ...deserialized,
347
347
  });
348
- return smithy_client_1.decorateServiceException(exception, body);
348
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
349
349
  };
350
350
  const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
351
351
  const body = parsedOutput.body;
@@ -354,7 +354,7 @@ const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOut
354
354
  $metadata: deserializeMetadata(parsedOutput),
355
355
  ...deserialized,
356
356
  });
357
- return smithy_client_1.decorateServiceException(exception, body);
357
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
358
358
  };
359
359
  const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
360
360
  const body = parsedOutput.body;
@@ -363,7 +363,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
363
363
  $metadata: deserializeMetadata(parsedOutput),
364
364
  ...deserialized,
365
365
  });
366
- return smithy_client_1.decorateServiceException(exception, body);
366
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
367
367
  };
368
368
  const deserializeAws_json1_1ObjectNotFoundExceptionResponse = async (parsedOutput, context) => {
369
369
  const body = parsedOutput.body;
@@ -372,7 +372,7 @@ const deserializeAws_json1_1ObjectNotFoundExceptionResponse = async (parsedOutpu
372
372
  $metadata: deserializeMetadata(parsedOutput),
373
373
  ...deserialized,
374
374
  });
375
- return smithy_client_1.decorateServiceException(exception, body);
375
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
376
376
  };
377
377
  const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
378
378
  const body = parsedOutput.body;
@@ -381,7 +381,7 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
381
381
  $metadata: deserializeMetadata(parsedOutput),
382
382
  ...deserialized,
383
383
  });
384
- return smithy_client_1.decorateServiceException(exception, body);
384
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
385
385
  };
386
386
  const serializeAws_json1_1ApplicationSource = (input, context) => {
387
387
  return {
@@ -623,7 +623,7 @@ const serializeAws_json1_1TargetTrackingConfiguration = (input, context) => {
623
623
  ...(input.ScaleOutCooldown !== undefined &&
624
624
  input.ScaleOutCooldown !== null && { ScaleOutCooldown: input.ScaleOutCooldown }),
625
625
  ...(input.TargetValue !== undefined &&
626
- input.TargetValue !== null && { TargetValue: smithy_client_1.serializeFloat(input.TargetValue) }),
626
+ input.TargetValue !== null && { TargetValue: (0, smithy_client_1.serializeFloat)(input.TargetValue) }),
627
627
  };
628
628
  };
629
629
  const serializeAws_json1_1TargetTrackingConfigurations = (input, context) => {
@@ -654,7 +654,7 @@ const serializeAws_json1_1UpdateScalingPlanRequest = (input, context) => {
654
654
  };
655
655
  const deserializeAws_json1_1ApplicationSource = (output, context) => {
656
656
  return {
657
- CloudFormationStackARN: smithy_client_1.expectString(output.CloudFormationStackARN),
657
+ CloudFormationStackARN: (0, smithy_client_1.expectString)(output.CloudFormationStackARN),
658
658
  TagFilters: output.TagFilters !== undefined && output.TagFilters !== null
659
659
  ? deserializeAws_json1_1TagFilters(output.TagFilters, context)
660
660
  : undefined,
@@ -662,12 +662,12 @@ const deserializeAws_json1_1ApplicationSource = (output, context) => {
662
662
  };
663
663
  const deserializeAws_json1_1ConcurrentUpdateException = (output, context) => {
664
664
  return {
665
- Message: smithy_client_1.expectString(output.Message),
665
+ Message: (0, smithy_client_1.expectString)(output.Message),
666
666
  };
667
667
  };
668
668
  const deserializeAws_json1_1CreateScalingPlanResponse = (output, context) => {
669
669
  return {
670
- ScalingPlanVersion: smithy_client_1.expectLong(output.ScalingPlanVersion),
670
+ ScalingPlanVersion: (0, smithy_client_1.expectLong)(output.ScalingPlanVersion),
671
671
  };
672
672
  };
673
673
  const deserializeAws_json1_1CustomizedLoadMetricSpecification = (output, context) => {
@@ -675,10 +675,10 @@ const deserializeAws_json1_1CustomizedLoadMetricSpecification = (output, context
675
675
  Dimensions: output.Dimensions !== undefined && output.Dimensions !== null
676
676
  ? deserializeAws_json1_1MetricDimensions(output.Dimensions, context)
677
677
  : undefined,
678
- MetricName: smithy_client_1.expectString(output.MetricName),
679
- Namespace: smithy_client_1.expectString(output.Namespace),
680
- Statistic: smithy_client_1.expectString(output.Statistic),
681
- Unit: smithy_client_1.expectString(output.Unit),
678
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
679
+ Namespace: (0, smithy_client_1.expectString)(output.Namespace),
680
+ Statistic: (0, smithy_client_1.expectString)(output.Statistic),
681
+ Unit: (0, smithy_client_1.expectString)(output.Unit),
682
682
  };
683
683
  };
684
684
  const deserializeAws_json1_1CustomizedScalingMetricSpecification = (output, context) => {
@@ -686,18 +686,18 @@ const deserializeAws_json1_1CustomizedScalingMetricSpecification = (output, cont
686
686
  Dimensions: output.Dimensions !== undefined && output.Dimensions !== null
687
687
  ? deserializeAws_json1_1MetricDimensions(output.Dimensions, context)
688
688
  : undefined,
689
- MetricName: smithy_client_1.expectString(output.MetricName),
690
- Namespace: smithy_client_1.expectString(output.Namespace),
691
- Statistic: smithy_client_1.expectString(output.Statistic),
692
- Unit: smithy_client_1.expectString(output.Unit),
689
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
690
+ Namespace: (0, smithy_client_1.expectString)(output.Namespace),
691
+ Statistic: (0, smithy_client_1.expectString)(output.Statistic),
692
+ Unit: (0, smithy_client_1.expectString)(output.Unit),
693
693
  };
694
694
  };
695
695
  const deserializeAws_json1_1Datapoint = (output, context) => {
696
696
  return {
697
697
  Timestamp: output.Timestamp !== undefined && output.Timestamp !== null
698
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Timestamp)))
698
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp)))
699
699
  : undefined,
700
- Value: smithy_client_1.limitedParseDouble(output.Value),
700
+ Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
701
701
  };
702
702
  };
703
703
  const deserializeAws_json1_1Datapoints = (output, context) => {
@@ -716,7 +716,7 @@ const deserializeAws_json1_1DeleteScalingPlanResponse = (output, context) => {
716
716
  };
717
717
  const deserializeAws_json1_1DescribeScalingPlanResourcesResponse = (output, context) => {
718
718
  return {
719
- NextToken: smithy_client_1.expectString(output.NextToken),
719
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
720
720
  ScalingPlanResources: output.ScalingPlanResources !== undefined && output.ScalingPlanResources !== null
721
721
  ? deserializeAws_json1_1ScalingPlanResources(output.ScalingPlanResources, context)
722
722
  : undefined,
@@ -724,7 +724,7 @@ const deserializeAws_json1_1DescribeScalingPlanResourcesResponse = (output, cont
724
724
  };
725
725
  const deserializeAws_json1_1DescribeScalingPlansResponse = (output, context) => {
726
726
  return {
727
- NextToken: smithy_client_1.expectString(output.NextToken),
727
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
728
728
  ScalingPlans: output.ScalingPlans !== undefined && output.ScalingPlans !== null
729
729
  ? deserializeAws_json1_1ScalingPlans(output.ScalingPlans, context)
730
730
  : undefined,
@@ -739,23 +739,23 @@ const deserializeAws_json1_1GetScalingPlanResourceForecastDataResponse = (output
739
739
  };
740
740
  const deserializeAws_json1_1InternalServiceException = (output, context) => {
741
741
  return {
742
- Message: smithy_client_1.expectString(output.Message),
742
+ Message: (0, smithy_client_1.expectString)(output.Message),
743
743
  };
744
744
  };
745
745
  const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
746
746
  return {
747
- Message: smithy_client_1.expectString(output.Message),
747
+ Message: (0, smithy_client_1.expectString)(output.Message),
748
748
  };
749
749
  };
750
750
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
751
751
  return {
752
- Message: smithy_client_1.expectString(output.Message),
752
+ Message: (0, smithy_client_1.expectString)(output.Message),
753
753
  };
754
754
  };
755
755
  const deserializeAws_json1_1MetricDimension = (output, context) => {
756
756
  return {
757
- Name: smithy_client_1.expectString(output.Name),
758
- Value: smithy_client_1.expectString(output.Value),
757
+ Name: (0, smithy_client_1.expectString)(output.Name),
758
+ Value: (0, smithy_client_1.expectString)(output.Value),
759
759
  };
760
760
  };
761
761
  const deserializeAws_json1_1MetricDimensions = (output, context) => {
@@ -771,19 +771,19 @@ const deserializeAws_json1_1MetricDimensions = (output, context) => {
771
771
  };
772
772
  const deserializeAws_json1_1ObjectNotFoundException = (output, context) => {
773
773
  return {
774
- Message: smithy_client_1.expectString(output.Message),
774
+ Message: (0, smithy_client_1.expectString)(output.Message),
775
775
  };
776
776
  };
777
777
  const deserializeAws_json1_1PredefinedLoadMetricSpecification = (output, context) => {
778
778
  return {
779
- PredefinedLoadMetricType: smithy_client_1.expectString(output.PredefinedLoadMetricType),
780
- ResourceLabel: smithy_client_1.expectString(output.ResourceLabel),
779
+ PredefinedLoadMetricType: (0, smithy_client_1.expectString)(output.PredefinedLoadMetricType),
780
+ ResourceLabel: (0, smithy_client_1.expectString)(output.ResourceLabel),
781
781
  };
782
782
  };
783
783
  const deserializeAws_json1_1PredefinedScalingMetricSpecification = (output, context) => {
784
784
  return {
785
- PredefinedScalingMetricType: smithy_client_1.expectString(output.PredefinedScalingMetricType),
786
- ResourceLabel: smithy_client_1.expectString(output.ResourceLabel),
785
+ PredefinedScalingMetricType: (0, smithy_client_1.expectString)(output.PredefinedScalingMetricType),
786
+ ResourceLabel: (0, smithy_client_1.expectString)(output.ResourceLabel),
787
787
  };
788
788
  };
789
789
  const deserializeAws_json1_1ScalingInstruction = (output, context) => {
@@ -791,20 +791,20 @@ const deserializeAws_json1_1ScalingInstruction = (output, context) => {
791
791
  CustomizedLoadMetricSpecification: output.CustomizedLoadMetricSpecification !== undefined && output.CustomizedLoadMetricSpecification !== null
792
792
  ? deserializeAws_json1_1CustomizedLoadMetricSpecification(output.CustomizedLoadMetricSpecification, context)
793
793
  : undefined,
794
- DisableDynamicScaling: smithy_client_1.expectBoolean(output.DisableDynamicScaling),
795
- MaxCapacity: smithy_client_1.expectInt32(output.MaxCapacity),
796
- MinCapacity: smithy_client_1.expectInt32(output.MinCapacity),
794
+ DisableDynamicScaling: (0, smithy_client_1.expectBoolean)(output.DisableDynamicScaling),
795
+ MaxCapacity: (0, smithy_client_1.expectInt32)(output.MaxCapacity),
796
+ MinCapacity: (0, smithy_client_1.expectInt32)(output.MinCapacity),
797
797
  PredefinedLoadMetricSpecification: output.PredefinedLoadMetricSpecification !== undefined && output.PredefinedLoadMetricSpecification !== null
798
798
  ? deserializeAws_json1_1PredefinedLoadMetricSpecification(output.PredefinedLoadMetricSpecification, context)
799
799
  : undefined,
800
- PredictiveScalingMaxCapacityBehavior: smithy_client_1.expectString(output.PredictiveScalingMaxCapacityBehavior),
801
- PredictiveScalingMaxCapacityBuffer: smithy_client_1.expectInt32(output.PredictiveScalingMaxCapacityBuffer),
802
- PredictiveScalingMode: smithy_client_1.expectString(output.PredictiveScalingMode),
803
- ResourceId: smithy_client_1.expectString(output.ResourceId),
804
- ScalableDimension: smithy_client_1.expectString(output.ScalableDimension),
805
- ScalingPolicyUpdateBehavior: smithy_client_1.expectString(output.ScalingPolicyUpdateBehavior),
806
- ScheduledActionBufferTime: smithy_client_1.expectInt32(output.ScheduledActionBufferTime),
807
- ServiceNamespace: smithy_client_1.expectString(output.ServiceNamespace),
800
+ PredictiveScalingMaxCapacityBehavior: (0, smithy_client_1.expectString)(output.PredictiveScalingMaxCapacityBehavior),
801
+ PredictiveScalingMaxCapacityBuffer: (0, smithy_client_1.expectInt32)(output.PredictiveScalingMaxCapacityBuffer),
802
+ PredictiveScalingMode: (0, smithy_client_1.expectString)(output.PredictiveScalingMode),
803
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
804
+ ScalableDimension: (0, smithy_client_1.expectString)(output.ScalableDimension),
805
+ ScalingPolicyUpdateBehavior: (0, smithy_client_1.expectString)(output.ScalingPolicyUpdateBehavior),
806
+ ScheduledActionBufferTime: (0, smithy_client_1.expectInt32)(output.ScheduledActionBufferTime),
807
+ ServiceNamespace: (0, smithy_client_1.expectString)(output.ServiceNamespace),
808
808
  TargetTrackingConfigurations: output.TargetTrackingConfigurations !== undefined && output.TargetTrackingConfigurations !== null
809
809
  ? deserializeAws_json1_1TargetTrackingConfigurations(output.TargetTrackingConfigurations, context)
810
810
  : undefined,
@@ -827,32 +827,32 @@ const deserializeAws_json1_1ScalingPlan = (output, context) => {
827
827
  ? deserializeAws_json1_1ApplicationSource(output.ApplicationSource, context)
828
828
  : undefined,
829
829
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
830
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
830
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
831
831
  : undefined,
832
832
  ScalingInstructions: output.ScalingInstructions !== undefined && output.ScalingInstructions !== null
833
833
  ? deserializeAws_json1_1ScalingInstructions(output.ScalingInstructions, context)
834
834
  : undefined,
835
- ScalingPlanName: smithy_client_1.expectString(output.ScalingPlanName),
836
- ScalingPlanVersion: smithy_client_1.expectLong(output.ScalingPlanVersion),
837
- StatusCode: smithy_client_1.expectString(output.StatusCode),
838
- StatusMessage: smithy_client_1.expectString(output.StatusMessage),
835
+ ScalingPlanName: (0, smithy_client_1.expectString)(output.ScalingPlanName),
836
+ ScalingPlanVersion: (0, smithy_client_1.expectLong)(output.ScalingPlanVersion),
837
+ StatusCode: (0, smithy_client_1.expectString)(output.StatusCode),
838
+ StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
839
839
  StatusStartTime: output.StatusStartTime !== undefined && output.StatusStartTime !== null
840
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StatusStartTime)))
840
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StatusStartTime)))
841
841
  : undefined,
842
842
  };
843
843
  };
844
844
  const deserializeAws_json1_1ScalingPlanResource = (output, context) => {
845
845
  return {
846
- ResourceId: smithy_client_1.expectString(output.ResourceId),
847
- ScalableDimension: smithy_client_1.expectString(output.ScalableDimension),
848
- ScalingPlanName: smithy_client_1.expectString(output.ScalingPlanName),
849
- ScalingPlanVersion: smithy_client_1.expectLong(output.ScalingPlanVersion),
846
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
847
+ ScalableDimension: (0, smithy_client_1.expectString)(output.ScalableDimension),
848
+ ScalingPlanName: (0, smithy_client_1.expectString)(output.ScalingPlanName),
849
+ ScalingPlanVersion: (0, smithy_client_1.expectLong)(output.ScalingPlanVersion),
850
850
  ScalingPolicies: output.ScalingPolicies !== undefined && output.ScalingPolicies !== null
851
851
  ? deserializeAws_json1_1ScalingPolicies(output.ScalingPolicies, context)
852
852
  : undefined,
853
- ScalingStatusCode: smithy_client_1.expectString(output.ScalingStatusCode),
854
- ScalingStatusMessage: smithy_client_1.expectString(output.ScalingStatusMessage),
855
- ServiceNamespace: smithy_client_1.expectString(output.ServiceNamespace),
853
+ ScalingStatusCode: (0, smithy_client_1.expectString)(output.ScalingStatusCode),
854
+ ScalingStatusMessage: (0, smithy_client_1.expectString)(output.ScalingStatusMessage),
855
+ ServiceNamespace: (0, smithy_client_1.expectString)(output.ServiceNamespace),
856
856
  };
857
857
  };
858
858
  const deserializeAws_json1_1ScalingPlanResources = (output, context) => {
@@ -890,8 +890,8 @@ const deserializeAws_json1_1ScalingPolicies = (output, context) => {
890
890
  };
891
891
  const deserializeAws_json1_1ScalingPolicy = (output, context) => {
892
892
  return {
893
- PolicyName: smithy_client_1.expectString(output.PolicyName),
894
- PolicyType: smithy_client_1.expectString(output.PolicyType),
893
+ PolicyName: (0, smithy_client_1.expectString)(output.PolicyName),
894
+ PolicyType: (0, smithy_client_1.expectString)(output.PolicyType),
895
895
  TargetTrackingConfiguration: output.TargetTrackingConfiguration !== undefined && output.TargetTrackingConfiguration !== null
896
896
  ? deserializeAws_json1_1TargetTrackingConfiguration(output.TargetTrackingConfiguration, context)
897
897
  : undefined,
@@ -899,7 +899,7 @@ const deserializeAws_json1_1ScalingPolicy = (output, context) => {
899
899
  };
900
900
  const deserializeAws_json1_1TagFilter = (output, context) => {
901
901
  return {
902
- Key: smithy_client_1.expectString(output.Key),
902
+ Key: (0, smithy_client_1.expectString)(output.Key),
903
903
  Values: output.Values !== undefined && output.Values !== null
904
904
  ? deserializeAws_json1_1TagValues(output.Values, context)
905
905
  : undefined,
@@ -923,7 +923,7 @@ const deserializeAws_json1_1TagValues = (output, context) => {
923
923
  if (entry === null) {
924
924
  return null;
925
925
  }
926
- return smithy_client_1.expectString(entry);
926
+ return (0, smithy_client_1.expectString)(entry);
927
927
  });
928
928
  return retVal;
929
929
  };
@@ -932,14 +932,14 @@ const deserializeAws_json1_1TargetTrackingConfiguration = (output, context) => {
932
932
  CustomizedScalingMetricSpecification: output.CustomizedScalingMetricSpecification !== undefined && output.CustomizedScalingMetricSpecification !== null
933
933
  ? deserializeAws_json1_1CustomizedScalingMetricSpecification(output.CustomizedScalingMetricSpecification, context)
934
934
  : undefined,
935
- DisableScaleIn: smithy_client_1.expectBoolean(output.DisableScaleIn),
936
- EstimatedInstanceWarmup: smithy_client_1.expectInt32(output.EstimatedInstanceWarmup),
935
+ DisableScaleIn: (0, smithy_client_1.expectBoolean)(output.DisableScaleIn),
936
+ EstimatedInstanceWarmup: (0, smithy_client_1.expectInt32)(output.EstimatedInstanceWarmup),
937
937
  PredefinedScalingMetricSpecification: output.PredefinedScalingMetricSpecification !== undefined && output.PredefinedScalingMetricSpecification !== null
938
938
  ? deserializeAws_json1_1PredefinedScalingMetricSpecification(output.PredefinedScalingMetricSpecification, context)
939
939
  : undefined,
940
- ScaleInCooldown: smithy_client_1.expectInt32(output.ScaleInCooldown),
941
- ScaleOutCooldown: smithy_client_1.expectInt32(output.ScaleOutCooldown),
942
- TargetValue: smithy_client_1.limitedParseDouble(output.TargetValue),
940
+ ScaleInCooldown: (0, smithy_client_1.expectInt32)(output.ScaleInCooldown),
941
+ ScaleOutCooldown: (0, smithy_client_1.expectInt32)(output.ScaleOutCooldown),
942
+ TargetValue: (0, smithy_client_1.limitedParseDouble)(output.TargetValue),
943
943
  };
944
944
  };
945
945
  const deserializeAws_json1_1TargetTrackingConfigurations = (output, context) => {
@@ -958,7 +958,7 @@ const deserializeAws_json1_1UpdateScalingPlanResponse = (output, context) => {
958
958
  };
959
959
  const deserializeAws_json1_1ValidationException = (output, context) => {
960
960
  return {
961
- Message: smithy_client_1.expectString(output.Message),
961
+ Message: (0, smithy_client_1.expectString)(output.Message),
962
962
  };
963
963
  };
964
964
  const deserializeMetadata = (output) => {
@@ -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,
@@ -18,7 +18,7 @@ var AutoScalingPlans = (function (_super) {
18
18
  }
19
19
  else if (typeof cb === "function") {
20
20
  if (typeof optionsOrCb !== "object")
21
- throw new Error("Expect http options but get " + typeof optionsOrCb);
21
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
22
22
  this.send(command, optionsOrCb || {}, cb);
23
23
  }
24
24
  else {
@@ -32,7 +32,7 @@ var AutoScalingPlans = (function (_super) {
32
32
  }
33
33
  else if (typeof cb === "function") {
34
34
  if (typeof optionsOrCb !== "object")
35
- throw new Error("Expect http options but get " + typeof optionsOrCb);
35
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
36
36
  this.send(command, optionsOrCb || {}, cb);
37
37
  }
38
38
  else {
@@ -46,7 +46,7 @@ var AutoScalingPlans = (function (_super) {
46
46
  }
47
47
  else if (typeof cb === "function") {
48
48
  if (typeof optionsOrCb !== "object")
49
- throw new Error("Expect http options but get " + typeof optionsOrCb);
49
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
50
50
  this.send(command, optionsOrCb || {}, cb);
51
51
  }
52
52
  else {
@@ -60,7 +60,7 @@ var AutoScalingPlans = (function (_super) {
60
60
  }
61
61
  else if (typeof cb === "function") {
62
62
  if (typeof optionsOrCb !== "object")
63
- throw new Error("Expect http options but get " + typeof optionsOrCb);
63
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
64
64
  this.send(command, optionsOrCb || {}, cb);
65
65
  }
66
66
  else {
@@ -74,7 +74,7 @@ var AutoScalingPlans = (function (_super) {
74
74
  }
75
75
  else if (typeof cb === "function") {
76
76
  if (typeof optionsOrCb !== "object")
77
- throw new Error("Expect http options but get " + typeof optionsOrCb);
77
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
78
78
  this.send(command, optionsOrCb || {}, cb);
79
79
  }
80
80
  else {
@@ -88,7 +88,7 @@ var AutoScalingPlans = (function (_super) {
88
88
  }
89
89
  else if (typeof cb === "function") {
90
90
  if (typeof optionsOrCb !== "object")
91
- throw new Error("Expect http options but get " + typeof optionsOrCb);
91
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
92
92
  this.send(command, optionsOrCb || {}, cb);
93
93
  }
94
94
  else {
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: AutoScalingPlansClientConfig) =>
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: AutoScalingPlansClientConfig) =>
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-auto-scaling-plans",
3
3
  "description": "AWS SDK for JavaScript Auto Scaling Plans Client for Node.js, Browser and React Native",
4
- "version": "3.54.1",
4
+ "version": "3.58.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.58.0",
22
+ "@aws-sdk/config-resolver": "3.58.0",
23
+ "@aws-sdk/credential-provider-node": "3.58.0",
24
+ "@aws-sdk/fetch-http-handler": "3.58.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.58.0",
28
+ "@aws-sdk/middleware-host-header": "3.58.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.58.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.58.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.58.0",
35
+ "@aws-sdk/node-config-provider": "3.58.0",
36
+ "@aws-sdk/node-http-handler": "3.58.0",
37
+ "@aws-sdk/protocol-http": "3.58.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.58.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.58.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.58.0",
48
+ "@aws-sdk/util-user-agent-node": "3.58.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.58.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"