@aws-sdk/client-application-auto-scaling 3.53.0 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/ApplicationAutoScalingClient.js +13 -13
  3. package/dist-cjs/commands/DeleteScalingPolicyCommand.js +3 -3
  4. package/dist-cjs/commands/DeleteScheduledActionCommand.js +3 -3
  5. package/dist-cjs/commands/DeregisterScalableTargetCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeScalableTargetsCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeScalingPoliciesCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeScheduledActionsCommand.js +3 -3
  10. package/dist-cjs/commands/PutScalingPolicyCommand.js +3 -3
  11. package/dist-cjs/commands/PutScheduledActionCommand.js +3 -3
  12. package/dist-cjs/commands/RegisterScalableTargetCommand.js +3 -3
  13. package/dist-cjs/endpoints.js +1 -1
  14. package/dist-cjs/protocols/Aws_json1_1.js +93 -93
  15. package/dist-cjs/runtimeConfig.browser.js +4 -4
  16. package/dist-cjs/runtimeConfig.js +9 -9
  17. package/dist-cjs/runtimeConfig.native.js +1 -1
  18. package/dist-es/ApplicationAutoScaling.js +10 -10
  19. package/dist-es/pagination/DescribeScalableTargetsPaginator.js +4 -4
  20. package/dist-es/pagination/DescribeScalingActivitiesPaginator.js +4 -4
  21. package/dist-es/pagination/DescribeScalingPoliciesPaginator.js +4 -4
  22. package/dist-es/pagination/DescribeScheduledActionsPaginator.js +4 -4
  23. package/dist-types/ApplicationAutoScalingClient.d.ts +2 -2
  24. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  25. package/dist-types/runtimeConfig.d.ts +1 -1
  26. package/dist-types/runtimeConfig.native.d.ts +3 -3
  27. package/dist-types/ts3.4/ApplicationAutoScalingClient.d.ts +2 -2
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  31. package/package.json +34 -34
@@ -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,