@aws-sdk/client-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.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/AutoScalingClient.js +13 -13
- package/dist-cjs/commands/AttachInstancesCommand.js +3 -3
- package/dist-cjs/commands/AttachLoadBalancerTargetGroupsCommand.js +3 -3
- package/dist-cjs/commands/AttachLoadBalancersCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteScheduledActionCommand.js +3 -3
- package/dist-cjs/commands/BatchPutScheduledUpdateGroupActionCommand.js +3 -3
- package/dist-cjs/commands/CancelInstanceRefreshCommand.js +3 -3
- package/dist-cjs/commands/CompleteLifecycleActionCommand.js +3 -3
- package/dist-cjs/commands/CreateAutoScalingGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateLaunchConfigurationCommand.js +3 -3
- package/dist-cjs/commands/CreateOrUpdateTagsCommand.js +3 -3
- package/dist-cjs/commands/DeleteAutoScalingGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteLaunchConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteLifecycleHookCommand.js +3 -3
- package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeletePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteScheduledActionCommand.js +3 -3
- package/dist-cjs/commands/DeleteTagsCommand.js +3 -3
- package/dist-cjs/commands/DeleteWarmPoolCommand.js +3 -3
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js +3 -3
- package/dist-cjs/commands/DescribeAdjustmentTypesCommand.js +3 -3
- package/dist-cjs/commands/DescribeAutoScalingGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeAutoScalingInstancesCommand.js +3 -3
- package/dist-cjs/commands/DescribeAutoScalingNotificationTypesCommand.js +3 -3
- package/dist-cjs/commands/DescribeInstanceRefreshesCommand.js +3 -3
- package/dist-cjs/commands/DescribeLaunchConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeLifecycleHookTypesCommand.js +3 -3
- package/dist-cjs/commands/DescribeLifecycleHooksCommand.js +3 -3
- package/dist-cjs/commands/DescribeLoadBalancerTargetGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js +3 -3
- package/dist-cjs/commands/DescribeMetricCollectionTypesCommand.js +3 -3
- package/dist-cjs/commands/DescribeNotificationConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/DescribePoliciesCommand.js +3 -3
- package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +3 -3
- package/dist-cjs/commands/DescribeScalingProcessTypesCommand.js +3 -3
- package/dist-cjs/commands/DescribeScheduledActionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTagsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTerminationPolicyTypesCommand.js +3 -3
- package/dist-cjs/commands/DescribeWarmPoolCommand.js +3 -3
- package/dist-cjs/commands/DetachInstancesCommand.js +3 -3
- package/dist-cjs/commands/DetachLoadBalancerTargetGroupsCommand.js +3 -3
- package/dist-cjs/commands/DetachLoadBalancersCommand.js +3 -3
- package/dist-cjs/commands/DisableMetricsCollectionCommand.js +3 -3
- package/dist-cjs/commands/EnableMetricsCollectionCommand.js +3 -3
- package/dist-cjs/commands/EnterStandbyCommand.js +3 -3
- package/dist-cjs/commands/ExecutePolicyCommand.js +3 -3
- package/dist-cjs/commands/ExitStandbyCommand.js +3 -3
- package/dist-cjs/commands/GetPredictiveScalingForecastCommand.js +3 -3
- package/dist-cjs/commands/PutLifecycleHookCommand.js +3 -3
- package/dist-cjs/commands/PutNotificationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutScalingPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutScheduledUpdateGroupActionCommand.js +3 -3
- package/dist-cjs/commands/PutWarmPoolCommand.js +3 -3
- package/dist-cjs/commands/RecordLifecycleActionHeartbeatCommand.js +3 -3
- package/dist-cjs/commands/ResumeProcessesCommand.js +3 -3
- package/dist-cjs/commands/SetDesiredCapacityCommand.js +3 -3
- package/dist-cjs/commands/SetInstanceHealthCommand.js +3 -3
- package/dist-cjs/commands/SetInstanceProtectionCommand.js +3 -3
- package/dist-cjs/commands/StartInstanceRefreshCommand.js +3 -3
- package/dist-cjs/commands/SuspendProcessesCommand.js +3 -3
- package/dist-cjs/commands/TerminateInstanceInAutoScalingGroupCommand.js +3 -3
- package/dist-cjs/commands/UpdateAutoScalingGroupCommand.js +3 -3
- package/dist-cjs/endpoints.js +2 -2
- package/dist-cjs/protocols/Aws_query.js +411 -411
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForGroupExists.js +3 -3
- package/dist-cjs/waiters/waitForGroupInService.js +3 -3
- package/dist-cjs/waiters/waitForGroupNotExists.js +3 -3
- package/dist-es/AutoScaling.js +61 -61
- package/dist-es/endpoints.js +1 -1
- package/dist-es/pagination/DescribeAutoScalingGroupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeAutoScalingInstancesPaginator.js +4 -4
- package/dist-es/pagination/DescribeLaunchConfigurationsPaginator.js +4 -4
- package/dist-es/pagination/DescribeNotificationConfigurationsPaginator.js +4 -4
- package/dist-es/pagination/DescribePoliciesPaginator.js +4 -4
- package/dist-es/pagination/DescribeScalingActivitiesPaginator.js +4 -4
- package/dist-es/pagination/DescribeScheduledActionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeTagsPaginator.js +4 -4
- package/dist-es/protocols/Aws_query.js +131 -131
- package/dist-es/waiters/waitForGroupInService.js +4 -4
- package/dist-types/AutoScalingClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/AutoScalingClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +35 -35
|
@@ -821,7 +821,7 @@ const deserializeAws_queryAttachInstancesCommandError = async (output, context)
|
|
|
821
821
|
$fault: "client",
|
|
822
822
|
$metadata: deserializeMetadata(output),
|
|
823
823
|
});
|
|
824
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
824
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
825
825
|
}
|
|
826
826
|
};
|
|
827
827
|
const deserializeAws_queryAttachLoadBalancersCommand = async (output, context) => {
|
|
@@ -860,7 +860,7 @@ const deserializeAws_queryAttachLoadBalancersCommandError = async (output, conte
|
|
|
860
860
|
$fault: "client",
|
|
861
861
|
$metadata: deserializeMetadata(output),
|
|
862
862
|
});
|
|
863
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
863
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
864
864
|
}
|
|
865
865
|
};
|
|
866
866
|
const deserializeAws_queryAttachLoadBalancerTargetGroupsCommand = async (output, context) => {
|
|
@@ -899,7 +899,7 @@ const deserializeAws_queryAttachLoadBalancerTargetGroupsCommandError = async (ou
|
|
|
899
899
|
$fault: "client",
|
|
900
900
|
$metadata: deserializeMetadata(output),
|
|
901
901
|
});
|
|
902
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
902
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
903
903
|
}
|
|
904
904
|
};
|
|
905
905
|
const deserializeAws_queryBatchDeleteScheduledActionCommand = async (output, context) => {
|
|
@@ -935,7 +935,7 @@ const deserializeAws_queryBatchDeleteScheduledActionCommandError = async (output
|
|
|
935
935
|
$fault: "client",
|
|
936
936
|
$metadata: deserializeMetadata(output),
|
|
937
937
|
});
|
|
938
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
938
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
939
939
|
}
|
|
940
940
|
};
|
|
941
941
|
const deserializeAws_queryBatchPutScheduledUpdateGroupActionCommand = async (output, context) => {
|
|
@@ -977,7 +977,7 @@ const deserializeAws_queryBatchPutScheduledUpdateGroupActionCommandError = async
|
|
|
977
977
|
$fault: "client",
|
|
978
978
|
$metadata: deserializeMetadata(output),
|
|
979
979
|
});
|
|
980
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
980
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
981
981
|
}
|
|
982
982
|
};
|
|
983
983
|
const deserializeAws_queryCancelInstanceRefreshCommand = async (output, context) => {
|
|
@@ -1019,7 +1019,7 @@ const deserializeAws_queryCancelInstanceRefreshCommandError = async (output, con
|
|
|
1019
1019
|
$fault: "client",
|
|
1020
1020
|
$metadata: deserializeMetadata(output),
|
|
1021
1021
|
});
|
|
1022
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1022
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1023
1023
|
}
|
|
1024
1024
|
};
|
|
1025
1025
|
const deserializeAws_queryCompleteLifecycleActionCommand = async (output, context) => {
|
|
@@ -1055,7 +1055,7 @@ const deserializeAws_queryCompleteLifecycleActionCommandError = async (output, c
|
|
|
1055
1055
|
$fault: "client",
|
|
1056
1056
|
$metadata: deserializeMetadata(output),
|
|
1057
1057
|
});
|
|
1058
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1058
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1059
1059
|
}
|
|
1060
1060
|
};
|
|
1061
1061
|
const deserializeAws_queryCreateAutoScalingGroupCommand = async (output, context) => {
|
|
@@ -1097,7 +1097,7 @@ const deserializeAws_queryCreateAutoScalingGroupCommandError = async (output, co
|
|
|
1097
1097
|
$fault: "client",
|
|
1098
1098
|
$metadata: deserializeMetadata(output),
|
|
1099
1099
|
});
|
|
1100
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1100
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1101
1101
|
}
|
|
1102
1102
|
};
|
|
1103
1103
|
const deserializeAws_queryCreateLaunchConfigurationCommand = async (output, context) => {
|
|
@@ -1136,7 +1136,7 @@ const deserializeAws_queryCreateLaunchConfigurationCommandError = async (output,
|
|
|
1136
1136
|
$fault: "client",
|
|
1137
1137
|
$metadata: deserializeMetadata(output),
|
|
1138
1138
|
});
|
|
1139
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1139
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1140
1140
|
}
|
|
1141
1141
|
};
|
|
1142
1142
|
const deserializeAws_queryCreateOrUpdateTagsCommand = async (output, context) => {
|
|
@@ -1178,7 +1178,7 @@ const deserializeAws_queryCreateOrUpdateTagsCommandError = async (output, contex
|
|
|
1178
1178
|
$fault: "client",
|
|
1179
1179
|
$metadata: deserializeMetadata(output),
|
|
1180
1180
|
});
|
|
1181
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1181
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1182
1182
|
}
|
|
1183
1183
|
};
|
|
1184
1184
|
const deserializeAws_queryDeleteAutoScalingGroupCommand = async (output, context) => {
|
|
@@ -1217,7 +1217,7 @@ const deserializeAws_queryDeleteAutoScalingGroupCommandError = async (output, co
|
|
|
1217
1217
|
$fault: "client",
|
|
1218
1218
|
$metadata: deserializeMetadata(output),
|
|
1219
1219
|
});
|
|
1220
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1220
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1221
1221
|
}
|
|
1222
1222
|
};
|
|
1223
1223
|
const deserializeAws_queryDeleteLaunchConfigurationCommand = async (output, context) => {
|
|
@@ -1253,7 +1253,7 @@ const deserializeAws_queryDeleteLaunchConfigurationCommandError = async (output,
|
|
|
1253
1253
|
$fault: "client",
|
|
1254
1254
|
$metadata: deserializeMetadata(output),
|
|
1255
1255
|
});
|
|
1256
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1256
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1257
1257
|
}
|
|
1258
1258
|
};
|
|
1259
1259
|
const deserializeAws_queryDeleteLifecycleHookCommand = async (output, context) => {
|
|
@@ -1289,7 +1289,7 @@ const deserializeAws_queryDeleteLifecycleHookCommandError = async (output, conte
|
|
|
1289
1289
|
$fault: "client",
|
|
1290
1290
|
$metadata: deserializeMetadata(output),
|
|
1291
1291
|
});
|
|
1292
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1292
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1293
1293
|
}
|
|
1294
1294
|
};
|
|
1295
1295
|
const deserializeAws_queryDeleteNotificationConfigurationCommand = async (output, context) => {
|
|
@@ -1322,7 +1322,7 @@ const deserializeAws_queryDeleteNotificationConfigurationCommandError = async (o
|
|
|
1322
1322
|
$fault: "client",
|
|
1323
1323
|
$metadata: deserializeMetadata(output),
|
|
1324
1324
|
});
|
|
1325
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1325
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1326
1326
|
}
|
|
1327
1327
|
};
|
|
1328
1328
|
const deserializeAws_queryDeletePolicyCommand = async (output, context) => {
|
|
@@ -1358,7 +1358,7 @@ const deserializeAws_queryDeletePolicyCommandError = async (output, context) =>
|
|
|
1358
1358
|
$fault: "client",
|
|
1359
1359
|
$metadata: deserializeMetadata(output),
|
|
1360
1360
|
});
|
|
1361
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1361
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1362
1362
|
}
|
|
1363
1363
|
};
|
|
1364
1364
|
const deserializeAws_queryDeleteScheduledActionCommand = async (output, context) => {
|
|
@@ -1391,7 +1391,7 @@ const deserializeAws_queryDeleteScheduledActionCommandError = async (output, con
|
|
|
1391
1391
|
$fault: "client",
|
|
1392
1392
|
$metadata: deserializeMetadata(output),
|
|
1393
1393
|
});
|
|
1394
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1394
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1395
1395
|
}
|
|
1396
1396
|
};
|
|
1397
1397
|
const deserializeAws_queryDeleteTagsCommand = async (output, context) => {
|
|
@@ -1427,7 +1427,7 @@ const deserializeAws_queryDeleteTagsCommandError = async (output, context) => {
|
|
|
1427
1427
|
$fault: "client",
|
|
1428
1428
|
$metadata: deserializeMetadata(output),
|
|
1429
1429
|
});
|
|
1430
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1430
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1431
1431
|
}
|
|
1432
1432
|
};
|
|
1433
1433
|
const deserializeAws_queryDeleteWarmPoolCommand = async (output, context) => {
|
|
@@ -1472,7 +1472,7 @@ const deserializeAws_queryDeleteWarmPoolCommandError = async (output, context) =
|
|
|
1472
1472
|
$fault: "client",
|
|
1473
1473
|
$metadata: deserializeMetadata(output),
|
|
1474
1474
|
});
|
|
1475
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1475
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1476
1476
|
}
|
|
1477
1477
|
};
|
|
1478
1478
|
const deserializeAws_queryDescribeAccountLimitsCommand = async (output, context) => {
|
|
@@ -1508,7 +1508,7 @@ const deserializeAws_queryDescribeAccountLimitsCommandError = async (output, con
|
|
|
1508
1508
|
$fault: "client",
|
|
1509
1509
|
$metadata: deserializeMetadata(output),
|
|
1510
1510
|
});
|
|
1511
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1511
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1512
1512
|
}
|
|
1513
1513
|
};
|
|
1514
1514
|
const deserializeAws_queryDescribeAdjustmentTypesCommand = async (output, context) => {
|
|
@@ -1544,7 +1544,7 @@ const deserializeAws_queryDescribeAdjustmentTypesCommandError = async (output, c
|
|
|
1544
1544
|
$fault: "client",
|
|
1545
1545
|
$metadata: deserializeMetadata(output),
|
|
1546
1546
|
});
|
|
1547
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1547
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1548
1548
|
}
|
|
1549
1549
|
};
|
|
1550
1550
|
const deserializeAws_queryDescribeAutoScalingGroupsCommand = async (output, context) => {
|
|
@@ -1583,7 +1583,7 @@ const deserializeAws_queryDescribeAutoScalingGroupsCommandError = async (output,
|
|
|
1583
1583
|
$fault: "client",
|
|
1584
1584
|
$metadata: deserializeMetadata(output),
|
|
1585
1585
|
});
|
|
1586
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1586
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1587
1587
|
}
|
|
1588
1588
|
};
|
|
1589
1589
|
const deserializeAws_queryDescribeAutoScalingInstancesCommand = async (output, context) => {
|
|
@@ -1622,7 +1622,7 @@ const deserializeAws_queryDescribeAutoScalingInstancesCommandError = async (outp
|
|
|
1622
1622
|
$fault: "client",
|
|
1623
1623
|
$metadata: deserializeMetadata(output),
|
|
1624
1624
|
});
|
|
1625
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1625
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1626
1626
|
}
|
|
1627
1627
|
};
|
|
1628
1628
|
const deserializeAws_queryDescribeAutoScalingNotificationTypesCommand = async (output, context) => {
|
|
@@ -1658,7 +1658,7 @@ const deserializeAws_queryDescribeAutoScalingNotificationTypesCommandError = asy
|
|
|
1658
1658
|
$fault: "client",
|
|
1659
1659
|
$metadata: deserializeMetadata(output),
|
|
1660
1660
|
});
|
|
1661
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1661
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1662
1662
|
}
|
|
1663
1663
|
};
|
|
1664
1664
|
const deserializeAws_queryDescribeInstanceRefreshesCommand = async (output, context) => {
|
|
@@ -1697,7 +1697,7 @@ const deserializeAws_queryDescribeInstanceRefreshesCommandError = async (output,
|
|
|
1697
1697
|
$fault: "client",
|
|
1698
1698
|
$metadata: deserializeMetadata(output),
|
|
1699
1699
|
});
|
|
1700
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1700
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1701
1701
|
}
|
|
1702
1702
|
};
|
|
1703
1703
|
const deserializeAws_queryDescribeLaunchConfigurationsCommand = async (output, context) => {
|
|
@@ -1736,7 +1736,7 @@ const deserializeAws_queryDescribeLaunchConfigurationsCommandError = async (outp
|
|
|
1736
1736
|
$fault: "client",
|
|
1737
1737
|
$metadata: deserializeMetadata(output),
|
|
1738
1738
|
});
|
|
1739
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1739
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1740
1740
|
}
|
|
1741
1741
|
};
|
|
1742
1742
|
const deserializeAws_queryDescribeLifecycleHooksCommand = async (output, context) => {
|
|
@@ -1772,7 +1772,7 @@ const deserializeAws_queryDescribeLifecycleHooksCommandError = async (output, co
|
|
|
1772
1772
|
$fault: "client",
|
|
1773
1773
|
$metadata: deserializeMetadata(output),
|
|
1774
1774
|
});
|
|
1775
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1775
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1776
1776
|
}
|
|
1777
1777
|
};
|
|
1778
1778
|
const deserializeAws_queryDescribeLifecycleHookTypesCommand = async (output, context) => {
|
|
@@ -1808,7 +1808,7 @@ const deserializeAws_queryDescribeLifecycleHookTypesCommandError = async (output
|
|
|
1808
1808
|
$fault: "client",
|
|
1809
1809
|
$metadata: deserializeMetadata(output),
|
|
1810
1810
|
});
|
|
1811
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1811
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1812
1812
|
}
|
|
1813
1813
|
};
|
|
1814
1814
|
const deserializeAws_queryDescribeLoadBalancersCommand = async (output, context) => {
|
|
@@ -1847,7 +1847,7 @@ const deserializeAws_queryDescribeLoadBalancersCommandError = async (output, con
|
|
|
1847
1847
|
$fault: "client",
|
|
1848
1848
|
$metadata: deserializeMetadata(output),
|
|
1849
1849
|
});
|
|
1850
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1850
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1851
1851
|
}
|
|
1852
1852
|
};
|
|
1853
1853
|
const deserializeAws_queryDescribeLoadBalancerTargetGroupsCommand = async (output, context) => {
|
|
@@ -1886,7 +1886,7 @@ const deserializeAws_queryDescribeLoadBalancerTargetGroupsCommandError = async (
|
|
|
1886
1886
|
$fault: "client",
|
|
1887
1887
|
$metadata: deserializeMetadata(output),
|
|
1888
1888
|
});
|
|
1889
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1889
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1890
1890
|
}
|
|
1891
1891
|
};
|
|
1892
1892
|
const deserializeAws_queryDescribeMetricCollectionTypesCommand = async (output, context) => {
|
|
@@ -1922,7 +1922,7 @@ const deserializeAws_queryDescribeMetricCollectionTypesCommandError = async (out
|
|
|
1922
1922
|
$fault: "client",
|
|
1923
1923
|
$metadata: deserializeMetadata(output),
|
|
1924
1924
|
});
|
|
1925
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1925
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1926
1926
|
}
|
|
1927
1927
|
};
|
|
1928
1928
|
const deserializeAws_queryDescribeNotificationConfigurationsCommand = async (output, context) => {
|
|
@@ -1961,7 +1961,7 @@ const deserializeAws_queryDescribeNotificationConfigurationsCommandError = async
|
|
|
1961
1961
|
$fault: "client",
|
|
1962
1962
|
$metadata: deserializeMetadata(output),
|
|
1963
1963
|
});
|
|
1964
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1964
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1965
1965
|
}
|
|
1966
1966
|
};
|
|
1967
1967
|
const deserializeAws_queryDescribePoliciesCommand = async (output, context) => {
|
|
@@ -2003,7 +2003,7 @@ const deserializeAws_queryDescribePoliciesCommandError = async (output, context)
|
|
|
2003
2003
|
$fault: "client",
|
|
2004
2004
|
$metadata: deserializeMetadata(output),
|
|
2005
2005
|
});
|
|
2006
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2006
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2007
2007
|
}
|
|
2008
2008
|
};
|
|
2009
2009
|
const deserializeAws_queryDescribeScalingActivitiesCommand = async (output, context) => {
|
|
@@ -2042,7 +2042,7 @@ const deserializeAws_queryDescribeScalingActivitiesCommandError = async (output,
|
|
|
2042
2042
|
$fault: "client",
|
|
2043
2043
|
$metadata: deserializeMetadata(output),
|
|
2044
2044
|
});
|
|
2045
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2045
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2046
2046
|
}
|
|
2047
2047
|
};
|
|
2048
2048
|
const deserializeAws_queryDescribeScalingProcessTypesCommand = async (output, context) => {
|
|
@@ -2078,7 +2078,7 @@ const deserializeAws_queryDescribeScalingProcessTypesCommandError = async (outpu
|
|
|
2078
2078
|
$fault: "client",
|
|
2079
2079
|
$metadata: deserializeMetadata(output),
|
|
2080
2080
|
});
|
|
2081
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2081
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2082
2082
|
}
|
|
2083
2083
|
};
|
|
2084
2084
|
const deserializeAws_queryDescribeScheduledActionsCommand = async (output, context) => {
|
|
@@ -2117,7 +2117,7 @@ const deserializeAws_queryDescribeScheduledActionsCommandError = async (output,
|
|
|
2117
2117
|
$fault: "client",
|
|
2118
2118
|
$metadata: deserializeMetadata(output),
|
|
2119
2119
|
});
|
|
2120
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2120
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2121
2121
|
}
|
|
2122
2122
|
};
|
|
2123
2123
|
const deserializeAws_queryDescribeTagsCommand = async (output, context) => {
|
|
@@ -2156,7 +2156,7 @@ const deserializeAws_queryDescribeTagsCommandError = async (output, context) =>
|
|
|
2156
2156
|
$fault: "client",
|
|
2157
2157
|
$metadata: deserializeMetadata(output),
|
|
2158
2158
|
});
|
|
2159
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2159
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2160
2160
|
}
|
|
2161
2161
|
};
|
|
2162
2162
|
const deserializeAws_queryDescribeTerminationPolicyTypesCommand = async (output, context) => {
|
|
@@ -2192,7 +2192,7 @@ const deserializeAws_queryDescribeTerminationPolicyTypesCommandError = async (ou
|
|
|
2192
2192
|
$fault: "client",
|
|
2193
2193
|
$metadata: deserializeMetadata(output),
|
|
2194
2194
|
});
|
|
2195
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2195
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2196
2196
|
}
|
|
2197
2197
|
};
|
|
2198
2198
|
const deserializeAws_queryDescribeWarmPoolCommand = async (output, context) => {
|
|
@@ -2234,7 +2234,7 @@ const deserializeAws_queryDescribeWarmPoolCommandError = async (output, context)
|
|
|
2234
2234
|
$fault: "client",
|
|
2235
2235
|
$metadata: deserializeMetadata(output),
|
|
2236
2236
|
});
|
|
2237
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2237
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2238
2238
|
}
|
|
2239
2239
|
};
|
|
2240
2240
|
const deserializeAws_queryDetachInstancesCommand = async (output, context) => {
|
|
@@ -2270,7 +2270,7 @@ const deserializeAws_queryDetachInstancesCommandError = async (output, context)
|
|
|
2270
2270
|
$fault: "client",
|
|
2271
2271
|
$metadata: deserializeMetadata(output),
|
|
2272
2272
|
});
|
|
2273
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2273
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2274
2274
|
}
|
|
2275
2275
|
};
|
|
2276
2276
|
const deserializeAws_queryDetachLoadBalancersCommand = async (output, context) => {
|
|
@@ -2306,7 +2306,7 @@ const deserializeAws_queryDetachLoadBalancersCommandError = async (output, conte
|
|
|
2306
2306
|
$fault: "client",
|
|
2307
2307
|
$metadata: deserializeMetadata(output),
|
|
2308
2308
|
});
|
|
2309
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2309
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2310
2310
|
}
|
|
2311
2311
|
};
|
|
2312
2312
|
const deserializeAws_queryDetachLoadBalancerTargetGroupsCommand = async (output, context) => {
|
|
@@ -2342,7 +2342,7 @@ const deserializeAws_queryDetachLoadBalancerTargetGroupsCommandError = async (ou
|
|
|
2342
2342
|
$fault: "client",
|
|
2343
2343
|
$metadata: deserializeMetadata(output),
|
|
2344
2344
|
});
|
|
2345
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2345
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2346
2346
|
}
|
|
2347
2347
|
};
|
|
2348
2348
|
const deserializeAws_queryDisableMetricsCollectionCommand = async (output, context) => {
|
|
@@ -2375,7 +2375,7 @@ const deserializeAws_queryDisableMetricsCollectionCommandError = async (output,
|
|
|
2375
2375
|
$fault: "client",
|
|
2376
2376
|
$metadata: deserializeMetadata(output),
|
|
2377
2377
|
});
|
|
2378
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2378
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2379
2379
|
}
|
|
2380
2380
|
};
|
|
2381
2381
|
const deserializeAws_queryEnableMetricsCollectionCommand = async (output, context) => {
|
|
@@ -2408,7 +2408,7 @@ const deserializeAws_queryEnableMetricsCollectionCommandError = async (output, c
|
|
|
2408
2408
|
$fault: "client",
|
|
2409
2409
|
$metadata: deserializeMetadata(output),
|
|
2410
2410
|
});
|
|
2411
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2411
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2412
2412
|
}
|
|
2413
2413
|
};
|
|
2414
2414
|
const deserializeAws_queryEnterStandbyCommand = async (output, context) => {
|
|
@@ -2444,7 +2444,7 @@ const deserializeAws_queryEnterStandbyCommandError = async (output, context) =>
|
|
|
2444
2444
|
$fault: "client",
|
|
2445
2445
|
$metadata: deserializeMetadata(output),
|
|
2446
2446
|
});
|
|
2447
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2447
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2448
2448
|
}
|
|
2449
2449
|
};
|
|
2450
2450
|
const deserializeAws_queryExecutePolicyCommand = async (output, context) => {
|
|
@@ -2480,7 +2480,7 @@ const deserializeAws_queryExecutePolicyCommandError = async (output, context) =>
|
|
|
2480
2480
|
$fault: "client",
|
|
2481
2481
|
$metadata: deserializeMetadata(output),
|
|
2482
2482
|
});
|
|
2483
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2483
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2484
2484
|
}
|
|
2485
2485
|
};
|
|
2486
2486
|
const deserializeAws_queryExitStandbyCommand = async (output, context) => {
|
|
@@ -2516,7 +2516,7 @@ const deserializeAws_queryExitStandbyCommandError = async (output, context) => {
|
|
|
2516
2516
|
$fault: "client",
|
|
2517
2517
|
$metadata: deserializeMetadata(output),
|
|
2518
2518
|
});
|
|
2519
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2519
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2520
2520
|
}
|
|
2521
2521
|
};
|
|
2522
2522
|
const deserializeAws_queryGetPredictiveScalingForecastCommand = async (output, context) => {
|
|
@@ -2552,7 +2552,7 @@ const deserializeAws_queryGetPredictiveScalingForecastCommandError = async (outp
|
|
|
2552
2552
|
$fault: "client",
|
|
2553
2553
|
$metadata: deserializeMetadata(output),
|
|
2554
2554
|
});
|
|
2555
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2555
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2556
2556
|
}
|
|
2557
2557
|
};
|
|
2558
2558
|
const deserializeAws_queryPutLifecycleHookCommand = async (output, context) => {
|
|
@@ -2591,7 +2591,7 @@ const deserializeAws_queryPutLifecycleHookCommandError = async (output, context)
|
|
|
2591
2591
|
$fault: "client",
|
|
2592
2592
|
$metadata: deserializeMetadata(output),
|
|
2593
2593
|
});
|
|
2594
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2594
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2595
2595
|
}
|
|
2596
2596
|
};
|
|
2597
2597
|
const deserializeAws_queryPutNotificationConfigurationCommand = async (output, context) => {
|
|
@@ -2630,7 +2630,7 @@ const deserializeAws_queryPutNotificationConfigurationCommandError = async (outp
|
|
|
2630
2630
|
$fault: "client",
|
|
2631
2631
|
$metadata: deserializeMetadata(output),
|
|
2632
2632
|
});
|
|
2633
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2633
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2634
2634
|
}
|
|
2635
2635
|
};
|
|
2636
2636
|
const deserializeAws_queryPutScalingPolicyCommand = async (output, context) => {
|
|
@@ -2672,7 +2672,7 @@ const deserializeAws_queryPutScalingPolicyCommandError = async (output, context)
|
|
|
2672
2672
|
$fault: "client",
|
|
2673
2673
|
$metadata: deserializeMetadata(output),
|
|
2674
2674
|
});
|
|
2675
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2675
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2676
2676
|
}
|
|
2677
2677
|
};
|
|
2678
2678
|
const deserializeAws_queryPutScheduledUpdateGroupActionCommand = async (output, context) => {
|
|
@@ -2711,7 +2711,7 @@ const deserializeAws_queryPutScheduledUpdateGroupActionCommandError = async (out
|
|
|
2711
2711
|
$fault: "client",
|
|
2712
2712
|
$metadata: deserializeMetadata(output),
|
|
2713
2713
|
});
|
|
2714
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2714
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2715
2715
|
}
|
|
2716
2716
|
};
|
|
2717
2717
|
const deserializeAws_queryPutWarmPoolCommand = async (output, context) => {
|
|
@@ -2750,7 +2750,7 @@ const deserializeAws_queryPutWarmPoolCommandError = async (output, context) => {
|
|
|
2750
2750
|
$fault: "client",
|
|
2751
2751
|
$metadata: deserializeMetadata(output),
|
|
2752
2752
|
});
|
|
2753
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2753
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2754
2754
|
}
|
|
2755
2755
|
};
|
|
2756
2756
|
const deserializeAws_queryRecordLifecycleActionHeartbeatCommand = async (output, context) => {
|
|
@@ -2786,7 +2786,7 @@ const deserializeAws_queryRecordLifecycleActionHeartbeatCommandError = async (ou
|
|
|
2786
2786
|
$fault: "client",
|
|
2787
2787
|
$metadata: deserializeMetadata(output),
|
|
2788
2788
|
});
|
|
2789
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2789
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2790
2790
|
}
|
|
2791
2791
|
};
|
|
2792
2792
|
const deserializeAws_queryResumeProcessesCommand = async (output, context) => {
|
|
@@ -2822,7 +2822,7 @@ const deserializeAws_queryResumeProcessesCommandError = async (output, context)
|
|
|
2822
2822
|
$fault: "client",
|
|
2823
2823
|
$metadata: deserializeMetadata(output),
|
|
2824
2824
|
});
|
|
2825
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2825
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2826
2826
|
}
|
|
2827
2827
|
};
|
|
2828
2828
|
const deserializeAws_querySetDesiredCapacityCommand = async (output, context) => {
|
|
@@ -2858,7 +2858,7 @@ const deserializeAws_querySetDesiredCapacityCommandError = async (output, contex
|
|
|
2858
2858
|
$fault: "client",
|
|
2859
2859
|
$metadata: deserializeMetadata(output),
|
|
2860
2860
|
});
|
|
2861
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2861
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2862
2862
|
}
|
|
2863
2863
|
};
|
|
2864
2864
|
const deserializeAws_querySetInstanceHealthCommand = async (output, context) => {
|
|
@@ -2891,7 +2891,7 @@ const deserializeAws_querySetInstanceHealthCommandError = async (output, context
|
|
|
2891
2891
|
$fault: "client",
|
|
2892
2892
|
$metadata: deserializeMetadata(output),
|
|
2893
2893
|
});
|
|
2894
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2894
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2895
2895
|
}
|
|
2896
2896
|
};
|
|
2897
2897
|
const deserializeAws_querySetInstanceProtectionCommand = async (output, context) => {
|
|
@@ -2930,7 +2930,7 @@ const deserializeAws_querySetInstanceProtectionCommandError = async (output, con
|
|
|
2930
2930
|
$fault: "client",
|
|
2931
2931
|
$metadata: deserializeMetadata(output),
|
|
2932
2932
|
});
|
|
2933
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2933
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2934
2934
|
}
|
|
2935
2935
|
};
|
|
2936
2936
|
const deserializeAws_queryStartInstanceRefreshCommand = async (output, context) => {
|
|
@@ -2972,7 +2972,7 @@ const deserializeAws_queryStartInstanceRefreshCommandError = async (output, cont
|
|
|
2972
2972
|
$fault: "client",
|
|
2973
2973
|
$metadata: deserializeMetadata(output),
|
|
2974
2974
|
});
|
|
2975
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2975
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2976
2976
|
}
|
|
2977
2977
|
};
|
|
2978
2978
|
const deserializeAws_querySuspendProcessesCommand = async (output, context) => {
|
|
@@ -3008,7 +3008,7 @@ const deserializeAws_querySuspendProcessesCommandError = async (output, context)
|
|
|
3008
3008
|
$fault: "client",
|
|
3009
3009
|
$metadata: deserializeMetadata(output),
|
|
3010
3010
|
});
|
|
3011
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3011
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3012
3012
|
}
|
|
3013
3013
|
};
|
|
3014
3014
|
const deserializeAws_queryTerminateInstanceInAutoScalingGroupCommand = async (output, context) => {
|
|
@@ -3047,7 +3047,7 @@ const deserializeAws_queryTerminateInstanceInAutoScalingGroupCommandError = asyn
|
|
|
3047
3047
|
$fault: "client",
|
|
3048
3048
|
$metadata: deserializeMetadata(output),
|
|
3049
3049
|
});
|
|
3050
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3050
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3051
3051
|
}
|
|
3052
3052
|
};
|
|
3053
3053
|
const deserializeAws_queryUpdateAutoScalingGroupCommand = async (output, context) => {
|
|
@@ -3086,7 +3086,7 @@ const deserializeAws_queryUpdateAutoScalingGroupCommandError = async (output, co
|
|
|
3086
3086
|
$fault: "client",
|
|
3087
3087
|
$metadata: deserializeMetadata(output),
|
|
3088
3088
|
});
|
|
3089
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3089
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3090
3090
|
}
|
|
3091
3091
|
};
|
|
3092
3092
|
const deserializeAws_queryActiveInstanceRefreshNotFoundFaultResponse = async (parsedOutput, context) => {
|
|
@@ -3096,7 +3096,7 @@ const deserializeAws_queryActiveInstanceRefreshNotFoundFaultResponse = async (pa
|
|
|
3096
3096
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3097
3097
|
...deserialized,
|
|
3098
3098
|
});
|
|
3099
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3099
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3100
3100
|
};
|
|
3101
3101
|
const deserializeAws_queryAlreadyExistsFaultResponse = async (parsedOutput, context) => {
|
|
3102
3102
|
const body = parsedOutput.body;
|
|
@@ -3105,7 +3105,7 @@ const deserializeAws_queryAlreadyExistsFaultResponse = async (parsedOutput, cont
|
|
|
3105
3105
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3106
3106
|
...deserialized,
|
|
3107
3107
|
});
|
|
3108
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3108
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3109
3109
|
};
|
|
3110
3110
|
const deserializeAws_queryInstanceRefreshInProgressFaultResponse = async (parsedOutput, context) => {
|
|
3111
3111
|
const body = parsedOutput.body;
|
|
@@ -3114,7 +3114,7 @@ const deserializeAws_queryInstanceRefreshInProgressFaultResponse = async (parsed
|
|
|
3114
3114
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3115
3115
|
...deserialized,
|
|
3116
3116
|
});
|
|
3117
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3117
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3118
3118
|
};
|
|
3119
3119
|
const deserializeAws_queryInvalidNextTokenResponse = async (parsedOutput, context) => {
|
|
3120
3120
|
const body = parsedOutput.body;
|
|
@@ -3123,7 +3123,7 @@ const deserializeAws_queryInvalidNextTokenResponse = async (parsedOutput, contex
|
|
|
3123
3123
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3124
3124
|
...deserialized,
|
|
3125
3125
|
});
|
|
3126
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3126
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3127
3127
|
};
|
|
3128
3128
|
const deserializeAws_queryLimitExceededFaultResponse = async (parsedOutput, context) => {
|
|
3129
3129
|
const body = parsedOutput.body;
|
|
@@ -3132,7 +3132,7 @@ const deserializeAws_queryLimitExceededFaultResponse = async (parsedOutput, cont
|
|
|
3132
3132
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3133
3133
|
...deserialized,
|
|
3134
3134
|
});
|
|
3135
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3135
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3136
3136
|
};
|
|
3137
3137
|
const deserializeAws_queryResourceContentionFaultResponse = async (parsedOutput, context) => {
|
|
3138
3138
|
const body = parsedOutput.body;
|
|
@@ -3141,7 +3141,7 @@ const deserializeAws_queryResourceContentionFaultResponse = async (parsedOutput,
|
|
|
3141
3141
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3142
3142
|
...deserialized,
|
|
3143
3143
|
});
|
|
3144
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3144
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3145
3145
|
};
|
|
3146
3146
|
const deserializeAws_queryResourceInUseFaultResponse = async (parsedOutput, context) => {
|
|
3147
3147
|
const body = parsedOutput.body;
|
|
@@ -3150,7 +3150,7 @@ const deserializeAws_queryResourceInUseFaultResponse = async (parsedOutput, cont
|
|
|
3150
3150
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3151
3151
|
...deserialized,
|
|
3152
3152
|
});
|
|
3153
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3153
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3154
3154
|
};
|
|
3155
3155
|
const deserializeAws_queryScalingActivityInProgressFaultResponse = async (parsedOutput, context) => {
|
|
3156
3156
|
const body = parsedOutput.body;
|
|
@@ -3159,7 +3159,7 @@ const deserializeAws_queryScalingActivityInProgressFaultResponse = async (parsed
|
|
|
3159
3159
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3160
3160
|
...deserialized,
|
|
3161
3161
|
});
|
|
3162
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3162
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3163
3163
|
};
|
|
3164
3164
|
const deserializeAws_queryServiceLinkedRoleFailureResponse = async (parsedOutput, context) => {
|
|
3165
3165
|
const body = parsedOutput.body;
|
|
@@ -3168,7 +3168,7 @@ const deserializeAws_queryServiceLinkedRoleFailureResponse = async (parsedOutput
|
|
|
3168
3168
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3169
3169
|
...deserialized,
|
|
3170
3170
|
});
|
|
3171
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3171
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3172
3172
|
};
|
|
3173
3173
|
const serializeAws_queryAcceleratorCountRequest = (input, context) => {
|
|
3174
3174
|
const entries = {};
|
|
@@ -4132,10 +4132,10 @@ const serializeAws_queryExecutePolicyType = (input, context) => {
|
|
|
4132
4132
|
entries["HonorCooldown"] = input.HonorCooldown;
|
|
4133
4133
|
}
|
|
4134
4134
|
if (input.MetricValue !== undefined && input.MetricValue !== null) {
|
|
4135
|
-
entries["MetricValue"] = smithy_client_1.serializeFloat(input.MetricValue);
|
|
4135
|
+
entries["MetricValue"] = (0, smithy_client_1.serializeFloat)(input.MetricValue);
|
|
4136
4136
|
}
|
|
4137
4137
|
if (input.BreachThreshold !== undefined && input.BreachThreshold !== null) {
|
|
4138
|
-
entries["BreachThreshold"] = smithy_client_1.serializeFloat(input.BreachThreshold);
|
|
4138
|
+
entries["BreachThreshold"] = (0, smithy_client_1.serializeFloat)(input.BreachThreshold);
|
|
4139
4139
|
}
|
|
4140
4140
|
return entries;
|
|
4141
4141
|
};
|
|
@@ -4582,10 +4582,10 @@ const serializeAws_queryLocalStorageTypes = (input, context) => {
|
|
|
4582
4582
|
const serializeAws_queryMemoryGiBPerVCpuRequest = (input, context) => {
|
|
4583
4583
|
const entries = {};
|
|
4584
4584
|
if (input.Min !== undefined && input.Min !== null) {
|
|
4585
|
-
entries["Min"] = smithy_client_1.serializeFloat(input.Min);
|
|
4585
|
+
entries["Min"] = (0, smithy_client_1.serializeFloat)(input.Min);
|
|
4586
4586
|
}
|
|
4587
4587
|
if (input.Max !== undefined && input.Max !== null) {
|
|
4588
|
-
entries["Max"] = smithy_client_1.serializeFloat(input.Max);
|
|
4588
|
+
entries["Max"] = (0, smithy_client_1.serializeFloat)(input.Max);
|
|
4589
4589
|
}
|
|
4590
4590
|
return entries;
|
|
4591
4591
|
};
|
|
@@ -4844,7 +4844,7 @@ const serializeAws_queryPredictiveScalingCustomizedScalingMetric = (input, conte
|
|
|
4844
4844
|
const serializeAws_queryPredictiveScalingMetricSpecification = (input, context) => {
|
|
4845
4845
|
const entries = {};
|
|
4846
4846
|
if (input.TargetValue !== undefined && input.TargetValue !== null) {
|
|
4847
|
-
entries["TargetValue"] = smithy_client_1.serializeFloat(input.TargetValue);
|
|
4847
|
+
entries["TargetValue"] = (0, smithy_client_1.serializeFloat)(input.TargetValue);
|
|
4848
4848
|
}
|
|
4849
4849
|
if (input.PredefinedMetricPairSpecification !== undefined && input.PredefinedMetricPairSpecification !== null) {
|
|
4850
4850
|
const memberEntries = serializeAws_queryPredictiveScalingPredefinedMetricPair(input.PredefinedMetricPairSpecification, context);
|
|
@@ -5298,10 +5298,10 @@ const serializeAws_queryStartInstanceRefreshType = (input, context) => {
|
|
|
5298
5298
|
const serializeAws_queryStepAdjustment = (input, context) => {
|
|
5299
5299
|
const entries = {};
|
|
5300
5300
|
if (input.MetricIntervalLowerBound !== undefined && input.MetricIntervalLowerBound !== null) {
|
|
5301
|
-
entries["MetricIntervalLowerBound"] = smithy_client_1.serializeFloat(input.MetricIntervalLowerBound);
|
|
5301
|
+
entries["MetricIntervalLowerBound"] = (0, smithy_client_1.serializeFloat)(input.MetricIntervalLowerBound);
|
|
5302
5302
|
}
|
|
5303
5303
|
if (input.MetricIntervalUpperBound !== undefined && input.MetricIntervalUpperBound !== null) {
|
|
5304
|
-
entries["MetricIntervalUpperBound"] = smithy_client_1.serializeFloat(input.MetricIntervalUpperBound);
|
|
5304
|
+
entries["MetricIntervalUpperBound"] = (0, smithy_client_1.serializeFloat)(input.MetricIntervalUpperBound);
|
|
5305
5305
|
}
|
|
5306
5306
|
if (input.ScalingAdjustment !== undefined && input.ScalingAdjustment !== null) {
|
|
5307
5307
|
entries["ScalingAdjustment"] = input.ScalingAdjustment;
|
|
@@ -5386,7 +5386,7 @@ const serializeAws_queryTargetTrackingConfiguration = (input, context) => {
|
|
|
5386
5386
|
});
|
|
5387
5387
|
}
|
|
5388
5388
|
if (input.TargetValue !== undefined && input.TargetValue !== null) {
|
|
5389
|
-
entries["TargetValue"] = smithy_client_1.serializeFloat(input.TargetValue);
|
|
5389
|
+
entries["TargetValue"] = (0, smithy_client_1.serializeFloat)(input.TargetValue);
|
|
5390
5390
|
}
|
|
5391
5391
|
if (input.DisableScaleIn !== undefined && input.DisableScaleIn !== null) {
|
|
5392
5392
|
entries["DisableScaleIn"] = input.DisableScaleIn;
|
|
@@ -5418,10 +5418,10 @@ const serializeAws_queryTerminationPolicies = (input, context) => {
|
|
|
5418
5418
|
const serializeAws_queryTotalLocalStorageGBRequest = (input, context) => {
|
|
5419
5419
|
const entries = {};
|
|
5420
5420
|
if (input.Min !== undefined && input.Min !== null) {
|
|
5421
|
-
entries["Min"] = smithy_client_1.serializeFloat(input.Min);
|
|
5421
|
+
entries["Min"] = (0, smithy_client_1.serializeFloat)(input.Min);
|
|
5422
5422
|
}
|
|
5423
5423
|
if (input.Max !== undefined && input.Max !== null) {
|
|
5424
|
-
entries["Max"] = smithy_client_1.serializeFloat(input.Max);
|
|
5424
|
+
entries["Max"] = (0, smithy_client_1.serializeFloat)(input.Max);
|
|
5425
5425
|
}
|
|
5426
5426
|
return entries;
|
|
5427
5427
|
};
|
|
@@ -5533,10 +5533,10 @@ const deserializeAws_queryAcceleratorCountRequest = (output, context) => {
|
|
|
5533
5533
|
Max: undefined,
|
|
5534
5534
|
};
|
|
5535
5535
|
if (output["Min"] !== undefined) {
|
|
5536
|
-
contents.Min = smithy_client_1.strictParseInt32(output["Min"]);
|
|
5536
|
+
contents.Min = (0, smithy_client_1.strictParseInt32)(output["Min"]);
|
|
5537
5537
|
}
|
|
5538
5538
|
if (output["Max"] !== undefined) {
|
|
5539
|
-
contents.Max = smithy_client_1.strictParseInt32(output["Max"]);
|
|
5539
|
+
contents.Max = (0, smithy_client_1.strictParseInt32)(output["Max"]);
|
|
5540
5540
|
}
|
|
5541
5541
|
return contents;
|
|
5542
5542
|
};
|
|
@@ -5547,7 +5547,7 @@ const deserializeAws_queryAcceleratorManufacturers = (output, context) => {
|
|
|
5547
5547
|
if (entry === null) {
|
|
5548
5548
|
return null;
|
|
5549
5549
|
}
|
|
5550
|
-
return smithy_client_1.expectString(entry);
|
|
5550
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5551
5551
|
});
|
|
5552
5552
|
};
|
|
5553
5553
|
const deserializeAws_queryAcceleratorNames = (output, context) => {
|
|
@@ -5557,7 +5557,7 @@ const deserializeAws_queryAcceleratorNames = (output, context) => {
|
|
|
5557
5557
|
if (entry === null) {
|
|
5558
5558
|
return null;
|
|
5559
5559
|
}
|
|
5560
|
-
return smithy_client_1.expectString(entry);
|
|
5560
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5561
5561
|
});
|
|
5562
5562
|
};
|
|
5563
5563
|
const deserializeAws_queryAcceleratorTotalMemoryMiBRequest = (output, context) => {
|
|
@@ -5566,10 +5566,10 @@ const deserializeAws_queryAcceleratorTotalMemoryMiBRequest = (output, context) =
|
|
|
5566
5566
|
Max: undefined,
|
|
5567
5567
|
};
|
|
5568
5568
|
if (output["Min"] !== undefined) {
|
|
5569
|
-
contents.Min = smithy_client_1.strictParseInt32(output["Min"]);
|
|
5569
|
+
contents.Min = (0, smithy_client_1.strictParseInt32)(output["Min"]);
|
|
5570
5570
|
}
|
|
5571
5571
|
if (output["Max"] !== undefined) {
|
|
5572
|
-
contents.Max = smithy_client_1.strictParseInt32(output["Max"]);
|
|
5572
|
+
contents.Max = (0, smithy_client_1.strictParseInt32)(output["Max"]);
|
|
5573
5573
|
}
|
|
5574
5574
|
return contents;
|
|
5575
5575
|
};
|
|
@@ -5580,7 +5580,7 @@ const deserializeAws_queryAcceleratorTypes = (output, context) => {
|
|
|
5580
5580
|
if (entry === null) {
|
|
5581
5581
|
return null;
|
|
5582
5582
|
}
|
|
5583
|
-
return smithy_client_1.expectString(entry);
|
|
5583
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5584
5584
|
});
|
|
5585
5585
|
};
|
|
5586
5586
|
const deserializeAws_queryActiveInstanceRefreshNotFoundFault = (output, context) => {
|
|
@@ -5588,7 +5588,7 @@ const deserializeAws_queryActiveInstanceRefreshNotFoundFault = (output, context)
|
|
|
5588
5588
|
message: undefined,
|
|
5589
5589
|
};
|
|
5590
5590
|
if (output["message"] !== undefined) {
|
|
5591
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
5591
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
5592
5592
|
}
|
|
5593
5593
|
return contents;
|
|
5594
5594
|
};
|
|
@@ -5611,10 +5611,10 @@ const deserializeAws_queryActivitiesType = (output, context) => {
|
|
|
5611
5611
|
contents.Activities = [];
|
|
5612
5612
|
}
|
|
5613
5613
|
if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
5614
|
-
contents.Activities = deserializeAws_queryActivities(smithy_client_1.getArrayIfSingleItem(output["Activities"]["member"]), context);
|
|
5614
|
+
contents.Activities = deserializeAws_queryActivities((0, smithy_client_1.getArrayIfSingleItem)(output["Activities"]["member"]), context);
|
|
5615
5615
|
}
|
|
5616
5616
|
if (output["NextToken"] !== undefined) {
|
|
5617
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
5617
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
5618
5618
|
}
|
|
5619
5619
|
return contents;
|
|
5620
5620
|
};
|
|
@@ -5634,40 +5634,40 @@ const deserializeAws_queryActivity = (output, context) => {
|
|
|
5634
5634
|
AutoScalingGroupARN: undefined,
|
|
5635
5635
|
};
|
|
5636
5636
|
if (output["ActivityId"] !== undefined) {
|
|
5637
|
-
contents.ActivityId = smithy_client_1.expectString(output["ActivityId"]);
|
|
5637
|
+
contents.ActivityId = (0, smithy_client_1.expectString)(output["ActivityId"]);
|
|
5638
5638
|
}
|
|
5639
5639
|
if (output["AutoScalingGroupName"] !== undefined) {
|
|
5640
|
-
contents.AutoScalingGroupName = smithy_client_1.expectString(output["AutoScalingGroupName"]);
|
|
5640
|
+
contents.AutoScalingGroupName = (0, smithy_client_1.expectString)(output["AutoScalingGroupName"]);
|
|
5641
5641
|
}
|
|
5642
5642
|
if (output["Description"] !== undefined) {
|
|
5643
|
-
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
5643
|
+
contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
|
|
5644
5644
|
}
|
|
5645
5645
|
if (output["Cause"] !== undefined) {
|
|
5646
|
-
contents.Cause = smithy_client_1.expectString(output["Cause"]);
|
|
5646
|
+
contents.Cause = (0, smithy_client_1.expectString)(output["Cause"]);
|
|
5647
5647
|
}
|
|
5648
5648
|
if (output["StartTime"] !== undefined) {
|
|
5649
|
-
contents.StartTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["StartTime"]));
|
|
5649
|
+
contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["StartTime"]));
|
|
5650
5650
|
}
|
|
5651
5651
|
if (output["EndTime"] !== undefined) {
|
|
5652
|
-
contents.EndTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EndTime"]));
|
|
5652
|
+
contents.EndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["EndTime"]));
|
|
5653
5653
|
}
|
|
5654
5654
|
if (output["StatusCode"] !== undefined) {
|
|
5655
|
-
contents.StatusCode = smithy_client_1.expectString(output["StatusCode"]);
|
|
5655
|
+
contents.StatusCode = (0, smithy_client_1.expectString)(output["StatusCode"]);
|
|
5656
5656
|
}
|
|
5657
5657
|
if (output["StatusMessage"] !== undefined) {
|
|
5658
|
-
contents.StatusMessage = smithy_client_1.expectString(output["StatusMessage"]);
|
|
5658
|
+
contents.StatusMessage = (0, smithy_client_1.expectString)(output["StatusMessage"]);
|
|
5659
5659
|
}
|
|
5660
5660
|
if (output["Progress"] !== undefined) {
|
|
5661
|
-
contents.Progress = smithy_client_1.strictParseInt32(output["Progress"]);
|
|
5661
|
+
contents.Progress = (0, smithy_client_1.strictParseInt32)(output["Progress"]);
|
|
5662
5662
|
}
|
|
5663
5663
|
if (output["Details"] !== undefined) {
|
|
5664
|
-
contents.Details = smithy_client_1.expectString(output["Details"]);
|
|
5664
|
+
contents.Details = (0, smithy_client_1.expectString)(output["Details"]);
|
|
5665
5665
|
}
|
|
5666
5666
|
if (output["AutoScalingGroupState"] !== undefined) {
|
|
5667
|
-
contents.AutoScalingGroupState = smithy_client_1.expectString(output["AutoScalingGroupState"]);
|
|
5667
|
+
contents.AutoScalingGroupState = (0, smithy_client_1.expectString)(output["AutoScalingGroupState"]);
|
|
5668
5668
|
}
|
|
5669
5669
|
if (output["AutoScalingGroupARN"] !== undefined) {
|
|
5670
|
-
contents.AutoScalingGroupARN = smithy_client_1.expectString(output["AutoScalingGroupARN"]);
|
|
5670
|
+
contents.AutoScalingGroupARN = (0, smithy_client_1.expectString)(output["AutoScalingGroupARN"]);
|
|
5671
5671
|
}
|
|
5672
5672
|
return contents;
|
|
5673
5673
|
};
|
|
@@ -5685,7 +5685,7 @@ const deserializeAws_queryAdjustmentType = (output, context) => {
|
|
|
5685
5685
|
AdjustmentType: undefined,
|
|
5686
5686
|
};
|
|
5687
5687
|
if (output["AdjustmentType"] !== undefined) {
|
|
5688
|
-
contents.AdjustmentType = smithy_client_1.expectString(output["AdjustmentType"]);
|
|
5688
|
+
contents.AdjustmentType = (0, smithy_client_1.expectString)(output["AdjustmentType"]);
|
|
5689
5689
|
}
|
|
5690
5690
|
return contents;
|
|
5691
5691
|
};
|
|
@@ -5705,10 +5705,10 @@ const deserializeAws_queryAlarm = (output, context) => {
|
|
|
5705
5705
|
AlarmARN: undefined,
|
|
5706
5706
|
};
|
|
5707
5707
|
if (output["AlarmName"] !== undefined) {
|
|
5708
|
-
contents.AlarmName = smithy_client_1.expectString(output["AlarmName"]);
|
|
5708
|
+
contents.AlarmName = (0, smithy_client_1.expectString)(output["AlarmName"]);
|
|
5709
5709
|
}
|
|
5710
5710
|
if (output["AlarmARN"] !== undefined) {
|
|
5711
|
-
contents.AlarmARN = smithy_client_1.expectString(output["AlarmARN"]);
|
|
5711
|
+
contents.AlarmARN = (0, smithy_client_1.expectString)(output["AlarmARN"]);
|
|
5712
5712
|
}
|
|
5713
5713
|
return contents;
|
|
5714
5714
|
};
|
|
@@ -5727,7 +5727,7 @@ const deserializeAws_queryAlreadyExistsFault = (output, context) => {
|
|
|
5727
5727
|
message: undefined,
|
|
5728
5728
|
};
|
|
5729
5729
|
if (output["message"] !== undefined) {
|
|
5730
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
5730
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
5731
5731
|
}
|
|
5732
5732
|
return contents;
|
|
5733
5733
|
};
|
|
@@ -5775,13 +5775,13 @@ const deserializeAws_queryAutoScalingGroup = (output, context) => {
|
|
|
5775
5775
|
DesiredCapacityType: undefined,
|
|
5776
5776
|
};
|
|
5777
5777
|
if (output["AutoScalingGroupName"] !== undefined) {
|
|
5778
|
-
contents.AutoScalingGroupName = smithy_client_1.expectString(output["AutoScalingGroupName"]);
|
|
5778
|
+
contents.AutoScalingGroupName = (0, smithy_client_1.expectString)(output["AutoScalingGroupName"]);
|
|
5779
5779
|
}
|
|
5780
5780
|
if (output["AutoScalingGroupARN"] !== undefined) {
|
|
5781
|
-
contents.AutoScalingGroupARN = smithy_client_1.expectString(output["AutoScalingGroupARN"]);
|
|
5781
|
+
contents.AutoScalingGroupARN = (0, smithy_client_1.expectString)(output["AutoScalingGroupARN"]);
|
|
5782
5782
|
}
|
|
5783
5783
|
if (output["LaunchConfigurationName"] !== undefined) {
|
|
5784
|
-
contents.LaunchConfigurationName = smithy_client_1.expectString(output["LaunchConfigurationName"]);
|
|
5784
|
+
contents.LaunchConfigurationName = (0, smithy_client_1.expectString)(output["LaunchConfigurationName"]);
|
|
5785
5785
|
}
|
|
5786
5786
|
if (output["LaunchTemplate"] !== undefined) {
|
|
5787
5787
|
contents.LaunchTemplate = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplate"], context);
|
|
@@ -5790,109 +5790,109 @@ const deserializeAws_queryAutoScalingGroup = (output, context) => {
|
|
|
5790
5790
|
contents.MixedInstancesPolicy = deserializeAws_queryMixedInstancesPolicy(output["MixedInstancesPolicy"], context);
|
|
5791
5791
|
}
|
|
5792
5792
|
if (output["MinSize"] !== undefined) {
|
|
5793
|
-
contents.MinSize = smithy_client_1.strictParseInt32(output["MinSize"]);
|
|
5793
|
+
contents.MinSize = (0, smithy_client_1.strictParseInt32)(output["MinSize"]);
|
|
5794
5794
|
}
|
|
5795
5795
|
if (output["MaxSize"] !== undefined) {
|
|
5796
|
-
contents.MaxSize = smithy_client_1.strictParseInt32(output["MaxSize"]);
|
|
5796
|
+
contents.MaxSize = (0, smithy_client_1.strictParseInt32)(output["MaxSize"]);
|
|
5797
5797
|
}
|
|
5798
5798
|
if (output["DesiredCapacity"] !== undefined) {
|
|
5799
|
-
contents.DesiredCapacity = smithy_client_1.strictParseInt32(output["DesiredCapacity"]);
|
|
5799
|
+
contents.DesiredCapacity = (0, smithy_client_1.strictParseInt32)(output["DesiredCapacity"]);
|
|
5800
5800
|
}
|
|
5801
5801
|
if (output["PredictedCapacity"] !== undefined) {
|
|
5802
|
-
contents.PredictedCapacity = smithy_client_1.strictParseInt32(output["PredictedCapacity"]);
|
|
5802
|
+
contents.PredictedCapacity = (0, smithy_client_1.strictParseInt32)(output["PredictedCapacity"]);
|
|
5803
5803
|
}
|
|
5804
5804
|
if (output["DefaultCooldown"] !== undefined) {
|
|
5805
|
-
contents.DefaultCooldown = smithy_client_1.strictParseInt32(output["DefaultCooldown"]);
|
|
5805
|
+
contents.DefaultCooldown = (0, smithy_client_1.strictParseInt32)(output["DefaultCooldown"]);
|
|
5806
5806
|
}
|
|
5807
5807
|
if (output.AvailabilityZones === "") {
|
|
5808
5808
|
contents.AvailabilityZones = [];
|
|
5809
5809
|
}
|
|
5810
5810
|
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
5811
|
-
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["member"]), context);
|
|
5811
|
+
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones((0, smithy_client_1.getArrayIfSingleItem)(output["AvailabilityZones"]["member"]), context);
|
|
5812
5812
|
}
|
|
5813
5813
|
if (output.LoadBalancerNames === "") {
|
|
5814
5814
|
contents.LoadBalancerNames = [];
|
|
5815
5815
|
}
|
|
5816
5816
|
if (output["LoadBalancerNames"] !== undefined && output["LoadBalancerNames"]["member"] !== undefined) {
|
|
5817
|
-
contents.LoadBalancerNames = deserializeAws_queryLoadBalancerNames(smithy_client_1.getArrayIfSingleItem(output["LoadBalancerNames"]["member"]), context);
|
|
5817
|
+
contents.LoadBalancerNames = deserializeAws_queryLoadBalancerNames((0, smithy_client_1.getArrayIfSingleItem)(output["LoadBalancerNames"]["member"]), context);
|
|
5818
5818
|
}
|
|
5819
5819
|
if (output.TargetGroupARNs === "") {
|
|
5820
5820
|
contents.TargetGroupARNs = [];
|
|
5821
5821
|
}
|
|
5822
5822
|
if (output["TargetGroupARNs"] !== undefined && output["TargetGroupARNs"]["member"] !== undefined) {
|
|
5823
|
-
contents.TargetGroupARNs = deserializeAws_queryTargetGroupARNs(smithy_client_1.getArrayIfSingleItem(output["TargetGroupARNs"]["member"]), context);
|
|
5823
|
+
contents.TargetGroupARNs = deserializeAws_queryTargetGroupARNs((0, smithy_client_1.getArrayIfSingleItem)(output["TargetGroupARNs"]["member"]), context);
|
|
5824
5824
|
}
|
|
5825
5825
|
if (output["HealthCheckType"] !== undefined) {
|
|
5826
|
-
contents.HealthCheckType = smithy_client_1.expectString(output["HealthCheckType"]);
|
|
5826
|
+
contents.HealthCheckType = (0, smithy_client_1.expectString)(output["HealthCheckType"]);
|
|
5827
5827
|
}
|
|
5828
5828
|
if (output["HealthCheckGracePeriod"] !== undefined) {
|
|
5829
|
-
contents.HealthCheckGracePeriod = smithy_client_1.strictParseInt32(output["HealthCheckGracePeriod"]);
|
|
5829
|
+
contents.HealthCheckGracePeriod = (0, smithy_client_1.strictParseInt32)(output["HealthCheckGracePeriod"]);
|
|
5830
5830
|
}
|
|
5831
5831
|
if (output.Instances === "") {
|
|
5832
5832
|
contents.Instances = [];
|
|
5833
5833
|
}
|
|
5834
5834
|
if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
5835
|
-
contents.Instances = deserializeAws_queryInstances(smithy_client_1.getArrayIfSingleItem(output["Instances"]["member"]), context);
|
|
5835
|
+
contents.Instances = deserializeAws_queryInstances((0, smithy_client_1.getArrayIfSingleItem)(output["Instances"]["member"]), context);
|
|
5836
5836
|
}
|
|
5837
5837
|
if (output["CreatedTime"] !== undefined) {
|
|
5838
|
-
contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedTime"]));
|
|
5838
|
+
contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreatedTime"]));
|
|
5839
5839
|
}
|
|
5840
5840
|
if (output.SuspendedProcesses === "") {
|
|
5841
5841
|
contents.SuspendedProcesses = [];
|
|
5842
5842
|
}
|
|
5843
5843
|
if (output["SuspendedProcesses"] !== undefined && output["SuspendedProcesses"]["member"] !== undefined) {
|
|
5844
|
-
contents.SuspendedProcesses = deserializeAws_querySuspendedProcesses(smithy_client_1.getArrayIfSingleItem(output["SuspendedProcesses"]["member"]), context);
|
|
5844
|
+
contents.SuspendedProcesses = deserializeAws_querySuspendedProcesses((0, smithy_client_1.getArrayIfSingleItem)(output["SuspendedProcesses"]["member"]), context);
|
|
5845
5845
|
}
|
|
5846
5846
|
if (output["PlacementGroup"] !== undefined) {
|
|
5847
|
-
contents.PlacementGroup = smithy_client_1.expectString(output["PlacementGroup"]);
|
|
5847
|
+
contents.PlacementGroup = (0, smithy_client_1.expectString)(output["PlacementGroup"]);
|
|
5848
5848
|
}
|
|
5849
5849
|
if (output["VPCZoneIdentifier"] !== undefined) {
|
|
5850
|
-
contents.VPCZoneIdentifier = smithy_client_1.expectString(output["VPCZoneIdentifier"]);
|
|
5850
|
+
contents.VPCZoneIdentifier = (0, smithy_client_1.expectString)(output["VPCZoneIdentifier"]);
|
|
5851
5851
|
}
|
|
5852
5852
|
if (output.EnabledMetrics === "") {
|
|
5853
5853
|
contents.EnabledMetrics = [];
|
|
5854
5854
|
}
|
|
5855
5855
|
if (output["EnabledMetrics"] !== undefined && output["EnabledMetrics"]["member"] !== undefined) {
|
|
5856
|
-
contents.EnabledMetrics = deserializeAws_queryEnabledMetrics(smithy_client_1.getArrayIfSingleItem(output["EnabledMetrics"]["member"]), context);
|
|
5856
|
+
contents.EnabledMetrics = deserializeAws_queryEnabledMetrics((0, smithy_client_1.getArrayIfSingleItem)(output["EnabledMetrics"]["member"]), context);
|
|
5857
5857
|
}
|
|
5858
5858
|
if (output["Status"] !== undefined) {
|
|
5859
|
-
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
5859
|
+
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
5860
5860
|
}
|
|
5861
5861
|
if (output.Tags === "") {
|
|
5862
5862
|
contents.Tags = [];
|
|
5863
5863
|
}
|
|
5864
5864
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
5865
|
-
contents.Tags = deserializeAws_queryTagDescriptionList(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
5865
|
+
contents.Tags = deserializeAws_queryTagDescriptionList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
|
|
5866
5866
|
}
|
|
5867
5867
|
if (output.TerminationPolicies === "") {
|
|
5868
5868
|
contents.TerminationPolicies = [];
|
|
5869
5869
|
}
|
|
5870
5870
|
if (output["TerminationPolicies"] !== undefined && output["TerminationPolicies"]["member"] !== undefined) {
|
|
5871
|
-
contents.TerminationPolicies = deserializeAws_queryTerminationPolicies(smithy_client_1.getArrayIfSingleItem(output["TerminationPolicies"]["member"]), context);
|
|
5871
|
+
contents.TerminationPolicies = deserializeAws_queryTerminationPolicies((0, smithy_client_1.getArrayIfSingleItem)(output["TerminationPolicies"]["member"]), context);
|
|
5872
5872
|
}
|
|
5873
5873
|
if (output["NewInstancesProtectedFromScaleIn"] !== undefined) {
|
|
5874
|
-
contents.NewInstancesProtectedFromScaleIn = smithy_client_1.parseBoolean(output["NewInstancesProtectedFromScaleIn"]);
|
|
5874
|
+
contents.NewInstancesProtectedFromScaleIn = (0, smithy_client_1.parseBoolean)(output["NewInstancesProtectedFromScaleIn"]);
|
|
5875
5875
|
}
|
|
5876
5876
|
if (output["ServiceLinkedRoleARN"] !== undefined) {
|
|
5877
|
-
contents.ServiceLinkedRoleARN = smithy_client_1.expectString(output["ServiceLinkedRoleARN"]);
|
|
5877
|
+
contents.ServiceLinkedRoleARN = (0, smithy_client_1.expectString)(output["ServiceLinkedRoleARN"]);
|
|
5878
5878
|
}
|
|
5879
5879
|
if (output["MaxInstanceLifetime"] !== undefined) {
|
|
5880
|
-
contents.MaxInstanceLifetime = smithy_client_1.strictParseInt32(output["MaxInstanceLifetime"]);
|
|
5880
|
+
contents.MaxInstanceLifetime = (0, smithy_client_1.strictParseInt32)(output["MaxInstanceLifetime"]);
|
|
5881
5881
|
}
|
|
5882
5882
|
if (output["CapacityRebalance"] !== undefined) {
|
|
5883
|
-
contents.CapacityRebalance = smithy_client_1.parseBoolean(output["CapacityRebalance"]);
|
|
5883
|
+
contents.CapacityRebalance = (0, smithy_client_1.parseBoolean)(output["CapacityRebalance"]);
|
|
5884
5884
|
}
|
|
5885
5885
|
if (output["WarmPoolConfiguration"] !== undefined) {
|
|
5886
5886
|
contents.WarmPoolConfiguration = deserializeAws_queryWarmPoolConfiguration(output["WarmPoolConfiguration"], context);
|
|
5887
5887
|
}
|
|
5888
5888
|
if (output["WarmPoolSize"] !== undefined) {
|
|
5889
|
-
contents.WarmPoolSize = smithy_client_1.strictParseInt32(output["WarmPoolSize"]);
|
|
5889
|
+
contents.WarmPoolSize = (0, smithy_client_1.strictParseInt32)(output["WarmPoolSize"]);
|
|
5890
5890
|
}
|
|
5891
5891
|
if (output["Context"] !== undefined) {
|
|
5892
|
-
contents.Context = smithy_client_1.expectString(output["Context"]);
|
|
5892
|
+
contents.Context = (0, smithy_client_1.expectString)(output["Context"]);
|
|
5893
5893
|
}
|
|
5894
5894
|
if (output["DesiredCapacityType"] !== undefined) {
|
|
5895
|
-
contents.DesiredCapacityType = smithy_client_1.expectString(output["DesiredCapacityType"]);
|
|
5895
|
+
contents.DesiredCapacityType = (0, smithy_client_1.expectString)(output["DesiredCapacityType"]);
|
|
5896
5896
|
}
|
|
5897
5897
|
return contents;
|
|
5898
5898
|
};
|
|
@@ -5915,10 +5915,10 @@ const deserializeAws_queryAutoScalingGroupsType = (output, context) => {
|
|
|
5915
5915
|
contents.AutoScalingGroups = [];
|
|
5916
5916
|
}
|
|
5917
5917
|
if (output["AutoScalingGroups"] !== undefined && output["AutoScalingGroups"]["member"] !== undefined) {
|
|
5918
|
-
contents.AutoScalingGroups = deserializeAws_queryAutoScalingGroups(smithy_client_1.getArrayIfSingleItem(output["AutoScalingGroups"]["member"]), context);
|
|
5918
|
+
contents.AutoScalingGroups = deserializeAws_queryAutoScalingGroups((0, smithy_client_1.getArrayIfSingleItem)(output["AutoScalingGroups"]["member"]), context);
|
|
5919
5919
|
}
|
|
5920
5920
|
if (output["NextToken"] !== undefined) {
|
|
5921
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
5921
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
5922
5922
|
}
|
|
5923
5923
|
return contents;
|
|
5924
5924
|
};
|
|
@@ -5936,34 +5936,34 @@ const deserializeAws_queryAutoScalingInstanceDetails = (output, context) => {
|
|
|
5936
5936
|
WeightedCapacity: undefined,
|
|
5937
5937
|
};
|
|
5938
5938
|
if (output["InstanceId"] !== undefined) {
|
|
5939
|
-
contents.InstanceId = smithy_client_1.expectString(output["InstanceId"]);
|
|
5939
|
+
contents.InstanceId = (0, smithy_client_1.expectString)(output["InstanceId"]);
|
|
5940
5940
|
}
|
|
5941
5941
|
if (output["InstanceType"] !== undefined) {
|
|
5942
|
-
contents.InstanceType = smithy_client_1.expectString(output["InstanceType"]);
|
|
5942
|
+
contents.InstanceType = (0, smithy_client_1.expectString)(output["InstanceType"]);
|
|
5943
5943
|
}
|
|
5944
5944
|
if (output["AutoScalingGroupName"] !== undefined) {
|
|
5945
|
-
contents.AutoScalingGroupName = smithy_client_1.expectString(output["AutoScalingGroupName"]);
|
|
5945
|
+
contents.AutoScalingGroupName = (0, smithy_client_1.expectString)(output["AutoScalingGroupName"]);
|
|
5946
5946
|
}
|
|
5947
5947
|
if (output["AvailabilityZone"] !== undefined) {
|
|
5948
|
-
contents.AvailabilityZone = smithy_client_1.expectString(output["AvailabilityZone"]);
|
|
5948
|
+
contents.AvailabilityZone = (0, smithy_client_1.expectString)(output["AvailabilityZone"]);
|
|
5949
5949
|
}
|
|
5950
5950
|
if (output["LifecycleState"] !== undefined) {
|
|
5951
|
-
contents.LifecycleState = smithy_client_1.expectString(output["LifecycleState"]);
|
|
5951
|
+
contents.LifecycleState = (0, smithy_client_1.expectString)(output["LifecycleState"]);
|
|
5952
5952
|
}
|
|
5953
5953
|
if (output["HealthStatus"] !== undefined) {
|
|
5954
|
-
contents.HealthStatus = smithy_client_1.expectString(output["HealthStatus"]);
|
|
5954
|
+
contents.HealthStatus = (0, smithy_client_1.expectString)(output["HealthStatus"]);
|
|
5955
5955
|
}
|
|
5956
5956
|
if (output["LaunchConfigurationName"] !== undefined) {
|
|
5957
|
-
contents.LaunchConfigurationName = smithy_client_1.expectString(output["LaunchConfigurationName"]);
|
|
5957
|
+
contents.LaunchConfigurationName = (0, smithy_client_1.expectString)(output["LaunchConfigurationName"]);
|
|
5958
5958
|
}
|
|
5959
5959
|
if (output["LaunchTemplate"] !== undefined) {
|
|
5960
5960
|
contents.LaunchTemplate = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplate"], context);
|
|
5961
5961
|
}
|
|
5962
5962
|
if (output["ProtectedFromScaleIn"] !== undefined) {
|
|
5963
|
-
contents.ProtectedFromScaleIn = smithy_client_1.parseBoolean(output["ProtectedFromScaleIn"]);
|
|
5963
|
+
contents.ProtectedFromScaleIn = (0, smithy_client_1.parseBoolean)(output["ProtectedFromScaleIn"]);
|
|
5964
5964
|
}
|
|
5965
5965
|
if (output["WeightedCapacity"] !== undefined) {
|
|
5966
|
-
contents.WeightedCapacity = smithy_client_1.expectString(output["WeightedCapacity"]);
|
|
5966
|
+
contents.WeightedCapacity = (0, smithy_client_1.expectString)(output["WeightedCapacity"]);
|
|
5967
5967
|
}
|
|
5968
5968
|
return contents;
|
|
5969
5969
|
};
|
|
@@ -5986,10 +5986,10 @@ const deserializeAws_queryAutoScalingInstancesType = (output, context) => {
|
|
|
5986
5986
|
contents.AutoScalingInstances = [];
|
|
5987
5987
|
}
|
|
5988
5988
|
if (output["AutoScalingInstances"] !== undefined && output["AutoScalingInstances"]["member"] !== undefined) {
|
|
5989
|
-
contents.AutoScalingInstances = deserializeAws_queryAutoScalingInstances(smithy_client_1.getArrayIfSingleItem(output["AutoScalingInstances"]["member"]), context);
|
|
5989
|
+
contents.AutoScalingInstances = deserializeAws_queryAutoScalingInstances((0, smithy_client_1.getArrayIfSingleItem)(output["AutoScalingInstances"]["member"]), context);
|
|
5990
5990
|
}
|
|
5991
5991
|
if (output["NextToken"] !== undefined) {
|
|
5992
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
5992
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
5993
5993
|
}
|
|
5994
5994
|
return contents;
|
|
5995
5995
|
};
|
|
@@ -6000,7 +6000,7 @@ const deserializeAws_queryAutoScalingNotificationTypes = (output, context) => {
|
|
|
6000
6000
|
if (entry === null) {
|
|
6001
6001
|
return null;
|
|
6002
6002
|
}
|
|
6003
|
-
return smithy_client_1.expectString(entry);
|
|
6003
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6004
6004
|
});
|
|
6005
6005
|
};
|
|
6006
6006
|
const deserializeAws_queryAvailabilityZones = (output, context) => {
|
|
@@ -6010,7 +6010,7 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
|
|
|
6010
6010
|
if (entry === null) {
|
|
6011
6011
|
return null;
|
|
6012
6012
|
}
|
|
6013
|
-
return smithy_client_1.expectString(entry);
|
|
6013
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6014
6014
|
});
|
|
6015
6015
|
};
|
|
6016
6016
|
const deserializeAws_queryBaselineEbsBandwidthMbpsRequest = (output, context) => {
|
|
@@ -6019,10 +6019,10 @@ const deserializeAws_queryBaselineEbsBandwidthMbpsRequest = (output, context) =>
|
|
|
6019
6019
|
Max: undefined,
|
|
6020
6020
|
};
|
|
6021
6021
|
if (output["Min"] !== undefined) {
|
|
6022
|
-
contents.Min = smithy_client_1.strictParseInt32(output["Min"]);
|
|
6022
|
+
contents.Min = (0, smithy_client_1.strictParseInt32)(output["Min"]);
|
|
6023
6023
|
}
|
|
6024
6024
|
if (output["Max"] !== undefined) {
|
|
6025
|
-
contents.Max = smithy_client_1.strictParseInt32(output["Max"]);
|
|
6025
|
+
contents.Max = (0, smithy_client_1.strictParseInt32)(output["Max"]);
|
|
6026
6026
|
}
|
|
6027
6027
|
return contents;
|
|
6028
6028
|
};
|
|
@@ -6034,7 +6034,7 @@ const deserializeAws_queryBatchDeleteScheduledActionAnswer = (output, context) =
|
|
|
6034
6034
|
contents.FailedScheduledActions = [];
|
|
6035
6035
|
}
|
|
6036
6036
|
if (output["FailedScheduledActions"] !== undefined && output["FailedScheduledActions"]["member"] !== undefined) {
|
|
6037
|
-
contents.FailedScheduledActions = deserializeAws_queryFailedScheduledUpdateGroupActionRequests(smithy_client_1.getArrayIfSingleItem(output["FailedScheduledActions"]["member"]), context);
|
|
6037
|
+
contents.FailedScheduledActions = deserializeAws_queryFailedScheduledUpdateGroupActionRequests((0, smithy_client_1.getArrayIfSingleItem)(output["FailedScheduledActions"]["member"]), context);
|
|
6038
6038
|
}
|
|
6039
6039
|
return contents;
|
|
6040
6040
|
};
|
|
@@ -6047,7 +6047,7 @@ const deserializeAws_queryBatchPutScheduledUpdateGroupActionAnswer = (output, co
|
|
|
6047
6047
|
}
|
|
6048
6048
|
if (output["FailedScheduledUpdateGroupActions"] !== undefined &&
|
|
6049
6049
|
output["FailedScheduledUpdateGroupActions"]["member"] !== undefined) {
|
|
6050
|
-
contents.FailedScheduledUpdateGroupActions = deserializeAws_queryFailedScheduledUpdateGroupActionRequests(smithy_client_1.getArrayIfSingleItem(output["FailedScheduledUpdateGroupActions"]["member"]), context);
|
|
6050
|
+
contents.FailedScheduledUpdateGroupActions = deserializeAws_queryFailedScheduledUpdateGroupActionRequests((0, smithy_client_1.getArrayIfSingleItem)(output["FailedScheduledUpdateGroupActions"]["member"]), context);
|
|
6051
6051
|
}
|
|
6052
6052
|
return contents;
|
|
6053
6053
|
};
|
|
@@ -6059,16 +6059,16 @@ const deserializeAws_queryBlockDeviceMapping = (output, context) => {
|
|
|
6059
6059
|
NoDevice: undefined,
|
|
6060
6060
|
};
|
|
6061
6061
|
if (output["VirtualName"] !== undefined) {
|
|
6062
|
-
contents.VirtualName = smithy_client_1.expectString(output["VirtualName"]);
|
|
6062
|
+
contents.VirtualName = (0, smithy_client_1.expectString)(output["VirtualName"]);
|
|
6063
6063
|
}
|
|
6064
6064
|
if (output["DeviceName"] !== undefined) {
|
|
6065
|
-
contents.DeviceName = smithy_client_1.expectString(output["DeviceName"]);
|
|
6065
|
+
contents.DeviceName = (0, smithy_client_1.expectString)(output["DeviceName"]);
|
|
6066
6066
|
}
|
|
6067
6067
|
if (output["Ebs"] !== undefined) {
|
|
6068
6068
|
contents.Ebs = deserializeAws_queryEbs(output["Ebs"], context);
|
|
6069
6069
|
}
|
|
6070
6070
|
if (output["NoDevice"] !== undefined) {
|
|
6071
|
-
contents.NoDevice = smithy_client_1.parseBoolean(output["NoDevice"]);
|
|
6071
|
+
contents.NoDevice = (0, smithy_client_1.parseBoolean)(output["NoDevice"]);
|
|
6072
6072
|
}
|
|
6073
6073
|
return contents;
|
|
6074
6074
|
};
|
|
@@ -6087,7 +6087,7 @@ const deserializeAws_queryCancelInstanceRefreshAnswer = (output, context) => {
|
|
|
6087
6087
|
InstanceRefreshId: undefined,
|
|
6088
6088
|
};
|
|
6089
6089
|
if (output["InstanceRefreshId"] !== undefined) {
|
|
6090
|
-
contents.InstanceRefreshId = smithy_client_1.expectString(output["InstanceRefreshId"]);
|
|
6090
|
+
contents.InstanceRefreshId = (0, smithy_client_1.expectString)(output["InstanceRefreshId"]);
|
|
6091
6091
|
}
|
|
6092
6092
|
return contents;
|
|
6093
6093
|
};
|
|
@@ -6100,13 +6100,13 @@ const deserializeAws_queryCapacityForecast = (output, context) => {
|
|
|
6100
6100
|
contents.Timestamps = [];
|
|
6101
6101
|
}
|
|
6102
6102
|
if (output["Timestamps"] !== undefined && output["Timestamps"]["member"] !== undefined) {
|
|
6103
|
-
contents.Timestamps = deserializeAws_queryPredictiveScalingForecastTimestamps(smithy_client_1.getArrayIfSingleItem(output["Timestamps"]["member"]), context);
|
|
6103
|
+
contents.Timestamps = deserializeAws_queryPredictiveScalingForecastTimestamps((0, smithy_client_1.getArrayIfSingleItem)(output["Timestamps"]["member"]), context);
|
|
6104
6104
|
}
|
|
6105
6105
|
if (output.Values === "") {
|
|
6106
6106
|
contents.Values = [];
|
|
6107
6107
|
}
|
|
6108
6108
|
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
6109
|
-
contents.Values = deserializeAws_queryPredictiveScalingForecastValues(smithy_client_1.getArrayIfSingleItem(output["Values"]["member"]), context);
|
|
6109
|
+
contents.Values = deserializeAws_queryPredictiveScalingForecastValues((0, smithy_client_1.getArrayIfSingleItem)(output["Values"]["member"]), context);
|
|
6110
6110
|
}
|
|
6111
6111
|
return contents;
|
|
6112
6112
|
};
|
|
@@ -6117,7 +6117,7 @@ const deserializeAws_queryCheckpointPercentages = (output, context) => {
|
|
|
6117
6117
|
if (entry === null) {
|
|
6118
6118
|
return null;
|
|
6119
6119
|
}
|
|
6120
|
-
return smithy_client_1.strictParseInt32(entry);
|
|
6120
|
+
return (0, smithy_client_1.strictParseInt32)(entry);
|
|
6121
6121
|
});
|
|
6122
6122
|
};
|
|
6123
6123
|
const deserializeAws_queryClassicLinkVPCSecurityGroups = (output, context) => {
|
|
@@ -6127,7 +6127,7 @@ const deserializeAws_queryClassicLinkVPCSecurityGroups = (output, context) => {
|
|
|
6127
6127
|
if (entry === null) {
|
|
6128
6128
|
return null;
|
|
6129
6129
|
}
|
|
6130
|
-
return smithy_client_1.expectString(entry);
|
|
6130
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6131
6131
|
});
|
|
6132
6132
|
};
|
|
6133
6133
|
const deserializeAws_queryCompleteLifecycleActionAnswer = (output, context) => {
|
|
@@ -6141,7 +6141,7 @@ const deserializeAws_queryCpuManufacturers = (output, context) => {
|
|
|
6141
6141
|
if (entry === null) {
|
|
6142
6142
|
return null;
|
|
6143
6143
|
}
|
|
6144
|
-
return smithy_client_1.expectString(entry);
|
|
6144
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6145
6145
|
});
|
|
6146
6146
|
};
|
|
6147
6147
|
const deserializeAws_queryCustomizedMetricSpecification = (output, context) => {
|
|
@@ -6153,22 +6153,22 @@ const deserializeAws_queryCustomizedMetricSpecification = (output, context) => {
|
|
|
6153
6153
|
Unit: undefined,
|
|
6154
6154
|
};
|
|
6155
6155
|
if (output["MetricName"] !== undefined) {
|
|
6156
|
-
contents.MetricName = smithy_client_1.expectString(output["MetricName"]);
|
|
6156
|
+
contents.MetricName = (0, smithy_client_1.expectString)(output["MetricName"]);
|
|
6157
6157
|
}
|
|
6158
6158
|
if (output["Namespace"] !== undefined) {
|
|
6159
|
-
contents.Namespace = smithy_client_1.expectString(output["Namespace"]);
|
|
6159
|
+
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
6160
6160
|
}
|
|
6161
6161
|
if (output.Dimensions === "") {
|
|
6162
6162
|
contents.Dimensions = [];
|
|
6163
6163
|
}
|
|
6164
6164
|
if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
6165
|
-
contents.Dimensions = deserializeAws_queryMetricDimensions(smithy_client_1.getArrayIfSingleItem(output["Dimensions"]["member"]), context);
|
|
6165
|
+
contents.Dimensions = deserializeAws_queryMetricDimensions((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["member"]), context);
|
|
6166
6166
|
}
|
|
6167
6167
|
if (output["Statistic"] !== undefined) {
|
|
6168
|
-
contents.Statistic = smithy_client_1.expectString(output["Statistic"]);
|
|
6168
|
+
contents.Statistic = (0, smithy_client_1.expectString)(output["Statistic"]);
|
|
6169
6169
|
}
|
|
6170
6170
|
if (output["Unit"] !== undefined) {
|
|
6171
|
-
contents.Unit = smithy_client_1.expectString(output["Unit"]);
|
|
6171
|
+
contents.Unit = (0, smithy_client_1.expectString)(output["Unit"]);
|
|
6172
6172
|
}
|
|
6173
6173
|
return contents;
|
|
6174
6174
|
};
|
|
@@ -6188,16 +6188,16 @@ const deserializeAws_queryDescribeAccountLimitsAnswer = (output, context) => {
|
|
|
6188
6188
|
NumberOfLaunchConfigurations: undefined,
|
|
6189
6189
|
};
|
|
6190
6190
|
if (output["MaxNumberOfAutoScalingGroups"] !== undefined) {
|
|
6191
|
-
contents.MaxNumberOfAutoScalingGroups = smithy_client_1.strictParseInt32(output["MaxNumberOfAutoScalingGroups"]);
|
|
6191
|
+
contents.MaxNumberOfAutoScalingGroups = (0, smithy_client_1.strictParseInt32)(output["MaxNumberOfAutoScalingGroups"]);
|
|
6192
6192
|
}
|
|
6193
6193
|
if (output["MaxNumberOfLaunchConfigurations"] !== undefined) {
|
|
6194
|
-
contents.MaxNumberOfLaunchConfigurations = smithy_client_1.strictParseInt32(output["MaxNumberOfLaunchConfigurations"]);
|
|
6194
|
+
contents.MaxNumberOfLaunchConfigurations = (0, smithy_client_1.strictParseInt32)(output["MaxNumberOfLaunchConfigurations"]);
|
|
6195
6195
|
}
|
|
6196
6196
|
if (output["NumberOfAutoScalingGroups"] !== undefined) {
|
|
6197
|
-
contents.NumberOfAutoScalingGroups = smithy_client_1.strictParseInt32(output["NumberOfAutoScalingGroups"]);
|
|
6197
|
+
contents.NumberOfAutoScalingGroups = (0, smithy_client_1.strictParseInt32)(output["NumberOfAutoScalingGroups"]);
|
|
6198
6198
|
}
|
|
6199
6199
|
if (output["NumberOfLaunchConfigurations"] !== undefined) {
|
|
6200
|
-
contents.NumberOfLaunchConfigurations = smithy_client_1.strictParseInt32(output["NumberOfLaunchConfigurations"]);
|
|
6200
|
+
contents.NumberOfLaunchConfigurations = (0, smithy_client_1.strictParseInt32)(output["NumberOfLaunchConfigurations"]);
|
|
6201
6201
|
}
|
|
6202
6202
|
return contents;
|
|
6203
6203
|
};
|
|
@@ -6209,7 +6209,7 @@ const deserializeAws_queryDescribeAdjustmentTypesAnswer = (output, context) => {
|
|
|
6209
6209
|
contents.AdjustmentTypes = [];
|
|
6210
6210
|
}
|
|
6211
6211
|
if (output["AdjustmentTypes"] !== undefined && output["AdjustmentTypes"]["member"] !== undefined) {
|
|
6212
|
-
contents.AdjustmentTypes = deserializeAws_queryAdjustmentTypes(smithy_client_1.getArrayIfSingleItem(output["AdjustmentTypes"]["member"]), context);
|
|
6212
|
+
contents.AdjustmentTypes = deserializeAws_queryAdjustmentTypes((0, smithy_client_1.getArrayIfSingleItem)(output["AdjustmentTypes"]["member"]), context);
|
|
6213
6213
|
}
|
|
6214
6214
|
return contents;
|
|
6215
6215
|
};
|
|
@@ -6222,7 +6222,7 @@ const deserializeAws_queryDescribeAutoScalingNotificationTypesAnswer = (output,
|
|
|
6222
6222
|
}
|
|
6223
6223
|
if (output["AutoScalingNotificationTypes"] !== undefined &&
|
|
6224
6224
|
output["AutoScalingNotificationTypes"]["member"] !== undefined) {
|
|
6225
|
-
contents.AutoScalingNotificationTypes = deserializeAws_queryAutoScalingNotificationTypes(smithy_client_1.getArrayIfSingleItem(output["AutoScalingNotificationTypes"]["member"]), context);
|
|
6225
|
+
contents.AutoScalingNotificationTypes = deserializeAws_queryAutoScalingNotificationTypes((0, smithy_client_1.getArrayIfSingleItem)(output["AutoScalingNotificationTypes"]["member"]), context);
|
|
6226
6226
|
}
|
|
6227
6227
|
return contents;
|
|
6228
6228
|
};
|
|
@@ -6235,10 +6235,10 @@ const deserializeAws_queryDescribeInstanceRefreshesAnswer = (output, context) =>
|
|
|
6235
6235
|
contents.InstanceRefreshes = [];
|
|
6236
6236
|
}
|
|
6237
6237
|
if (output["InstanceRefreshes"] !== undefined && output["InstanceRefreshes"]["member"] !== undefined) {
|
|
6238
|
-
contents.InstanceRefreshes = deserializeAws_queryInstanceRefreshes(smithy_client_1.getArrayIfSingleItem(output["InstanceRefreshes"]["member"]), context);
|
|
6238
|
+
contents.InstanceRefreshes = deserializeAws_queryInstanceRefreshes((0, smithy_client_1.getArrayIfSingleItem)(output["InstanceRefreshes"]["member"]), context);
|
|
6239
6239
|
}
|
|
6240
6240
|
if (output["NextToken"] !== undefined) {
|
|
6241
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
6241
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
6242
6242
|
}
|
|
6243
6243
|
return contents;
|
|
6244
6244
|
};
|
|
@@ -6250,7 +6250,7 @@ const deserializeAws_queryDescribeLifecycleHooksAnswer = (output, context) => {
|
|
|
6250
6250
|
contents.LifecycleHooks = [];
|
|
6251
6251
|
}
|
|
6252
6252
|
if (output["LifecycleHooks"] !== undefined && output["LifecycleHooks"]["member"] !== undefined) {
|
|
6253
|
-
contents.LifecycleHooks = deserializeAws_queryLifecycleHooks(smithy_client_1.getArrayIfSingleItem(output["LifecycleHooks"]["member"]), context);
|
|
6253
|
+
contents.LifecycleHooks = deserializeAws_queryLifecycleHooks((0, smithy_client_1.getArrayIfSingleItem)(output["LifecycleHooks"]["member"]), context);
|
|
6254
6254
|
}
|
|
6255
6255
|
return contents;
|
|
6256
6256
|
};
|
|
@@ -6262,7 +6262,7 @@ const deserializeAws_queryDescribeLifecycleHookTypesAnswer = (output, context) =
|
|
|
6262
6262
|
contents.LifecycleHookTypes = [];
|
|
6263
6263
|
}
|
|
6264
6264
|
if (output["LifecycleHookTypes"] !== undefined && output["LifecycleHookTypes"]["member"] !== undefined) {
|
|
6265
|
-
contents.LifecycleHookTypes = deserializeAws_queryAutoScalingNotificationTypes(smithy_client_1.getArrayIfSingleItem(output["LifecycleHookTypes"]["member"]), context);
|
|
6265
|
+
contents.LifecycleHookTypes = deserializeAws_queryAutoScalingNotificationTypes((0, smithy_client_1.getArrayIfSingleItem)(output["LifecycleHookTypes"]["member"]), context);
|
|
6266
6266
|
}
|
|
6267
6267
|
return contents;
|
|
6268
6268
|
};
|
|
@@ -6275,10 +6275,10 @@ const deserializeAws_queryDescribeLoadBalancersResponse = (output, context) => {
|
|
|
6275
6275
|
contents.LoadBalancers = [];
|
|
6276
6276
|
}
|
|
6277
6277
|
if (output["LoadBalancers"] !== undefined && output["LoadBalancers"]["member"] !== undefined) {
|
|
6278
|
-
contents.LoadBalancers = deserializeAws_queryLoadBalancerStates(smithy_client_1.getArrayIfSingleItem(output["LoadBalancers"]["member"]), context);
|
|
6278
|
+
contents.LoadBalancers = deserializeAws_queryLoadBalancerStates((0, smithy_client_1.getArrayIfSingleItem)(output["LoadBalancers"]["member"]), context);
|
|
6279
6279
|
}
|
|
6280
6280
|
if (output["NextToken"] !== undefined) {
|
|
6281
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
6281
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
6282
6282
|
}
|
|
6283
6283
|
return contents;
|
|
6284
6284
|
};
|
|
@@ -6291,10 +6291,10 @@ const deserializeAws_queryDescribeLoadBalancerTargetGroupsResponse = (output, co
|
|
|
6291
6291
|
contents.LoadBalancerTargetGroups = [];
|
|
6292
6292
|
}
|
|
6293
6293
|
if (output["LoadBalancerTargetGroups"] !== undefined && output["LoadBalancerTargetGroups"]["member"] !== undefined) {
|
|
6294
|
-
contents.LoadBalancerTargetGroups = deserializeAws_queryLoadBalancerTargetGroupStates(smithy_client_1.getArrayIfSingleItem(output["LoadBalancerTargetGroups"]["member"]), context);
|
|
6294
|
+
contents.LoadBalancerTargetGroups = deserializeAws_queryLoadBalancerTargetGroupStates((0, smithy_client_1.getArrayIfSingleItem)(output["LoadBalancerTargetGroups"]["member"]), context);
|
|
6295
6295
|
}
|
|
6296
6296
|
if (output["NextToken"] !== undefined) {
|
|
6297
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
6297
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
6298
6298
|
}
|
|
6299
6299
|
return contents;
|
|
6300
6300
|
};
|
|
@@ -6307,13 +6307,13 @@ const deserializeAws_queryDescribeMetricCollectionTypesAnswer = (output, context
|
|
|
6307
6307
|
contents.Metrics = [];
|
|
6308
6308
|
}
|
|
6309
6309
|
if (output["Metrics"] !== undefined && output["Metrics"]["member"] !== undefined) {
|
|
6310
|
-
contents.Metrics = deserializeAws_queryMetricCollectionTypes(smithy_client_1.getArrayIfSingleItem(output["Metrics"]["member"]), context);
|
|
6310
|
+
contents.Metrics = deserializeAws_queryMetricCollectionTypes((0, smithy_client_1.getArrayIfSingleItem)(output["Metrics"]["member"]), context);
|
|
6311
6311
|
}
|
|
6312
6312
|
if (output.Granularities === "") {
|
|
6313
6313
|
contents.Granularities = [];
|
|
6314
6314
|
}
|
|
6315
6315
|
if (output["Granularities"] !== undefined && output["Granularities"]["member"] !== undefined) {
|
|
6316
|
-
contents.Granularities = deserializeAws_queryMetricGranularityTypes(smithy_client_1.getArrayIfSingleItem(output["Granularities"]["member"]), context);
|
|
6316
|
+
contents.Granularities = deserializeAws_queryMetricGranularityTypes((0, smithy_client_1.getArrayIfSingleItem)(output["Granularities"]["member"]), context);
|
|
6317
6317
|
}
|
|
6318
6318
|
return contents;
|
|
6319
6319
|
};
|
|
@@ -6327,10 +6327,10 @@ const deserializeAws_queryDescribeNotificationConfigurationsAnswer = (output, co
|
|
|
6327
6327
|
}
|
|
6328
6328
|
if (output["NotificationConfigurations"] !== undefined &&
|
|
6329
6329
|
output["NotificationConfigurations"]["member"] !== undefined) {
|
|
6330
|
-
contents.NotificationConfigurations = deserializeAws_queryNotificationConfigurations(smithy_client_1.getArrayIfSingleItem(output["NotificationConfigurations"]["member"]), context);
|
|
6330
|
+
contents.NotificationConfigurations = deserializeAws_queryNotificationConfigurations((0, smithy_client_1.getArrayIfSingleItem)(output["NotificationConfigurations"]["member"]), context);
|
|
6331
6331
|
}
|
|
6332
6332
|
if (output["NextToken"] !== undefined) {
|
|
6333
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
6333
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
6334
6334
|
}
|
|
6335
6335
|
return contents;
|
|
6336
6336
|
};
|
|
@@ -6342,7 +6342,7 @@ const deserializeAws_queryDescribeTerminationPolicyTypesAnswer = (output, contex
|
|
|
6342
6342
|
contents.TerminationPolicyTypes = [];
|
|
6343
6343
|
}
|
|
6344
6344
|
if (output["TerminationPolicyTypes"] !== undefined && output["TerminationPolicyTypes"]["member"] !== undefined) {
|
|
6345
|
-
contents.TerminationPolicyTypes = deserializeAws_queryTerminationPolicies(smithy_client_1.getArrayIfSingleItem(output["TerminationPolicyTypes"]["member"]), context);
|
|
6345
|
+
contents.TerminationPolicyTypes = deserializeAws_queryTerminationPolicies((0, smithy_client_1.getArrayIfSingleItem)(output["TerminationPolicyTypes"]["member"]), context);
|
|
6346
6346
|
}
|
|
6347
6347
|
return contents;
|
|
6348
6348
|
};
|
|
@@ -6359,10 +6359,10 @@ const deserializeAws_queryDescribeWarmPoolAnswer = (output, context) => {
|
|
|
6359
6359
|
contents.Instances = [];
|
|
6360
6360
|
}
|
|
6361
6361
|
if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
6362
|
-
contents.Instances = deserializeAws_queryInstances(smithy_client_1.getArrayIfSingleItem(output["Instances"]["member"]), context);
|
|
6362
|
+
contents.Instances = deserializeAws_queryInstances((0, smithy_client_1.getArrayIfSingleItem)(output["Instances"]["member"]), context);
|
|
6363
6363
|
}
|
|
6364
6364
|
if (output["NextToken"] !== undefined) {
|
|
6365
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
6365
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
6366
6366
|
}
|
|
6367
6367
|
return contents;
|
|
6368
6368
|
};
|
|
@@ -6387,7 +6387,7 @@ const deserializeAws_queryDetachInstancesAnswer = (output, context) => {
|
|
|
6387
6387
|
contents.Activities = [];
|
|
6388
6388
|
}
|
|
6389
6389
|
if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
6390
|
-
contents.Activities = deserializeAws_queryActivities(smithy_client_1.getArrayIfSingleItem(output["Activities"]["member"]), context);
|
|
6390
|
+
contents.Activities = deserializeAws_queryActivities((0, smithy_client_1.getArrayIfSingleItem)(output["Activities"]["member"]), context);
|
|
6391
6391
|
}
|
|
6392
6392
|
return contents;
|
|
6393
6393
|
};
|
|
@@ -6410,25 +6410,25 @@ const deserializeAws_queryEbs = (output, context) => {
|
|
|
6410
6410
|
Throughput: undefined,
|
|
6411
6411
|
};
|
|
6412
6412
|
if (output["SnapshotId"] !== undefined) {
|
|
6413
|
-
contents.SnapshotId = smithy_client_1.expectString(output["SnapshotId"]);
|
|
6413
|
+
contents.SnapshotId = (0, smithy_client_1.expectString)(output["SnapshotId"]);
|
|
6414
6414
|
}
|
|
6415
6415
|
if (output["VolumeSize"] !== undefined) {
|
|
6416
|
-
contents.VolumeSize = smithy_client_1.strictParseInt32(output["VolumeSize"]);
|
|
6416
|
+
contents.VolumeSize = (0, smithy_client_1.strictParseInt32)(output["VolumeSize"]);
|
|
6417
6417
|
}
|
|
6418
6418
|
if (output["VolumeType"] !== undefined) {
|
|
6419
|
-
contents.VolumeType = smithy_client_1.expectString(output["VolumeType"]);
|
|
6419
|
+
contents.VolumeType = (0, smithy_client_1.expectString)(output["VolumeType"]);
|
|
6420
6420
|
}
|
|
6421
6421
|
if (output["DeleteOnTermination"] !== undefined) {
|
|
6422
|
-
contents.DeleteOnTermination = smithy_client_1.parseBoolean(output["DeleteOnTermination"]);
|
|
6422
|
+
contents.DeleteOnTermination = (0, smithy_client_1.parseBoolean)(output["DeleteOnTermination"]);
|
|
6423
6423
|
}
|
|
6424
6424
|
if (output["Iops"] !== undefined) {
|
|
6425
|
-
contents.Iops = smithy_client_1.strictParseInt32(output["Iops"]);
|
|
6425
|
+
contents.Iops = (0, smithy_client_1.strictParseInt32)(output["Iops"]);
|
|
6426
6426
|
}
|
|
6427
6427
|
if (output["Encrypted"] !== undefined) {
|
|
6428
|
-
contents.Encrypted = smithy_client_1.parseBoolean(output["Encrypted"]);
|
|
6428
|
+
contents.Encrypted = (0, smithy_client_1.parseBoolean)(output["Encrypted"]);
|
|
6429
6429
|
}
|
|
6430
6430
|
if (output["Throughput"] !== undefined) {
|
|
6431
|
-
contents.Throughput = smithy_client_1.strictParseInt32(output["Throughput"]);
|
|
6431
|
+
contents.Throughput = (0, smithy_client_1.strictParseInt32)(output["Throughput"]);
|
|
6432
6432
|
}
|
|
6433
6433
|
return contents;
|
|
6434
6434
|
};
|
|
@@ -6438,10 +6438,10 @@ const deserializeAws_queryEnabledMetric = (output, context) => {
|
|
|
6438
6438
|
Granularity: undefined,
|
|
6439
6439
|
};
|
|
6440
6440
|
if (output["Metric"] !== undefined) {
|
|
6441
|
-
contents.Metric = smithy_client_1.expectString(output["Metric"]);
|
|
6441
|
+
contents.Metric = (0, smithy_client_1.expectString)(output["Metric"]);
|
|
6442
6442
|
}
|
|
6443
6443
|
if (output["Granularity"] !== undefined) {
|
|
6444
|
-
contents.Granularity = smithy_client_1.expectString(output["Granularity"]);
|
|
6444
|
+
contents.Granularity = (0, smithy_client_1.expectString)(output["Granularity"]);
|
|
6445
6445
|
}
|
|
6446
6446
|
return contents;
|
|
6447
6447
|
};
|
|
@@ -6463,7 +6463,7 @@ const deserializeAws_queryEnterStandbyAnswer = (output, context) => {
|
|
|
6463
6463
|
contents.Activities = [];
|
|
6464
6464
|
}
|
|
6465
6465
|
if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
6466
|
-
contents.Activities = deserializeAws_queryActivities(smithy_client_1.getArrayIfSingleItem(output["Activities"]["member"]), context);
|
|
6466
|
+
contents.Activities = deserializeAws_queryActivities((0, smithy_client_1.getArrayIfSingleItem)(output["Activities"]["member"]), context);
|
|
6467
6467
|
}
|
|
6468
6468
|
return contents;
|
|
6469
6469
|
};
|
|
@@ -6474,7 +6474,7 @@ const deserializeAws_queryExcludedInstanceTypes = (output, context) => {
|
|
|
6474
6474
|
if (entry === null) {
|
|
6475
6475
|
return null;
|
|
6476
6476
|
}
|
|
6477
|
-
return smithy_client_1.expectString(entry);
|
|
6477
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6478
6478
|
});
|
|
6479
6479
|
};
|
|
6480
6480
|
const deserializeAws_queryExitStandbyAnswer = (output, context) => {
|
|
@@ -6485,7 +6485,7 @@ const deserializeAws_queryExitStandbyAnswer = (output, context) => {
|
|
|
6485
6485
|
contents.Activities = [];
|
|
6486
6486
|
}
|
|
6487
6487
|
if (output["Activities"] !== undefined && output["Activities"]["member"] !== undefined) {
|
|
6488
|
-
contents.Activities = deserializeAws_queryActivities(smithy_client_1.getArrayIfSingleItem(output["Activities"]["member"]), context);
|
|
6488
|
+
contents.Activities = deserializeAws_queryActivities((0, smithy_client_1.getArrayIfSingleItem)(output["Activities"]["member"]), context);
|
|
6489
6489
|
}
|
|
6490
6490
|
return contents;
|
|
6491
6491
|
};
|
|
@@ -6496,13 +6496,13 @@ const deserializeAws_queryFailedScheduledUpdateGroupActionRequest = (output, con
|
|
|
6496
6496
|
ErrorMessage: undefined,
|
|
6497
6497
|
};
|
|
6498
6498
|
if (output["ScheduledActionName"] !== undefined) {
|
|
6499
|
-
contents.ScheduledActionName = smithy_client_1.expectString(output["ScheduledActionName"]);
|
|
6499
|
+
contents.ScheduledActionName = (0, smithy_client_1.expectString)(output["ScheduledActionName"]);
|
|
6500
6500
|
}
|
|
6501
6501
|
if (output["ErrorCode"] !== undefined) {
|
|
6502
|
-
contents.ErrorCode = smithy_client_1.expectString(output["ErrorCode"]);
|
|
6502
|
+
contents.ErrorCode = (0, smithy_client_1.expectString)(output["ErrorCode"]);
|
|
6503
6503
|
}
|
|
6504
6504
|
if (output["ErrorMessage"] !== undefined) {
|
|
6505
|
-
contents.ErrorMessage = smithy_client_1.expectString(output["ErrorMessage"]);
|
|
6505
|
+
contents.ErrorMessage = (0, smithy_client_1.expectString)(output["ErrorMessage"]);
|
|
6506
6506
|
}
|
|
6507
6507
|
return contents;
|
|
6508
6508
|
};
|
|
@@ -6526,13 +6526,13 @@ const deserializeAws_queryGetPredictiveScalingForecastAnswer = (output, context)
|
|
|
6526
6526
|
contents.LoadForecast = [];
|
|
6527
6527
|
}
|
|
6528
6528
|
if (output["LoadForecast"] !== undefined && output["LoadForecast"]["member"] !== undefined) {
|
|
6529
|
-
contents.LoadForecast = deserializeAws_queryLoadForecasts(smithy_client_1.getArrayIfSingleItem(output["LoadForecast"]["member"]), context);
|
|
6529
|
+
contents.LoadForecast = deserializeAws_queryLoadForecasts((0, smithy_client_1.getArrayIfSingleItem)(output["LoadForecast"]["member"]), context);
|
|
6530
6530
|
}
|
|
6531
6531
|
if (output["CapacityForecast"] !== undefined) {
|
|
6532
6532
|
contents.CapacityForecast = deserializeAws_queryCapacityForecast(output["CapacityForecast"], context);
|
|
6533
6533
|
}
|
|
6534
6534
|
if (output["UpdateTime"] !== undefined) {
|
|
6535
|
-
contents.UpdateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UpdateTime"]));
|
|
6535
|
+
contents.UpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["UpdateTime"]));
|
|
6536
6536
|
}
|
|
6537
6537
|
return contents;
|
|
6538
6538
|
};
|
|
@@ -6549,31 +6549,31 @@ const deserializeAws_queryInstance = (output, context) => {
|
|
|
6549
6549
|
WeightedCapacity: undefined,
|
|
6550
6550
|
};
|
|
6551
6551
|
if (output["InstanceId"] !== undefined) {
|
|
6552
|
-
contents.InstanceId = smithy_client_1.expectString(output["InstanceId"]);
|
|
6552
|
+
contents.InstanceId = (0, smithy_client_1.expectString)(output["InstanceId"]);
|
|
6553
6553
|
}
|
|
6554
6554
|
if (output["InstanceType"] !== undefined) {
|
|
6555
|
-
contents.InstanceType = smithy_client_1.expectString(output["InstanceType"]);
|
|
6555
|
+
contents.InstanceType = (0, smithy_client_1.expectString)(output["InstanceType"]);
|
|
6556
6556
|
}
|
|
6557
6557
|
if (output["AvailabilityZone"] !== undefined) {
|
|
6558
|
-
contents.AvailabilityZone = smithy_client_1.expectString(output["AvailabilityZone"]);
|
|
6558
|
+
contents.AvailabilityZone = (0, smithy_client_1.expectString)(output["AvailabilityZone"]);
|
|
6559
6559
|
}
|
|
6560
6560
|
if (output["LifecycleState"] !== undefined) {
|
|
6561
|
-
contents.LifecycleState = smithy_client_1.expectString(output["LifecycleState"]);
|
|
6561
|
+
contents.LifecycleState = (0, smithy_client_1.expectString)(output["LifecycleState"]);
|
|
6562
6562
|
}
|
|
6563
6563
|
if (output["HealthStatus"] !== undefined) {
|
|
6564
|
-
contents.HealthStatus = smithy_client_1.expectString(output["HealthStatus"]);
|
|
6564
|
+
contents.HealthStatus = (0, smithy_client_1.expectString)(output["HealthStatus"]);
|
|
6565
6565
|
}
|
|
6566
6566
|
if (output["LaunchConfigurationName"] !== undefined) {
|
|
6567
|
-
contents.LaunchConfigurationName = smithy_client_1.expectString(output["LaunchConfigurationName"]);
|
|
6567
|
+
contents.LaunchConfigurationName = (0, smithy_client_1.expectString)(output["LaunchConfigurationName"]);
|
|
6568
6568
|
}
|
|
6569
6569
|
if (output["LaunchTemplate"] !== undefined) {
|
|
6570
6570
|
contents.LaunchTemplate = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplate"], context);
|
|
6571
6571
|
}
|
|
6572
6572
|
if (output["ProtectedFromScaleIn"] !== undefined) {
|
|
6573
|
-
contents.ProtectedFromScaleIn = smithy_client_1.parseBoolean(output["ProtectedFromScaleIn"]);
|
|
6573
|
+
contents.ProtectedFromScaleIn = (0, smithy_client_1.parseBoolean)(output["ProtectedFromScaleIn"]);
|
|
6574
6574
|
}
|
|
6575
6575
|
if (output["WeightedCapacity"] !== undefined) {
|
|
6576
|
-
contents.WeightedCapacity = smithy_client_1.expectString(output["WeightedCapacity"]);
|
|
6576
|
+
contents.WeightedCapacity = (0, smithy_client_1.expectString)(output["WeightedCapacity"]);
|
|
6577
6577
|
}
|
|
6578
6578
|
return contents;
|
|
6579
6579
|
};
|
|
@@ -6584,7 +6584,7 @@ const deserializeAws_queryInstanceGenerations = (output, context) => {
|
|
|
6584
6584
|
if (entry === null) {
|
|
6585
6585
|
return null;
|
|
6586
6586
|
}
|
|
6587
|
-
return smithy_client_1.expectString(entry);
|
|
6587
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6588
6588
|
});
|
|
6589
6589
|
};
|
|
6590
6590
|
const deserializeAws_queryInstanceMetadataOptions = (output, context) => {
|
|
@@ -6594,13 +6594,13 @@ const deserializeAws_queryInstanceMetadataOptions = (output, context) => {
|
|
|
6594
6594
|
HttpEndpoint: undefined,
|
|
6595
6595
|
};
|
|
6596
6596
|
if (output["HttpTokens"] !== undefined) {
|
|
6597
|
-
contents.HttpTokens = smithy_client_1.expectString(output["HttpTokens"]);
|
|
6597
|
+
contents.HttpTokens = (0, smithy_client_1.expectString)(output["HttpTokens"]);
|
|
6598
6598
|
}
|
|
6599
6599
|
if (output["HttpPutResponseHopLimit"] !== undefined) {
|
|
6600
|
-
contents.HttpPutResponseHopLimit = smithy_client_1.strictParseInt32(output["HttpPutResponseHopLimit"]);
|
|
6600
|
+
contents.HttpPutResponseHopLimit = (0, smithy_client_1.strictParseInt32)(output["HttpPutResponseHopLimit"]);
|
|
6601
6601
|
}
|
|
6602
6602
|
if (output["HttpEndpoint"] !== undefined) {
|
|
6603
|
-
contents.HttpEndpoint = smithy_client_1.expectString(output["HttpEndpoint"]);
|
|
6603
|
+
contents.HttpEndpoint = (0, smithy_client_1.expectString)(output["HttpEndpoint"]);
|
|
6604
6604
|
}
|
|
6605
6605
|
return contents;
|
|
6606
6606
|
};
|
|
@@ -6609,7 +6609,7 @@ const deserializeAws_queryInstanceMonitoring = (output, context) => {
|
|
|
6609
6609
|
Enabled: undefined,
|
|
6610
6610
|
};
|
|
6611
6611
|
if (output["Enabled"] !== undefined) {
|
|
6612
|
-
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
6612
|
+
contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
|
|
6613
6613
|
}
|
|
6614
6614
|
return contents;
|
|
6615
6615
|
};
|
|
@@ -6628,28 +6628,28 @@ const deserializeAws_queryInstanceRefresh = (output, context) => {
|
|
|
6628
6628
|
DesiredConfiguration: undefined,
|
|
6629
6629
|
};
|
|
6630
6630
|
if (output["InstanceRefreshId"] !== undefined) {
|
|
6631
|
-
contents.InstanceRefreshId = smithy_client_1.expectString(output["InstanceRefreshId"]);
|
|
6631
|
+
contents.InstanceRefreshId = (0, smithy_client_1.expectString)(output["InstanceRefreshId"]);
|
|
6632
6632
|
}
|
|
6633
6633
|
if (output["AutoScalingGroupName"] !== undefined) {
|
|
6634
|
-
contents.AutoScalingGroupName = smithy_client_1.expectString(output["AutoScalingGroupName"]);
|
|
6634
|
+
contents.AutoScalingGroupName = (0, smithy_client_1.expectString)(output["AutoScalingGroupName"]);
|
|
6635
6635
|
}
|
|
6636
6636
|
if (output["Status"] !== undefined) {
|
|
6637
|
-
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
6637
|
+
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
6638
6638
|
}
|
|
6639
6639
|
if (output["StatusReason"] !== undefined) {
|
|
6640
|
-
contents.StatusReason = smithy_client_1.expectString(output["StatusReason"]);
|
|
6640
|
+
contents.StatusReason = (0, smithy_client_1.expectString)(output["StatusReason"]);
|
|
6641
6641
|
}
|
|
6642
6642
|
if (output["StartTime"] !== undefined) {
|
|
6643
|
-
contents.StartTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["StartTime"]));
|
|
6643
|
+
contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["StartTime"]));
|
|
6644
6644
|
}
|
|
6645
6645
|
if (output["EndTime"] !== undefined) {
|
|
6646
|
-
contents.EndTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EndTime"]));
|
|
6646
|
+
contents.EndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["EndTime"]));
|
|
6647
6647
|
}
|
|
6648
6648
|
if (output["PercentageComplete"] !== undefined) {
|
|
6649
|
-
contents.PercentageComplete = smithy_client_1.strictParseInt32(output["PercentageComplete"]);
|
|
6649
|
+
contents.PercentageComplete = (0, smithy_client_1.strictParseInt32)(output["PercentageComplete"]);
|
|
6650
6650
|
}
|
|
6651
6651
|
if (output["InstancesToUpdate"] !== undefined) {
|
|
6652
|
-
contents.InstancesToUpdate = smithy_client_1.strictParseInt32(output["InstancesToUpdate"]);
|
|
6652
|
+
contents.InstancesToUpdate = (0, smithy_client_1.strictParseInt32)(output["InstancesToUpdate"]);
|
|
6653
6653
|
}
|
|
6654
6654
|
if (output["ProgressDetails"] !== undefined) {
|
|
6655
6655
|
contents.ProgressDetails = deserializeAws_queryInstanceRefreshProgressDetails(output["ProgressDetails"], context);
|
|
@@ -6677,7 +6677,7 @@ const deserializeAws_queryInstanceRefreshInProgressFault = (output, context) =>
|
|
|
6677
6677
|
message: undefined,
|
|
6678
6678
|
};
|
|
6679
6679
|
if (output["message"] !== undefined) {
|
|
6680
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6680
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
6681
6681
|
}
|
|
6682
6682
|
return contents;
|
|
6683
6683
|
};
|
|
@@ -6687,10 +6687,10 @@ const deserializeAws_queryInstanceRefreshLivePoolProgress = (output, context) =>
|
|
|
6687
6687
|
InstancesToUpdate: undefined,
|
|
6688
6688
|
};
|
|
6689
6689
|
if (output["PercentageComplete"] !== undefined) {
|
|
6690
|
-
contents.PercentageComplete = smithy_client_1.strictParseInt32(output["PercentageComplete"]);
|
|
6690
|
+
contents.PercentageComplete = (0, smithy_client_1.strictParseInt32)(output["PercentageComplete"]);
|
|
6691
6691
|
}
|
|
6692
6692
|
if (output["InstancesToUpdate"] !== undefined) {
|
|
6693
|
-
contents.InstancesToUpdate = smithy_client_1.strictParseInt32(output["InstancesToUpdate"]);
|
|
6693
|
+
contents.InstancesToUpdate = (0, smithy_client_1.strictParseInt32)(output["InstancesToUpdate"]);
|
|
6694
6694
|
}
|
|
6695
6695
|
return contents;
|
|
6696
6696
|
};
|
|
@@ -6713,10 +6713,10 @@ const deserializeAws_queryInstanceRefreshWarmPoolProgress = (output, context) =>
|
|
|
6713
6713
|
InstancesToUpdate: undefined,
|
|
6714
6714
|
};
|
|
6715
6715
|
if (output["PercentageComplete"] !== undefined) {
|
|
6716
|
-
contents.PercentageComplete = smithy_client_1.strictParseInt32(output["PercentageComplete"]);
|
|
6716
|
+
contents.PercentageComplete = (0, smithy_client_1.strictParseInt32)(output["PercentageComplete"]);
|
|
6717
6717
|
}
|
|
6718
6718
|
if (output["InstancesToUpdate"] !== undefined) {
|
|
6719
|
-
contents.InstancesToUpdate = smithy_client_1.strictParseInt32(output["InstancesToUpdate"]);
|
|
6719
|
+
contents.InstancesToUpdate = (0, smithy_client_1.strictParseInt32)(output["InstancesToUpdate"]);
|
|
6720
6720
|
}
|
|
6721
6721
|
return contents;
|
|
6722
6722
|
};
|
|
@@ -6754,7 +6754,7 @@ const deserializeAws_queryInstanceRequirements = (output, context) => {
|
|
|
6754
6754
|
contents.CpuManufacturers = [];
|
|
6755
6755
|
}
|
|
6756
6756
|
if (output["CpuManufacturers"] !== undefined && output["CpuManufacturers"]["member"] !== undefined) {
|
|
6757
|
-
contents.CpuManufacturers = deserializeAws_queryCpuManufacturers(smithy_client_1.getArrayIfSingleItem(output["CpuManufacturers"]["member"]), context);
|
|
6757
|
+
contents.CpuManufacturers = deserializeAws_queryCpuManufacturers((0, smithy_client_1.getArrayIfSingleItem)(output["CpuManufacturers"]["member"]), context);
|
|
6758
6758
|
}
|
|
6759
6759
|
if (output["MemoryGiBPerVCpu"] !== undefined) {
|
|
6760
6760
|
contents.MemoryGiBPerVCpu = deserializeAws_queryMemoryGiBPerVCpuRequest(output["MemoryGiBPerVCpu"], context);
|
|
@@ -6763,40 +6763,40 @@ const deserializeAws_queryInstanceRequirements = (output, context) => {
|
|
|
6763
6763
|
contents.ExcludedInstanceTypes = [];
|
|
6764
6764
|
}
|
|
6765
6765
|
if (output["ExcludedInstanceTypes"] !== undefined && output["ExcludedInstanceTypes"]["member"] !== undefined) {
|
|
6766
|
-
contents.ExcludedInstanceTypes = deserializeAws_queryExcludedInstanceTypes(smithy_client_1.getArrayIfSingleItem(output["ExcludedInstanceTypes"]["member"]), context);
|
|
6766
|
+
contents.ExcludedInstanceTypes = deserializeAws_queryExcludedInstanceTypes((0, smithy_client_1.getArrayIfSingleItem)(output["ExcludedInstanceTypes"]["member"]), context);
|
|
6767
6767
|
}
|
|
6768
6768
|
if (output.InstanceGenerations === "") {
|
|
6769
6769
|
contents.InstanceGenerations = [];
|
|
6770
6770
|
}
|
|
6771
6771
|
if (output["InstanceGenerations"] !== undefined && output["InstanceGenerations"]["member"] !== undefined) {
|
|
6772
|
-
contents.InstanceGenerations = deserializeAws_queryInstanceGenerations(smithy_client_1.getArrayIfSingleItem(output["InstanceGenerations"]["member"]), context);
|
|
6772
|
+
contents.InstanceGenerations = deserializeAws_queryInstanceGenerations((0, smithy_client_1.getArrayIfSingleItem)(output["InstanceGenerations"]["member"]), context);
|
|
6773
6773
|
}
|
|
6774
6774
|
if (output["SpotMaxPricePercentageOverLowestPrice"] !== undefined) {
|
|
6775
|
-
contents.SpotMaxPricePercentageOverLowestPrice = smithy_client_1.strictParseInt32(output["SpotMaxPricePercentageOverLowestPrice"]);
|
|
6775
|
+
contents.SpotMaxPricePercentageOverLowestPrice = (0, smithy_client_1.strictParseInt32)(output["SpotMaxPricePercentageOverLowestPrice"]);
|
|
6776
6776
|
}
|
|
6777
6777
|
if (output["OnDemandMaxPricePercentageOverLowestPrice"] !== undefined) {
|
|
6778
|
-
contents.OnDemandMaxPricePercentageOverLowestPrice = smithy_client_1.strictParseInt32(output["OnDemandMaxPricePercentageOverLowestPrice"]);
|
|
6778
|
+
contents.OnDemandMaxPricePercentageOverLowestPrice = (0, smithy_client_1.strictParseInt32)(output["OnDemandMaxPricePercentageOverLowestPrice"]);
|
|
6779
6779
|
}
|
|
6780
6780
|
if (output["BareMetal"] !== undefined) {
|
|
6781
|
-
contents.BareMetal = smithy_client_1.expectString(output["BareMetal"]);
|
|
6781
|
+
contents.BareMetal = (0, smithy_client_1.expectString)(output["BareMetal"]);
|
|
6782
6782
|
}
|
|
6783
6783
|
if (output["BurstablePerformance"] !== undefined) {
|
|
6784
|
-
contents.BurstablePerformance = smithy_client_1.expectString(output["BurstablePerformance"]);
|
|
6784
|
+
contents.BurstablePerformance = (0, smithy_client_1.expectString)(output["BurstablePerformance"]);
|
|
6785
6785
|
}
|
|
6786
6786
|
if (output["RequireHibernateSupport"] !== undefined) {
|
|
6787
|
-
contents.RequireHibernateSupport = smithy_client_1.parseBoolean(output["RequireHibernateSupport"]);
|
|
6787
|
+
contents.RequireHibernateSupport = (0, smithy_client_1.parseBoolean)(output["RequireHibernateSupport"]);
|
|
6788
6788
|
}
|
|
6789
6789
|
if (output["NetworkInterfaceCount"] !== undefined) {
|
|
6790
6790
|
contents.NetworkInterfaceCount = deserializeAws_queryNetworkInterfaceCountRequest(output["NetworkInterfaceCount"], context);
|
|
6791
6791
|
}
|
|
6792
6792
|
if (output["LocalStorage"] !== undefined) {
|
|
6793
|
-
contents.LocalStorage = smithy_client_1.expectString(output["LocalStorage"]);
|
|
6793
|
+
contents.LocalStorage = (0, smithy_client_1.expectString)(output["LocalStorage"]);
|
|
6794
6794
|
}
|
|
6795
6795
|
if (output.LocalStorageTypes === "") {
|
|
6796
6796
|
contents.LocalStorageTypes = [];
|
|
6797
6797
|
}
|
|
6798
6798
|
if (output["LocalStorageTypes"] !== undefined && output["LocalStorageTypes"]["member"] !== undefined) {
|
|
6799
|
-
contents.LocalStorageTypes = deserializeAws_queryLocalStorageTypes(smithy_client_1.getArrayIfSingleItem(output["LocalStorageTypes"]["member"]), context);
|
|
6799
|
+
contents.LocalStorageTypes = deserializeAws_queryLocalStorageTypes((0, smithy_client_1.getArrayIfSingleItem)(output["LocalStorageTypes"]["member"]), context);
|
|
6800
6800
|
}
|
|
6801
6801
|
if (output["TotalLocalStorageGB"] !== undefined) {
|
|
6802
6802
|
contents.TotalLocalStorageGB = deserializeAws_queryTotalLocalStorageGBRequest(output["TotalLocalStorageGB"], context);
|
|
@@ -6808,7 +6808,7 @@ const deserializeAws_queryInstanceRequirements = (output, context) => {
|
|
|
6808
6808
|
contents.AcceleratorTypes = [];
|
|
6809
6809
|
}
|
|
6810
6810
|
if (output["AcceleratorTypes"] !== undefined && output["AcceleratorTypes"]["member"] !== undefined) {
|
|
6811
|
-
contents.AcceleratorTypes = deserializeAws_queryAcceleratorTypes(smithy_client_1.getArrayIfSingleItem(output["AcceleratorTypes"]["member"]), context);
|
|
6811
|
+
contents.AcceleratorTypes = deserializeAws_queryAcceleratorTypes((0, smithy_client_1.getArrayIfSingleItem)(output["AcceleratorTypes"]["member"]), context);
|
|
6812
6812
|
}
|
|
6813
6813
|
if (output["AcceleratorCount"] !== undefined) {
|
|
6814
6814
|
contents.AcceleratorCount = deserializeAws_queryAcceleratorCountRequest(output["AcceleratorCount"], context);
|
|
@@ -6817,13 +6817,13 @@ const deserializeAws_queryInstanceRequirements = (output, context) => {
|
|
|
6817
6817
|
contents.AcceleratorManufacturers = [];
|
|
6818
6818
|
}
|
|
6819
6819
|
if (output["AcceleratorManufacturers"] !== undefined && output["AcceleratorManufacturers"]["member"] !== undefined) {
|
|
6820
|
-
contents.AcceleratorManufacturers = deserializeAws_queryAcceleratorManufacturers(smithy_client_1.getArrayIfSingleItem(output["AcceleratorManufacturers"]["member"]), context);
|
|
6820
|
+
contents.AcceleratorManufacturers = deserializeAws_queryAcceleratorManufacturers((0, smithy_client_1.getArrayIfSingleItem)(output["AcceleratorManufacturers"]["member"]), context);
|
|
6821
6821
|
}
|
|
6822
6822
|
if (output.AcceleratorNames === "") {
|
|
6823
6823
|
contents.AcceleratorNames = [];
|
|
6824
6824
|
}
|
|
6825
6825
|
if (output["AcceleratorNames"] !== undefined && output["AcceleratorNames"]["member"] !== undefined) {
|
|
6826
|
-
contents.AcceleratorNames = deserializeAws_queryAcceleratorNames(smithy_client_1.getArrayIfSingleItem(output["AcceleratorNames"]["member"]), context);
|
|
6826
|
+
contents.AcceleratorNames = deserializeAws_queryAcceleratorNames((0, smithy_client_1.getArrayIfSingleItem)(output["AcceleratorNames"]["member"]), context);
|
|
6827
6827
|
}
|
|
6828
6828
|
if (output["AcceleratorTotalMemoryMiB"] !== undefined) {
|
|
6829
6829
|
contents.AcceleratorTotalMemoryMiB = deserializeAws_queryAcceleratorTotalMemoryMiBRequest(output["AcceleratorTotalMemoryMiB"], context);
|
|
@@ -6835,7 +6835,7 @@ const deserializeAws_queryInstanceReusePolicy = (output, context) => {
|
|
|
6835
6835
|
ReuseOnScaleIn: undefined,
|
|
6836
6836
|
};
|
|
6837
6837
|
if (output["ReuseOnScaleIn"] !== undefined) {
|
|
6838
|
-
contents.ReuseOnScaleIn = smithy_client_1.parseBoolean(output["ReuseOnScaleIn"]);
|
|
6838
|
+
contents.ReuseOnScaleIn = (0, smithy_client_1.parseBoolean)(output["ReuseOnScaleIn"]);
|
|
6839
6839
|
}
|
|
6840
6840
|
return contents;
|
|
6841
6841
|
};
|
|
@@ -6859,22 +6859,22 @@ const deserializeAws_queryInstancesDistribution = (output, context) => {
|
|
|
6859
6859
|
SpotMaxPrice: undefined,
|
|
6860
6860
|
};
|
|
6861
6861
|
if (output["OnDemandAllocationStrategy"] !== undefined) {
|
|
6862
|
-
contents.OnDemandAllocationStrategy = smithy_client_1.expectString(output["OnDemandAllocationStrategy"]);
|
|
6862
|
+
contents.OnDemandAllocationStrategy = (0, smithy_client_1.expectString)(output["OnDemandAllocationStrategy"]);
|
|
6863
6863
|
}
|
|
6864
6864
|
if (output["OnDemandBaseCapacity"] !== undefined) {
|
|
6865
|
-
contents.OnDemandBaseCapacity = smithy_client_1.strictParseInt32(output["OnDemandBaseCapacity"]);
|
|
6865
|
+
contents.OnDemandBaseCapacity = (0, smithy_client_1.strictParseInt32)(output["OnDemandBaseCapacity"]);
|
|
6866
6866
|
}
|
|
6867
6867
|
if (output["OnDemandPercentageAboveBaseCapacity"] !== undefined) {
|
|
6868
|
-
contents.OnDemandPercentageAboveBaseCapacity = smithy_client_1.strictParseInt32(output["OnDemandPercentageAboveBaseCapacity"]);
|
|
6868
|
+
contents.OnDemandPercentageAboveBaseCapacity = (0, smithy_client_1.strictParseInt32)(output["OnDemandPercentageAboveBaseCapacity"]);
|
|
6869
6869
|
}
|
|
6870
6870
|
if (output["SpotAllocationStrategy"] !== undefined) {
|
|
6871
|
-
contents.SpotAllocationStrategy = smithy_client_1.expectString(output["SpotAllocationStrategy"]);
|
|
6871
|
+
contents.SpotAllocationStrategy = (0, smithy_client_1.expectString)(output["SpotAllocationStrategy"]);
|
|
6872
6872
|
}
|
|
6873
6873
|
if (output["SpotInstancePools"] !== undefined) {
|
|
6874
|
-
contents.SpotInstancePools = smithy_client_1.strictParseInt32(output["SpotInstancePools"]);
|
|
6874
|
+
contents.SpotInstancePools = (0, smithy_client_1.strictParseInt32)(output["SpotInstancePools"]);
|
|
6875
6875
|
}
|
|
6876
6876
|
if (output["SpotMaxPrice"] !== undefined) {
|
|
6877
|
-
contents.SpotMaxPrice = smithy_client_1.expectString(output["SpotMaxPrice"]);
|
|
6877
|
+
contents.SpotMaxPrice = (0, smithy_client_1.expectString)(output["SpotMaxPrice"]);
|
|
6878
6878
|
}
|
|
6879
6879
|
return contents;
|
|
6880
6880
|
};
|
|
@@ -6883,7 +6883,7 @@ const deserializeAws_queryInvalidNextToken = (output, context) => {
|
|
|
6883
6883
|
message: undefined,
|
|
6884
6884
|
};
|
|
6885
6885
|
if (output["message"] !== undefined) {
|
|
6886
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6886
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
6887
6887
|
}
|
|
6888
6888
|
return contents;
|
|
6889
6889
|
};
|
|
@@ -6911,71 +6911,71 @@ const deserializeAws_queryLaunchConfiguration = (output, context) => {
|
|
|
6911
6911
|
MetadataOptions: undefined,
|
|
6912
6912
|
};
|
|
6913
6913
|
if (output["LaunchConfigurationName"] !== undefined) {
|
|
6914
|
-
contents.LaunchConfigurationName = smithy_client_1.expectString(output["LaunchConfigurationName"]);
|
|
6914
|
+
contents.LaunchConfigurationName = (0, smithy_client_1.expectString)(output["LaunchConfigurationName"]);
|
|
6915
6915
|
}
|
|
6916
6916
|
if (output["LaunchConfigurationARN"] !== undefined) {
|
|
6917
|
-
contents.LaunchConfigurationARN = smithy_client_1.expectString(output["LaunchConfigurationARN"]);
|
|
6917
|
+
contents.LaunchConfigurationARN = (0, smithy_client_1.expectString)(output["LaunchConfigurationARN"]);
|
|
6918
6918
|
}
|
|
6919
6919
|
if (output["ImageId"] !== undefined) {
|
|
6920
|
-
contents.ImageId = smithy_client_1.expectString(output["ImageId"]);
|
|
6920
|
+
contents.ImageId = (0, smithy_client_1.expectString)(output["ImageId"]);
|
|
6921
6921
|
}
|
|
6922
6922
|
if (output["KeyName"] !== undefined) {
|
|
6923
|
-
contents.KeyName = smithy_client_1.expectString(output["KeyName"]);
|
|
6923
|
+
contents.KeyName = (0, smithy_client_1.expectString)(output["KeyName"]);
|
|
6924
6924
|
}
|
|
6925
6925
|
if (output.SecurityGroups === "") {
|
|
6926
6926
|
contents.SecurityGroups = [];
|
|
6927
6927
|
}
|
|
6928
6928
|
if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
|
|
6929
|
-
contents.SecurityGroups = deserializeAws_querySecurityGroups(smithy_client_1.getArrayIfSingleItem(output["SecurityGroups"]["member"]), context);
|
|
6929
|
+
contents.SecurityGroups = deserializeAws_querySecurityGroups((0, smithy_client_1.getArrayIfSingleItem)(output["SecurityGroups"]["member"]), context);
|
|
6930
6930
|
}
|
|
6931
6931
|
if (output["ClassicLinkVPCId"] !== undefined) {
|
|
6932
|
-
contents.ClassicLinkVPCId = smithy_client_1.expectString(output["ClassicLinkVPCId"]);
|
|
6932
|
+
contents.ClassicLinkVPCId = (0, smithy_client_1.expectString)(output["ClassicLinkVPCId"]);
|
|
6933
6933
|
}
|
|
6934
6934
|
if (output.ClassicLinkVPCSecurityGroups === "") {
|
|
6935
6935
|
contents.ClassicLinkVPCSecurityGroups = [];
|
|
6936
6936
|
}
|
|
6937
6937
|
if (output["ClassicLinkVPCSecurityGroups"] !== undefined &&
|
|
6938
6938
|
output["ClassicLinkVPCSecurityGroups"]["member"] !== undefined) {
|
|
6939
|
-
contents.ClassicLinkVPCSecurityGroups = deserializeAws_queryClassicLinkVPCSecurityGroups(smithy_client_1.getArrayIfSingleItem(output["ClassicLinkVPCSecurityGroups"]["member"]), context);
|
|
6939
|
+
contents.ClassicLinkVPCSecurityGroups = deserializeAws_queryClassicLinkVPCSecurityGroups((0, smithy_client_1.getArrayIfSingleItem)(output["ClassicLinkVPCSecurityGroups"]["member"]), context);
|
|
6940
6940
|
}
|
|
6941
6941
|
if (output["UserData"] !== undefined) {
|
|
6942
|
-
contents.UserData = smithy_client_1.expectString(output["UserData"]);
|
|
6942
|
+
contents.UserData = (0, smithy_client_1.expectString)(output["UserData"]);
|
|
6943
6943
|
}
|
|
6944
6944
|
if (output["InstanceType"] !== undefined) {
|
|
6945
|
-
contents.InstanceType = smithy_client_1.expectString(output["InstanceType"]);
|
|
6945
|
+
contents.InstanceType = (0, smithy_client_1.expectString)(output["InstanceType"]);
|
|
6946
6946
|
}
|
|
6947
6947
|
if (output["KernelId"] !== undefined) {
|
|
6948
|
-
contents.KernelId = smithy_client_1.expectString(output["KernelId"]);
|
|
6948
|
+
contents.KernelId = (0, smithy_client_1.expectString)(output["KernelId"]);
|
|
6949
6949
|
}
|
|
6950
6950
|
if (output["RamdiskId"] !== undefined) {
|
|
6951
|
-
contents.RamdiskId = smithy_client_1.expectString(output["RamdiskId"]);
|
|
6951
|
+
contents.RamdiskId = (0, smithy_client_1.expectString)(output["RamdiskId"]);
|
|
6952
6952
|
}
|
|
6953
6953
|
if (output.BlockDeviceMappings === "") {
|
|
6954
6954
|
contents.BlockDeviceMappings = [];
|
|
6955
6955
|
}
|
|
6956
6956
|
if (output["BlockDeviceMappings"] !== undefined && output["BlockDeviceMappings"]["member"] !== undefined) {
|
|
6957
|
-
contents.BlockDeviceMappings = deserializeAws_queryBlockDeviceMappings(smithy_client_1.getArrayIfSingleItem(output["BlockDeviceMappings"]["member"]), context);
|
|
6957
|
+
contents.BlockDeviceMappings = deserializeAws_queryBlockDeviceMappings((0, smithy_client_1.getArrayIfSingleItem)(output["BlockDeviceMappings"]["member"]), context);
|
|
6958
6958
|
}
|
|
6959
6959
|
if (output["InstanceMonitoring"] !== undefined) {
|
|
6960
6960
|
contents.InstanceMonitoring = deserializeAws_queryInstanceMonitoring(output["InstanceMonitoring"], context);
|
|
6961
6961
|
}
|
|
6962
6962
|
if (output["SpotPrice"] !== undefined) {
|
|
6963
|
-
contents.SpotPrice = smithy_client_1.expectString(output["SpotPrice"]);
|
|
6963
|
+
contents.SpotPrice = (0, smithy_client_1.expectString)(output["SpotPrice"]);
|
|
6964
6964
|
}
|
|
6965
6965
|
if (output["IamInstanceProfile"] !== undefined) {
|
|
6966
|
-
contents.IamInstanceProfile = smithy_client_1.expectString(output["IamInstanceProfile"]);
|
|
6966
|
+
contents.IamInstanceProfile = (0, smithy_client_1.expectString)(output["IamInstanceProfile"]);
|
|
6967
6967
|
}
|
|
6968
6968
|
if (output["CreatedTime"] !== undefined) {
|
|
6969
|
-
contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedTime"]));
|
|
6969
|
+
contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreatedTime"]));
|
|
6970
6970
|
}
|
|
6971
6971
|
if (output["EbsOptimized"] !== undefined) {
|
|
6972
|
-
contents.EbsOptimized = smithy_client_1.parseBoolean(output["EbsOptimized"]);
|
|
6972
|
+
contents.EbsOptimized = (0, smithy_client_1.parseBoolean)(output["EbsOptimized"]);
|
|
6973
6973
|
}
|
|
6974
6974
|
if (output["AssociatePublicIpAddress"] !== undefined) {
|
|
6975
|
-
contents.AssociatePublicIpAddress = smithy_client_1.parseBoolean(output["AssociatePublicIpAddress"]);
|
|
6975
|
+
contents.AssociatePublicIpAddress = (0, smithy_client_1.parseBoolean)(output["AssociatePublicIpAddress"]);
|
|
6976
6976
|
}
|
|
6977
6977
|
if (output["PlacementTenancy"] !== undefined) {
|
|
6978
|
-
contents.PlacementTenancy = smithy_client_1.expectString(output["PlacementTenancy"]);
|
|
6978
|
+
contents.PlacementTenancy = (0, smithy_client_1.expectString)(output["PlacementTenancy"]);
|
|
6979
6979
|
}
|
|
6980
6980
|
if (output["MetadataOptions"] !== undefined) {
|
|
6981
6981
|
contents.MetadataOptions = deserializeAws_queryInstanceMetadataOptions(output["MetadataOptions"], context);
|
|
@@ -7001,10 +7001,10 @@ const deserializeAws_queryLaunchConfigurationsType = (output, context) => {
|
|
|
7001
7001
|
contents.LaunchConfigurations = [];
|
|
7002
7002
|
}
|
|
7003
7003
|
if (output["LaunchConfigurations"] !== undefined && output["LaunchConfigurations"]["member"] !== undefined) {
|
|
7004
|
-
contents.LaunchConfigurations = deserializeAws_queryLaunchConfigurations(smithy_client_1.getArrayIfSingleItem(output["LaunchConfigurations"]["member"]), context);
|
|
7004
|
+
contents.LaunchConfigurations = deserializeAws_queryLaunchConfigurations((0, smithy_client_1.getArrayIfSingleItem)(output["LaunchConfigurations"]["member"]), context);
|
|
7005
7005
|
}
|
|
7006
7006
|
if (output["NextToken"] !== undefined) {
|
|
7007
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7007
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
7008
7008
|
}
|
|
7009
7009
|
return contents;
|
|
7010
7010
|
};
|
|
@@ -7020,7 +7020,7 @@ const deserializeAws_queryLaunchTemplate = (output, context) => {
|
|
|
7020
7020
|
contents.Overrides = [];
|
|
7021
7021
|
}
|
|
7022
7022
|
if (output["Overrides"] !== undefined && output["Overrides"]["member"] !== undefined) {
|
|
7023
|
-
contents.Overrides = deserializeAws_queryOverrides(smithy_client_1.getArrayIfSingleItem(output["Overrides"]["member"]), context);
|
|
7023
|
+
contents.Overrides = deserializeAws_queryOverrides((0, smithy_client_1.getArrayIfSingleItem)(output["Overrides"]["member"]), context);
|
|
7024
7024
|
}
|
|
7025
7025
|
return contents;
|
|
7026
7026
|
};
|
|
@@ -7032,10 +7032,10 @@ const deserializeAws_queryLaunchTemplateOverrides = (output, context) => {
|
|
|
7032
7032
|
InstanceRequirements: undefined,
|
|
7033
7033
|
};
|
|
7034
7034
|
if (output["InstanceType"] !== undefined) {
|
|
7035
|
-
contents.InstanceType = smithy_client_1.expectString(output["InstanceType"]);
|
|
7035
|
+
contents.InstanceType = (0, smithy_client_1.expectString)(output["InstanceType"]);
|
|
7036
7036
|
}
|
|
7037
7037
|
if (output["WeightedCapacity"] !== undefined) {
|
|
7038
|
-
contents.WeightedCapacity = smithy_client_1.expectString(output["WeightedCapacity"]);
|
|
7038
|
+
contents.WeightedCapacity = (0, smithy_client_1.expectString)(output["WeightedCapacity"]);
|
|
7039
7039
|
}
|
|
7040
7040
|
if (output["LaunchTemplateSpecification"] !== undefined) {
|
|
7041
7041
|
contents.LaunchTemplateSpecification = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplateSpecification"], context);
|
|
@@ -7052,13 +7052,13 @@ const deserializeAws_queryLaunchTemplateSpecification = (output, context) => {
|
|
|
7052
7052
|
Version: undefined,
|
|
7053
7053
|
};
|
|
7054
7054
|
if (output["LaunchTemplateId"] !== undefined) {
|
|
7055
|
-
contents.LaunchTemplateId = smithy_client_1.expectString(output["LaunchTemplateId"]);
|
|
7055
|
+
contents.LaunchTemplateId = (0, smithy_client_1.expectString)(output["LaunchTemplateId"]);
|
|
7056
7056
|
}
|
|
7057
7057
|
if (output["LaunchTemplateName"] !== undefined) {
|
|
7058
|
-
contents.LaunchTemplateName = smithy_client_1.expectString(output["LaunchTemplateName"]);
|
|
7058
|
+
contents.LaunchTemplateName = (0, smithy_client_1.expectString)(output["LaunchTemplateName"]);
|
|
7059
7059
|
}
|
|
7060
7060
|
if (output["Version"] !== undefined) {
|
|
7061
|
-
contents.Version = smithy_client_1.expectString(output["Version"]);
|
|
7061
|
+
contents.Version = (0, smithy_client_1.expectString)(output["Version"]);
|
|
7062
7062
|
}
|
|
7063
7063
|
return contents;
|
|
7064
7064
|
};
|
|
@@ -7075,31 +7075,31 @@ const deserializeAws_queryLifecycleHook = (output, context) => {
|
|
|
7075
7075
|
DefaultResult: undefined,
|
|
7076
7076
|
};
|
|
7077
7077
|
if (output["LifecycleHookName"] !== undefined) {
|
|
7078
|
-
contents.LifecycleHookName = smithy_client_1.expectString(output["LifecycleHookName"]);
|
|
7078
|
+
contents.LifecycleHookName = (0, smithy_client_1.expectString)(output["LifecycleHookName"]);
|
|
7079
7079
|
}
|
|
7080
7080
|
if (output["AutoScalingGroupName"] !== undefined) {
|
|
7081
|
-
contents.AutoScalingGroupName = smithy_client_1.expectString(output["AutoScalingGroupName"]);
|
|
7081
|
+
contents.AutoScalingGroupName = (0, smithy_client_1.expectString)(output["AutoScalingGroupName"]);
|
|
7082
7082
|
}
|
|
7083
7083
|
if (output["LifecycleTransition"] !== undefined) {
|
|
7084
|
-
contents.LifecycleTransition = smithy_client_1.expectString(output["LifecycleTransition"]);
|
|
7084
|
+
contents.LifecycleTransition = (0, smithy_client_1.expectString)(output["LifecycleTransition"]);
|
|
7085
7085
|
}
|
|
7086
7086
|
if (output["NotificationTargetARN"] !== undefined) {
|
|
7087
|
-
contents.NotificationTargetARN = smithy_client_1.expectString(output["NotificationTargetARN"]);
|
|
7087
|
+
contents.NotificationTargetARN = (0, smithy_client_1.expectString)(output["NotificationTargetARN"]);
|
|
7088
7088
|
}
|
|
7089
7089
|
if (output["RoleARN"] !== undefined) {
|
|
7090
|
-
contents.RoleARN = smithy_client_1.expectString(output["RoleARN"]);
|
|
7090
|
+
contents.RoleARN = (0, smithy_client_1.expectString)(output["RoleARN"]);
|
|
7091
7091
|
}
|
|
7092
7092
|
if (output["NotificationMetadata"] !== undefined) {
|
|
7093
|
-
contents.NotificationMetadata = smithy_client_1.expectString(output["NotificationMetadata"]);
|
|
7093
|
+
contents.NotificationMetadata = (0, smithy_client_1.expectString)(output["NotificationMetadata"]);
|
|
7094
7094
|
}
|
|
7095
7095
|
if (output["HeartbeatTimeout"] !== undefined) {
|
|
7096
|
-
contents.HeartbeatTimeout = smithy_client_1.strictParseInt32(output["HeartbeatTimeout"]);
|
|
7096
|
+
contents.HeartbeatTimeout = (0, smithy_client_1.strictParseInt32)(output["HeartbeatTimeout"]);
|
|
7097
7097
|
}
|
|
7098
7098
|
if (output["GlobalTimeout"] !== undefined) {
|
|
7099
|
-
contents.GlobalTimeout = smithy_client_1.strictParseInt32(output["GlobalTimeout"]);
|
|
7099
|
+
contents.GlobalTimeout = (0, smithy_client_1.strictParseInt32)(output["GlobalTimeout"]);
|
|
7100
7100
|
}
|
|
7101
7101
|
if (output["DefaultResult"] !== undefined) {
|
|
7102
|
-
contents.DefaultResult = smithy_client_1.expectString(output["DefaultResult"]);
|
|
7102
|
+
contents.DefaultResult = (0, smithy_client_1.expectString)(output["DefaultResult"]);
|
|
7103
7103
|
}
|
|
7104
7104
|
return contents;
|
|
7105
7105
|
};
|
|
@@ -7118,7 +7118,7 @@ const deserializeAws_queryLimitExceededFault = (output, context) => {
|
|
|
7118
7118
|
message: undefined,
|
|
7119
7119
|
};
|
|
7120
7120
|
if (output["message"] !== undefined) {
|
|
7121
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7121
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
7122
7122
|
}
|
|
7123
7123
|
return contents;
|
|
7124
7124
|
};
|
|
@@ -7129,7 +7129,7 @@ const deserializeAws_queryLoadBalancerNames = (output, context) => {
|
|
|
7129
7129
|
if (entry === null) {
|
|
7130
7130
|
return null;
|
|
7131
7131
|
}
|
|
7132
|
-
return smithy_client_1.expectString(entry);
|
|
7132
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7133
7133
|
});
|
|
7134
7134
|
};
|
|
7135
7135
|
const deserializeAws_queryLoadBalancerState = (output, context) => {
|
|
@@ -7138,10 +7138,10 @@ const deserializeAws_queryLoadBalancerState = (output, context) => {
|
|
|
7138
7138
|
State: undefined,
|
|
7139
7139
|
};
|
|
7140
7140
|
if (output["LoadBalancerName"] !== undefined) {
|
|
7141
|
-
contents.LoadBalancerName = smithy_client_1.expectString(output["LoadBalancerName"]);
|
|
7141
|
+
contents.LoadBalancerName = (0, smithy_client_1.expectString)(output["LoadBalancerName"]);
|
|
7142
7142
|
}
|
|
7143
7143
|
if (output["State"] !== undefined) {
|
|
7144
|
-
contents.State = smithy_client_1.expectString(output["State"]);
|
|
7144
|
+
contents.State = (0, smithy_client_1.expectString)(output["State"]);
|
|
7145
7145
|
}
|
|
7146
7146
|
return contents;
|
|
7147
7147
|
};
|
|
@@ -7161,10 +7161,10 @@ const deserializeAws_queryLoadBalancerTargetGroupState = (output, context) => {
|
|
|
7161
7161
|
State: undefined,
|
|
7162
7162
|
};
|
|
7163
7163
|
if (output["LoadBalancerTargetGroupARN"] !== undefined) {
|
|
7164
|
-
contents.LoadBalancerTargetGroupARN = smithy_client_1.expectString(output["LoadBalancerTargetGroupARN"]);
|
|
7164
|
+
contents.LoadBalancerTargetGroupARN = (0, smithy_client_1.expectString)(output["LoadBalancerTargetGroupARN"]);
|
|
7165
7165
|
}
|
|
7166
7166
|
if (output["State"] !== undefined) {
|
|
7167
|
-
contents.State = smithy_client_1.expectString(output["State"]);
|
|
7167
|
+
contents.State = (0, smithy_client_1.expectString)(output["State"]);
|
|
7168
7168
|
}
|
|
7169
7169
|
return contents;
|
|
7170
7170
|
};
|
|
@@ -7188,13 +7188,13 @@ const deserializeAws_queryLoadForecast = (output, context) => {
|
|
|
7188
7188
|
contents.Timestamps = [];
|
|
7189
7189
|
}
|
|
7190
7190
|
if (output["Timestamps"] !== undefined && output["Timestamps"]["member"] !== undefined) {
|
|
7191
|
-
contents.Timestamps = deserializeAws_queryPredictiveScalingForecastTimestamps(smithy_client_1.getArrayIfSingleItem(output["Timestamps"]["member"]), context);
|
|
7191
|
+
contents.Timestamps = deserializeAws_queryPredictiveScalingForecastTimestamps((0, smithy_client_1.getArrayIfSingleItem)(output["Timestamps"]["member"]), context);
|
|
7192
7192
|
}
|
|
7193
7193
|
if (output.Values === "") {
|
|
7194
7194
|
contents.Values = [];
|
|
7195
7195
|
}
|
|
7196
7196
|
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
7197
|
-
contents.Values = deserializeAws_queryPredictiveScalingForecastValues(smithy_client_1.getArrayIfSingleItem(output["Values"]["member"]), context);
|
|
7197
|
+
contents.Values = deserializeAws_queryPredictiveScalingForecastValues((0, smithy_client_1.getArrayIfSingleItem)(output["Values"]["member"]), context);
|
|
7198
7198
|
}
|
|
7199
7199
|
if (output["MetricSpecification"] !== undefined) {
|
|
7200
7200
|
contents.MetricSpecification = deserializeAws_queryPredictiveScalingMetricSpecification(output["MetricSpecification"], context);
|
|
@@ -7218,7 +7218,7 @@ const deserializeAws_queryLocalStorageTypes = (output, context) => {
|
|
|
7218
7218
|
if (entry === null) {
|
|
7219
7219
|
return null;
|
|
7220
7220
|
}
|
|
7221
|
-
return smithy_client_1.expectString(entry);
|
|
7221
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7222
7222
|
});
|
|
7223
7223
|
};
|
|
7224
7224
|
const deserializeAws_queryMemoryGiBPerVCpuRequest = (output, context) => {
|
|
@@ -7227,10 +7227,10 @@ const deserializeAws_queryMemoryGiBPerVCpuRequest = (output, context) => {
|
|
|
7227
7227
|
Max: undefined,
|
|
7228
7228
|
};
|
|
7229
7229
|
if (output["Min"] !== undefined) {
|
|
7230
|
-
contents.Min = smithy_client_1.strictParseFloat(output["Min"]);
|
|
7230
|
+
contents.Min = (0, smithy_client_1.strictParseFloat)(output["Min"]);
|
|
7231
7231
|
}
|
|
7232
7232
|
if (output["Max"] !== undefined) {
|
|
7233
|
-
contents.Max = smithy_client_1.strictParseFloat(output["Max"]);
|
|
7233
|
+
contents.Max = (0, smithy_client_1.strictParseFloat)(output["Max"]);
|
|
7234
7234
|
}
|
|
7235
7235
|
return contents;
|
|
7236
7236
|
};
|
|
@@ -7240,10 +7240,10 @@ const deserializeAws_queryMemoryMiBRequest = (output, context) => {
|
|
|
7240
7240
|
Max: undefined,
|
|
7241
7241
|
};
|
|
7242
7242
|
if (output["Min"] !== undefined) {
|
|
7243
|
-
contents.Min = smithy_client_1.strictParseInt32(output["Min"]);
|
|
7243
|
+
contents.Min = (0, smithy_client_1.strictParseInt32)(output["Min"]);
|
|
7244
7244
|
}
|
|
7245
7245
|
if (output["Max"] !== undefined) {
|
|
7246
|
-
contents.Max = smithy_client_1.strictParseInt32(output["Max"]);
|
|
7246
|
+
contents.Max = (0, smithy_client_1.strictParseInt32)(output["Max"]);
|
|
7247
7247
|
}
|
|
7248
7248
|
return contents;
|
|
7249
7249
|
};
|
|
@@ -7254,16 +7254,16 @@ const deserializeAws_queryMetric = (output, context) => {
|
|
|
7254
7254
|
Dimensions: undefined,
|
|
7255
7255
|
};
|
|
7256
7256
|
if (output["Namespace"] !== undefined) {
|
|
7257
|
-
contents.Namespace = smithy_client_1.expectString(output["Namespace"]);
|
|
7257
|
+
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
7258
7258
|
}
|
|
7259
7259
|
if (output["MetricName"] !== undefined) {
|
|
7260
|
-
contents.MetricName = smithy_client_1.expectString(output["MetricName"]);
|
|
7260
|
+
contents.MetricName = (0, smithy_client_1.expectString)(output["MetricName"]);
|
|
7261
7261
|
}
|
|
7262
7262
|
if (output.Dimensions === "") {
|
|
7263
7263
|
contents.Dimensions = [];
|
|
7264
7264
|
}
|
|
7265
7265
|
if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
7266
|
-
contents.Dimensions = deserializeAws_queryMetricDimensions(smithy_client_1.getArrayIfSingleItem(output["Dimensions"]["member"]), context);
|
|
7266
|
+
contents.Dimensions = deserializeAws_queryMetricDimensions((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["member"]), context);
|
|
7267
7267
|
}
|
|
7268
7268
|
return contents;
|
|
7269
7269
|
};
|
|
@@ -7272,7 +7272,7 @@ const deserializeAws_queryMetricCollectionType = (output, context) => {
|
|
|
7272
7272
|
Metric: undefined,
|
|
7273
7273
|
};
|
|
7274
7274
|
if (output["Metric"] !== undefined) {
|
|
7275
|
-
contents.Metric = smithy_client_1.expectString(output["Metric"]);
|
|
7275
|
+
contents.Metric = (0, smithy_client_1.expectString)(output["Metric"]);
|
|
7276
7276
|
}
|
|
7277
7277
|
return contents;
|
|
7278
7278
|
};
|
|
@@ -7305,19 +7305,19 @@ const deserializeAws_queryMetricDataQuery = (output, context) => {
|
|
|
7305
7305
|
ReturnData: undefined,
|
|
7306
7306
|
};
|
|
7307
7307
|
if (output["Id"] !== undefined) {
|
|
7308
|
-
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
7308
|
+
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
7309
7309
|
}
|
|
7310
7310
|
if (output["Expression"] !== undefined) {
|
|
7311
|
-
contents.Expression = smithy_client_1.expectString(output["Expression"]);
|
|
7311
|
+
contents.Expression = (0, smithy_client_1.expectString)(output["Expression"]);
|
|
7312
7312
|
}
|
|
7313
7313
|
if (output["MetricStat"] !== undefined) {
|
|
7314
7314
|
contents.MetricStat = deserializeAws_queryMetricStat(output["MetricStat"], context);
|
|
7315
7315
|
}
|
|
7316
7316
|
if (output["Label"] !== undefined) {
|
|
7317
|
-
contents.Label = smithy_client_1.expectString(output["Label"]);
|
|
7317
|
+
contents.Label = (0, smithy_client_1.expectString)(output["Label"]);
|
|
7318
7318
|
}
|
|
7319
7319
|
if (output["ReturnData"] !== undefined) {
|
|
7320
|
-
contents.ReturnData = smithy_client_1.parseBoolean(output["ReturnData"]);
|
|
7320
|
+
contents.ReturnData = (0, smithy_client_1.parseBoolean)(output["ReturnData"]);
|
|
7321
7321
|
}
|
|
7322
7322
|
return contents;
|
|
7323
7323
|
};
|
|
@@ -7327,10 +7327,10 @@ const deserializeAws_queryMetricDimension = (output, context) => {
|
|
|
7327
7327
|
Value: undefined,
|
|
7328
7328
|
};
|
|
7329
7329
|
if (output["Name"] !== undefined) {
|
|
7330
|
-
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
7330
|
+
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
7331
7331
|
}
|
|
7332
7332
|
if (output["Value"] !== undefined) {
|
|
7333
|
-
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
7333
|
+
contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
|
|
7334
7334
|
}
|
|
7335
7335
|
return contents;
|
|
7336
7336
|
};
|
|
@@ -7349,7 +7349,7 @@ const deserializeAws_queryMetricGranularityType = (output, context) => {
|
|
|
7349
7349
|
Granularity: undefined,
|
|
7350
7350
|
};
|
|
7351
7351
|
if (output["Granularity"] !== undefined) {
|
|
7352
|
-
contents.Granularity = smithy_client_1.expectString(output["Granularity"]);
|
|
7352
|
+
contents.Granularity = (0, smithy_client_1.expectString)(output["Granularity"]);
|
|
7353
7353
|
}
|
|
7354
7354
|
return contents;
|
|
7355
7355
|
};
|
|
@@ -7373,10 +7373,10 @@ const deserializeAws_queryMetricStat = (output, context) => {
|
|
|
7373
7373
|
contents.Metric = deserializeAws_queryMetric(output["Metric"], context);
|
|
7374
7374
|
}
|
|
7375
7375
|
if (output["Stat"] !== undefined) {
|
|
7376
|
-
contents.Stat = smithy_client_1.expectString(output["Stat"]);
|
|
7376
|
+
contents.Stat = (0, smithy_client_1.expectString)(output["Stat"]);
|
|
7377
7377
|
}
|
|
7378
7378
|
if (output["Unit"] !== undefined) {
|
|
7379
|
-
contents.Unit = smithy_client_1.expectString(output["Unit"]);
|
|
7379
|
+
contents.Unit = (0, smithy_client_1.expectString)(output["Unit"]);
|
|
7380
7380
|
}
|
|
7381
7381
|
return contents;
|
|
7382
7382
|
};
|
|
@@ -7399,10 +7399,10 @@ const deserializeAws_queryNetworkInterfaceCountRequest = (output, context) => {
|
|
|
7399
7399
|
Max: undefined,
|
|
7400
7400
|
};
|
|
7401
7401
|
if (output["Min"] !== undefined) {
|
|
7402
|
-
contents.Min = smithy_client_1.strictParseInt32(output["Min"]);
|
|
7402
|
+
contents.Min = (0, smithy_client_1.strictParseInt32)(output["Min"]);
|
|
7403
7403
|
}
|
|
7404
7404
|
if (output["Max"] !== undefined) {
|
|
7405
|
-
contents.Max = smithy_client_1.strictParseInt32(output["Max"]);
|
|
7405
|
+
contents.Max = (0, smithy_client_1.strictParseInt32)(output["Max"]);
|
|
7406
7406
|
}
|
|
7407
7407
|
return contents;
|
|
7408
7408
|
};
|
|
@@ -7413,13 +7413,13 @@ const deserializeAws_queryNotificationConfiguration = (output, context) => {
|
|
|
7413
7413
|
NotificationType: undefined,
|
|
7414
7414
|
};
|
|
7415
7415
|
if (output["AutoScalingGroupName"] !== undefined) {
|
|
7416
|
-
contents.AutoScalingGroupName = smithy_client_1.expectString(output["AutoScalingGroupName"]);
|
|
7416
|
+
contents.AutoScalingGroupName = (0, smithy_client_1.expectString)(output["AutoScalingGroupName"]);
|
|
7417
7417
|
}
|
|
7418
7418
|
if (output["TopicARN"] !== undefined) {
|
|
7419
|
-
contents.TopicARN = smithy_client_1.expectString(output["TopicARN"]);
|
|
7419
|
+
contents.TopicARN = (0, smithy_client_1.expectString)(output["TopicARN"]);
|
|
7420
7420
|
}
|
|
7421
7421
|
if (output["NotificationType"] !== undefined) {
|
|
7422
|
-
contents.NotificationType = smithy_client_1.expectString(output["NotificationType"]);
|
|
7422
|
+
contents.NotificationType = (0, smithy_client_1.expectString)(output["NotificationType"]);
|
|
7423
7423
|
}
|
|
7424
7424
|
return contents;
|
|
7425
7425
|
};
|
|
@@ -7452,10 +7452,10 @@ const deserializeAws_queryPoliciesType = (output, context) => {
|
|
|
7452
7452
|
contents.ScalingPolicies = [];
|
|
7453
7453
|
}
|
|
7454
7454
|
if (output["ScalingPolicies"] !== undefined && output["ScalingPolicies"]["member"] !== undefined) {
|
|
7455
|
-
contents.ScalingPolicies = deserializeAws_queryScalingPolicies(smithy_client_1.getArrayIfSingleItem(output["ScalingPolicies"]["member"]), context);
|
|
7455
|
+
contents.ScalingPolicies = deserializeAws_queryScalingPolicies((0, smithy_client_1.getArrayIfSingleItem)(output["ScalingPolicies"]["member"]), context);
|
|
7456
7456
|
}
|
|
7457
7457
|
if (output["NextToken"] !== undefined) {
|
|
7458
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7458
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
7459
7459
|
}
|
|
7460
7460
|
return contents;
|
|
7461
7461
|
};
|
|
@@ -7465,13 +7465,13 @@ const deserializeAws_queryPolicyARNType = (output, context) => {
|
|
|
7465
7465
|
Alarms: undefined,
|
|
7466
7466
|
};
|
|
7467
7467
|
if (output["PolicyARN"] !== undefined) {
|
|
7468
|
-
contents.PolicyARN = smithy_client_1.expectString(output["PolicyARN"]);
|
|
7468
|
+
contents.PolicyARN = (0, smithy_client_1.expectString)(output["PolicyARN"]);
|
|
7469
7469
|
}
|
|
7470
7470
|
if (output.Alarms === "") {
|
|
7471
7471
|
contents.Alarms = [];
|
|
7472
7472
|
}
|
|
7473
7473
|
if (output["Alarms"] !== undefined && output["Alarms"]["member"] !== undefined) {
|
|
7474
|
-
contents.Alarms = deserializeAws_queryAlarms(smithy_client_1.getArrayIfSingleItem(output["Alarms"]["member"]), context);
|
|
7474
|
+
contents.Alarms = deserializeAws_queryAlarms((0, smithy_client_1.getArrayIfSingleItem)(output["Alarms"]["member"]), context);
|
|
7475
7475
|
}
|
|
7476
7476
|
return contents;
|
|
7477
7477
|
};
|
|
@@ -7481,10 +7481,10 @@ const deserializeAws_queryPredefinedMetricSpecification = (output, context) => {
|
|
|
7481
7481
|
ResourceLabel: undefined,
|
|
7482
7482
|
};
|
|
7483
7483
|
if (output["PredefinedMetricType"] !== undefined) {
|
|
7484
|
-
contents.PredefinedMetricType = smithy_client_1.expectString(output["PredefinedMetricType"]);
|
|
7484
|
+
contents.PredefinedMetricType = (0, smithy_client_1.expectString)(output["PredefinedMetricType"]);
|
|
7485
7485
|
}
|
|
7486
7486
|
if (output["ResourceLabel"] !== undefined) {
|
|
7487
|
-
contents.ResourceLabel = smithy_client_1.expectString(output["ResourceLabel"]);
|
|
7487
|
+
contents.ResourceLabel = (0, smithy_client_1.expectString)(output["ResourceLabel"]);
|
|
7488
7488
|
}
|
|
7489
7489
|
return contents;
|
|
7490
7490
|
};
|
|
@@ -7500,19 +7500,19 @@ const deserializeAws_queryPredictiveScalingConfiguration = (output, context) =>
|
|
|
7500
7500
|
contents.MetricSpecifications = [];
|
|
7501
7501
|
}
|
|
7502
7502
|
if (output["MetricSpecifications"] !== undefined && output["MetricSpecifications"]["member"] !== undefined) {
|
|
7503
|
-
contents.MetricSpecifications = deserializeAws_queryPredictiveScalingMetricSpecifications(smithy_client_1.getArrayIfSingleItem(output["MetricSpecifications"]["member"]), context);
|
|
7503
|
+
contents.MetricSpecifications = deserializeAws_queryPredictiveScalingMetricSpecifications((0, smithy_client_1.getArrayIfSingleItem)(output["MetricSpecifications"]["member"]), context);
|
|
7504
7504
|
}
|
|
7505
7505
|
if (output["Mode"] !== undefined) {
|
|
7506
|
-
contents.Mode = smithy_client_1.expectString(output["Mode"]);
|
|
7506
|
+
contents.Mode = (0, smithy_client_1.expectString)(output["Mode"]);
|
|
7507
7507
|
}
|
|
7508
7508
|
if (output["SchedulingBufferTime"] !== undefined) {
|
|
7509
|
-
contents.SchedulingBufferTime = smithy_client_1.strictParseInt32(output["SchedulingBufferTime"]);
|
|
7509
|
+
contents.SchedulingBufferTime = (0, smithy_client_1.strictParseInt32)(output["SchedulingBufferTime"]);
|
|
7510
7510
|
}
|
|
7511
7511
|
if (output["MaxCapacityBreachBehavior"] !== undefined) {
|
|
7512
|
-
contents.MaxCapacityBreachBehavior = smithy_client_1.expectString(output["MaxCapacityBreachBehavior"]);
|
|
7512
|
+
contents.MaxCapacityBreachBehavior = (0, smithy_client_1.expectString)(output["MaxCapacityBreachBehavior"]);
|
|
7513
7513
|
}
|
|
7514
7514
|
if (output["MaxCapacityBuffer"] !== undefined) {
|
|
7515
|
-
contents.MaxCapacityBuffer = smithy_client_1.strictParseInt32(output["MaxCapacityBuffer"]);
|
|
7515
|
+
contents.MaxCapacityBuffer = (0, smithy_client_1.strictParseInt32)(output["MaxCapacityBuffer"]);
|
|
7516
7516
|
}
|
|
7517
7517
|
return contents;
|
|
7518
7518
|
};
|
|
@@ -7524,7 +7524,7 @@ const deserializeAws_queryPredictiveScalingCustomizedCapacityMetric = (output, c
|
|
|
7524
7524
|
contents.MetricDataQueries = [];
|
|
7525
7525
|
}
|
|
7526
7526
|
if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
7527
|
-
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries(smithy_client_1.getArrayIfSingleItem(output["MetricDataQueries"]["member"]), context);
|
|
7527
|
+
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries((0, smithy_client_1.getArrayIfSingleItem)(output["MetricDataQueries"]["member"]), context);
|
|
7528
7528
|
}
|
|
7529
7529
|
return contents;
|
|
7530
7530
|
};
|
|
@@ -7536,7 +7536,7 @@ const deserializeAws_queryPredictiveScalingCustomizedLoadMetric = (output, conte
|
|
|
7536
7536
|
contents.MetricDataQueries = [];
|
|
7537
7537
|
}
|
|
7538
7538
|
if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
7539
|
-
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries(smithy_client_1.getArrayIfSingleItem(output["MetricDataQueries"]["member"]), context);
|
|
7539
|
+
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries((0, smithy_client_1.getArrayIfSingleItem)(output["MetricDataQueries"]["member"]), context);
|
|
7540
7540
|
}
|
|
7541
7541
|
return contents;
|
|
7542
7542
|
};
|
|
@@ -7548,7 +7548,7 @@ const deserializeAws_queryPredictiveScalingCustomizedScalingMetric = (output, co
|
|
|
7548
7548
|
contents.MetricDataQueries = [];
|
|
7549
7549
|
}
|
|
7550
7550
|
if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
7551
|
-
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries(smithy_client_1.getArrayIfSingleItem(output["MetricDataQueries"]["member"]), context);
|
|
7551
|
+
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries((0, smithy_client_1.getArrayIfSingleItem)(output["MetricDataQueries"]["member"]), context);
|
|
7552
7552
|
}
|
|
7553
7553
|
return contents;
|
|
7554
7554
|
};
|
|
@@ -7559,7 +7559,7 @@ const deserializeAws_queryPredictiveScalingForecastTimestamps = (output, context
|
|
|
7559
7559
|
if (entry === null) {
|
|
7560
7560
|
return null;
|
|
7561
7561
|
}
|
|
7562
|
-
return smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(entry));
|
|
7562
|
+
return (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(entry));
|
|
7563
7563
|
});
|
|
7564
7564
|
};
|
|
7565
7565
|
const deserializeAws_queryPredictiveScalingForecastValues = (output, context) => {
|
|
@@ -7569,7 +7569,7 @@ const deserializeAws_queryPredictiveScalingForecastValues = (output, context) =>
|
|
|
7569
7569
|
if (entry === null) {
|
|
7570
7570
|
return null;
|
|
7571
7571
|
}
|
|
7572
|
-
return smithy_client_1.strictParseFloat(entry);
|
|
7572
|
+
return (0, smithy_client_1.strictParseFloat)(entry);
|
|
7573
7573
|
});
|
|
7574
7574
|
};
|
|
7575
7575
|
const deserializeAws_queryPredictiveScalingMetricSpecification = (output, context) => {
|
|
@@ -7583,7 +7583,7 @@ const deserializeAws_queryPredictiveScalingMetricSpecification = (output, contex
|
|
|
7583
7583
|
CustomizedCapacityMetricSpecification: undefined,
|
|
7584
7584
|
};
|
|
7585
7585
|
if (output["TargetValue"] !== undefined) {
|
|
7586
|
-
contents.TargetValue = smithy_client_1.strictParseFloat(output["TargetValue"]);
|
|
7586
|
+
contents.TargetValue = (0, smithy_client_1.strictParseFloat)(output["TargetValue"]);
|
|
7587
7587
|
}
|
|
7588
7588
|
if (output["PredefinedMetricPairSpecification"] !== undefined) {
|
|
7589
7589
|
contents.PredefinedMetricPairSpecification = deserializeAws_queryPredictiveScalingPredefinedMetricPair(output["PredefinedMetricPairSpecification"], context);
|
|
@@ -7621,10 +7621,10 @@ const deserializeAws_queryPredictiveScalingPredefinedLoadMetric = (output, conte
|
|
|
7621
7621
|
ResourceLabel: undefined,
|
|
7622
7622
|
};
|
|
7623
7623
|
if (output["PredefinedMetricType"] !== undefined) {
|
|
7624
|
-
contents.PredefinedMetricType = smithy_client_1.expectString(output["PredefinedMetricType"]);
|
|
7624
|
+
contents.PredefinedMetricType = (0, smithy_client_1.expectString)(output["PredefinedMetricType"]);
|
|
7625
7625
|
}
|
|
7626
7626
|
if (output["ResourceLabel"] !== undefined) {
|
|
7627
|
-
contents.ResourceLabel = smithy_client_1.expectString(output["ResourceLabel"]);
|
|
7627
|
+
contents.ResourceLabel = (0, smithy_client_1.expectString)(output["ResourceLabel"]);
|
|
7628
7628
|
}
|
|
7629
7629
|
return contents;
|
|
7630
7630
|
};
|
|
@@ -7634,10 +7634,10 @@ const deserializeAws_queryPredictiveScalingPredefinedMetricPair = (output, conte
|
|
|
7634
7634
|
ResourceLabel: undefined,
|
|
7635
7635
|
};
|
|
7636
7636
|
if (output["PredefinedMetricType"] !== undefined) {
|
|
7637
|
-
contents.PredefinedMetricType = smithy_client_1.expectString(output["PredefinedMetricType"]);
|
|
7637
|
+
contents.PredefinedMetricType = (0, smithy_client_1.expectString)(output["PredefinedMetricType"]);
|
|
7638
7638
|
}
|
|
7639
7639
|
if (output["ResourceLabel"] !== undefined) {
|
|
7640
|
-
contents.ResourceLabel = smithy_client_1.expectString(output["ResourceLabel"]);
|
|
7640
|
+
contents.ResourceLabel = (0, smithy_client_1.expectString)(output["ResourceLabel"]);
|
|
7641
7641
|
}
|
|
7642
7642
|
return contents;
|
|
7643
7643
|
};
|
|
@@ -7647,10 +7647,10 @@ const deserializeAws_queryPredictiveScalingPredefinedScalingMetric = (output, co
|
|
|
7647
7647
|
ResourceLabel: undefined,
|
|
7648
7648
|
};
|
|
7649
7649
|
if (output["PredefinedMetricType"] !== undefined) {
|
|
7650
|
-
contents.PredefinedMetricType = smithy_client_1.expectString(output["PredefinedMetricType"]);
|
|
7650
|
+
contents.PredefinedMetricType = (0, smithy_client_1.expectString)(output["PredefinedMetricType"]);
|
|
7651
7651
|
}
|
|
7652
7652
|
if (output["ResourceLabel"] !== undefined) {
|
|
7653
|
-
contents.ResourceLabel = smithy_client_1.expectString(output["ResourceLabel"]);
|
|
7653
|
+
contents.ResourceLabel = (0, smithy_client_1.expectString)(output["ResourceLabel"]);
|
|
7654
7654
|
}
|
|
7655
7655
|
return contents;
|
|
7656
7656
|
};
|
|
@@ -7672,7 +7672,7 @@ const deserializeAws_queryProcessesType = (output, context) => {
|
|
|
7672
7672
|
contents.Processes = [];
|
|
7673
7673
|
}
|
|
7674
7674
|
if (output["Processes"] !== undefined && output["Processes"]["member"] !== undefined) {
|
|
7675
|
-
contents.Processes = deserializeAws_queryProcesses(smithy_client_1.getArrayIfSingleItem(output["Processes"]["member"]), context);
|
|
7675
|
+
contents.Processes = deserializeAws_queryProcesses((0, smithy_client_1.getArrayIfSingleItem)(output["Processes"]["member"]), context);
|
|
7676
7676
|
}
|
|
7677
7677
|
return contents;
|
|
7678
7678
|
};
|
|
@@ -7681,7 +7681,7 @@ const deserializeAws_queryProcessType = (output, context) => {
|
|
|
7681
7681
|
ProcessName: undefined,
|
|
7682
7682
|
};
|
|
7683
7683
|
if (output["ProcessName"] !== undefined) {
|
|
7684
|
-
contents.ProcessName = smithy_client_1.expectString(output["ProcessName"]);
|
|
7684
|
+
contents.ProcessName = (0, smithy_client_1.expectString)(output["ProcessName"]);
|
|
7685
7685
|
}
|
|
7686
7686
|
return contents;
|
|
7687
7687
|
};
|
|
@@ -7706,22 +7706,22 @@ const deserializeAws_queryRefreshPreferences = (output, context) => {
|
|
|
7706
7706
|
SkipMatching: undefined,
|
|
7707
7707
|
};
|
|
7708
7708
|
if (output["MinHealthyPercentage"] !== undefined) {
|
|
7709
|
-
contents.MinHealthyPercentage = smithy_client_1.strictParseInt32(output["MinHealthyPercentage"]);
|
|
7709
|
+
contents.MinHealthyPercentage = (0, smithy_client_1.strictParseInt32)(output["MinHealthyPercentage"]);
|
|
7710
7710
|
}
|
|
7711
7711
|
if (output["InstanceWarmup"] !== undefined) {
|
|
7712
|
-
contents.InstanceWarmup = smithy_client_1.strictParseInt32(output["InstanceWarmup"]);
|
|
7712
|
+
contents.InstanceWarmup = (0, smithy_client_1.strictParseInt32)(output["InstanceWarmup"]);
|
|
7713
7713
|
}
|
|
7714
7714
|
if (output.CheckpointPercentages === "") {
|
|
7715
7715
|
contents.CheckpointPercentages = [];
|
|
7716
7716
|
}
|
|
7717
7717
|
if (output["CheckpointPercentages"] !== undefined && output["CheckpointPercentages"]["member"] !== undefined) {
|
|
7718
|
-
contents.CheckpointPercentages = deserializeAws_queryCheckpointPercentages(smithy_client_1.getArrayIfSingleItem(output["CheckpointPercentages"]["member"]), context);
|
|
7718
|
+
contents.CheckpointPercentages = deserializeAws_queryCheckpointPercentages((0, smithy_client_1.getArrayIfSingleItem)(output["CheckpointPercentages"]["member"]), context);
|
|
7719
7719
|
}
|
|
7720
7720
|
if (output["CheckpointDelay"] !== undefined) {
|
|
7721
|
-
contents.CheckpointDelay = smithy_client_1.strictParseInt32(output["CheckpointDelay"]);
|
|
7721
|
+
contents.CheckpointDelay = (0, smithy_client_1.strictParseInt32)(output["CheckpointDelay"]);
|
|
7722
7722
|
}
|
|
7723
7723
|
if (output["SkipMatching"] !== undefined) {
|
|
7724
|
-
contents.SkipMatching = smithy_client_1.parseBoolean(output["SkipMatching"]);
|
|
7724
|
+
contents.SkipMatching = (0, smithy_client_1.parseBoolean)(output["SkipMatching"]);
|
|
7725
7725
|
}
|
|
7726
7726
|
return contents;
|
|
7727
7727
|
};
|
|
@@ -7730,7 +7730,7 @@ const deserializeAws_queryResourceContentionFault = (output, context) => {
|
|
|
7730
7730
|
message: undefined,
|
|
7731
7731
|
};
|
|
7732
7732
|
if (output["message"] !== undefined) {
|
|
7733
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7733
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
7734
7734
|
}
|
|
7735
7735
|
return contents;
|
|
7736
7736
|
};
|
|
@@ -7739,7 +7739,7 @@ const deserializeAws_queryResourceInUseFault = (output, context) => {
|
|
|
7739
7739
|
message: undefined,
|
|
7740
7740
|
};
|
|
7741
7741
|
if (output["message"] !== undefined) {
|
|
7742
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7742
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
7743
7743
|
}
|
|
7744
7744
|
return contents;
|
|
7745
7745
|
};
|
|
@@ -7748,7 +7748,7 @@ const deserializeAws_queryScalingActivityInProgressFault = (output, context) =>
|
|
|
7748
7748
|
message: undefined,
|
|
7749
7749
|
};
|
|
7750
7750
|
if (output["message"] !== undefined) {
|
|
7751
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7751
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
7752
7752
|
}
|
|
7753
7753
|
return contents;
|
|
7754
7754
|
};
|
|
@@ -7782,55 +7782,55 @@ const deserializeAws_queryScalingPolicy = (output, context) => {
|
|
|
7782
7782
|
PredictiveScalingConfiguration: undefined,
|
|
7783
7783
|
};
|
|
7784
7784
|
if (output["AutoScalingGroupName"] !== undefined) {
|
|
7785
|
-
contents.AutoScalingGroupName = smithy_client_1.expectString(output["AutoScalingGroupName"]);
|
|
7785
|
+
contents.AutoScalingGroupName = (0, smithy_client_1.expectString)(output["AutoScalingGroupName"]);
|
|
7786
7786
|
}
|
|
7787
7787
|
if (output["PolicyName"] !== undefined) {
|
|
7788
|
-
contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
|
|
7788
|
+
contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
|
|
7789
7789
|
}
|
|
7790
7790
|
if (output["PolicyARN"] !== undefined) {
|
|
7791
|
-
contents.PolicyARN = smithy_client_1.expectString(output["PolicyARN"]);
|
|
7791
|
+
contents.PolicyARN = (0, smithy_client_1.expectString)(output["PolicyARN"]);
|
|
7792
7792
|
}
|
|
7793
7793
|
if (output["PolicyType"] !== undefined) {
|
|
7794
|
-
contents.PolicyType = smithy_client_1.expectString(output["PolicyType"]);
|
|
7794
|
+
contents.PolicyType = (0, smithy_client_1.expectString)(output["PolicyType"]);
|
|
7795
7795
|
}
|
|
7796
7796
|
if (output["AdjustmentType"] !== undefined) {
|
|
7797
|
-
contents.AdjustmentType = smithy_client_1.expectString(output["AdjustmentType"]);
|
|
7797
|
+
contents.AdjustmentType = (0, smithy_client_1.expectString)(output["AdjustmentType"]);
|
|
7798
7798
|
}
|
|
7799
7799
|
if (output["MinAdjustmentStep"] !== undefined) {
|
|
7800
|
-
contents.MinAdjustmentStep = smithy_client_1.strictParseInt32(output["MinAdjustmentStep"]);
|
|
7800
|
+
contents.MinAdjustmentStep = (0, smithy_client_1.strictParseInt32)(output["MinAdjustmentStep"]);
|
|
7801
7801
|
}
|
|
7802
7802
|
if (output["MinAdjustmentMagnitude"] !== undefined) {
|
|
7803
|
-
contents.MinAdjustmentMagnitude = smithy_client_1.strictParseInt32(output["MinAdjustmentMagnitude"]);
|
|
7803
|
+
contents.MinAdjustmentMagnitude = (0, smithy_client_1.strictParseInt32)(output["MinAdjustmentMagnitude"]);
|
|
7804
7804
|
}
|
|
7805
7805
|
if (output["ScalingAdjustment"] !== undefined) {
|
|
7806
|
-
contents.ScalingAdjustment = smithy_client_1.strictParseInt32(output["ScalingAdjustment"]);
|
|
7806
|
+
contents.ScalingAdjustment = (0, smithy_client_1.strictParseInt32)(output["ScalingAdjustment"]);
|
|
7807
7807
|
}
|
|
7808
7808
|
if (output["Cooldown"] !== undefined) {
|
|
7809
|
-
contents.Cooldown = smithy_client_1.strictParseInt32(output["Cooldown"]);
|
|
7809
|
+
contents.Cooldown = (0, smithy_client_1.strictParseInt32)(output["Cooldown"]);
|
|
7810
7810
|
}
|
|
7811
7811
|
if (output.StepAdjustments === "") {
|
|
7812
7812
|
contents.StepAdjustments = [];
|
|
7813
7813
|
}
|
|
7814
7814
|
if (output["StepAdjustments"] !== undefined && output["StepAdjustments"]["member"] !== undefined) {
|
|
7815
|
-
contents.StepAdjustments = deserializeAws_queryStepAdjustments(smithy_client_1.getArrayIfSingleItem(output["StepAdjustments"]["member"]), context);
|
|
7815
|
+
contents.StepAdjustments = deserializeAws_queryStepAdjustments((0, smithy_client_1.getArrayIfSingleItem)(output["StepAdjustments"]["member"]), context);
|
|
7816
7816
|
}
|
|
7817
7817
|
if (output["MetricAggregationType"] !== undefined) {
|
|
7818
|
-
contents.MetricAggregationType = smithy_client_1.expectString(output["MetricAggregationType"]);
|
|
7818
|
+
contents.MetricAggregationType = (0, smithy_client_1.expectString)(output["MetricAggregationType"]);
|
|
7819
7819
|
}
|
|
7820
7820
|
if (output["EstimatedInstanceWarmup"] !== undefined) {
|
|
7821
|
-
contents.EstimatedInstanceWarmup = smithy_client_1.strictParseInt32(output["EstimatedInstanceWarmup"]);
|
|
7821
|
+
contents.EstimatedInstanceWarmup = (0, smithy_client_1.strictParseInt32)(output["EstimatedInstanceWarmup"]);
|
|
7822
7822
|
}
|
|
7823
7823
|
if (output.Alarms === "") {
|
|
7824
7824
|
contents.Alarms = [];
|
|
7825
7825
|
}
|
|
7826
7826
|
if (output["Alarms"] !== undefined && output["Alarms"]["member"] !== undefined) {
|
|
7827
|
-
contents.Alarms = deserializeAws_queryAlarms(smithy_client_1.getArrayIfSingleItem(output["Alarms"]["member"]), context);
|
|
7827
|
+
contents.Alarms = deserializeAws_queryAlarms((0, smithy_client_1.getArrayIfSingleItem)(output["Alarms"]["member"]), context);
|
|
7828
7828
|
}
|
|
7829
7829
|
if (output["TargetTrackingConfiguration"] !== undefined) {
|
|
7830
7830
|
contents.TargetTrackingConfiguration = deserializeAws_queryTargetTrackingConfiguration(output["TargetTrackingConfiguration"], context);
|
|
7831
7831
|
}
|
|
7832
7832
|
if (output["Enabled"] !== undefined) {
|
|
7833
|
-
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
7833
|
+
contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
|
|
7834
7834
|
}
|
|
7835
7835
|
if (output["PredictiveScalingConfiguration"] !== undefined) {
|
|
7836
7836
|
contents.PredictiveScalingConfiguration = deserializeAws_queryPredictiveScalingConfiguration(output["PredictiveScalingConfiguration"], context);
|
|
@@ -7847,10 +7847,10 @@ const deserializeAws_queryScheduledActionsType = (output, context) => {
|
|
|
7847
7847
|
}
|
|
7848
7848
|
if (output["ScheduledUpdateGroupActions"] !== undefined &&
|
|
7849
7849
|
output["ScheduledUpdateGroupActions"]["member"] !== undefined) {
|
|
7850
|
-
contents.ScheduledUpdateGroupActions = deserializeAws_queryScheduledUpdateGroupActions(smithy_client_1.getArrayIfSingleItem(output["ScheduledUpdateGroupActions"]["member"]), context);
|
|
7850
|
+
contents.ScheduledUpdateGroupActions = deserializeAws_queryScheduledUpdateGroupActions((0, smithy_client_1.getArrayIfSingleItem)(output["ScheduledUpdateGroupActions"]["member"]), context);
|
|
7851
7851
|
}
|
|
7852
7852
|
if (output["NextToken"] !== undefined) {
|
|
7853
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7853
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
7854
7854
|
}
|
|
7855
7855
|
return contents;
|
|
7856
7856
|
};
|
|
@@ -7869,37 +7869,37 @@ const deserializeAws_queryScheduledUpdateGroupAction = (output, context) => {
|
|
|
7869
7869
|
TimeZone: undefined,
|
|
7870
7870
|
};
|
|
7871
7871
|
if (output["AutoScalingGroupName"] !== undefined) {
|
|
7872
|
-
contents.AutoScalingGroupName = smithy_client_1.expectString(output["AutoScalingGroupName"]);
|
|
7872
|
+
contents.AutoScalingGroupName = (0, smithy_client_1.expectString)(output["AutoScalingGroupName"]);
|
|
7873
7873
|
}
|
|
7874
7874
|
if (output["ScheduledActionName"] !== undefined) {
|
|
7875
|
-
contents.ScheduledActionName = smithy_client_1.expectString(output["ScheduledActionName"]);
|
|
7875
|
+
contents.ScheduledActionName = (0, smithy_client_1.expectString)(output["ScheduledActionName"]);
|
|
7876
7876
|
}
|
|
7877
7877
|
if (output["ScheduledActionARN"] !== undefined) {
|
|
7878
|
-
contents.ScheduledActionARN = smithy_client_1.expectString(output["ScheduledActionARN"]);
|
|
7878
|
+
contents.ScheduledActionARN = (0, smithy_client_1.expectString)(output["ScheduledActionARN"]);
|
|
7879
7879
|
}
|
|
7880
7880
|
if (output["Time"] !== undefined) {
|
|
7881
|
-
contents.Time = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Time"]));
|
|
7881
|
+
contents.Time = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["Time"]));
|
|
7882
7882
|
}
|
|
7883
7883
|
if (output["StartTime"] !== undefined) {
|
|
7884
|
-
contents.StartTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["StartTime"]));
|
|
7884
|
+
contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["StartTime"]));
|
|
7885
7885
|
}
|
|
7886
7886
|
if (output["EndTime"] !== undefined) {
|
|
7887
|
-
contents.EndTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EndTime"]));
|
|
7887
|
+
contents.EndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["EndTime"]));
|
|
7888
7888
|
}
|
|
7889
7889
|
if (output["Recurrence"] !== undefined) {
|
|
7890
|
-
contents.Recurrence = smithy_client_1.expectString(output["Recurrence"]);
|
|
7890
|
+
contents.Recurrence = (0, smithy_client_1.expectString)(output["Recurrence"]);
|
|
7891
7891
|
}
|
|
7892
7892
|
if (output["MinSize"] !== undefined) {
|
|
7893
|
-
contents.MinSize = smithy_client_1.strictParseInt32(output["MinSize"]);
|
|
7893
|
+
contents.MinSize = (0, smithy_client_1.strictParseInt32)(output["MinSize"]);
|
|
7894
7894
|
}
|
|
7895
7895
|
if (output["MaxSize"] !== undefined) {
|
|
7896
|
-
contents.MaxSize = smithy_client_1.strictParseInt32(output["MaxSize"]);
|
|
7896
|
+
contents.MaxSize = (0, smithy_client_1.strictParseInt32)(output["MaxSize"]);
|
|
7897
7897
|
}
|
|
7898
7898
|
if (output["DesiredCapacity"] !== undefined) {
|
|
7899
|
-
contents.DesiredCapacity = smithy_client_1.strictParseInt32(output["DesiredCapacity"]);
|
|
7899
|
+
contents.DesiredCapacity = (0, smithy_client_1.strictParseInt32)(output["DesiredCapacity"]);
|
|
7900
7900
|
}
|
|
7901
7901
|
if (output["TimeZone"] !== undefined) {
|
|
7902
|
-
contents.TimeZone = smithy_client_1.expectString(output["TimeZone"]);
|
|
7902
|
+
contents.TimeZone = (0, smithy_client_1.expectString)(output["TimeZone"]);
|
|
7903
7903
|
}
|
|
7904
7904
|
return contents;
|
|
7905
7905
|
};
|
|
@@ -7920,7 +7920,7 @@ const deserializeAws_querySecurityGroups = (output, context) => {
|
|
|
7920
7920
|
if (entry === null) {
|
|
7921
7921
|
return null;
|
|
7922
7922
|
}
|
|
7923
|
-
return smithy_client_1.expectString(entry);
|
|
7923
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7924
7924
|
});
|
|
7925
7925
|
};
|
|
7926
7926
|
const deserializeAws_queryServiceLinkedRoleFailure = (output, context) => {
|
|
@@ -7928,7 +7928,7 @@ const deserializeAws_queryServiceLinkedRoleFailure = (output, context) => {
|
|
|
7928
7928
|
message: undefined,
|
|
7929
7929
|
};
|
|
7930
7930
|
if (output["message"] !== undefined) {
|
|
7931
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7931
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
7932
7932
|
}
|
|
7933
7933
|
return contents;
|
|
7934
7934
|
};
|
|
@@ -7941,7 +7941,7 @@ const deserializeAws_queryStartInstanceRefreshAnswer = (output, context) => {
|
|
|
7941
7941
|
InstanceRefreshId: undefined,
|
|
7942
7942
|
};
|
|
7943
7943
|
if (output["InstanceRefreshId"] !== undefined) {
|
|
7944
|
-
contents.InstanceRefreshId = smithy_client_1.expectString(output["InstanceRefreshId"]);
|
|
7944
|
+
contents.InstanceRefreshId = (0, smithy_client_1.expectString)(output["InstanceRefreshId"]);
|
|
7945
7945
|
}
|
|
7946
7946
|
return contents;
|
|
7947
7947
|
};
|
|
@@ -7952,13 +7952,13 @@ const deserializeAws_queryStepAdjustment = (output, context) => {
|
|
|
7952
7952
|
ScalingAdjustment: undefined,
|
|
7953
7953
|
};
|
|
7954
7954
|
if (output["MetricIntervalLowerBound"] !== undefined) {
|
|
7955
|
-
contents.MetricIntervalLowerBound = smithy_client_1.strictParseFloat(output["MetricIntervalLowerBound"]);
|
|
7955
|
+
contents.MetricIntervalLowerBound = (0, smithy_client_1.strictParseFloat)(output["MetricIntervalLowerBound"]);
|
|
7956
7956
|
}
|
|
7957
7957
|
if (output["MetricIntervalUpperBound"] !== undefined) {
|
|
7958
|
-
contents.MetricIntervalUpperBound = smithy_client_1.strictParseFloat(output["MetricIntervalUpperBound"]);
|
|
7958
|
+
contents.MetricIntervalUpperBound = (0, smithy_client_1.strictParseFloat)(output["MetricIntervalUpperBound"]);
|
|
7959
7959
|
}
|
|
7960
7960
|
if (output["ScalingAdjustment"] !== undefined) {
|
|
7961
|
-
contents.ScalingAdjustment = smithy_client_1.strictParseInt32(output["ScalingAdjustment"]);
|
|
7961
|
+
contents.ScalingAdjustment = (0, smithy_client_1.strictParseInt32)(output["ScalingAdjustment"]);
|
|
7962
7962
|
}
|
|
7963
7963
|
return contents;
|
|
7964
7964
|
};
|
|
@@ -7978,10 +7978,10 @@ const deserializeAws_querySuspendedProcess = (output, context) => {
|
|
|
7978
7978
|
SuspensionReason: undefined,
|
|
7979
7979
|
};
|
|
7980
7980
|
if (output["ProcessName"] !== undefined) {
|
|
7981
|
-
contents.ProcessName = smithy_client_1.expectString(output["ProcessName"]);
|
|
7981
|
+
contents.ProcessName = (0, smithy_client_1.expectString)(output["ProcessName"]);
|
|
7982
7982
|
}
|
|
7983
7983
|
if (output["SuspensionReason"] !== undefined) {
|
|
7984
|
-
contents.SuspensionReason = smithy_client_1.expectString(output["SuspensionReason"]);
|
|
7984
|
+
contents.SuspensionReason = (0, smithy_client_1.expectString)(output["SuspensionReason"]);
|
|
7985
7985
|
}
|
|
7986
7986
|
return contents;
|
|
7987
7987
|
};
|
|
@@ -8004,19 +8004,19 @@ const deserializeAws_queryTagDescription = (output, context) => {
|
|
|
8004
8004
|
PropagateAtLaunch: undefined,
|
|
8005
8005
|
};
|
|
8006
8006
|
if (output["ResourceId"] !== undefined) {
|
|
8007
|
-
contents.ResourceId = smithy_client_1.expectString(output["ResourceId"]);
|
|
8007
|
+
contents.ResourceId = (0, smithy_client_1.expectString)(output["ResourceId"]);
|
|
8008
8008
|
}
|
|
8009
8009
|
if (output["ResourceType"] !== undefined) {
|
|
8010
|
-
contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
|
|
8010
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(output["ResourceType"]);
|
|
8011
8011
|
}
|
|
8012
8012
|
if (output["Key"] !== undefined) {
|
|
8013
|
-
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
8013
|
+
contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
|
|
8014
8014
|
}
|
|
8015
8015
|
if (output["Value"] !== undefined) {
|
|
8016
|
-
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
8016
|
+
contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
|
|
8017
8017
|
}
|
|
8018
8018
|
if (output["PropagateAtLaunch"] !== undefined) {
|
|
8019
|
-
contents.PropagateAtLaunch = smithy_client_1.parseBoolean(output["PropagateAtLaunch"]);
|
|
8019
|
+
contents.PropagateAtLaunch = (0, smithy_client_1.parseBoolean)(output["PropagateAtLaunch"]);
|
|
8020
8020
|
}
|
|
8021
8021
|
return contents;
|
|
8022
8022
|
};
|
|
@@ -8039,10 +8039,10 @@ const deserializeAws_queryTagsType = (output, context) => {
|
|
|
8039
8039
|
contents.Tags = [];
|
|
8040
8040
|
}
|
|
8041
8041
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
8042
|
-
contents.Tags = deserializeAws_queryTagDescriptionList(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
8042
|
+
contents.Tags = deserializeAws_queryTagDescriptionList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
|
|
8043
8043
|
}
|
|
8044
8044
|
if (output["NextToken"] !== undefined) {
|
|
8045
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
8045
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
8046
8046
|
}
|
|
8047
8047
|
return contents;
|
|
8048
8048
|
};
|
|
@@ -8053,7 +8053,7 @@ const deserializeAws_queryTargetGroupARNs = (output, context) => {
|
|
|
8053
8053
|
if (entry === null) {
|
|
8054
8054
|
return null;
|
|
8055
8055
|
}
|
|
8056
|
-
return smithy_client_1.expectString(entry);
|
|
8056
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
8057
8057
|
});
|
|
8058
8058
|
};
|
|
8059
8059
|
const deserializeAws_queryTargetTrackingConfiguration = (output, context) => {
|
|
@@ -8070,10 +8070,10 @@ const deserializeAws_queryTargetTrackingConfiguration = (output, context) => {
|
|
|
8070
8070
|
contents.CustomizedMetricSpecification = deserializeAws_queryCustomizedMetricSpecification(output["CustomizedMetricSpecification"], context);
|
|
8071
8071
|
}
|
|
8072
8072
|
if (output["TargetValue"] !== undefined) {
|
|
8073
|
-
contents.TargetValue = smithy_client_1.strictParseFloat(output["TargetValue"]);
|
|
8073
|
+
contents.TargetValue = (0, smithy_client_1.strictParseFloat)(output["TargetValue"]);
|
|
8074
8074
|
}
|
|
8075
8075
|
if (output["DisableScaleIn"] !== undefined) {
|
|
8076
|
-
contents.DisableScaleIn = smithy_client_1.parseBoolean(output["DisableScaleIn"]);
|
|
8076
|
+
contents.DisableScaleIn = (0, smithy_client_1.parseBoolean)(output["DisableScaleIn"]);
|
|
8077
8077
|
}
|
|
8078
8078
|
return contents;
|
|
8079
8079
|
};
|
|
@@ -8084,7 +8084,7 @@ const deserializeAws_queryTerminationPolicies = (output, context) => {
|
|
|
8084
8084
|
if (entry === null) {
|
|
8085
8085
|
return null;
|
|
8086
8086
|
}
|
|
8087
|
-
return smithy_client_1.expectString(entry);
|
|
8087
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
8088
8088
|
});
|
|
8089
8089
|
};
|
|
8090
8090
|
const deserializeAws_queryTotalLocalStorageGBRequest = (output, context) => {
|
|
@@ -8093,10 +8093,10 @@ const deserializeAws_queryTotalLocalStorageGBRequest = (output, context) => {
|
|
|
8093
8093
|
Max: undefined,
|
|
8094
8094
|
};
|
|
8095
8095
|
if (output["Min"] !== undefined) {
|
|
8096
|
-
contents.Min = smithy_client_1.strictParseFloat(output["Min"]);
|
|
8096
|
+
contents.Min = (0, smithy_client_1.strictParseFloat)(output["Min"]);
|
|
8097
8097
|
}
|
|
8098
8098
|
if (output["Max"] !== undefined) {
|
|
8099
|
-
contents.Max = smithy_client_1.strictParseFloat(output["Max"]);
|
|
8099
|
+
contents.Max = (0, smithy_client_1.strictParseFloat)(output["Max"]);
|
|
8100
8100
|
}
|
|
8101
8101
|
return contents;
|
|
8102
8102
|
};
|
|
@@ -8106,10 +8106,10 @@ const deserializeAws_queryVCpuCountRequest = (output, context) => {
|
|
|
8106
8106
|
Max: undefined,
|
|
8107
8107
|
};
|
|
8108
8108
|
if (output["Min"] !== undefined) {
|
|
8109
|
-
contents.Min = smithy_client_1.strictParseInt32(output["Min"]);
|
|
8109
|
+
contents.Min = (0, smithy_client_1.strictParseInt32)(output["Min"]);
|
|
8110
8110
|
}
|
|
8111
8111
|
if (output["Max"] !== undefined) {
|
|
8112
|
-
contents.Max = smithy_client_1.strictParseInt32(output["Max"]);
|
|
8112
|
+
contents.Max = (0, smithy_client_1.strictParseInt32)(output["Max"]);
|
|
8113
8113
|
}
|
|
8114
8114
|
return contents;
|
|
8115
8115
|
};
|
|
@@ -8122,16 +8122,16 @@ const deserializeAws_queryWarmPoolConfiguration = (output, context) => {
|
|
|
8122
8122
|
InstanceReusePolicy: undefined,
|
|
8123
8123
|
};
|
|
8124
8124
|
if (output["MaxGroupPreparedCapacity"] !== undefined) {
|
|
8125
|
-
contents.MaxGroupPreparedCapacity = smithy_client_1.strictParseInt32(output["MaxGroupPreparedCapacity"]);
|
|
8125
|
+
contents.MaxGroupPreparedCapacity = (0, smithy_client_1.strictParseInt32)(output["MaxGroupPreparedCapacity"]);
|
|
8126
8126
|
}
|
|
8127
8127
|
if (output["MinSize"] !== undefined) {
|
|
8128
|
-
contents.MinSize = smithy_client_1.strictParseInt32(output["MinSize"]);
|
|
8128
|
+
contents.MinSize = (0, smithy_client_1.strictParseInt32)(output["MinSize"]);
|
|
8129
8129
|
}
|
|
8130
8130
|
if (output["PoolState"] !== undefined) {
|
|
8131
|
-
contents.PoolState = smithy_client_1.expectString(output["PoolState"]);
|
|
8131
|
+
contents.PoolState = (0, smithy_client_1.expectString)(output["PoolState"]);
|
|
8132
8132
|
}
|
|
8133
8133
|
if (output["Status"] !== undefined) {
|
|
8134
|
-
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8134
|
+
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
8135
8135
|
}
|
|
8136
8136
|
if (output["InstanceReusePolicy"] !== undefined) {
|
|
8137
8137
|
contents.InstanceReusePolicy = deserializeAws_queryInstanceReusePolicy(output["InstanceReusePolicy"], context);
|
|
@@ -8174,12 +8174,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
8174
8174
|
};
|
|
8175
8175
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
8176
8176
|
if (encoded.length) {
|
|
8177
|
-
const parsedObj = fast_xml_parser_1.parse(encoded, {
|
|
8177
|
+
const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
|
|
8178
8178
|
attributeNamePrefix: "",
|
|
8179
8179
|
ignoreAttributes: false,
|
|
8180
8180
|
parseNodeValue: false,
|
|
8181
8181
|
trimValues: false,
|
|
8182
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
|
|
8182
|
+
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
|
|
8183
8183
|
});
|
|
8184
8184
|
const textNodeName = "#text";
|
|
8185
8185
|
const key = Object.keys(parsedObj)[0];
|
|
@@ -8188,12 +8188,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
8188
8188
|
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
8189
8189
|
delete parsedObjToReturn[textNodeName];
|
|
8190
8190
|
}
|
|
8191
|
-
return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
|
|
8191
|
+
return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn);
|
|
8192
8192
|
}
|
|
8193
8193
|
return {};
|
|
8194
8194
|
});
|
|
8195
8195
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
8196
|
-
.map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
|
|
8196
|
+
.map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
|
|
8197
8197
|
.join("&");
|
|
8198
8198
|
const loadQueryErrorCode = (output, data) => {
|
|
8199
8199
|
if (data.Error.Code !== undefined) {
|