@aws-sdk/client-application-auto-scaling 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-application-auto-scaling
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-application-auto-scaling
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-application-auto-scaling
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-application-auto-scaling
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class ApplicationAutoScalingClient 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 DeleteScalingPolicyCommand 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 = "ApplicationAutoScalingClient";
@@ -27,10 +27,10 @@ class DeleteScalingPolicyCommand 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_1DeleteScalingPolicyCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteScalingPolicyCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DeleteScalingPolicyCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteScalingPolicyCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteScalingPolicyCommand = DeleteScalingPolicyCommand;
@@ -11,7 +11,7 @@ class DeleteScheduledActionCommand 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 = "ApplicationAutoScalingClient";
@@ -27,10 +27,10 @@ class DeleteScheduledActionCommand 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_1DeleteScheduledActionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteScheduledActionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DeleteScheduledActionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteScheduledActionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteScheduledActionCommand = DeleteScheduledActionCommand;
@@ -11,7 +11,7 @@ class DeregisterScalableTargetCommand 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 = "ApplicationAutoScalingClient";
@@ -27,10 +27,10 @@ class DeregisterScalableTargetCommand 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_1DeregisterScalableTargetCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeregisterScalableTargetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DeregisterScalableTargetCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeregisterScalableTargetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeregisterScalableTargetCommand = DeregisterScalableTargetCommand;
@@ -11,7 +11,7 @@ class DescribeScalableTargetsCommand 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 = "ApplicationAutoScalingClient";
@@ -27,10 +27,10 @@ class DescribeScalableTargetsCommand 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_1DescribeScalableTargetsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeScalableTargetsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeScalableTargetsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeScalableTargetsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeScalableTargetsCommand = DescribeScalableTargetsCommand;
@@ -11,7 +11,7 @@ class DescribeScalingActivitiesCommand 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 = "ApplicationAutoScalingClient";
@@ -27,10 +27,10 @@ class DescribeScalingActivitiesCommand 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_1DescribeScalingActivitiesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeScalingActivitiesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeScalingActivitiesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeScalingActivitiesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeScalingActivitiesCommand = DescribeScalingActivitiesCommand;
@@ -11,7 +11,7 @@ class DescribeScalingPoliciesCommand 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 = "ApplicationAutoScalingClient";
@@ -27,10 +27,10 @@ class DescribeScalingPoliciesCommand 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_1DescribeScalingPoliciesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeScalingPoliciesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeScalingPoliciesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeScalingPoliciesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeScalingPoliciesCommand = DescribeScalingPoliciesCommand;
@@ -11,7 +11,7 @@ class DescribeScheduledActionsCommand 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 = "ApplicationAutoScalingClient";
@@ -27,10 +27,10 @@ class DescribeScheduledActionsCommand 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_1DescribeScheduledActionsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeScheduledActionsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeScheduledActionsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeScheduledActionsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeScheduledActionsCommand = DescribeScheduledActionsCommand;
@@ -11,7 +11,7 @@ class PutScalingPolicyCommand 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 = "ApplicationAutoScalingClient";
@@ -27,10 +27,10 @@ class PutScalingPolicyCommand 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_1PutScalingPolicyCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1PutScalingPolicyCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1PutScalingPolicyCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1PutScalingPolicyCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PutScalingPolicyCommand = PutScalingPolicyCommand;
@@ -11,7 +11,7 @@ class PutScheduledActionCommand 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 = "ApplicationAutoScalingClient";
@@ -27,10 +27,10 @@ class PutScheduledActionCommand 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_1PutScheduledActionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1PutScheduledActionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1PutScheduledActionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1PutScheduledActionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PutScheduledActionCommand = PutScheduledActionCommand;
@@ -11,7 +11,7 @@ class RegisterScalableTargetCommand 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 = "ApplicationAutoScalingClient";
@@ -27,10 +27,10 @@ class RegisterScalableTargetCommand 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_1RegisterScalableTargetCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1RegisterScalableTargetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1RegisterScalableTargetCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1RegisterScalableTargetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.RegisterScalableTargetCommand = RegisterScalableTargetCommand;
@@ -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: "application-autoscaling",
128
128
  regionHash,
@@ -147,7 +147,7 @@ const deserializeAws_json1_1DeleteScalingPolicyCommandError = async (output, con
147
147
  $fault: "client",
148
148
  $metadata: deserializeMetadata(output),
149
149
  });
150
- throw smithy_client_1.decorateServiceException(response, parsedBody);
150
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
151
151
  }
152
152
  };
153
153
  const deserializeAws_json1_1DeleteScheduledActionCommand = async (output, context) => {
@@ -192,7 +192,7 @@ const deserializeAws_json1_1DeleteScheduledActionCommandError = async (output, c
192
192
  $fault: "client",
193
193
  $metadata: deserializeMetadata(output),
194
194
  });
195
- throw smithy_client_1.decorateServiceException(response, parsedBody);
195
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
196
196
  }
197
197
  };
198
198
  const deserializeAws_json1_1DeregisterScalableTargetCommand = async (output, context) => {
@@ -237,7 +237,7 @@ const deserializeAws_json1_1DeregisterScalableTargetCommandError = async (output
237
237
  $fault: "client",
238
238
  $metadata: deserializeMetadata(output),
239
239
  });
240
- throw smithy_client_1.decorateServiceException(response, parsedBody);
240
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
241
241
  }
242
242
  };
243
243
  const deserializeAws_json1_1DescribeScalableTargetsCommand = async (output, context) => {
@@ -282,7 +282,7 @@ const deserializeAws_json1_1DescribeScalableTargetsCommandError = async (output,
282
282
  $fault: "client",
283
283
  $metadata: deserializeMetadata(output),
284
284
  });
285
- throw smithy_client_1.decorateServiceException(response, parsedBody);
285
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
286
286
  }
287
287
  };
288
288
  const deserializeAws_json1_1DescribeScalingActivitiesCommand = async (output, context) => {
@@ -327,7 +327,7 @@ const deserializeAws_json1_1DescribeScalingActivitiesCommandError = async (outpu
327
327
  $fault: "client",
328
328
  $metadata: deserializeMetadata(output),
329
329
  });
330
- throw smithy_client_1.decorateServiceException(response, parsedBody);
330
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
331
331
  }
332
332
  };
333
333
  const deserializeAws_json1_1DescribeScalingPoliciesCommand = async (output, context) => {
@@ -375,7 +375,7 @@ const deserializeAws_json1_1DescribeScalingPoliciesCommandError = async (output,
375
375
  $fault: "client",
376
376
  $metadata: deserializeMetadata(output),
377
377
  });
378
- throw smithy_client_1.decorateServiceException(response, parsedBody);
378
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
379
379
  }
380
380
  };
381
381
  const deserializeAws_json1_1DescribeScheduledActionsCommand = async (output, context) => {
@@ -420,7 +420,7 @@ const deserializeAws_json1_1DescribeScheduledActionsCommandError = async (output
420
420
  $fault: "client",
421
421
  $metadata: deserializeMetadata(output),
422
422
  });
423
- throw smithy_client_1.decorateServiceException(response, parsedBody);
423
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
424
424
  }
425
425
  };
426
426
  const deserializeAws_json1_1PutScalingPolicyCommand = async (output, context) => {
@@ -471,7 +471,7 @@ const deserializeAws_json1_1PutScalingPolicyCommandError = async (output, contex
471
471
  $fault: "client",
472
472
  $metadata: deserializeMetadata(output),
473
473
  });
474
- throw smithy_client_1.decorateServiceException(response, parsedBody);
474
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
475
475
  }
476
476
  };
477
477
  const deserializeAws_json1_1PutScheduledActionCommand = async (output, context) => {
@@ -519,7 +519,7 @@ const deserializeAws_json1_1PutScheduledActionCommandError = async (output, cont
519
519
  $fault: "client",
520
520
  $metadata: deserializeMetadata(output),
521
521
  });
522
- throw smithy_client_1.decorateServiceException(response, parsedBody);
522
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
523
523
  }
524
524
  };
525
525
  const deserializeAws_json1_1RegisterScalableTargetCommand = async (output, context) => {
@@ -564,7 +564,7 @@ const deserializeAws_json1_1RegisterScalableTargetCommandError = async (output,
564
564
  $fault: "client",
565
565
  $metadata: deserializeMetadata(output),
566
566
  });
567
- throw smithy_client_1.decorateServiceException(response, parsedBody);
567
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
568
568
  }
569
569
  };
570
570
  const deserializeAws_json1_1ConcurrentUpdateExceptionResponse = async (parsedOutput, context) => {
@@ -574,7 +574,7 @@ const deserializeAws_json1_1ConcurrentUpdateExceptionResponse = async (parsedOut
574
574
  $metadata: deserializeMetadata(parsedOutput),
575
575
  ...deserialized,
576
576
  });
577
- return smithy_client_1.decorateServiceException(exception, body);
577
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
578
578
  };
579
579
  const deserializeAws_json1_1FailedResourceAccessExceptionResponse = async (parsedOutput, context) => {
580
580
  const body = parsedOutput.body;
@@ -583,7 +583,7 @@ const deserializeAws_json1_1FailedResourceAccessExceptionResponse = async (parse
583
583
  $metadata: deserializeMetadata(parsedOutput),
584
584
  ...deserialized,
585
585
  });
586
- return smithy_client_1.decorateServiceException(exception, body);
586
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
587
587
  };
588
588
  const deserializeAws_json1_1InternalServiceExceptionResponse = async (parsedOutput, context) => {
589
589
  const body = parsedOutput.body;
@@ -592,7 +592,7 @@ const deserializeAws_json1_1InternalServiceExceptionResponse = async (parsedOutp
592
592
  $metadata: deserializeMetadata(parsedOutput),
593
593
  ...deserialized,
594
594
  });
595
- return smithy_client_1.decorateServiceException(exception, body);
595
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
596
596
  };
597
597
  const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
598
598
  const body = parsedOutput.body;
@@ -601,7 +601,7 @@ const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOut
601
601
  $metadata: deserializeMetadata(parsedOutput),
602
602
  ...deserialized,
603
603
  });
604
- return smithy_client_1.decorateServiceException(exception, body);
604
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
605
605
  };
606
606
  const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
607
607
  const body = parsedOutput.body;
@@ -610,7 +610,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
610
610
  $metadata: deserializeMetadata(parsedOutput),
611
611
  ...deserialized,
612
612
  });
613
- return smithy_client_1.decorateServiceException(exception, body);
613
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
614
614
  };
615
615
  const deserializeAws_json1_1ObjectNotFoundExceptionResponse = async (parsedOutput, context) => {
616
616
  const body = parsedOutput.body;
@@ -619,7 +619,7 @@ const deserializeAws_json1_1ObjectNotFoundExceptionResponse = async (parsedOutpu
619
619
  $metadata: deserializeMetadata(parsedOutput),
620
620
  ...deserialized,
621
621
  });
622
- return smithy_client_1.decorateServiceException(exception, body);
622
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
623
623
  };
624
624
  const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
625
625
  const body = parsedOutput.body;
@@ -628,7 +628,7 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
628
628
  $metadata: deserializeMetadata(parsedOutput),
629
629
  ...deserialized,
630
630
  });
631
- return smithy_client_1.decorateServiceException(exception, body);
631
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
632
632
  };
633
633
  const serializeAws_json1_1CustomizedMetricSpecification = (input, context) => {
634
634
  return {
@@ -824,11 +824,11 @@ const serializeAws_json1_1StepAdjustment = (input, context) => {
824
824
  return {
825
825
  ...(input.MetricIntervalLowerBound !== undefined &&
826
826
  input.MetricIntervalLowerBound !== null && {
827
- MetricIntervalLowerBound: smithy_client_1.serializeFloat(input.MetricIntervalLowerBound),
827
+ MetricIntervalLowerBound: (0, smithy_client_1.serializeFloat)(input.MetricIntervalLowerBound),
828
828
  }),
829
829
  ...(input.MetricIntervalUpperBound !== undefined &&
830
830
  input.MetricIntervalUpperBound !== null && {
831
- MetricIntervalUpperBound: smithy_client_1.serializeFloat(input.MetricIntervalUpperBound),
831
+ MetricIntervalUpperBound: (0, smithy_client_1.serializeFloat)(input.MetricIntervalUpperBound),
832
832
  }),
833
833
  ...(input.ScalingAdjustment !== undefined &&
834
834
  input.ScalingAdjustment !== null && { ScalingAdjustment: input.ScalingAdjustment }),
@@ -886,13 +886,13 @@ const serializeAws_json1_1TargetTrackingScalingPolicyConfiguration = (input, con
886
886
  ...(input.ScaleOutCooldown !== undefined &&
887
887
  input.ScaleOutCooldown !== null && { ScaleOutCooldown: input.ScaleOutCooldown }),
888
888
  ...(input.TargetValue !== undefined &&
889
- input.TargetValue !== null && { TargetValue: smithy_client_1.serializeFloat(input.TargetValue) }),
889
+ input.TargetValue !== null && { TargetValue: (0, smithy_client_1.serializeFloat)(input.TargetValue) }),
890
890
  };
891
891
  };
892
892
  const deserializeAws_json1_1Alarm = (output, context) => {
893
893
  return {
894
- AlarmARN: smithy_client_1.expectString(output.AlarmARN),
895
- AlarmName: smithy_client_1.expectString(output.AlarmName),
894
+ AlarmARN: (0, smithy_client_1.expectString)(output.AlarmARN),
895
+ AlarmName: (0, smithy_client_1.expectString)(output.AlarmName),
896
896
  };
897
897
  };
898
898
  const deserializeAws_json1_1Alarms = (output, context) => {
@@ -908,7 +908,7 @@ const deserializeAws_json1_1Alarms = (output, context) => {
908
908
  };
909
909
  const deserializeAws_json1_1ConcurrentUpdateException = (output, context) => {
910
910
  return {
911
- Message: smithy_client_1.expectString(output.Message),
911
+ Message: (0, smithy_client_1.expectString)(output.Message),
912
912
  };
913
913
  };
914
914
  const deserializeAws_json1_1CustomizedMetricSpecification = (output, context) => {
@@ -916,10 +916,10 @@ const deserializeAws_json1_1CustomizedMetricSpecification = (output, context) =>
916
916
  Dimensions: output.Dimensions !== undefined && output.Dimensions !== null
917
917
  ? deserializeAws_json1_1MetricDimensions(output.Dimensions, context)
918
918
  : undefined,
919
- MetricName: smithy_client_1.expectString(output.MetricName),
920
- Namespace: smithy_client_1.expectString(output.Namespace),
921
- Statistic: smithy_client_1.expectString(output.Statistic),
922
- Unit: smithy_client_1.expectString(output.Unit),
919
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
920
+ Namespace: (0, smithy_client_1.expectString)(output.Namespace),
921
+ Statistic: (0, smithy_client_1.expectString)(output.Statistic),
922
+ Unit: (0, smithy_client_1.expectString)(output.Unit),
923
923
  };
924
924
  };
925
925
  const deserializeAws_json1_1DeleteScalingPolicyResponse = (output, context) => {
@@ -933,7 +933,7 @@ const deserializeAws_json1_1DeregisterScalableTargetResponse = (output, context)
933
933
  };
934
934
  const deserializeAws_json1_1DescribeScalableTargetsResponse = (output, context) => {
935
935
  return {
936
- NextToken: smithy_client_1.expectString(output.NextToken),
936
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
937
937
  ScalableTargets: output.ScalableTargets !== undefined && output.ScalableTargets !== null
938
938
  ? deserializeAws_json1_1ScalableTargets(output.ScalableTargets, context)
939
939
  : undefined,
@@ -941,7 +941,7 @@ const deserializeAws_json1_1DescribeScalableTargetsResponse = (output, context)
941
941
  };
942
942
  const deserializeAws_json1_1DescribeScalingActivitiesResponse = (output, context) => {
943
943
  return {
944
- NextToken: smithy_client_1.expectString(output.NextToken),
944
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
945
945
  ScalingActivities: output.ScalingActivities !== undefined && output.ScalingActivities !== null
946
946
  ? deserializeAws_json1_1ScalingActivities(output.ScalingActivities, context)
947
947
  : undefined,
@@ -949,7 +949,7 @@ const deserializeAws_json1_1DescribeScalingActivitiesResponse = (output, context
949
949
  };
950
950
  const deserializeAws_json1_1DescribeScalingPoliciesResponse = (output, context) => {
951
951
  return {
952
- NextToken: smithy_client_1.expectString(output.NextToken),
952
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
953
953
  ScalingPolicies: output.ScalingPolicies !== undefined && output.ScalingPolicies !== null
954
954
  ? deserializeAws_json1_1ScalingPolicies(output.ScalingPolicies, context)
955
955
  : undefined,
@@ -957,7 +957,7 @@ const deserializeAws_json1_1DescribeScalingPoliciesResponse = (output, context)
957
957
  };
958
958
  const deserializeAws_json1_1DescribeScheduledActionsResponse = (output, context) => {
959
959
  return {
960
- NextToken: smithy_client_1.expectString(output.NextToken),
960
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
961
961
  ScheduledActions: output.ScheduledActions !== undefined && output.ScheduledActions !== null
962
962
  ? deserializeAws_json1_1ScheduledActions(output.ScheduledActions, context)
963
963
  : undefined,
@@ -965,28 +965,28 @@ const deserializeAws_json1_1DescribeScheduledActionsResponse = (output, context)
965
965
  };
966
966
  const deserializeAws_json1_1FailedResourceAccessException = (output, context) => {
967
967
  return {
968
- Message: smithy_client_1.expectString(output.Message),
968
+ Message: (0, smithy_client_1.expectString)(output.Message),
969
969
  };
970
970
  };
971
971
  const deserializeAws_json1_1InternalServiceException = (output, context) => {
972
972
  return {
973
- Message: smithy_client_1.expectString(output.Message),
973
+ Message: (0, smithy_client_1.expectString)(output.Message),
974
974
  };
975
975
  };
976
976
  const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
977
977
  return {
978
- Message: smithy_client_1.expectString(output.Message),
978
+ Message: (0, smithy_client_1.expectString)(output.Message),
979
979
  };
980
980
  };
981
981
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
982
982
  return {
983
- Message: smithy_client_1.expectString(output.Message),
983
+ Message: (0, smithy_client_1.expectString)(output.Message),
984
984
  };
985
985
  };
986
986
  const deserializeAws_json1_1MetricDimension = (output, context) => {
987
987
  return {
988
- Name: smithy_client_1.expectString(output.Name),
989
- Value: smithy_client_1.expectString(output.Value),
988
+ Name: (0, smithy_client_1.expectString)(output.Name),
989
+ Value: (0, smithy_client_1.expectString)(output.Value),
990
990
  };
991
991
  };
992
992
  const deserializeAws_json1_1MetricDimensions = (output, context) => {
@@ -1002,13 +1002,13 @@ const deserializeAws_json1_1MetricDimensions = (output, context) => {
1002
1002
  };
1003
1003
  const deserializeAws_json1_1ObjectNotFoundException = (output, context) => {
1004
1004
  return {
1005
- Message: smithy_client_1.expectString(output.Message),
1005
+ Message: (0, smithy_client_1.expectString)(output.Message),
1006
1006
  };
1007
1007
  };
1008
1008
  const deserializeAws_json1_1PredefinedMetricSpecification = (output, context) => {
1009
1009
  return {
1010
- PredefinedMetricType: smithy_client_1.expectString(output.PredefinedMetricType),
1011
- ResourceLabel: smithy_client_1.expectString(output.ResourceLabel),
1010
+ PredefinedMetricType: (0, smithy_client_1.expectString)(output.PredefinedMetricType),
1011
+ ResourceLabel: (0, smithy_client_1.expectString)(output.ResourceLabel),
1012
1012
  };
1013
1013
  };
1014
1014
  const deserializeAws_json1_1PutScalingPolicyResponse = (output, context) => {
@@ -1016,7 +1016,7 @@ const deserializeAws_json1_1PutScalingPolicyResponse = (output, context) => {
1016
1016
  Alarms: output.Alarms !== undefined && output.Alarms !== null
1017
1017
  ? deserializeAws_json1_1Alarms(output.Alarms, context)
1018
1018
  : undefined,
1019
- PolicyARN: smithy_client_1.expectString(output.PolicyARN),
1019
+ PolicyARN: (0, smithy_client_1.expectString)(output.PolicyARN),
1020
1020
  };
1021
1021
  };
1022
1022
  const deserializeAws_json1_1PutScheduledActionResponse = (output, context) => {
@@ -1028,14 +1028,14 @@ const deserializeAws_json1_1RegisterScalableTargetResponse = (output, context) =
1028
1028
  const deserializeAws_json1_1ScalableTarget = (output, context) => {
1029
1029
  return {
1030
1030
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
1031
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
1031
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
1032
1032
  : undefined,
1033
- MaxCapacity: smithy_client_1.expectInt32(output.MaxCapacity),
1034
- MinCapacity: smithy_client_1.expectInt32(output.MinCapacity),
1035
- ResourceId: smithy_client_1.expectString(output.ResourceId),
1036
- RoleARN: smithy_client_1.expectString(output.RoleARN),
1037
- ScalableDimension: smithy_client_1.expectString(output.ScalableDimension),
1038
- ServiceNamespace: smithy_client_1.expectString(output.ServiceNamespace),
1033
+ MaxCapacity: (0, smithy_client_1.expectInt32)(output.MaxCapacity),
1034
+ MinCapacity: (0, smithy_client_1.expectInt32)(output.MinCapacity),
1035
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
1036
+ RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
1037
+ ScalableDimension: (0, smithy_client_1.expectString)(output.ScalableDimension),
1038
+ ServiceNamespace: (0, smithy_client_1.expectString)(output.ServiceNamespace),
1039
1039
  SuspendedState: output.SuspendedState !== undefined && output.SuspendedState !== null
1040
1040
  ? deserializeAws_json1_1SuspendedState(output.SuspendedState, context)
1041
1041
  : undefined,
@@ -1043,8 +1043,8 @@ const deserializeAws_json1_1ScalableTarget = (output, context) => {
1043
1043
  };
1044
1044
  const deserializeAws_json1_1ScalableTargetAction = (output, context) => {
1045
1045
  return {
1046
- MaxCapacity: smithy_client_1.expectInt32(output.MaxCapacity),
1047
- MinCapacity: smithy_client_1.expectInt32(output.MinCapacity),
1046
+ MaxCapacity: (0, smithy_client_1.expectInt32)(output.MaxCapacity),
1047
+ MinCapacity: (0, smithy_client_1.expectInt32)(output.MinCapacity),
1048
1048
  };
1049
1049
  };
1050
1050
  const deserializeAws_json1_1ScalableTargets = (output, context) => {
@@ -1071,21 +1071,21 @@ const deserializeAws_json1_1ScalingActivities = (output, context) => {
1071
1071
  };
1072
1072
  const deserializeAws_json1_1ScalingActivity = (output, context) => {
1073
1073
  return {
1074
- ActivityId: smithy_client_1.expectString(output.ActivityId),
1075
- Cause: smithy_client_1.expectString(output.Cause),
1076
- Description: smithy_client_1.expectString(output.Description),
1077
- Details: smithy_client_1.expectString(output.Details),
1074
+ ActivityId: (0, smithy_client_1.expectString)(output.ActivityId),
1075
+ Cause: (0, smithy_client_1.expectString)(output.Cause),
1076
+ Description: (0, smithy_client_1.expectString)(output.Description),
1077
+ Details: (0, smithy_client_1.expectString)(output.Details),
1078
1078
  EndTime: output.EndTime !== undefined && output.EndTime !== null
1079
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
1079
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
1080
1080
  : undefined,
1081
- ResourceId: smithy_client_1.expectString(output.ResourceId),
1082
- ScalableDimension: smithy_client_1.expectString(output.ScalableDimension),
1083
- ServiceNamespace: smithy_client_1.expectString(output.ServiceNamespace),
1081
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
1082
+ ScalableDimension: (0, smithy_client_1.expectString)(output.ScalableDimension),
1083
+ ServiceNamespace: (0, smithy_client_1.expectString)(output.ServiceNamespace),
1084
1084
  StartTime: output.StartTime !== undefined && output.StartTime !== null
1085
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
1085
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
1086
1086
  : undefined,
1087
- StatusCode: smithy_client_1.expectString(output.StatusCode),
1088
- StatusMessage: smithy_client_1.expectString(output.StatusMessage),
1087
+ StatusCode: (0, smithy_client_1.expectString)(output.StatusCode),
1088
+ StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
1089
1089
  };
1090
1090
  };
1091
1091
  const deserializeAws_json1_1ScalingPolicies = (output, context) => {
@@ -1105,14 +1105,14 @@ const deserializeAws_json1_1ScalingPolicy = (output, context) => {
1105
1105
  ? deserializeAws_json1_1Alarms(output.Alarms, context)
1106
1106
  : undefined,
1107
1107
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
1108
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
1108
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
1109
1109
  : undefined,
1110
- PolicyARN: smithy_client_1.expectString(output.PolicyARN),
1111
- PolicyName: smithy_client_1.expectString(output.PolicyName),
1112
- PolicyType: smithy_client_1.expectString(output.PolicyType),
1113
- ResourceId: smithy_client_1.expectString(output.ResourceId),
1114
- ScalableDimension: smithy_client_1.expectString(output.ScalableDimension),
1115
- ServiceNamespace: smithy_client_1.expectString(output.ServiceNamespace),
1110
+ PolicyARN: (0, smithy_client_1.expectString)(output.PolicyARN),
1111
+ PolicyName: (0, smithy_client_1.expectString)(output.PolicyName),
1112
+ PolicyType: (0, smithy_client_1.expectString)(output.PolicyType),
1113
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
1114
+ ScalableDimension: (0, smithy_client_1.expectString)(output.ScalableDimension),
1115
+ ServiceNamespace: (0, smithy_client_1.expectString)(output.ServiceNamespace),
1116
1116
  StepScalingPolicyConfiguration: output.StepScalingPolicyConfiguration !== undefined && output.StepScalingPolicyConfiguration !== null
1117
1117
  ? deserializeAws_json1_1StepScalingPolicyConfiguration(output.StepScalingPolicyConfiguration, context)
1118
1118
  : undefined,
@@ -1125,24 +1125,24 @@ const deserializeAws_json1_1ScalingPolicy = (output, context) => {
1125
1125
  const deserializeAws_json1_1ScheduledAction = (output, context) => {
1126
1126
  return {
1127
1127
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
1128
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
1128
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
1129
1129
  : undefined,
1130
1130
  EndTime: output.EndTime !== undefined && output.EndTime !== null
1131
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
1131
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
1132
1132
  : undefined,
1133
- ResourceId: smithy_client_1.expectString(output.ResourceId),
1134
- ScalableDimension: smithy_client_1.expectString(output.ScalableDimension),
1133
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
1134
+ ScalableDimension: (0, smithy_client_1.expectString)(output.ScalableDimension),
1135
1135
  ScalableTargetAction: output.ScalableTargetAction !== undefined && output.ScalableTargetAction !== null
1136
1136
  ? deserializeAws_json1_1ScalableTargetAction(output.ScalableTargetAction, context)
1137
1137
  : undefined,
1138
- Schedule: smithy_client_1.expectString(output.Schedule),
1139
- ScheduledActionARN: smithy_client_1.expectString(output.ScheduledActionARN),
1140
- ScheduledActionName: smithy_client_1.expectString(output.ScheduledActionName),
1141
- ServiceNamespace: smithy_client_1.expectString(output.ServiceNamespace),
1138
+ Schedule: (0, smithy_client_1.expectString)(output.Schedule),
1139
+ ScheduledActionARN: (0, smithy_client_1.expectString)(output.ScheduledActionARN),
1140
+ ScheduledActionName: (0, smithy_client_1.expectString)(output.ScheduledActionName),
1141
+ ServiceNamespace: (0, smithy_client_1.expectString)(output.ServiceNamespace),
1142
1142
  StartTime: output.StartTime !== undefined && output.StartTime !== null
1143
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
1143
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
1144
1144
  : undefined,
1145
- Timezone: smithy_client_1.expectString(output.Timezone),
1145
+ Timezone: (0, smithy_client_1.expectString)(output.Timezone),
1146
1146
  };
1147
1147
  };
1148
1148
  const deserializeAws_json1_1ScheduledActions = (output, context) => {
@@ -1158,9 +1158,9 @@ const deserializeAws_json1_1ScheduledActions = (output, context) => {
1158
1158
  };
1159
1159
  const deserializeAws_json1_1StepAdjustment = (output, context) => {
1160
1160
  return {
1161
- MetricIntervalLowerBound: smithy_client_1.limitedParseDouble(output.MetricIntervalLowerBound),
1162
- MetricIntervalUpperBound: smithy_client_1.limitedParseDouble(output.MetricIntervalUpperBound),
1163
- ScalingAdjustment: smithy_client_1.expectInt32(output.ScalingAdjustment),
1161
+ MetricIntervalLowerBound: (0, smithy_client_1.limitedParseDouble)(output.MetricIntervalLowerBound),
1162
+ MetricIntervalUpperBound: (0, smithy_client_1.limitedParseDouble)(output.MetricIntervalUpperBound),
1163
+ ScalingAdjustment: (0, smithy_client_1.expectInt32)(output.ScalingAdjustment),
1164
1164
  };
1165
1165
  };
1166
1166
  const deserializeAws_json1_1StepAdjustments = (output, context) => {
@@ -1176,10 +1176,10 @@ const deserializeAws_json1_1StepAdjustments = (output, context) => {
1176
1176
  };
1177
1177
  const deserializeAws_json1_1StepScalingPolicyConfiguration = (output, context) => {
1178
1178
  return {
1179
- AdjustmentType: smithy_client_1.expectString(output.AdjustmentType),
1180
- Cooldown: smithy_client_1.expectInt32(output.Cooldown),
1181
- MetricAggregationType: smithy_client_1.expectString(output.MetricAggregationType),
1182
- MinAdjustmentMagnitude: smithy_client_1.expectInt32(output.MinAdjustmentMagnitude),
1179
+ AdjustmentType: (0, smithy_client_1.expectString)(output.AdjustmentType),
1180
+ Cooldown: (0, smithy_client_1.expectInt32)(output.Cooldown),
1181
+ MetricAggregationType: (0, smithy_client_1.expectString)(output.MetricAggregationType),
1182
+ MinAdjustmentMagnitude: (0, smithy_client_1.expectInt32)(output.MinAdjustmentMagnitude),
1183
1183
  StepAdjustments: output.StepAdjustments !== undefined && output.StepAdjustments !== null
1184
1184
  ? deserializeAws_json1_1StepAdjustments(output.StepAdjustments, context)
1185
1185
  : undefined,
@@ -1187,9 +1187,9 @@ const deserializeAws_json1_1StepScalingPolicyConfiguration = (output, context) =
1187
1187
  };
1188
1188
  const deserializeAws_json1_1SuspendedState = (output, context) => {
1189
1189
  return {
1190
- DynamicScalingInSuspended: smithy_client_1.expectBoolean(output.DynamicScalingInSuspended),
1191
- DynamicScalingOutSuspended: smithy_client_1.expectBoolean(output.DynamicScalingOutSuspended),
1192
- ScheduledScalingSuspended: smithy_client_1.expectBoolean(output.ScheduledScalingSuspended),
1190
+ DynamicScalingInSuspended: (0, smithy_client_1.expectBoolean)(output.DynamicScalingInSuspended),
1191
+ DynamicScalingOutSuspended: (0, smithy_client_1.expectBoolean)(output.DynamicScalingOutSuspended),
1192
+ ScheduledScalingSuspended: (0, smithy_client_1.expectBoolean)(output.ScheduledScalingSuspended),
1193
1193
  };
1194
1194
  };
1195
1195
  const deserializeAws_json1_1TargetTrackingScalingPolicyConfiguration = (output, context) => {
@@ -1197,18 +1197,18 @@ const deserializeAws_json1_1TargetTrackingScalingPolicyConfiguration = (output,
1197
1197
  CustomizedMetricSpecification: output.CustomizedMetricSpecification !== undefined && output.CustomizedMetricSpecification !== null
1198
1198
  ? deserializeAws_json1_1CustomizedMetricSpecification(output.CustomizedMetricSpecification, context)
1199
1199
  : undefined,
1200
- DisableScaleIn: smithy_client_1.expectBoolean(output.DisableScaleIn),
1200
+ DisableScaleIn: (0, smithy_client_1.expectBoolean)(output.DisableScaleIn),
1201
1201
  PredefinedMetricSpecification: output.PredefinedMetricSpecification !== undefined && output.PredefinedMetricSpecification !== null
1202
1202
  ? deserializeAws_json1_1PredefinedMetricSpecification(output.PredefinedMetricSpecification, context)
1203
1203
  : undefined,
1204
- ScaleInCooldown: smithy_client_1.expectInt32(output.ScaleInCooldown),
1205
- ScaleOutCooldown: smithy_client_1.expectInt32(output.ScaleOutCooldown),
1206
- TargetValue: smithy_client_1.limitedParseDouble(output.TargetValue),
1204
+ ScaleInCooldown: (0, smithy_client_1.expectInt32)(output.ScaleInCooldown),
1205
+ ScaleOutCooldown: (0, smithy_client_1.expectInt32)(output.ScaleOutCooldown),
1206
+ TargetValue: (0, smithy_client_1.limitedParseDouble)(output.TargetValue),
1207
1207
  };
1208
1208
  };
1209
1209
  const deserializeAws_json1_1ValidationException = (output, context) => {
1210
1210
  return {
1211
- Message: smithy_client_1.expectString(output.Message),
1211
+ Message: (0, smithy_client_1.expectString)(output.Message),
1212
1212
  };
1213
1213
  };
1214
1214
  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,
@@ -22,7 +22,7 @@ var ApplicationAutoScaling = (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 ApplicationAutoScaling = (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 ApplicationAutoScaling = (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 ApplicationAutoScaling = (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 ApplicationAutoScaling = (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 ApplicationAutoScaling = (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 ApplicationAutoScaling = (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 ApplicationAutoScaling = (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 ApplicationAutoScaling = (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 ApplicationAutoScaling = (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 DescribeScalableTargetsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new DescribeScalableTargetsCommand(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.describeScalableTargets.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.describeScalableTargets.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 paginateDescribeScalableTargets(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof ApplicationAutoScaling)) 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 ApplicationAutoScalingClient)) 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 DescribeScalingActivitiesCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new DescribeScalingActivitiesCommand(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.describeScalingActivities.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.describeScalingActivities.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 paginateDescribeScalingActivities(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof ApplicationAutoScaling)) 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 ApplicationAutoScalingClient)) 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 DescribeScalingPoliciesCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new DescribeScalingPoliciesCommand(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.describeScalingPolicies.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.describeScalingPolicies.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 paginateDescribeScalingPolicies(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof ApplicationAutoScaling)) 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 ApplicationAutoScalingClient)) 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 DescribeScheduledActionsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new DescribeScheduledActionsCommand(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.describeScheduledActions.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.describeScheduledActions.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 paginateDescribeScheduledActions(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof ApplicationAutoScaling)) 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 ApplicationAutoScalingClient)) 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];
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: ApplicationAutoScalingClientConf
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: ApplicationAutoScalingClientConf
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-application-auto-scaling",
3
3
  "description": "AWS SDK for JavaScript Application Auto Scaling 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"