@aws-sdk/client-compute-optimizer 3.30.0 → 3.34.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 +35 -0
- package/dist/cjs/ComputeOptimizerClient.js +13 -13
- package/dist/cjs/ComputeOptimizerClient.js.map +1 -1
- package/dist/cjs/commands/DescribeRecommendationExportJobsCommand.js +3 -3
- package/dist/cjs/commands/DescribeRecommendationExportJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ExportAutoScalingGroupRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/ExportAutoScalingGroupRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/ExportEBSVolumeRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/ExportEBSVolumeRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/ExportEC2InstanceRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/ExportEC2InstanceRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/ExportLambdaFunctionRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/ExportLambdaFunctionRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/GetAutoScalingGroupRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/GetAutoScalingGroupRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/GetEBSVolumeRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/GetEBSVolumeRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/GetEC2InstanceRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/GetEC2InstanceRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/GetEC2RecommendationProjectedMetricsCommand.js +3 -3
- package/dist/cjs/commands/GetEC2RecommendationProjectedMetricsCommand.js.map +1 -1
- package/dist/cjs/commands/GetEnrollmentStatusCommand.js +3 -3
- package/dist/cjs/commands/GetEnrollmentStatusCommand.js.map +1 -1
- package/dist/cjs/commands/GetEnrollmentStatusesForOrganizationCommand.js +3 -3
- package/dist/cjs/commands/GetEnrollmentStatusesForOrganizationCommand.js.map +1 -1
- package/dist/cjs/commands/GetLambdaFunctionRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/GetLambdaFunctionRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/GetRecommendationSummariesCommand.js +3 -3
- package/dist/cjs/commands/GetRecommendationSummariesCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateEnrollmentStatusCommand.js +3 -3
- package/dist/cjs/commands/UpdateEnrollmentStatusCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +17 -17
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_json1_0.js +116 -116
- package/dist/cjs/protocols/Aws_json1_0.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/ComputeOptimizer.js +1 -14
- package/dist/es/ComputeOptimizer.js.map +1 -1
- package/dist/es/ComputeOptimizerClient.js +1 -19
- package/dist/es/ComputeOptimizerClient.js.map +1 -1
- package/dist/es/commands/DescribeRecommendationExportJobsCommand.js +2 -31
- package/dist/es/commands/DescribeRecommendationExportJobsCommand.js.map +1 -1
- package/dist/es/commands/ExportAutoScalingGroupRecommendationsCommand.js +2 -34
- package/dist/es/commands/ExportAutoScalingGroupRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/ExportEBSVolumeRecommendationsCommand.js +2 -35
- package/dist/es/commands/ExportEBSVolumeRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/ExportEC2InstanceRecommendationsCommand.js +2 -35
- package/dist/es/commands/ExportEC2InstanceRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/ExportLambdaFunctionRecommendationsCommand.js +2 -35
- package/dist/es/commands/ExportLambdaFunctionRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/GetAutoScalingGroupRecommendationsCommand.js +2 -32
- package/dist/es/commands/GetAutoScalingGroupRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/GetEBSVolumeRecommendationsCommand.js +2 -32
- package/dist/es/commands/GetEBSVolumeRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/GetEC2InstanceRecommendationsCommand.js +2 -32
- package/dist/es/commands/GetEC2InstanceRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/GetEC2RecommendationProjectedMetricsCommand.js +2 -35
- package/dist/es/commands/GetEC2RecommendationProjectedMetricsCommand.js.map +1 -1
- package/dist/es/commands/GetEnrollmentStatusCommand.js +2 -32
- package/dist/es/commands/GetEnrollmentStatusCommand.js.map +1 -1
- package/dist/es/commands/GetEnrollmentStatusesForOrganizationCommand.js +2 -30
- package/dist/es/commands/GetEnrollmentStatusesForOrganizationCommand.js.map +1 -1
- package/dist/es/commands/GetLambdaFunctionRecommendationsCommand.js +2 -32
- package/dist/es/commands/GetLambdaFunctionRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/GetRecommendationSummariesCommand.js +2 -49
- package/dist/es/commands/GetRecommendationSummariesCommand.js.map +1 -1
- package/dist/es/commands/UpdateEnrollmentStatusCommand.js +2 -37
- package/dist/es/commands/UpdateEnrollmentStatusCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -207
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/protocols/Aws_json1_0.js +539 -544
- package/dist/es/protocols/Aws_json1_0.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +3 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +3 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/protocols/Aws_json1_0.ts +12 -9
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -2046,17 +2046,17 @@ const serializeAws_json1_0VolumeArns = (input, context) => {
|
|
|
2046
2046
|
};
|
|
2047
2047
|
const deserializeAws_json1_0AccessDeniedException = (output, context) => {
|
|
2048
2048
|
return {
|
|
2049
|
-
message:
|
|
2049
|
+
message: smithy_client_1.expectString(output.message),
|
|
2050
2050
|
};
|
|
2051
2051
|
};
|
|
2052
2052
|
const deserializeAws_json1_0AccountEnrollmentStatus = (output, context) => {
|
|
2053
2053
|
return {
|
|
2054
|
-
accountId:
|
|
2054
|
+
accountId: smithy_client_1.expectString(output.accountId),
|
|
2055
2055
|
lastUpdatedTimestamp: output.lastUpdatedTimestamp !== undefined && output.lastUpdatedTimestamp !== null
|
|
2056
|
-
?
|
|
2056
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTimestamp)))
|
|
2057
2057
|
: undefined,
|
|
2058
|
-
status:
|
|
2059
|
-
statusReason:
|
|
2058
|
+
status: smithy_client_1.expectString(output.status),
|
|
2059
|
+
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2060
2060
|
};
|
|
2061
2061
|
};
|
|
2062
2062
|
const deserializeAws_json1_0AccountEnrollmentStatuses = (output, context) => {
|
|
@@ -2071,25 +2071,25 @@ const deserializeAws_json1_0AccountEnrollmentStatuses = (output, context) => {
|
|
|
2071
2071
|
};
|
|
2072
2072
|
const deserializeAws_json1_0AutoScalingGroupConfiguration = (output, context) => {
|
|
2073
2073
|
return {
|
|
2074
|
-
desiredCapacity:
|
|
2075
|
-
instanceType:
|
|
2076
|
-
maxSize:
|
|
2077
|
-
minSize:
|
|
2074
|
+
desiredCapacity: smithy_client_1.expectInt32(output.desiredCapacity),
|
|
2075
|
+
instanceType: smithy_client_1.expectString(output.instanceType),
|
|
2076
|
+
maxSize: smithy_client_1.expectInt32(output.maxSize),
|
|
2077
|
+
minSize: smithy_client_1.expectInt32(output.minSize),
|
|
2078
2078
|
};
|
|
2079
2079
|
};
|
|
2080
2080
|
const deserializeAws_json1_0AutoScalingGroupRecommendation = (output, context) => {
|
|
2081
2081
|
return {
|
|
2082
|
-
accountId:
|
|
2083
|
-
autoScalingGroupArn:
|
|
2084
|
-
autoScalingGroupName:
|
|
2082
|
+
accountId: smithy_client_1.expectString(output.accountId),
|
|
2083
|
+
autoScalingGroupArn: smithy_client_1.expectString(output.autoScalingGroupArn),
|
|
2084
|
+
autoScalingGroupName: smithy_client_1.expectString(output.autoScalingGroupName),
|
|
2085
2085
|
currentConfiguration: output.currentConfiguration !== undefined && output.currentConfiguration !== null
|
|
2086
2086
|
? deserializeAws_json1_0AutoScalingGroupConfiguration(output.currentConfiguration, context)
|
|
2087
2087
|
: undefined,
|
|
2088
|
-
finding:
|
|
2088
|
+
finding: smithy_client_1.expectString(output.finding),
|
|
2089
2089
|
lastRefreshTimestamp: output.lastRefreshTimestamp !== undefined && output.lastRefreshTimestamp !== null
|
|
2090
|
-
?
|
|
2090
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastRefreshTimestamp)))
|
|
2091
2091
|
: undefined,
|
|
2092
|
-
lookBackPeriodInDays:
|
|
2092
|
+
lookBackPeriodInDays: smithy_client_1.limitedParseDouble(output.lookBackPeriodInDays),
|
|
2093
2093
|
recommendationOptions: output.recommendationOptions !== undefined && output.recommendationOptions !== null
|
|
2094
2094
|
? deserializeAws_json1_0AutoScalingGroupRecommendationOptions(output.recommendationOptions, context)
|
|
2095
2095
|
: undefined,
|
|
@@ -2103,11 +2103,11 @@ const deserializeAws_json1_0AutoScalingGroupRecommendationOption = (output, cont
|
|
|
2103
2103
|
configuration: output.configuration !== undefined && output.configuration !== null
|
|
2104
2104
|
? deserializeAws_json1_0AutoScalingGroupConfiguration(output.configuration, context)
|
|
2105
2105
|
: undefined,
|
|
2106
|
-
performanceRisk:
|
|
2106
|
+
performanceRisk: smithy_client_1.limitedParseDouble(output.performanceRisk),
|
|
2107
2107
|
projectedUtilizationMetrics: output.projectedUtilizationMetrics !== undefined && output.projectedUtilizationMetrics !== null
|
|
2108
2108
|
? deserializeAws_json1_0ProjectedUtilizationMetrics(output.projectedUtilizationMetrics, context)
|
|
2109
2109
|
: undefined,
|
|
2110
|
-
rank:
|
|
2110
|
+
rank: smithy_client_1.expectInt32(output.rank),
|
|
2111
2111
|
};
|
|
2112
2112
|
};
|
|
2113
2113
|
const deserializeAws_json1_0AutoScalingGroupRecommendationOptions = (output, context) => {
|
|
@@ -2132,7 +2132,7 @@ const deserializeAws_json1_0AutoScalingGroupRecommendations = (output, context)
|
|
|
2132
2132
|
};
|
|
2133
2133
|
const deserializeAws_json1_0DescribeRecommendationExportJobsResponse = (output, context) => {
|
|
2134
2134
|
return {
|
|
2135
|
-
nextToken:
|
|
2135
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
2136
2136
|
recommendationExportJobs: output.recommendationExportJobs !== undefined && output.recommendationExportJobs !== null
|
|
2137
2137
|
? deserializeAws_json1_0RecommendationExportJobs(output.recommendationExportJobs, context)
|
|
2138
2138
|
: undefined,
|
|
@@ -2140,9 +2140,9 @@ const deserializeAws_json1_0DescribeRecommendationExportJobsResponse = (output,
|
|
|
2140
2140
|
};
|
|
2141
2141
|
const deserializeAws_json1_0EBSUtilizationMetric = (output, context) => {
|
|
2142
2142
|
return {
|
|
2143
|
-
name:
|
|
2144
|
-
statistic:
|
|
2145
|
-
value:
|
|
2143
|
+
name: smithy_client_1.expectString(output.name),
|
|
2144
|
+
statistic: smithy_client_1.expectString(output.statistic),
|
|
2145
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2146
2146
|
};
|
|
2147
2147
|
};
|
|
2148
2148
|
const deserializeAws_json1_0EBSUtilizationMetrics = (output, context) => {
|
|
@@ -2157,7 +2157,7 @@ const deserializeAws_json1_0EBSUtilizationMetrics = (output, context) => {
|
|
|
2157
2157
|
};
|
|
2158
2158
|
const deserializeAws_json1_0ExportAutoScalingGroupRecommendationsResponse = (output, context) => {
|
|
2159
2159
|
return {
|
|
2160
|
-
jobId:
|
|
2160
|
+
jobId: smithy_client_1.expectString(output.jobId),
|
|
2161
2161
|
s3Destination: output.s3Destination !== undefined && output.s3Destination !== null
|
|
2162
2162
|
? deserializeAws_json1_0S3Destination(output.s3Destination, context)
|
|
2163
2163
|
: undefined,
|
|
@@ -2172,7 +2172,7 @@ const deserializeAws_json1_0ExportDestination = (output, context) => {
|
|
|
2172
2172
|
};
|
|
2173
2173
|
const deserializeAws_json1_0ExportEBSVolumeRecommendationsResponse = (output, context) => {
|
|
2174
2174
|
return {
|
|
2175
|
-
jobId:
|
|
2175
|
+
jobId: smithy_client_1.expectString(output.jobId),
|
|
2176
2176
|
s3Destination: output.s3Destination !== undefined && output.s3Destination !== null
|
|
2177
2177
|
? deserializeAws_json1_0S3Destination(output.s3Destination, context)
|
|
2178
2178
|
: undefined,
|
|
@@ -2180,7 +2180,7 @@ const deserializeAws_json1_0ExportEBSVolumeRecommendationsResponse = (output, co
|
|
|
2180
2180
|
};
|
|
2181
2181
|
const deserializeAws_json1_0ExportEC2InstanceRecommendationsResponse = (output, context) => {
|
|
2182
2182
|
return {
|
|
2183
|
-
jobId:
|
|
2183
|
+
jobId: smithy_client_1.expectString(output.jobId),
|
|
2184
2184
|
s3Destination: output.s3Destination !== undefined && output.s3Destination !== null
|
|
2185
2185
|
? deserializeAws_json1_0S3Destination(output.s3Destination, context)
|
|
2186
2186
|
: undefined,
|
|
@@ -2188,7 +2188,7 @@ const deserializeAws_json1_0ExportEC2InstanceRecommendationsResponse = (output,
|
|
|
2188
2188
|
};
|
|
2189
2189
|
const deserializeAws_json1_0ExportLambdaFunctionRecommendationsResponse = (output, context) => {
|
|
2190
2190
|
return {
|
|
2191
|
-
jobId:
|
|
2191
|
+
jobId: smithy_client_1.expectString(output.jobId),
|
|
2192
2192
|
s3Destination: output.s3Destination !== undefined && output.s3Destination !== null
|
|
2193
2193
|
? deserializeAws_json1_0S3Destination(output.s3Destination, context)
|
|
2194
2194
|
: undefined,
|
|
@@ -2202,7 +2202,7 @@ const deserializeAws_json1_0GetAutoScalingGroupRecommendationsResponse = (output
|
|
|
2202
2202
|
errors: output.errors !== undefined && output.errors !== null
|
|
2203
2203
|
? deserializeAws_json1_0GetRecommendationErrors(output.errors, context)
|
|
2204
2204
|
: undefined,
|
|
2205
|
-
nextToken:
|
|
2205
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
2206
2206
|
};
|
|
2207
2207
|
};
|
|
2208
2208
|
const deserializeAws_json1_0GetEBSVolumeRecommendationsResponse = (output, context) => {
|
|
@@ -2210,7 +2210,7 @@ const deserializeAws_json1_0GetEBSVolumeRecommendationsResponse = (output, conte
|
|
|
2210
2210
|
errors: output.errors !== undefined && output.errors !== null
|
|
2211
2211
|
? deserializeAws_json1_0GetRecommendationErrors(output.errors, context)
|
|
2212
2212
|
: undefined,
|
|
2213
|
-
nextToken:
|
|
2213
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
2214
2214
|
volumeRecommendations: output.volumeRecommendations !== undefined && output.volumeRecommendations !== null
|
|
2215
2215
|
? deserializeAws_json1_0VolumeRecommendations(output.volumeRecommendations, context)
|
|
2216
2216
|
: undefined,
|
|
@@ -2224,7 +2224,7 @@ const deserializeAws_json1_0GetEC2InstanceRecommendationsResponse = (output, con
|
|
|
2224
2224
|
instanceRecommendations: output.instanceRecommendations !== undefined && output.instanceRecommendations !== null
|
|
2225
2225
|
? deserializeAws_json1_0InstanceRecommendations(output.instanceRecommendations, context)
|
|
2226
2226
|
: undefined,
|
|
2227
|
-
nextToken:
|
|
2227
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
2228
2228
|
};
|
|
2229
2229
|
};
|
|
2230
2230
|
const deserializeAws_json1_0GetEC2RecommendationProjectedMetricsResponse = (output, context) => {
|
|
@@ -2239,18 +2239,18 @@ const deserializeAws_json1_0GetEnrollmentStatusesForOrganizationResponse = (outp
|
|
|
2239
2239
|
accountEnrollmentStatuses: output.accountEnrollmentStatuses !== undefined && output.accountEnrollmentStatuses !== null
|
|
2240
2240
|
? deserializeAws_json1_0AccountEnrollmentStatuses(output.accountEnrollmentStatuses, context)
|
|
2241
2241
|
: undefined,
|
|
2242
|
-
nextToken:
|
|
2242
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
2243
2243
|
};
|
|
2244
2244
|
};
|
|
2245
2245
|
const deserializeAws_json1_0GetEnrollmentStatusResponse = (output, context) => {
|
|
2246
2246
|
return {
|
|
2247
2247
|
lastUpdatedTimestamp: output.lastUpdatedTimestamp !== undefined && output.lastUpdatedTimestamp !== null
|
|
2248
|
-
?
|
|
2248
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTimestamp)))
|
|
2249
2249
|
: undefined,
|
|
2250
|
-
memberAccountsEnrolled:
|
|
2251
|
-
numberOfMemberAccountsOptedIn:
|
|
2252
|
-
status:
|
|
2253
|
-
statusReason:
|
|
2250
|
+
memberAccountsEnrolled: smithy_client_1.expectBoolean(output.memberAccountsEnrolled),
|
|
2251
|
+
numberOfMemberAccountsOptedIn: smithy_client_1.expectInt32(output.numberOfMemberAccountsOptedIn),
|
|
2252
|
+
status: smithy_client_1.expectString(output.status),
|
|
2253
|
+
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2254
2254
|
};
|
|
2255
2255
|
};
|
|
2256
2256
|
const deserializeAws_json1_0GetLambdaFunctionRecommendationsResponse = (output, context) => {
|
|
@@ -2258,14 +2258,14 @@ const deserializeAws_json1_0GetLambdaFunctionRecommendationsResponse = (output,
|
|
|
2258
2258
|
lambdaFunctionRecommendations: output.lambdaFunctionRecommendations !== undefined && output.lambdaFunctionRecommendations !== null
|
|
2259
2259
|
? deserializeAws_json1_0LambdaFunctionRecommendations(output.lambdaFunctionRecommendations, context)
|
|
2260
2260
|
: undefined,
|
|
2261
|
-
nextToken:
|
|
2261
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
2262
2262
|
};
|
|
2263
2263
|
};
|
|
2264
2264
|
const deserializeAws_json1_0GetRecommendationError = (output, context) => {
|
|
2265
2265
|
return {
|
|
2266
|
-
code:
|
|
2267
|
-
identifier:
|
|
2268
|
-
message:
|
|
2266
|
+
code: smithy_client_1.expectString(output.code),
|
|
2267
|
+
identifier: smithy_client_1.expectString(output.identifier),
|
|
2268
|
+
message: smithy_client_1.expectString(output.message),
|
|
2269
2269
|
};
|
|
2270
2270
|
};
|
|
2271
2271
|
const deserializeAws_json1_0GetRecommendationErrors = (output, context) => {
|
|
@@ -2280,7 +2280,7 @@ const deserializeAws_json1_0GetRecommendationErrors = (output, context) => {
|
|
|
2280
2280
|
};
|
|
2281
2281
|
const deserializeAws_json1_0GetRecommendationSummariesResponse = (output, context) => {
|
|
2282
2282
|
return {
|
|
2283
|
-
nextToken:
|
|
2283
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
2284
2284
|
recommendationSummaries: output.recommendationSummaries !== undefined && output.recommendationSummaries !== null
|
|
2285
2285
|
? deserializeAws_json1_0RecommendationSummaries(output.recommendationSummaries, context)
|
|
2286
2286
|
: undefined,
|
|
@@ -2288,18 +2288,18 @@ const deserializeAws_json1_0GetRecommendationSummariesResponse = (output, contex
|
|
|
2288
2288
|
};
|
|
2289
2289
|
const deserializeAws_json1_0InstanceRecommendation = (output, context) => {
|
|
2290
2290
|
return {
|
|
2291
|
-
accountId:
|
|
2292
|
-
currentInstanceType:
|
|
2293
|
-
finding:
|
|
2291
|
+
accountId: smithy_client_1.expectString(output.accountId),
|
|
2292
|
+
currentInstanceType: smithy_client_1.expectString(output.currentInstanceType),
|
|
2293
|
+
finding: smithy_client_1.expectString(output.finding),
|
|
2294
2294
|
findingReasonCodes: output.findingReasonCodes !== undefined && output.findingReasonCodes !== null
|
|
2295
2295
|
? deserializeAws_json1_0InstanceRecommendationFindingReasonCodes(output.findingReasonCodes, context)
|
|
2296
2296
|
: undefined,
|
|
2297
|
-
instanceArn:
|
|
2298
|
-
instanceName:
|
|
2297
|
+
instanceArn: smithy_client_1.expectString(output.instanceArn),
|
|
2298
|
+
instanceName: smithy_client_1.expectString(output.instanceName),
|
|
2299
2299
|
lastRefreshTimestamp: output.lastRefreshTimestamp !== undefined && output.lastRefreshTimestamp !== null
|
|
2300
|
-
?
|
|
2300
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastRefreshTimestamp)))
|
|
2301
2301
|
: undefined,
|
|
2302
|
-
lookBackPeriodInDays:
|
|
2302
|
+
lookBackPeriodInDays: smithy_client_1.limitedParseDouble(output.lookBackPeriodInDays),
|
|
2303
2303
|
recommendationOptions: output.recommendationOptions !== undefined && output.recommendationOptions !== null
|
|
2304
2304
|
? deserializeAws_json1_0RecommendationOptions(output.recommendationOptions, context)
|
|
2305
2305
|
: undefined,
|
|
@@ -2318,20 +2318,20 @@ const deserializeAws_json1_0InstanceRecommendationFindingReasonCodes = (output,
|
|
|
2318
2318
|
if (entry === null) {
|
|
2319
2319
|
return null;
|
|
2320
2320
|
}
|
|
2321
|
-
return
|
|
2321
|
+
return smithy_client_1.expectString(entry);
|
|
2322
2322
|
});
|
|
2323
2323
|
};
|
|
2324
2324
|
const deserializeAws_json1_0InstanceRecommendationOption = (output, context) => {
|
|
2325
2325
|
return {
|
|
2326
|
-
instanceType:
|
|
2327
|
-
performanceRisk:
|
|
2326
|
+
instanceType: smithy_client_1.expectString(output.instanceType),
|
|
2327
|
+
performanceRisk: smithy_client_1.limitedParseDouble(output.performanceRisk),
|
|
2328
2328
|
platformDifferences: output.platformDifferences !== undefined && output.platformDifferences !== null
|
|
2329
2329
|
? deserializeAws_json1_0PlatformDifferences(output.platformDifferences, context)
|
|
2330
2330
|
: undefined,
|
|
2331
2331
|
projectedUtilizationMetrics: output.projectedUtilizationMetrics !== undefined && output.projectedUtilizationMetrics !== null
|
|
2332
2332
|
? deserializeAws_json1_0ProjectedUtilizationMetrics(output.projectedUtilizationMetrics, context)
|
|
2333
2333
|
: undefined,
|
|
2334
|
-
rank:
|
|
2334
|
+
rank: smithy_client_1.expectInt32(output.rank),
|
|
2335
2335
|
};
|
|
2336
2336
|
};
|
|
2337
2337
|
const deserializeAws_json1_0InstanceRecommendations = (output, context) => {
|
|
@@ -2346,19 +2346,19 @@ const deserializeAws_json1_0InstanceRecommendations = (output, context) => {
|
|
|
2346
2346
|
};
|
|
2347
2347
|
const deserializeAws_json1_0InternalServerException = (output, context) => {
|
|
2348
2348
|
return {
|
|
2349
|
-
message:
|
|
2349
|
+
message: smithy_client_1.expectString(output.message),
|
|
2350
2350
|
};
|
|
2351
2351
|
};
|
|
2352
2352
|
const deserializeAws_json1_0InvalidParameterValueException = (output, context) => {
|
|
2353
2353
|
return {
|
|
2354
|
-
message:
|
|
2354
|
+
message: smithy_client_1.expectString(output.message),
|
|
2355
2355
|
};
|
|
2356
2356
|
};
|
|
2357
2357
|
const deserializeAws_json1_0LambdaFunctionMemoryProjectedMetric = (output, context) => {
|
|
2358
2358
|
return {
|
|
2359
|
-
name:
|
|
2360
|
-
statistic:
|
|
2361
|
-
value:
|
|
2359
|
+
name: smithy_client_1.expectString(output.name),
|
|
2360
|
+
statistic: smithy_client_1.expectString(output.statistic),
|
|
2361
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2362
2362
|
};
|
|
2363
2363
|
};
|
|
2364
2364
|
const deserializeAws_json1_0LambdaFunctionMemoryProjectedMetrics = (output, context) => {
|
|
@@ -2373,11 +2373,11 @@ const deserializeAws_json1_0LambdaFunctionMemoryProjectedMetrics = (output, cont
|
|
|
2373
2373
|
};
|
|
2374
2374
|
const deserializeAws_json1_0LambdaFunctionMemoryRecommendationOption = (output, context) => {
|
|
2375
2375
|
return {
|
|
2376
|
-
memorySize:
|
|
2376
|
+
memorySize: smithy_client_1.expectInt32(output.memorySize),
|
|
2377
2377
|
projectedUtilizationMetrics: output.projectedUtilizationMetrics !== undefined && output.projectedUtilizationMetrics !== null
|
|
2378
2378
|
? deserializeAws_json1_0LambdaFunctionMemoryProjectedMetrics(output.projectedUtilizationMetrics, context)
|
|
2379
2379
|
: undefined,
|
|
2380
|
-
rank:
|
|
2380
|
+
rank: smithy_client_1.expectInt32(output.rank),
|
|
2381
2381
|
};
|
|
2382
2382
|
};
|
|
2383
2383
|
const deserializeAws_json1_0LambdaFunctionMemoryRecommendationOptions = (output, context) => {
|
|
@@ -2392,22 +2392,22 @@ const deserializeAws_json1_0LambdaFunctionMemoryRecommendationOptions = (output,
|
|
|
2392
2392
|
};
|
|
2393
2393
|
const deserializeAws_json1_0LambdaFunctionRecommendation = (output, context) => {
|
|
2394
2394
|
return {
|
|
2395
|
-
accountId:
|
|
2396
|
-
currentMemorySize:
|
|
2397
|
-
finding:
|
|
2395
|
+
accountId: smithy_client_1.expectString(output.accountId),
|
|
2396
|
+
currentMemorySize: smithy_client_1.expectInt32(output.currentMemorySize),
|
|
2397
|
+
finding: smithy_client_1.expectString(output.finding),
|
|
2398
2398
|
findingReasonCodes: output.findingReasonCodes !== undefined && output.findingReasonCodes !== null
|
|
2399
2399
|
? deserializeAws_json1_0LambdaFunctionRecommendationFindingReasonCodes(output.findingReasonCodes, context)
|
|
2400
2400
|
: undefined,
|
|
2401
|
-
functionArn:
|
|
2402
|
-
functionVersion:
|
|
2401
|
+
functionArn: smithy_client_1.expectString(output.functionArn),
|
|
2402
|
+
functionVersion: smithy_client_1.expectString(output.functionVersion),
|
|
2403
2403
|
lastRefreshTimestamp: output.lastRefreshTimestamp !== undefined && output.lastRefreshTimestamp !== null
|
|
2404
|
-
?
|
|
2404
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastRefreshTimestamp)))
|
|
2405
2405
|
: undefined,
|
|
2406
|
-
lookbackPeriodInDays:
|
|
2406
|
+
lookbackPeriodInDays: smithy_client_1.limitedParseDouble(output.lookbackPeriodInDays),
|
|
2407
2407
|
memorySizeRecommendationOptions: output.memorySizeRecommendationOptions !== undefined && output.memorySizeRecommendationOptions !== null
|
|
2408
2408
|
? deserializeAws_json1_0LambdaFunctionMemoryRecommendationOptions(output.memorySizeRecommendationOptions, context)
|
|
2409
2409
|
: undefined,
|
|
2410
|
-
numberOfInvocations:
|
|
2410
|
+
numberOfInvocations: smithy_client_1.expectLong(output.numberOfInvocations),
|
|
2411
2411
|
utilizationMetrics: output.utilizationMetrics !== undefined && output.utilizationMetrics !== null
|
|
2412
2412
|
? deserializeAws_json1_0LambdaFunctionUtilizationMetrics(output.utilizationMetrics, context)
|
|
2413
2413
|
: undefined,
|
|
@@ -2420,7 +2420,7 @@ const deserializeAws_json1_0LambdaFunctionRecommendationFindingReasonCodes = (ou
|
|
|
2420
2420
|
if (entry === null) {
|
|
2421
2421
|
return null;
|
|
2422
2422
|
}
|
|
2423
|
-
return
|
|
2423
|
+
return smithy_client_1.expectString(entry);
|
|
2424
2424
|
});
|
|
2425
2425
|
};
|
|
2426
2426
|
const deserializeAws_json1_0LambdaFunctionRecommendations = (output, context) => {
|
|
@@ -2435,9 +2435,9 @@ const deserializeAws_json1_0LambdaFunctionRecommendations = (output, context) =>
|
|
|
2435
2435
|
};
|
|
2436
2436
|
const deserializeAws_json1_0LambdaFunctionUtilizationMetric = (output, context) => {
|
|
2437
2437
|
return {
|
|
2438
|
-
name:
|
|
2439
|
-
statistic:
|
|
2440
|
-
value:
|
|
2438
|
+
name: smithy_client_1.expectString(output.name),
|
|
2439
|
+
statistic: smithy_client_1.expectString(output.statistic),
|
|
2440
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2441
2441
|
};
|
|
2442
2442
|
};
|
|
2443
2443
|
const deserializeAws_json1_0LambdaFunctionUtilizationMetrics = (output, context) => {
|
|
@@ -2452,7 +2452,7 @@ const deserializeAws_json1_0LambdaFunctionUtilizationMetrics = (output, context)
|
|
|
2452
2452
|
};
|
|
2453
2453
|
const deserializeAws_json1_0LimitExceededException = (output, context) => {
|
|
2454
2454
|
return {
|
|
2455
|
-
message:
|
|
2455
|
+
message: smithy_client_1.expectString(output.message),
|
|
2456
2456
|
};
|
|
2457
2457
|
};
|
|
2458
2458
|
const deserializeAws_json1_0MetricValues = (output, context) => {
|
|
@@ -2462,17 +2462,17 @@ const deserializeAws_json1_0MetricValues = (output, context) => {
|
|
|
2462
2462
|
if (entry === null) {
|
|
2463
2463
|
return null;
|
|
2464
2464
|
}
|
|
2465
|
-
return
|
|
2465
|
+
return smithy_client_1.limitedParseDouble(entry);
|
|
2466
2466
|
});
|
|
2467
2467
|
};
|
|
2468
2468
|
const deserializeAws_json1_0MissingAuthenticationToken = (output, context) => {
|
|
2469
2469
|
return {
|
|
2470
|
-
message:
|
|
2470
|
+
message: smithy_client_1.expectString(output.message),
|
|
2471
2471
|
};
|
|
2472
2472
|
};
|
|
2473
2473
|
const deserializeAws_json1_0OptInRequiredException = (output, context) => {
|
|
2474
2474
|
return {
|
|
2475
|
-
message:
|
|
2475
|
+
message: smithy_client_1.expectString(output.message),
|
|
2476
2476
|
};
|
|
2477
2477
|
};
|
|
2478
2478
|
const deserializeAws_json1_0PlatformDifferences = (output, context) => {
|
|
@@ -2482,12 +2482,12 @@ const deserializeAws_json1_0PlatformDifferences = (output, context) => {
|
|
|
2482
2482
|
if (entry === null) {
|
|
2483
2483
|
return null;
|
|
2484
2484
|
}
|
|
2485
|
-
return
|
|
2485
|
+
return smithy_client_1.expectString(entry);
|
|
2486
2486
|
});
|
|
2487
2487
|
};
|
|
2488
2488
|
const deserializeAws_json1_0ProjectedMetric = (output, context) => {
|
|
2489
2489
|
return {
|
|
2490
|
-
name:
|
|
2490
|
+
name: smithy_client_1.expectString(output.name),
|
|
2491
2491
|
timestamps: output.timestamps !== undefined && output.timestamps !== null
|
|
2492
2492
|
? deserializeAws_json1_0Timestamps(output.timestamps, context)
|
|
2493
2493
|
: undefined,
|
|
@@ -2528,25 +2528,25 @@ const deserializeAws_json1_0ReasonCodeSummaries = (output, context) => {
|
|
|
2528
2528
|
};
|
|
2529
2529
|
const deserializeAws_json1_0ReasonCodeSummary = (output, context) => {
|
|
2530
2530
|
return {
|
|
2531
|
-
name:
|
|
2532
|
-
value:
|
|
2531
|
+
name: smithy_client_1.expectString(output.name),
|
|
2532
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2533
2533
|
};
|
|
2534
2534
|
};
|
|
2535
2535
|
const deserializeAws_json1_0RecommendationExportJob = (output, context) => {
|
|
2536
2536
|
return {
|
|
2537
2537
|
creationTimestamp: output.creationTimestamp !== undefined && output.creationTimestamp !== null
|
|
2538
|
-
?
|
|
2538
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTimestamp)))
|
|
2539
2539
|
: undefined,
|
|
2540
2540
|
destination: output.destination !== undefined && output.destination !== null
|
|
2541
2541
|
? deserializeAws_json1_0ExportDestination(output.destination, context)
|
|
2542
2542
|
: undefined,
|
|
2543
|
-
failureReason:
|
|
2544
|
-
jobId:
|
|
2543
|
+
failureReason: smithy_client_1.expectString(output.failureReason),
|
|
2544
|
+
jobId: smithy_client_1.expectString(output.jobId),
|
|
2545
2545
|
lastUpdatedTimestamp: output.lastUpdatedTimestamp !== undefined && output.lastUpdatedTimestamp !== null
|
|
2546
|
-
?
|
|
2546
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTimestamp)))
|
|
2547
2547
|
: undefined,
|
|
2548
|
-
resourceType:
|
|
2549
|
-
status:
|
|
2548
|
+
resourceType: smithy_client_1.expectString(output.resourceType),
|
|
2549
|
+
status: smithy_client_1.expectString(output.status),
|
|
2550
2550
|
};
|
|
2551
2551
|
};
|
|
2552
2552
|
const deserializeAws_json1_0RecommendationExportJobs = (output, context) => {
|
|
@@ -2571,8 +2571,8 @@ const deserializeAws_json1_0RecommendationOptions = (output, context) => {
|
|
|
2571
2571
|
};
|
|
2572
2572
|
const deserializeAws_json1_0RecommendationSource = (output, context) => {
|
|
2573
2573
|
return {
|
|
2574
|
-
recommendationSourceArn:
|
|
2575
|
-
recommendationSourceType:
|
|
2574
|
+
recommendationSourceArn: smithy_client_1.expectString(output.recommendationSourceArn),
|
|
2575
|
+
recommendationSourceType: smithy_client_1.expectString(output.recommendationSourceType),
|
|
2576
2576
|
};
|
|
2577
2577
|
};
|
|
2578
2578
|
const deserializeAws_json1_0RecommendationSources = (output, context) => {
|
|
@@ -2597,8 +2597,8 @@ const deserializeAws_json1_0RecommendationSummaries = (output, context) => {
|
|
|
2597
2597
|
};
|
|
2598
2598
|
const deserializeAws_json1_0RecommendationSummary = (output, context) => {
|
|
2599
2599
|
return {
|
|
2600
|
-
accountId:
|
|
2601
|
-
recommendationResourceType:
|
|
2600
|
+
accountId: smithy_client_1.expectString(output.accountId),
|
|
2601
|
+
recommendationResourceType: smithy_client_1.expectString(output.recommendationResourceType),
|
|
2602
2602
|
summaries: output.summaries !== undefined && output.summaries !== null
|
|
2603
2603
|
? deserializeAws_json1_0Summaries(output.summaries, context)
|
|
2604
2604
|
: undefined,
|
|
@@ -2609,8 +2609,8 @@ const deserializeAws_json1_0RecommendedOptionProjectedMetric = (output, context)
|
|
|
2609
2609
|
projectedMetrics: output.projectedMetrics !== undefined && output.projectedMetrics !== null
|
|
2610
2610
|
? deserializeAws_json1_0ProjectedMetrics(output.projectedMetrics, context)
|
|
2611
2611
|
: undefined,
|
|
2612
|
-
rank:
|
|
2613
|
-
recommendedInstanceType:
|
|
2612
|
+
rank: smithy_client_1.expectInt32(output.rank),
|
|
2613
|
+
recommendedInstanceType: smithy_client_1.expectString(output.recommendedInstanceType),
|
|
2614
2614
|
};
|
|
2615
2615
|
};
|
|
2616
2616
|
const deserializeAws_json1_0RecommendedOptionProjectedMetrics = (output, context) => {
|
|
@@ -2625,19 +2625,19 @@ const deserializeAws_json1_0RecommendedOptionProjectedMetrics = (output, context
|
|
|
2625
2625
|
};
|
|
2626
2626
|
const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
|
|
2627
2627
|
return {
|
|
2628
|
-
message:
|
|
2628
|
+
message: smithy_client_1.expectString(output.message),
|
|
2629
2629
|
};
|
|
2630
2630
|
};
|
|
2631
2631
|
const deserializeAws_json1_0S3Destination = (output, context) => {
|
|
2632
2632
|
return {
|
|
2633
|
-
bucket:
|
|
2634
|
-
key:
|
|
2635
|
-
metadataKey:
|
|
2633
|
+
bucket: smithy_client_1.expectString(output.bucket),
|
|
2634
|
+
key: smithy_client_1.expectString(output.key),
|
|
2635
|
+
metadataKey: smithy_client_1.expectString(output.metadataKey),
|
|
2636
2636
|
};
|
|
2637
2637
|
};
|
|
2638
2638
|
const deserializeAws_json1_0ServiceUnavailableException = (output, context) => {
|
|
2639
2639
|
return {
|
|
2640
|
-
message:
|
|
2640
|
+
message: smithy_client_1.expectString(output.message),
|
|
2641
2641
|
};
|
|
2642
2642
|
};
|
|
2643
2643
|
const deserializeAws_json1_0Summaries = (output, context) => {
|
|
@@ -2652,16 +2652,16 @@ const deserializeAws_json1_0Summaries = (output, context) => {
|
|
|
2652
2652
|
};
|
|
2653
2653
|
const deserializeAws_json1_0Summary = (output, context) => {
|
|
2654
2654
|
return {
|
|
2655
|
-
name:
|
|
2655
|
+
name: smithy_client_1.expectString(output.name),
|
|
2656
2656
|
reasonCodeSummaries: output.reasonCodeSummaries !== undefined && output.reasonCodeSummaries !== null
|
|
2657
2657
|
? deserializeAws_json1_0ReasonCodeSummaries(output.reasonCodeSummaries, context)
|
|
2658
2658
|
: undefined,
|
|
2659
|
-
value:
|
|
2659
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2660
2660
|
};
|
|
2661
2661
|
};
|
|
2662
2662
|
const deserializeAws_json1_0ThrottlingException = (output, context) => {
|
|
2663
2663
|
return {
|
|
2664
|
-
message:
|
|
2664
|
+
message: smithy_client_1.expectString(output.message),
|
|
2665
2665
|
};
|
|
2666
2666
|
};
|
|
2667
2667
|
const deserializeAws_json1_0Timestamps = (output, context) => {
|
|
@@ -2671,20 +2671,20 @@ const deserializeAws_json1_0Timestamps = (output, context) => {
|
|
|
2671
2671
|
if (entry === null) {
|
|
2672
2672
|
return null;
|
|
2673
2673
|
}
|
|
2674
|
-
return
|
|
2674
|
+
return smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(entry)));
|
|
2675
2675
|
});
|
|
2676
2676
|
};
|
|
2677
2677
|
const deserializeAws_json1_0UpdateEnrollmentStatusResponse = (output, context) => {
|
|
2678
2678
|
return {
|
|
2679
|
-
status:
|
|
2680
|
-
statusReason:
|
|
2679
|
+
status: smithy_client_1.expectString(output.status),
|
|
2680
|
+
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2681
2681
|
};
|
|
2682
2682
|
};
|
|
2683
2683
|
const deserializeAws_json1_0UtilizationMetric = (output, context) => {
|
|
2684
2684
|
return {
|
|
2685
|
-
name:
|
|
2686
|
-
statistic:
|
|
2687
|
-
value:
|
|
2685
|
+
name: smithy_client_1.expectString(output.name),
|
|
2686
|
+
statistic: smithy_client_1.expectString(output.statistic),
|
|
2687
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2688
2688
|
};
|
|
2689
2689
|
};
|
|
2690
2690
|
const deserializeAws_json1_0UtilizationMetrics = (output, context) => {
|
|
@@ -2699,29 +2699,29 @@ const deserializeAws_json1_0UtilizationMetrics = (output, context) => {
|
|
|
2699
2699
|
};
|
|
2700
2700
|
const deserializeAws_json1_0VolumeConfiguration = (output, context) => {
|
|
2701
2701
|
return {
|
|
2702
|
-
volumeBaselineIOPS:
|
|
2703
|
-
volumeBaselineThroughput:
|
|
2704
|
-
volumeBurstIOPS:
|
|
2705
|
-
volumeBurstThroughput:
|
|
2706
|
-
volumeSize:
|
|
2707
|
-
volumeType:
|
|
2702
|
+
volumeBaselineIOPS: smithy_client_1.expectInt32(output.volumeBaselineIOPS),
|
|
2703
|
+
volumeBaselineThroughput: smithy_client_1.expectInt32(output.volumeBaselineThroughput),
|
|
2704
|
+
volumeBurstIOPS: smithy_client_1.expectInt32(output.volumeBurstIOPS),
|
|
2705
|
+
volumeBurstThroughput: smithy_client_1.expectInt32(output.volumeBurstThroughput),
|
|
2706
|
+
volumeSize: smithy_client_1.expectInt32(output.volumeSize),
|
|
2707
|
+
volumeType: smithy_client_1.expectString(output.volumeType),
|
|
2708
2708
|
};
|
|
2709
2709
|
};
|
|
2710
2710
|
const deserializeAws_json1_0VolumeRecommendation = (output, context) => {
|
|
2711
2711
|
return {
|
|
2712
|
-
accountId:
|
|
2712
|
+
accountId: smithy_client_1.expectString(output.accountId),
|
|
2713
2713
|
currentConfiguration: output.currentConfiguration !== undefined && output.currentConfiguration !== null
|
|
2714
2714
|
? deserializeAws_json1_0VolumeConfiguration(output.currentConfiguration, context)
|
|
2715
2715
|
: undefined,
|
|
2716
|
-
finding:
|
|
2716
|
+
finding: smithy_client_1.expectString(output.finding),
|
|
2717
2717
|
lastRefreshTimestamp: output.lastRefreshTimestamp !== undefined && output.lastRefreshTimestamp !== null
|
|
2718
|
-
?
|
|
2718
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastRefreshTimestamp)))
|
|
2719
2719
|
: undefined,
|
|
2720
|
-
lookBackPeriodInDays:
|
|
2720
|
+
lookBackPeriodInDays: smithy_client_1.limitedParseDouble(output.lookBackPeriodInDays),
|
|
2721
2721
|
utilizationMetrics: output.utilizationMetrics !== undefined && output.utilizationMetrics !== null
|
|
2722
2722
|
? deserializeAws_json1_0EBSUtilizationMetrics(output.utilizationMetrics, context)
|
|
2723
2723
|
: undefined,
|
|
2724
|
-
volumeArn:
|
|
2724
|
+
volumeArn: smithy_client_1.expectString(output.volumeArn),
|
|
2725
2725
|
volumeRecommendationOptions: output.volumeRecommendationOptions !== undefined && output.volumeRecommendationOptions !== null
|
|
2726
2726
|
? deserializeAws_json1_0VolumeRecommendationOptions(output.volumeRecommendationOptions, context)
|
|
2727
2727
|
: undefined,
|
|
@@ -2732,8 +2732,8 @@ const deserializeAws_json1_0VolumeRecommendationOption = (output, context) => {
|
|
|
2732
2732
|
configuration: output.configuration !== undefined && output.configuration !== null
|
|
2733
2733
|
? deserializeAws_json1_0VolumeConfiguration(output.configuration, context)
|
|
2734
2734
|
: undefined,
|
|
2735
|
-
performanceRisk:
|
|
2736
|
-
rank:
|
|
2735
|
+
performanceRisk: smithy_client_1.limitedParseDouble(output.performanceRisk),
|
|
2736
|
+
rank: smithy_client_1.expectInt32(output.rank),
|
|
2737
2737
|
};
|
|
2738
2738
|
};
|
|
2739
2739
|
const deserializeAws_json1_0VolumeRecommendationOptions = (output, context) => {
|