@aws-sdk/client-compute-optimizer 3.28.0 → 3.32.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/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_0.js +40 -40
- package/dist/cjs/protocols/Aws_json1_0.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_0.js +41 -41
- package/dist/es/protocols/Aws_json1_0.js.map +1 -1
- package/dist/types/models/models_0.d.ts +2 -2
- package/dist/types/ts3.4/models/models_0.d.ts +2 -2
- package/models/models_0.ts +2 -2
- package/package.json +31 -31
- package/protocols/Aws_json1_0.ts +46 -42
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-compute-optimizer
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-compute-optimizer
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-compute-optimizer
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **clients:** update clients as of 09/02/2021 ([#2744](https://github.com/aws/aws-sdk-js-v3/issues/2744)) ([19f061f](https://github.com/aws/aws-sdk-js-v3/commit/19f061fa189539c8e64563e5337ac640450c17ab))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
|
|
7
42
|
|
|
8
43
|
|
package/dist/cjs/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Compute Optimizer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,45 +27,45 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
65
65
|
"rimraf": "^3.0.0",
|
|
66
66
|
"ts-jest": "^26.4.1",
|
|
67
67
|
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.3.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
|
@@ -2053,7 +2053,7 @@ const deserializeAws_json1_0AccountEnrollmentStatus = (output, context) => {
|
|
|
2053
2053
|
return {
|
|
2054
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
2058
|
status: smithy_client_1.expectString(output.status),
|
|
2059
2059
|
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
@@ -2071,10 +2071,10 @@ const deserializeAws_json1_0AccountEnrollmentStatuses = (output, context) => {
|
|
|
2071
2071
|
};
|
|
2072
2072
|
const deserializeAws_json1_0AutoScalingGroupConfiguration = (output, context) => {
|
|
2073
2073
|
return {
|
|
2074
|
-
desiredCapacity: smithy_client_1.
|
|
2074
|
+
desiredCapacity: smithy_client_1.expectInt32(output.desiredCapacity),
|
|
2075
2075
|
instanceType: smithy_client_1.expectString(output.instanceType),
|
|
2076
|
-
maxSize: smithy_client_1.
|
|
2077
|
-
minSize: smithy_client_1.
|
|
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) => {
|
|
@@ -2087,9 +2087,9 @@ const deserializeAws_json1_0AutoScalingGroupRecommendation = (output, context) =
|
|
|
2087
2087
|
: undefined,
|
|
2088
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: smithy_client_1.
|
|
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: smithy_client_1.
|
|
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: smithy_client_1.
|
|
2110
|
+
rank: smithy_client_1.expectInt32(output.rank),
|
|
2111
2111
|
};
|
|
2112
2112
|
};
|
|
2113
2113
|
const deserializeAws_json1_0AutoScalingGroupRecommendationOptions = (output, context) => {
|
|
@@ -2142,7 +2142,7 @@ const deserializeAws_json1_0EBSUtilizationMetric = (output, context) => {
|
|
|
2142
2142
|
return {
|
|
2143
2143
|
name: smithy_client_1.expectString(output.name),
|
|
2144
2144
|
statistic: smithy_client_1.expectString(output.statistic),
|
|
2145
|
-
value: smithy_client_1.
|
|
2145
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2146
2146
|
};
|
|
2147
2147
|
};
|
|
2148
2148
|
const deserializeAws_json1_0EBSUtilizationMetrics = (output, context) => {
|
|
@@ -2245,10 +2245,10 @@ const deserializeAws_json1_0GetEnrollmentStatusesForOrganizationResponse = (outp
|
|
|
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
2250
|
memberAccountsEnrolled: smithy_client_1.expectBoolean(output.memberAccountsEnrolled),
|
|
2251
|
-
numberOfMemberAccountsOptedIn: smithy_client_1.
|
|
2251
|
+
numberOfMemberAccountsOptedIn: smithy_client_1.expectInt32(output.numberOfMemberAccountsOptedIn),
|
|
2252
2252
|
status: smithy_client_1.expectString(output.status),
|
|
2253
2253
|
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2254
2254
|
};
|
|
@@ -2297,9 +2297,9 @@ const deserializeAws_json1_0InstanceRecommendation = (output, context) => {
|
|
|
2297
2297
|
instanceArn: smithy_client_1.expectString(output.instanceArn),
|
|
2298
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: smithy_client_1.
|
|
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,
|
|
@@ -2324,14 +2324,14 @@ const deserializeAws_json1_0InstanceRecommendationFindingReasonCodes = (output,
|
|
|
2324
2324
|
const deserializeAws_json1_0InstanceRecommendationOption = (output, context) => {
|
|
2325
2325
|
return {
|
|
2326
2326
|
instanceType: smithy_client_1.expectString(output.instanceType),
|
|
2327
|
-
performanceRisk: smithy_client_1.
|
|
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: smithy_client_1.
|
|
2334
|
+
rank: smithy_client_1.expectInt32(output.rank),
|
|
2335
2335
|
};
|
|
2336
2336
|
};
|
|
2337
2337
|
const deserializeAws_json1_0InstanceRecommendations = (output, context) => {
|
|
@@ -2358,7 +2358,7 @@ const deserializeAws_json1_0LambdaFunctionMemoryProjectedMetric = (output, conte
|
|
|
2358
2358
|
return {
|
|
2359
2359
|
name: smithy_client_1.expectString(output.name),
|
|
2360
2360
|
statistic: smithy_client_1.expectString(output.statistic),
|
|
2361
|
-
value: smithy_client_1.
|
|
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: smithy_client_1.
|
|
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: smithy_client_1.
|
|
2380
|
+
rank: smithy_client_1.expectInt32(output.rank),
|
|
2381
2381
|
};
|
|
2382
2382
|
};
|
|
2383
2383
|
const deserializeAws_json1_0LambdaFunctionMemoryRecommendationOptions = (output, context) => {
|
|
@@ -2393,7 +2393,7 @@ const deserializeAws_json1_0LambdaFunctionMemoryRecommendationOptions = (output,
|
|
|
2393
2393
|
const deserializeAws_json1_0LambdaFunctionRecommendation = (output, context) => {
|
|
2394
2394
|
return {
|
|
2395
2395
|
accountId: smithy_client_1.expectString(output.accountId),
|
|
2396
|
-
currentMemorySize: smithy_client_1.
|
|
2396
|
+
currentMemorySize: smithy_client_1.expectInt32(output.currentMemorySize),
|
|
2397
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)
|
|
@@ -2401,13 +2401,13 @@ const deserializeAws_json1_0LambdaFunctionRecommendation = (output, context) =>
|
|
|
2401
2401
|
functionArn: smithy_client_1.expectString(output.functionArn),
|
|
2402
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: smithy_client_1.
|
|
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: smithy_client_1.
|
|
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,
|
|
@@ -2437,7 +2437,7 @@ const deserializeAws_json1_0LambdaFunctionUtilizationMetric = (output, context)
|
|
|
2437
2437
|
return {
|
|
2438
2438
|
name: smithy_client_1.expectString(output.name),
|
|
2439
2439
|
statistic: smithy_client_1.expectString(output.statistic),
|
|
2440
|
-
value: smithy_client_1.
|
|
2440
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2441
2441
|
};
|
|
2442
2442
|
};
|
|
2443
2443
|
const deserializeAws_json1_0LambdaFunctionUtilizationMetrics = (output, context) => {
|
|
@@ -2462,7 +2462,7 @@ const deserializeAws_json1_0MetricValues = (output, context) => {
|
|
|
2462
2462
|
if (entry === null) {
|
|
2463
2463
|
return null;
|
|
2464
2464
|
}
|
|
2465
|
-
return smithy_client_1.
|
|
2465
|
+
return smithy_client_1.limitedParseDouble(entry);
|
|
2466
2466
|
});
|
|
2467
2467
|
};
|
|
2468
2468
|
const deserializeAws_json1_0MissingAuthenticationToken = (output, context) => {
|
|
@@ -2529,13 +2529,13 @@ const deserializeAws_json1_0ReasonCodeSummaries = (output, context) => {
|
|
|
2529
2529
|
const deserializeAws_json1_0ReasonCodeSummary = (output, context) => {
|
|
2530
2530
|
return {
|
|
2531
2531
|
name: smithy_client_1.expectString(output.name),
|
|
2532
|
-
value: smithy_client_1.
|
|
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)
|
|
@@ -2543,7 +2543,7 @@ const deserializeAws_json1_0RecommendationExportJob = (output, context) => {
|
|
|
2543
2543
|
failureReason: smithy_client_1.expectString(output.failureReason),
|
|
2544
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
2548
|
resourceType: smithy_client_1.expectString(output.resourceType),
|
|
2549
2549
|
status: smithy_client_1.expectString(output.status),
|
|
@@ -2609,7 +2609,7 @@ 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: smithy_client_1.
|
|
2612
|
+
rank: smithy_client_1.expectInt32(output.rank),
|
|
2613
2613
|
recommendedInstanceType: smithy_client_1.expectString(output.recommendedInstanceType),
|
|
2614
2614
|
};
|
|
2615
2615
|
};
|
|
@@ -2656,7 +2656,7 @@ const deserializeAws_json1_0Summary = (output, context) => {
|
|
|
2656
2656
|
reasonCodeSummaries: output.reasonCodeSummaries !== undefined && output.reasonCodeSummaries !== null
|
|
2657
2657
|
? deserializeAws_json1_0ReasonCodeSummaries(output.reasonCodeSummaries, context)
|
|
2658
2658
|
: undefined,
|
|
2659
|
-
value: smithy_client_1.
|
|
2659
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2660
2660
|
};
|
|
2661
2661
|
};
|
|
2662
2662
|
const deserializeAws_json1_0ThrottlingException = (output, context) => {
|
|
@@ -2671,7 +2671,7 @@ 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) => {
|
|
@@ -2684,7 +2684,7 @@ const deserializeAws_json1_0UtilizationMetric = (output, context) => {
|
|
|
2684
2684
|
return {
|
|
2685
2685
|
name: smithy_client_1.expectString(output.name),
|
|
2686
2686
|
statistic: smithy_client_1.expectString(output.statistic),
|
|
2687
|
-
value: smithy_client_1.
|
|
2687
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2688
2688
|
};
|
|
2689
2689
|
};
|
|
2690
2690
|
const deserializeAws_json1_0UtilizationMetrics = (output, context) => {
|
|
@@ -2699,11 +2699,11 @@ const deserializeAws_json1_0UtilizationMetrics = (output, context) => {
|
|
|
2699
2699
|
};
|
|
2700
2700
|
const deserializeAws_json1_0VolumeConfiguration = (output, context) => {
|
|
2701
2701
|
return {
|
|
2702
|
-
volumeBaselineIOPS: smithy_client_1.
|
|
2703
|
-
volumeBaselineThroughput: smithy_client_1.
|
|
2704
|
-
volumeBurstIOPS: smithy_client_1.
|
|
2705
|
-
volumeBurstThroughput: smithy_client_1.
|
|
2706
|
-
volumeSize: smithy_client_1.
|
|
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
2707
|
volumeType: smithy_client_1.expectString(output.volumeType),
|
|
2708
2708
|
};
|
|
2709
2709
|
};
|
|
@@ -2715,9 +2715,9 @@ const deserializeAws_json1_0VolumeRecommendation = (output, context) => {
|
|
|
2715
2715
|
: undefined,
|
|
2716
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: smithy_client_1.
|
|
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,
|
|
@@ -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: smithy_client_1.
|
|
2736
|
-
rank: smithy_client_1.
|
|
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) => {
|