@aws-sdk/client-support 3.31.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 +8 -0
- package/dist/cjs/SupportClient.js +13 -13
- package/dist/cjs/SupportClient.js.map +1 -1
- package/dist/cjs/commands/AddAttachmentsToSetCommand.js +3 -3
- package/dist/cjs/commands/AddAttachmentsToSetCommand.js.map +1 -1
- package/dist/cjs/commands/AddCommunicationToCaseCommand.js +3 -3
- package/dist/cjs/commands/AddCommunicationToCaseCommand.js.map +1 -1
- package/dist/cjs/commands/CreateCaseCommand.js +3 -3
- package/dist/cjs/commands/CreateCaseCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeAttachmentCommand.js +3 -3
- package/dist/cjs/commands/DescribeAttachmentCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeCasesCommand.js +3 -3
- package/dist/cjs/commands/DescribeCasesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeCommunicationsCommand.js +3 -3
- package/dist/cjs/commands/DescribeCommunicationsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeServicesCommand.js +3 -3
- package/dist/cjs/commands/DescribeServicesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeSeverityLevelsCommand.js +3 -3
- package/dist/cjs/commands/DescribeSeverityLevelsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js +3 -3
- package/dist/cjs/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTrustedAdvisorCheckResultCommand.js +3 -3
- package/dist/cjs/commands/DescribeTrustedAdvisorCheckResultCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTrustedAdvisorCheckSummariesCommand.js +3 -3
- package/dist/cjs/commands/DescribeTrustedAdvisorCheckSummariesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTrustedAdvisorChecksCommand.js +3 -3
- package/dist/cjs/commands/DescribeTrustedAdvisorChecksCommand.js.map +1 -1
- package/dist/cjs/commands/RefreshTrustedAdvisorCheckCommand.js +3 -3
- package/dist/cjs/commands/RefreshTrustedAdvisorCheckCommand.js.map +1 -1
- package/dist/cjs/commands/ResolveCaseCommand.js +3 -3
- package/dist/cjs/commands/ResolveCaseCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +20 -20
- 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 +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +67 -67
- package/dist/cjs/protocols/Aws_json1_1.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/package.json +31 -31
- package/dist/es/pagination/DescribeCasesPaginator.js +4 -4
- package/dist/es/pagination/DescribeCasesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeCommunicationsPaginator.js +4 -4
- package/dist/es/pagination/DescribeCommunicationsPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
package/dist/cjs/models/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":";;;AAAA,qDAA2B"}
|
package/dist/cjs/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-support",
|
|
3
3
|
"description": "AWS SDK for JavaScript Support 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.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
|
@@ -1194,35 +1194,35 @@ const serializeAws_json1_1StringList = (input, context) => {
|
|
|
1194
1194
|
};
|
|
1195
1195
|
const deserializeAws_json1_1AddAttachmentsToSetResponse = (output, context) => {
|
|
1196
1196
|
return {
|
|
1197
|
-
attachmentSetId:
|
|
1198
|
-
expiryTime:
|
|
1197
|
+
attachmentSetId: smithy_client_1.expectString(output.attachmentSetId),
|
|
1198
|
+
expiryTime: smithy_client_1.expectString(output.expiryTime),
|
|
1199
1199
|
};
|
|
1200
1200
|
};
|
|
1201
1201
|
const deserializeAws_json1_1AddCommunicationToCaseResponse = (output, context) => {
|
|
1202
1202
|
return {
|
|
1203
|
-
result:
|
|
1203
|
+
result: smithy_client_1.expectBoolean(output.result),
|
|
1204
1204
|
};
|
|
1205
1205
|
};
|
|
1206
1206
|
const deserializeAws_json1_1Attachment = (output, context) => {
|
|
1207
1207
|
return {
|
|
1208
1208
|
data: output.data !== undefined && output.data !== null ? context.base64Decoder(output.data) : undefined,
|
|
1209
|
-
fileName:
|
|
1209
|
+
fileName: smithy_client_1.expectString(output.fileName),
|
|
1210
1210
|
};
|
|
1211
1211
|
};
|
|
1212
1212
|
const deserializeAws_json1_1AttachmentDetails = (output, context) => {
|
|
1213
1213
|
return {
|
|
1214
|
-
attachmentId:
|
|
1215
|
-
fileName:
|
|
1214
|
+
attachmentId: smithy_client_1.expectString(output.attachmentId),
|
|
1215
|
+
fileName: smithy_client_1.expectString(output.fileName),
|
|
1216
1216
|
};
|
|
1217
1217
|
};
|
|
1218
1218
|
const deserializeAws_json1_1AttachmentIdNotFound = (output, context) => {
|
|
1219
1219
|
return {
|
|
1220
|
-
message:
|
|
1220
|
+
message: smithy_client_1.expectString(output.message),
|
|
1221
1221
|
};
|
|
1222
1222
|
};
|
|
1223
1223
|
const deserializeAws_json1_1AttachmentLimitExceeded = (output, context) => {
|
|
1224
1224
|
return {
|
|
1225
|
-
message:
|
|
1225
|
+
message: smithy_client_1.expectString(output.message),
|
|
1226
1226
|
};
|
|
1227
1227
|
};
|
|
1228
1228
|
const deserializeAws_json1_1AttachmentSet = (output, context) => {
|
|
@@ -1237,47 +1237,47 @@ const deserializeAws_json1_1AttachmentSet = (output, context) => {
|
|
|
1237
1237
|
};
|
|
1238
1238
|
const deserializeAws_json1_1AttachmentSetExpired = (output, context) => {
|
|
1239
1239
|
return {
|
|
1240
|
-
message:
|
|
1240
|
+
message: smithy_client_1.expectString(output.message),
|
|
1241
1241
|
};
|
|
1242
1242
|
};
|
|
1243
1243
|
const deserializeAws_json1_1AttachmentSetIdNotFound = (output, context) => {
|
|
1244
1244
|
return {
|
|
1245
|
-
message:
|
|
1245
|
+
message: smithy_client_1.expectString(output.message),
|
|
1246
1246
|
};
|
|
1247
1247
|
};
|
|
1248
1248
|
const deserializeAws_json1_1AttachmentSetSizeLimitExceeded = (output, context) => {
|
|
1249
1249
|
return {
|
|
1250
|
-
message:
|
|
1250
|
+
message: smithy_client_1.expectString(output.message),
|
|
1251
1251
|
};
|
|
1252
1252
|
};
|
|
1253
1253
|
const deserializeAws_json1_1CaseCreationLimitExceeded = (output, context) => {
|
|
1254
1254
|
return {
|
|
1255
|
-
message:
|
|
1255
|
+
message: smithy_client_1.expectString(output.message),
|
|
1256
1256
|
};
|
|
1257
1257
|
};
|
|
1258
1258
|
const deserializeAws_json1_1CaseDetails = (output, context) => {
|
|
1259
1259
|
return {
|
|
1260
|
-
caseId:
|
|
1261
|
-
categoryCode:
|
|
1260
|
+
caseId: smithy_client_1.expectString(output.caseId),
|
|
1261
|
+
categoryCode: smithy_client_1.expectString(output.categoryCode),
|
|
1262
1262
|
ccEmailAddresses: output.ccEmailAddresses !== undefined && output.ccEmailAddresses !== null
|
|
1263
1263
|
? deserializeAws_json1_1CcEmailAddressList(output.ccEmailAddresses, context)
|
|
1264
1264
|
: undefined,
|
|
1265
|
-
displayId:
|
|
1266
|
-
language:
|
|
1265
|
+
displayId: smithy_client_1.expectString(output.displayId),
|
|
1266
|
+
language: smithy_client_1.expectString(output.language),
|
|
1267
1267
|
recentCommunications: output.recentCommunications !== undefined && output.recentCommunications !== null
|
|
1268
1268
|
? deserializeAws_json1_1RecentCaseCommunications(output.recentCommunications, context)
|
|
1269
1269
|
: undefined,
|
|
1270
|
-
serviceCode:
|
|
1271
|
-
severityCode:
|
|
1272
|
-
status:
|
|
1273
|
-
subject:
|
|
1274
|
-
submittedBy:
|
|
1275
|
-
timeCreated:
|
|
1270
|
+
serviceCode: smithy_client_1.expectString(output.serviceCode),
|
|
1271
|
+
severityCode: smithy_client_1.expectString(output.severityCode),
|
|
1272
|
+
status: smithy_client_1.expectString(output.status),
|
|
1273
|
+
subject: smithy_client_1.expectString(output.subject),
|
|
1274
|
+
submittedBy: smithy_client_1.expectString(output.submittedBy),
|
|
1275
|
+
timeCreated: smithy_client_1.expectString(output.timeCreated),
|
|
1276
1276
|
};
|
|
1277
1277
|
};
|
|
1278
1278
|
const deserializeAws_json1_1CaseIdNotFound = (output, context) => {
|
|
1279
1279
|
return {
|
|
1280
|
-
message:
|
|
1280
|
+
message: smithy_client_1.expectString(output.message),
|
|
1281
1281
|
};
|
|
1282
1282
|
};
|
|
1283
1283
|
const deserializeAws_json1_1CaseList = (output, context) => {
|
|
@@ -1292,8 +1292,8 @@ const deserializeAws_json1_1CaseList = (output, context) => {
|
|
|
1292
1292
|
};
|
|
1293
1293
|
const deserializeAws_json1_1Category = (output, context) => {
|
|
1294
1294
|
return {
|
|
1295
|
-
code:
|
|
1296
|
-
name:
|
|
1295
|
+
code: smithy_client_1.expectString(output.code),
|
|
1296
|
+
name: smithy_client_1.expectString(output.name),
|
|
1297
1297
|
};
|
|
1298
1298
|
};
|
|
1299
1299
|
const deserializeAws_json1_1CategoryList = (output, context) => {
|
|
@@ -1313,7 +1313,7 @@ const deserializeAws_json1_1CcEmailAddressList = (output, context) => {
|
|
|
1313
1313
|
if (entry === null) {
|
|
1314
1314
|
return null;
|
|
1315
1315
|
}
|
|
1316
|
-
return
|
|
1316
|
+
return smithy_client_1.expectString(entry);
|
|
1317
1317
|
});
|
|
1318
1318
|
};
|
|
1319
1319
|
const deserializeAws_json1_1Communication = (output, context) => {
|
|
@@ -1321,10 +1321,10 @@ const deserializeAws_json1_1Communication = (output, context) => {
|
|
|
1321
1321
|
attachmentSet: output.attachmentSet !== undefined && output.attachmentSet !== null
|
|
1322
1322
|
? deserializeAws_json1_1AttachmentSet(output.attachmentSet, context)
|
|
1323
1323
|
: undefined,
|
|
1324
|
-
body:
|
|
1325
|
-
caseId:
|
|
1326
|
-
submittedBy:
|
|
1327
|
-
timeCreated:
|
|
1324
|
+
body: smithy_client_1.expectString(output.body),
|
|
1325
|
+
caseId: smithy_client_1.expectString(output.caseId),
|
|
1326
|
+
submittedBy: smithy_client_1.expectString(output.submittedBy),
|
|
1327
|
+
timeCreated: smithy_client_1.expectString(output.timeCreated),
|
|
1328
1328
|
};
|
|
1329
1329
|
};
|
|
1330
1330
|
const deserializeAws_json1_1CommunicationList = (output, context) => {
|
|
@@ -1339,12 +1339,12 @@ const deserializeAws_json1_1CommunicationList = (output, context) => {
|
|
|
1339
1339
|
};
|
|
1340
1340
|
const deserializeAws_json1_1CreateCaseResponse = (output, context) => {
|
|
1341
1341
|
return {
|
|
1342
|
-
caseId:
|
|
1342
|
+
caseId: smithy_client_1.expectString(output.caseId),
|
|
1343
1343
|
};
|
|
1344
1344
|
};
|
|
1345
1345
|
const deserializeAws_json1_1DescribeAttachmentLimitExceeded = (output, context) => {
|
|
1346
1346
|
return {
|
|
1347
|
-
message:
|
|
1347
|
+
message: smithy_client_1.expectString(output.message),
|
|
1348
1348
|
};
|
|
1349
1349
|
};
|
|
1350
1350
|
const deserializeAws_json1_1DescribeAttachmentResponse = (output, context) => {
|
|
@@ -1359,7 +1359,7 @@ const deserializeAws_json1_1DescribeCasesResponse = (output, context) => {
|
|
|
1359
1359
|
cases: output.cases !== undefined && output.cases !== null
|
|
1360
1360
|
? deserializeAws_json1_1CaseList(output.cases, context)
|
|
1361
1361
|
: undefined,
|
|
1362
|
-
nextToken:
|
|
1362
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1363
1363
|
};
|
|
1364
1364
|
};
|
|
1365
1365
|
const deserializeAws_json1_1DescribeCommunicationsResponse = (output, context) => {
|
|
@@ -1367,7 +1367,7 @@ const deserializeAws_json1_1DescribeCommunicationsResponse = (output, context) =
|
|
|
1367
1367
|
communications: output.communications !== undefined && output.communications !== null
|
|
1368
1368
|
? deserializeAws_json1_1CommunicationList(output.communications, context)
|
|
1369
1369
|
: undefined,
|
|
1370
|
-
nextToken:
|
|
1370
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1371
1371
|
};
|
|
1372
1372
|
};
|
|
1373
1373
|
const deserializeAws_json1_1DescribeServicesResponse = (output, context) => {
|
|
@@ -1414,7 +1414,7 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesResponse = (outp
|
|
|
1414
1414
|
};
|
|
1415
1415
|
const deserializeAws_json1_1InternalServerError = (output, context) => {
|
|
1416
1416
|
return {
|
|
1417
|
-
message:
|
|
1417
|
+
message: smithy_client_1.expectString(output.message),
|
|
1418
1418
|
};
|
|
1419
1419
|
};
|
|
1420
1420
|
const deserializeAws_json1_1RecentCaseCommunications = (output, context) => {
|
|
@@ -1422,7 +1422,7 @@ const deserializeAws_json1_1RecentCaseCommunications = (output, context) => {
|
|
|
1422
1422
|
communications: output.communications !== undefined && output.communications !== null
|
|
1423
1423
|
? deserializeAws_json1_1CommunicationList(output.communications, context)
|
|
1424
1424
|
: undefined,
|
|
1425
|
-
nextToken:
|
|
1425
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1426
1426
|
};
|
|
1427
1427
|
};
|
|
1428
1428
|
const deserializeAws_json1_1RefreshTrustedAdvisorCheckResponse = (output, context) => {
|
|
@@ -1434,8 +1434,8 @@ const deserializeAws_json1_1RefreshTrustedAdvisorCheckResponse = (output, contex
|
|
|
1434
1434
|
};
|
|
1435
1435
|
const deserializeAws_json1_1ResolveCaseResponse = (output, context) => {
|
|
1436
1436
|
return {
|
|
1437
|
-
finalCaseStatus:
|
|
1438
|
-
initialCaseStatus:
|
|
1437
|
+
finalCaseStatus: smithy_client_1.expectString(output.finalCaseStatus),
|
|
1438
|
+
initialCaseStatus: smithy_client_1.expectString(output.initialCaseStatus),
|
|
1439
1439
|
};
|
|
1440
1440
|
};
|
|
1441
1441
|
const deserializeAws_json1_1Service = (output, context) => {
|
|
@@ -1443,8 +1443,8 @@ const deserializeAws_json1_1Service = (output, context) => {
|
|
|
1443
1443
|
categories: output.categories !== undefined && output.categories !== null
|
|
1444
1444
|
? deserializeAws_json1_1CategoryList(output.categories, context)
|
|
1445
1445
|
: undefined,
|
|
1446
|
-
code:
|
|
1447
|
-
name:
|
|
1446
|
+
code: smithy_client_1.expectString(output.code),
|
|
1447
|
+
name: smithy_client_1.expectString(output.name),
|
|
1448
1448
|
};
|
|
1449
1449
|
};
|
|
1450
1450
|
const deserializeAws_json1_1ServiceList = (output, context) => {
|
|
@@ -1459,8 +1459,8 @@ const deserializeAws_json1_1ServiceList = (output, context) => {
|
|
|
1459
1459
|
};
|
|
1460
1460
|
const deserializeAws_json1_1SeverityLevel = (output, context) => {
|
|
1461
1461
|
return {
|
|
1462
|
-
code:
|
|
1463
|
-
name:
|
|
1462
|
+
code: smithy_client_1.expectString(output.code),
|
|
1463
|
+
name: smithy_client_1.expectString(output.name),
|
|
1464
1464
|
};
|
|
1465
1465
|
};
|
|
1466
1466
|
const deserializeAws_json1_1SeverityLevelsList = (output, context) => {
|
|
@@ -1480,7 +1480,7 @@ const deserializeAws_json1_1StringList = (output, context) => {
|
|
|
1480
1480
|
if (entry === null) {
|
|
1481
1481
|
return null;
|
|
1482
1482
|
}
|
|
1483
|
-
return
|
|
1483
|
+
return smithy_client_1.expectString(entry);
|
|
1484
1484
|
});
|
|
1485
1485
|
};
|
|
1486
1486
|
const deserializeAws_json1_1TrustedAdvisorCategorySpecificSummary = (output, context) => {
|
|
@@ -1492,13 +1492,13 @@ const deserializeAws_json1_1TrustedAdvisorCategorySpecificSummary = (output, con
|
|
|
1492
1492
|
};
|
|
1493
1493
|
const deserializeAws_json1_1TrustedAdvisorCheckDescription = (output, context) => {
|
|
1494
1494
|
return {
|
|
1495
|
-
category:
|
|
1496
|
-
description:
|
|
1497
|
-
id:
|
|
1495
|
+
category: smithy_client_1.expectString(output.category),
|
|
1496
|
+
description: smithy_client_1.expectString(output.description),
|
|
1497
|
+
id: smithy_client_1.expectString(output.id),
|
|
1498
1498
|
metadata: output.metadata !== undefined && output.metadata !== null
|
|
1499
1499
|
? deserializeAws_json1_1StringList(output.metadata, context)
|
|
1500
1500
|
: undefined,
|
|
1501
|
-
name:
|
|
1501
|
+
name: smithy_client_1.expectString(output.name),
|
|
1502
1502
|
};
|
|
1503
1503
|
};
|
|
1504
1504
|
const deserializeAws_json1_1TrustedAdvisorCheckList = (output, context) => {
|
|
@@ -1513,9 +1513,9 @@ const deserializeAws_json1_1TrustedAdvisorCheckList = (output, context) => {
|
|
|
1513
1513
|
};
|
|
1514
1514
|
const deserializeAws_json1_1TrustedAdvisorCheckRefreshStatus = (output, context) => {
|
|
1515
1515
|
return {
|
|
1516
|
-
checkId:
|
|
1517
|
-
millisUntilNextRefreshable:
|
|
1518
|
-
status:
|
|
1516
|
+
checkId: smithy_client_1.expectString(output.checkId),
|
|
1517
|
+
millisUntilNextRefreshable: smithy_client_1.expectLong(output.millisUntilNextRefreshable),
|
|
1518
|
+
status: smithy_client_1.expectString(output.status),
|
|
1519
1519
|
};
|
|
1520
1520
|
};
|
|
1521
1521
|
const deserializeAws_json1_1TrustedAdvisorCheckRefreshStatusList = (output, context) => {
|
|
@@ -1533,15 +1533,15 @@ const deserializeAws_json1_1TrustedAdvisorCheckResult = (output, context) => {
|
|
|
1533
1533
|
categorySpecificSummary: output.categorySpecificSummary !== undefined && output.categorySpecificSummary !== null
|
|
1534
1534
|
? deserializeAws_json1_1TrustedAdvisorCategorySpecificSummary(output.categorySpecificSummary, context)
|
|
1535
1535
|
: undefined,
|
|
1536
|
-
checkId:
|
|
1536
|
+
checkId: smithy_client_1.expectString(output.checkId),
|
|
1537
1537
|
flaggedResources: output.flaggedResources !== undefined && output.flaggedResources !== null
|
|
1538
1538
|
? deserializeAws_json1_1TrustedAdvisorResourceDetailList(output.flaggedResources, context)
|
|
1539
1539
|
: undefined,
|
|
1540
1540
|
resourcesSummary: output.resourcesSummary !== undefined && output.resourcesSummary !== null
|
|
1541
1541
|
? deserializeAws_json1_1TrustedAdvisorResourcesSummary(output.resourcesSummary, context)
|
|
1542
1542
|
: undefined,
|
|
1543
|
-
status:
|
|
1544
|
-
timestamp:
|
|
1543
|
+
status: smithy_client_1.expectString(output.status),
|
|
1544
|
+
timestamp: smithy_client_1.expectString(output.timestamp),
|
|
1545
1545
|
};
|
|
1546
1546
|
};
|
|
1547
1547
|
const deserializeAws_json1_1TrustedAdvisorCheckSummary = (output, context) => {
|
|
@@ -1549,13 +1549,13 @@ const deserializeAws_json1_1TrustedAdvisorCheckSummary = (output, context) => {
|
|
|
1549
1549
|
categorySpecificSummary: output.categorySpecificSummary !== undefined && output.categorySpecificSummary !== null
|
|
1550
1550
|
? deserializeAws_json1_1TrustedAdvisorCategorySpecificSummary(output.categorySpecificSummary, context)
|
|
1551
1551
|
: undefined,
|
|
1552
|
-
checkId:
|
|
1553
|
-
hasFlaggedResources:
|
|
1552
|
+
checkId: smithy_client_1.expectString(output.checkId),
|
|
1553
|
+
hasFlaggedResources: smithy_client_1.expectBoolean(output.hasFlaggedResources),
|
|
1554
1554
|
resourcesSummary: output.resourcesSummary !== undefined && output.resourcesSummary !== null
|
|
1555
1555
|
? deserializeAws_json1_1TrustedAdvisorResourcesSummary(output.resourcesSummary, context)
|
|
1556
1556
|
: undefined,
|
|
1557
|
-
status:
|
|
1558
|
-
timestamp:
|
|
1557
|
+
status: smithy_client_1.expectString(output.status),
|
|
1558
|
+
timestamp: smithy_client_1.expectString(output.timestamp),
|
|
1559
1559
|
};
|
|
1560
1560
|
};
|
|
1561
1561
|
const deserializeAws_json1_1TrustedAdvisorCheckSummaryList = (output, context) => {
|
|
@@ -1570,19 +1570,19 @@ const deserializeAws_json1_1TrustedAdvisorCheckSummaryList = (output, context) =
|
|
|
1570
1570
|
};
|
|
1571
1571
|
const deserializeAws_json1_1TrustedAdvisorCostOptimizingSummary = (output, context) => {
|
|
1572
1572
|
return {
|
|
1573
|
-
estimatedMonthlySavings:
|
|
1574
|
-
estimatedPercentMonthlySavings:
|
|
1573
|
+
estimatedMonthlySavings: smithy_client_1.limitedParseDouble(output.estimatedMonthlySavings),
|
|
1574
|
+
estimatedPercentMonthlySavings: smithy_client_1.limitedParseDouble(output.estimatedPercentMonthlySavings),
|
|
1575
1575
|
};
|
|
1576
1576
|
};
|
|
1577
1577
|
const deserializeAws_json1_1TrustedAdvisorResourceDetail = (output, context) => {
|
|
1578
1578
|
return {
|
|
1579
|
-
isSuppressed:
|
|
1579
|
+
isSuppressed: smithy_client_1.expectBoolean(output.isSuppressed),
|
|
1580
1580
|
metadata: output.metadata !== undefined && output.metadata !== null
|
|
1581
1581
|
? deserializeAws_json1_1StringList(output.metadata, context)
|
|
1582
1582
|
: undefined,
|
|
1583
|
-
region:
|
|
1584
|
-
resourceId:
|
|
1585
|
-
status:
|
|
1583
|
+
region: smithy_client_1.expectString(output.region),
|
|
1584
|
+
resourceId: smithy_client_1.expectString(output.resourceId),
|
|
1585
|
+
status: smithy_client_1.expectString(output.status),
|
|
1586
1586
|
};
|
|
1587
1587
|
};
|
|
1588
1588
|
const deserializeAws_json1_1TrustedAdvisorResourceDetailList = (output, context) => {
|
|
@@ -1597,10 +1597,10 @@ const deserializeAws_json1_1TrustedAdvisorResourceDetailList = (output, context)
|
|
|
1597
1597
|
};
|
|
1598
1598
|
const deserializeAws_json1_1TrustedAdvisorResourcesSummary = (output, context) => {
|
|
1599
1599
|
return {
|
|
1600
|
-
resourcesFlagged:
|
|
1601
|
-
resourcesIgnored:
|
|
1602
|
-
resourcesProcessed:
|
|
1603
|
-
resourcesSuppressed:
|
|
1600
|
+
resourcesFlagged: smithy_client_1.expectLong(output.resourcesFlagged),
|
|
1601
|
+
resourcesIgnored: smithy_client_1.expectLong(output.resourcesIgnored),
|
|
1602
|
+
resourcesProcessed: smithy_client_1.expectLong(output.resourcesProcessed),
|
|
1603
|
+
resourcesSuppressed: smithy_client_1.expectLong(output.resourcesSuppressed),
|
|
1604
1604
|
};
|
|
1605
1605
|
};
|
|
1606
1606
|
const deserializeMetadata = (output) => {
|