@aws-sdk/client-health 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/HealthClient.js +13 -13
- package/dist/cjs/HealthClient.js.map +1 -1
- package/dist/cjs/commands/DescribeAffectedAccountsForOrganizationCommand.js +3 -3
- package/dist/cjs/commands/DescribeAffectedAccountsForOrganizationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeAffectedEntitiesCommand.js +3 -3
- package/dist/cjs/commands/DescribeAffectedEntitiesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeAffectedEntitiesForOrganizationCommand.js +3 -3
- package/dist/cjs/commands/DescribeAffectedEntitiesForOrganizationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEntityAggregatesCommand.js +3 -3
- package/dist/cjs/commands/DescribeEntityAggregatesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEventAggregatesCommand.js +3 -3
- package/dist/cjs/commands/DescribeEventAggregatesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEventDetailsCommand.js +3 -3
- package/dist/cjs/commands/DescribeEventDetailsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEventDetailsForOrganizationCommand.js +3 -3
- package/dist/cjs/commands/DescribeEventDetailsForOrganizationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEventTypesCommand.js +3 -3
- package/dist/cjs/commands/DescribeEventTypesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEventsCommand.js +3 -3
- package/dist/cjs/commands/DescribeEventsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEventsForOrganizationCommand.js +3 -3
- package/dist/cjs/commands/DescribeEventsForOrganizationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeHealthServiceStatusForOrganizationCommand.js +3 -3
- package/dist/cjs/commands/DescribeHealthServiceStatusForOrganizationCommand.js.map +1 -1
- package/dist/cjs/commands/DisableHealthServiceAccessForOrganizationCommand.js +3 -3
- package/dist/cjs/commands/DisableHealthServiceAccessForOrganizationCommand.js.map +1 -1
- package/dist/cjs/commands/EnableHealthServiceAccessForOrganizationCommand.js +3 -3
- package/dist/cjs/commands/EnableHealthServiceAccessForOrganizationCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +24 -24
- 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 +63 -63
- 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/DescribeAffectedAccountsForOrganizationPaginator.js +4 -4
- package/dist/es/pagination/DescribeAffectedAccountsForOrganizationPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeAffectedEntitiesForOrganizationPaginator.js +4 -4
- package/dist/es/pagination/DescribeAffectedEntitiesForOrganizationPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeAffectedEntitiesPaginator.js +4 -4
- package/dist/es/pagination/DescribeAffectedEntitiesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeEventAggregatesPaginator.js +4 -4
- package/dist/es/pagination/DescribeEventAggregatesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeEventTypesPaginator.js +4 -4
- package/dist/es/pagination/DescribeEventTypesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeEventsForOrganizationPaginator.js +4 -4
- package/dist/es/pagination/DescribeEventsForOrganizationPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeEventsPaginator.js +4 -4
- package/dist/es/pagination/DescribeEventsPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
package/dist/cjs/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-health",
|
|
3
3
|
"description": "AWS SDK for JavaScript Health 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"
|
|
@@ -1204,20 +1204,20 @@ const deserializeAws_json1_1affectedAccountsList = (output, context) => {
|
|
|
1204
1204
|
if (entry === null) {
|
|
1205
1205
|
return null;
|
|
1206
1206
|
}
|
|
1207
|
-
return
|
|
1207
|
+
return smithy_client_1.expectString(entry);
|
|
1208
1208
|
});
|
|
1209
1209
|
};
|
|
1210
1210
|
const deserializeAws_json1_1AffectedEntity = (output, context) => {
|
|
1211
1211
|
return {
|
|
1212
|
-
awsAccountId:
|
|
1213
|
-
entityArn:
|
|
1214
|
-
entityUrl:
|
|
1215
|
-
entityValue:
|
|
1216
|
-
eventArn:
|
|
1212
|
+
awsAccountId: smithy_client_1.expectString(output.awsAccountId),
|
|
1213
|
+
entityArn: smithy_client_1.expectString(output.entityArn),
|
|
1214
|
+
entityUrl: smithy_client_1.expectString(output.entityUrl),
|
|
1215
|
+
entityValue: smithy_client_1.expectString(output.entityValue),
|
|
1216
|
+
eventArn: smithy_client_1.expectString(output.eventArn),
|
|
1217
1217
|
lastUpdatedTime: output.lastUpdatedTime !== undefined && output.lastUpdatedTime !== null
|
|
1218
|
-
?
|
|
1218
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTime)))
|
|
1219
1219
|
: undefined,
|
|
1220
|
-
statusCode:
|
|
1220
|
+
statusCode: smithy_client_1.expectString(output.statusCode),
|
|
1221
1221
|
tags: output.tags !== undefined && output.tags !== null
|
|
1222
1222
|
? deserializeAws_json1_1tagSet(output.tags, context)
|
|
1223
1223
|
: undefined,
|
|
@@ -1225,7 +1225,7 @@ const deserializeAws_json1_1AffectedEntity = (output, context) => {
|
|
|
1225
1225
|
};
|
|
1226
1226
|
const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
|
|
1227
1227
|
return {
|
|
1228
|
-
message:
|
|
1228
|
+
message: smithy_client_1.expectString(output.message),
|
|
1229
1229
|
};
|
|
1230
1230
|
};
|
|
1231
1231
|
const deserializeAws_json1_1DescribeAffectedAccountsForOrganizationResponse = (output, context) => {
|
|
@@ -1233,8 +1233,8 @@ const deserializeAws_json1_1DescribeAffectedAccountsForOrganizationResponse = (o
|
|
|
1233
1233
|
affectedAccounts: output.affectedAccounts !== undefined && output.affectedAccounts !== null
|
|
1234
1234
|
? deserializeAws_json1_1affectedAccountsList(output.affectedAccounts, context)
|
|
1235
1235
|
: undefined,
|
|
1236
|
-
eventScopeCode:
|
|
1237
|
-
nextToken:
|
|
1236
|
+
eventScopeCode: smithy_client_1.expectString(output.eventScopeCode),
|
|
1237
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1238
1238
|
};
|
|
1239
1239
|
};
|
|
1240
1240
|
const deserializeAws_json1_1DescribeAffectedEntitiesForOrganizationFailedSet = (output, context) => {
|
|
@@ -1255,7 +1255,7 @@ const deserializeAws_json1_1DescribeAffectedEntitiesForOrganizationResponse = (o
|
|
|
1255
1255
|
failedSet: output.failedSet !== undefined && output.failedSet !== null
|
|
1256
1256
|
? deserializeAws_json1_1DescribeAffectedEntitiesForOrganizationFailedSet(output.failedSet, context)
|
|
1257
1257
|
: undefined,
|
|
1258
|
-
nextToken:
|
|
1258
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1259
1259
|
};
|
|
1260
1260
|
};
|
|
1261
1261
|
const deserializeAws_json1_1DescribeAffectedEntitiesResponse = (output, context) => {
|
|
@@ -1263,7 +1263,7 @@ const deserializeAws_json1_1DescribeAffectedEntitiesResponse = (output, context)
|
|
|
1263
1263
|
entities: output.entities !== undefined && output.entities !== null
|
|
1264
1264
|
? deserializeAws_json1_1EntityList(output.entities, context)
|
|
1265
1265
|
: undefined,
|
|
1266
|
-
nextToken:
|
|
1266
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1267
1267
|
};
|
|
1268
1268
|
};
|
|
1269
1269
|
const deserializeAws_json1_1DescribeEntityAggregatesResponse = (output, context) => {
|
|
@@ -1278,7 +1278,7 @@ const deserializeAws_json1_1DescribeEventAggregatesResponse = (output, context)
|
|
|
1278
1278
|
eventAggregates: output.eventAggregates !== undefined && output.eventAggregates !== null
|
|
1279
1279
|
? deserializeAws_json1_1EventAggregateList(output.eventAggregates, context)
|
|
1280
1280
|
: undefined,
|
|
1281
|
-
nextToken:
|
|
1281
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1282
1282
|
};
|
|
1283
1283
|
};
|
|
1284
1284
|
const deserializeAws_json1_1DescribeEventDetailsFailedSet = (output, context) => {
|
|
@@ -1346,7 +1346,7 @@ const deserializeAws_json1_1DescribeEventsForOrganizationResponse = (output, con
|
|
|
1346
1346
|
events: output.events !== undefined && output.events !== null
|
|
1347
1347
|
? deserializeAws_json1_1OrganizationEventList(output.events, context)
|
|
1348
1348
|
: undefined,
|
|
1349
|
-
nextToken:
|
|
1349
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1350
1350
|
};
|
|
1351
1351
|
};
|
|
1352
1352
|
const deserializeAws_json1_1DescribeEventsResponse = (output, context) => {
|
|
@@ -1354,7 +1354,7 @@ const deserializeAws_json1_1DescribeEventsResponse = (output, context) => {
|
|
|
1354
1354
|
events: output.events !== undefined && output.events !== null
|
|
1355
1355
|
? deserializeAws_json1_1EventList(output.events, context)
|
|
1356
1356
|
: undefined,
|
|
1357
|
-
nextToken:
|
|
1357
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1358
1358
|
};
|
|
1359
1359
|
};
|
|
1360
1360
|
const deserializeAws_json1_1DescribeEventTypesResponse = (output, context) => {
|
|
@@ -1362,18 +1362,18 @@ const deserializeAws_json1_1DescribeEventTypesResponse = (output, context) => {
|
|
|
1362
1362
|
eventTypes: output.eventTypes !== undefined && output.eventTypes !== null
|
|
1363
1363
|
? deserializeAws_json1_1EventTypeList(output.eventTypes, context)
|
|
1364
1364
|
: undefined,
|
|
1365
|
-
nextToken:
|
|
1365
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1366
1366
|
};
|
|
1367
1367
|
};
|
|
1368
1368
|
const deserializeAws_json1_1DescribeHealthServiceStatusForOrganizationResponse = (output, context) => {
|
|
1369
1369
|
return {
|
|
1370
|
-
healthServiceAccessStatusForOrganization:
|
|
1370
|
+
healthServiceAccessStatusForOrganization: smithy_client_1.expectString(output.healthServiceAccessStatusForOrganization),
|
|
1371
1371
|
};
|
|
1372
1372
|
};
|
|
1373
1373
|
const deserializeAws_json1_1EntityAggregate = (output, context) => {
|
|
1374
1374
|
return {
|
|
1375
|
-
count:
|
|
1376
|
-
eventArn:
|
|
1375
|
+
count: smithy_client_1.expectInt32(output.count),
|
|
1376
|
+
eventArn: smithy_client_1.expectString(output.eventArn),
|
|
1377
1377
|
};
|
|
1378
1378
|
};
|
|
1379
1379
|
const deserializeAws_json1_1EntityAggregateList = (output, context) => {
|
|
@@ -1398,29 +1398,29 @@ const deserializeAws_json1_1EntityList = (output, context) => {
|
|
|
1398
1398
|
};
|
|
1399
1399
|
const deserializeAws_json1_1Event = (output, context) => {
|
|
1400
1400
|
return {
|
|
1401
|
-
arn:
|
|
1402
|
-
availabilityZone:
|
|
1401
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
1402
|
+
availabilityZone: smithy_client_1.expectString(output.availabilityZone),
|
|
1403
1403
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
1404
|
-
?
|
|
1404
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
1405
1405
|
: undefined,
|
|
1406
|
-
eventScopeCode:
|
|
1407
|
-
eventTypeCategory:
|
|
1408
|
-
eventTypeCode:
|
|
1406
|
+
eventScopeCode: smithy_client_1.expectString(output.eventScopeCode),
|
|
1407
|
+
eventTypeCategory: smithy_client_1.expectString(output.eventTypeCategory),
|
|
1408
|
+
eventTypeCode: smithy_client_1.expectString(output.eventTypeCode),
|
|
1409
1409
|
lastUpdatedTime: output.lastUpdatedTime !== undefined && output.lastUpdatedTime !== null
|
|
1410
|
-
?
|
|
1410
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTime)))
|
|
1411
1411
|
: undefined,
|
|
1412
|
-
region:
|
|
1413
|
-
service:
|
|
1412
|
+
region: smithy_client_1.expectString(output.region),
|
|
1413
|
+
service: smithy_client_1.expectString(output.service),
|
|
1414
1414
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
1415
|
-
?
|
|
1415
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
1416
1416
|
: undefined,
|
|
1417
|
-
statusCode:
|
|
1417
|
+
statusCode: smithy_client_1.expectString(output.statusCode),
|
|
1418
1418
|
};
|
|
1419
1419
|
};
|
|
1420
1420
|
const deserializeAws_json1_1EventAggregate = (output, context) => {
|
|
1421
1421
|
return {
|
|
1422
|
-
aggregateValue:
|
|
1423
|
-
count:
|
|
1422
|
+
aggregateValue: smithy_client_1.expectString(output.aggregateValue),
|
|
1423
|
+
count: smithy_client_1.expectInt32(output.count),
|
|
1424
1424
|
};
|
|
1425
1425
|
};
|
|
1426
1426
|
const deserializeAws_json1_1EventAggregateList = (output, context) => {
|
|
@@ -1435,7 +1435,7 @@ const deserializeAws_json1_1EventAggregateList = (output, context) => {
|
|
|
1435
1435
|
};
|
|
1436
1436
|
const deserializeAws_json1_1EventDescription = (output, context) => {
|
|
1437
1437
|
return {
|
|
1438
|
-
latestDescription:
|
|
1438
|
+
latestDescription: smithy_client_1.expectString(output.latestDescription),
|
|
1439
1439
|
};
|
|
1440
1440
|
};
|
|
1441
1441
|
const deserializeAws_json1_1EventDetails = (output, context) => {
|
|
@@ -1453,9 +1453,9 @@ const deserializeAws_json1_1EventDetails = (output, context) => {
|
|
|
1453
1453
|
};
|
|
1454
1454
|
const deserializeAws_json1_1EventDetailsErrorItem = (output, context) => {
|
|
1455
1455
|
return {
|
|
1456
|
-
errorMessage:
|
|
1457
|
-
errorName:
|
|
1458
|
-
eventArn:
|
|
1456
|
+
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
1457
|
+
errorName: smithy_client_1.expectString(output.errorName),
|
|
1458
|
+
eventArn: smithy_client_1.expectString(output.eventArn),
|
|
1459
1459
|
};
|
|
1460
1460
|
};
|
|
1461
1461
|
const deserializeAws_json1_1EventList = (output, context) => {
|
|
@@ -1475,15 +1475,15 @@ const deserializeAws_json1_1eventMetadata = (output, context) => {
|
|
|
1475
1475
|
}
|
|
1476
1476
|
return {
|
|
1477
1477
|
...acc,
|
|
1478
|
-
[key]:
|
|
1478
|
+
[key]: smithy_client_1.expectString(value),
|
|
1479
1479
|
};
|
|
1480
1480
|
}, {});
|
|
1481
1481
|
};
|
|
1482
1482
|
const deserializeAws_json1_1EventType = (output, context) => {
|
|
1483
1483
|
return {
|
|
1484
|
-
category:
|
|
1485
|
-
code:
|
|
1486
|
-
service:
|
|
1484
|
+
category: smithy_client_1.expectString(output.category),
|
|
1485
|
+
code: smithy_client_1.expectString(output.code),
|
|
1486
|
+
service: smithy_client_1.expectString(output.service),
|
|
1487
1487
|
};
|
|
1488
1488
|
};
|
|
1489
1489
|
const deserializeAws_json1_1EventTypeList = (output, context) => {
|
|
@@ -1498,40 +1498,40 @@ const deserializeAws_json1_1EventTypeList = (output, context) => {
|
|
|
1498
1498
|
};
|
|
1499
1499
|
const deserializeAws_json1_1InvalidPaginationToken = (output, context) => {
|
|
1500
1500
|
return {
|
|
1501
|
-
message:
|
|
1501
|
+
message: smithy_client_1.expectString(output.message),
|
|
1502
1502
|
};
|
|
1503
1503
|
};
|
|
1504
1504
|
const deserializeAws_json1_1OrganizationAffectedEntitiesErrorItem = (output, context) => {
|
|
1505
1505
|
return {
|
|
1506
|
-
awsAccountId:
|
|
1507
|
-
errorMessage:
|
|
1508
|
-
errorName:
|
|
1509
|
-
eventArn:
|
|
1506
|
+
awsAccountId: smithy_client_1.expectString(output.awsAccountId),
|
|
1507
|
+
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
1508
|
+
errorName: smithy_client_1.expectString(output.errorName),
|
|
1509
|
+
eventArn: smithy_client_1.expectString(output.eventArn),
|
|
1510
1510
|
};
|
|
1511
1511
|
};
|
|
1512
1512
|
const deserializeAws_json1_1OrganizationEvent = (output, context) => {
|
|
1513
1513
|
return {
|
|
1514
|
-
arn:
|
|
1514
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
1515
1515
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
1516
|
-
?
|
|
1516
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
1517
1517
|
: undefined,
|
|
1518
|
-
eventScopeCode:
|
|
1519
|
-
eventTypeCategory:
|
|
1520
|
-
eventTypeCode:
|
|
1518
|
+
eventScopeCode: smithy_client_1.expectString(output.eventScopeCode),
|
|
1519
|
+
eventTypeCategory: smithy_client_1.expectString(output.eventTypeCategory),
|
|
1520
|
+
eventTypeCode: smithy_client_1.expectString(output.eventTypeCode),
|
|
1521
1521
|
lastUpdatedTime: output.lastUpdatedTime !== undefined && output.lastUpdatedTime !== null
|
|
1522
|
-
?
|
|
1522
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTime)))
|
|
1523
1523
|
: undefined,
|
|
1524
|
-
region:
|
|
1525
|
-
service:
|
|
1524
|
+
region: smithy_client_1.expectString(output.region),
|
|
1525
|
+
service: smithy_client_1.expectString(output.service),
|
|
1526
1526
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
1527
|
-
?
|
|
1527
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
1528
1528
|
: undefined,
|
|
1529
|
-
statusCode:
|
|
1529
|
+
statusCode: smithy_client_1.expectString(output.statusCode),
|
|
1530
1530
|
};
|
|
1531
1531
|
};
|
|
1532
1532
|
const deserializeAws_json1_1OrganizationEventDetails = (output, context) => {
|
|
1533
1533
|
return {
|
|
1534
|
-
awsAccountId:
|
|
1534
|
+
awsAccountId: smithy_client_1.expectString(output.awsAccountId),
|
|
1535
1535
|
event: output.event !== undefined && output.event !== null
|
|
1536
1536
|
? deserializeAws_json1_1Event(output.event, context)
|
|
1537
1537
|
: undefined,
|
|
@@ -1545,10 +1545,10 @@ const deserializeAws_json1_1OrganizationEventDetails = (output, context) => {
|
|
|
1545
1545
|
};
|
|
1546
1546
|
const deserializeAws_json1_1OrganizationEventDetailsErrorItem = (output, context) => {
|
|
1547
1547
|
return {
|
|
1548
|
-
awsAccountId:
|
|
1549
|
-
errorMessage:
|
|
1550
|
-
errorName:
|
|
1551
|
-
eventArn:
|
|
1548
|
+
awsAccountId: smithy_client_1.expectString(output.awsAccountId),
|
|
1549
|
+
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
1550
|
+
errorName: smithy_client_1.expectString(output.errorName),
|
|
1551
|
+
eventArn: smithy_client_1.expectString(output.eventArn),
|
|
1552
1552
|
};
|
|
1553
1553
|
};
|
|
1554
1554
|
const deserializeAws_json1_1OrganizationEventList = (output, context) => {
|
|
@@ -1568,13 +1568,13 @@ const deserializeAws_json1_1tagSet = (output, context) => {
|
|
|
1568
1568
|
}
|
|
1569
1569
|
return {
|
|
1570
1570
|
...acc,
|
|
1571
|
-
[key]:
|
|
1571
|
+
[key]: smithy_client_1.expectString(value),
|
|
1572
1572
|
};
|
|
1573
1573
|
}, {});
|
|
1574
1574
|
};
|
|
1575
1575
|
const deserializeAws_json1_1UnsupportedLocale = (output, context) => {
|
|
1576
1576
|
return {
|
|
1577
|
-
message:
|
|
1577
|
+
message: smithy_client_1.expectString(output.message),
|
|
1578
1578
|
};
|
|
1579
1579
|
};
|
|
1580
1580
|
const deserializeMetadata = (output) => {
|