@aws-sdk/client-fms 3.121.0 → 3.130.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 +32 -0
- package/dist-cjs/models/models_0.js +13 -2
- package/dist-cjs/protocols/Aws_json1_1.js +233 -375
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +182 -324
- package/dist-types/models/models_0.d.ts +141 -116
- package/dist-types/ts3.4/models/models_0.d.ts +19 -0
- package/package.json +26 -26
|
@@ -2242,7 +2242,7 @@ var deserializeAws_json1_1ResourceNotFoundExceptionResponse = function (parsedOu
|
|
|
2242
2242
|
});
|
|
2243
2243
|
}); };
|
|
2244
2244
|
var serializeAws_json1_1App = function (input, context) {
|
|
2245
|
-
return __assign(__assign(__assign({}, (input.AppName
|
|
2245
|
+
return __assign(__assign(__assign({}, (input.AppName != null && { AppName: input.AppName })), (input.Port != null && { Port: input.Port })), (input.Protocol != null && { Protocol: input.Protocol }));
|
|
2246
2246
|
};
|
|
2247
2247
|
var serializeAws_json1_1AppsList = function (input, context) {
|
|
2248
2248
|
return input
|
|
@@ -2255,21 +2255,15 @@ var serializeAws_json1_1AppsList = function (input, context) {
|
|
|
2255
2255
|
});
|
|
2256
2256
|
};
|
|
2257
2257
|
var serializeAws_json1_1AppsListData = function (input, context) {
|
|
2258
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppsList
|
|
2259
|
-
input.AppsList !== null && { AppsList: serializeAws_json1_1AppsList(input.AppsList, context) })), (input.CreateTime !== undefined &&
|
|
2260
|
-
input.CreateTime !== null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) })), (input.LastUpdateTime !== undefined &&
|
|
2261
|
-
input.LastUpdateTime !== null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) })), (input.ListId !== undefined && input.ListId !== null && { ListId: input.ListId })), (input.ListName !== undefined && input.ListName !== null && { ListName: input.ListName })), (input.ListUpdateToken !== undefined &&
|
|
2262
|
-
input.ListUpdateToken !== null && { ListUpdateToken: input.ListUpdateToken })), (input.PreviousAppsList !== undefined &&
|
|
2263
|
-
input.PreviousAppsList !== null && {
|
|
2258
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppsList != null && { AppsList: serializeAws_json1_1AppsList(input.AppsList, context) })), (input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) })), (input.LastUpdateTime != null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) })), (input.ListId != null && { ListId: input.ListId })), (input.ListName != null && { ListName: input.ListName })), (input.ListUpdateToken != null && { ListUpdateToken: input.ListUpdateToken })), (input.PreviousAppsList != null && {
|
|
2264
2259
|
PreviousAppsList: serializeAws_json1_1PreviousAppsList(input.PreviousAppsList, context),
|
|
2265
2260
|
}));
|
|
2266
2261
|
};
|
|
2267
2262
|
var serializeAws_json1_1AssociateAdminAccountRequest = function (input, context) {
|
|
2268
|
-
return __assign({}, (input.AdminAccount
|
|
2263
|
+
return __assign({}, (input.AdminAccount != null && { AdminAccount: input.AdminAccount }));
|
|
2269
2264
|
};
|
|
2270
2265
|
var serializeAws_json1_1AssociateThirdPartyFirewallRequest = function (input, context) {
|
|
2271
|
-
return __assign({}, (input.ThirdPartyFirewall
|
|
2272
|
-
input.ThirdPartyFirewall !== null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2266
|
+
return __assign({}, (input.ThirdPartyFirewall != null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2273
2267
|
};
|
|
2274
2268
|
var serializeAws_json1_1CustomerPolicyScopeIdList = function (input, context) {
|
|
2275
2269
|
return input
|
|
@@ -2292,110 +2286,91 @@ var serializeAws_json1_1CustomerPolicyScopeMap = function (input, context) {
|
|
|
2292
2286
|
}, {});
|
|
2293
2287
|
};
|
|
2294
2288
|
var serializeAws_json1_1DeleteAppsListRequest = function (input, context) {
|
|
2295
|
-
return __assign({}, (input.ListId
|
|
2289
|
+
return __assign({}, (input.ListId != null && { ListId: input.ListId }));
|
|
2296
2290
|
};
|
|
2297
2291
|
var serializeAws_json1_1DeleteNotificationChannelRequest = function (input, context) {
|
|
2298
2292
|
return {};
|
|
2299
2293
|
};
|
|
2300
2294
|
var serializeAws_json1_1DeletePolicyRequest = function (input, context) {
|
|
2301
|
-
return __assign(__assign({}, (input.DeleteAllPolicyResources
|
|
2302
|
-
input.DeleteAllPolicyResources !== null && { DeleteAllPolicyResources: input.DeleteAllPolicyResources })), (input.PolicyId !== undefined && input.PolicyId !== null && { PolicyId: input.PolicyId }));
|
|
2295
|
+
return __assign(__assign({}, (input.DeleteAllPolicyResources != null && { DeleteAllPolicyResources: input.DeleteAllPolicyResources })), (input.PolicyId != null && { PolicyId: input.PolicyId }));
|
|
2303
2296
|
};
|
|
2304
2297
|
var serializeAws_json1_1DeleteProtocolsListRequest = function (input, context) {
|
|
2305
|
-
return __assign({}, (input.ListId
|
|
2298
|
+
return __assign({}, (input.ListId != null && { ListId: input.ListId }));
|
|
2306
2299
|
};
|
|
2307
2300
|
var serializeAws_json1_1DisassociateAdminAccountRequest = function (input, context) {
|
|
2308
2301
|
return {};
|
|
2309
2302
|
};
|
|
2310
2303
|
var serializeAws_json1_1DisassociateThirdPartyFirewallRequest = function (input, context) {
|
|
2311
|
-
return __assign({}, (input.ThirdPartyFirewall
|
|
2312
|
-
input.ThirdPartyFirewall !== null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2304
|
+
return __assign({}, (input.ThirdPartyFirewall != null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2313
2305
|
};
|
|
2314
2306
|
var serializeAws_json1_1GetAdminAccountRequest = function (input, context) {
|
|
2315
2307
|
return {};
|
|
2316
2308
|
};
|
|
2317
2309
|
var serializeAws_json1_1GetAppsListRequest = function (input, context) {
|
|
2318
|
-
return __assign(__assign({}, (input.DefaultList
|
|
2310
|
+
return __assign(__assign({}, (input.DefaultList != null && { DefaultList: input.DefaultList })), (input.ListId != null && { ListId: input.ListId }));
|
|
2319
2311
|
};
|
|
2320
2312
|
var serializeAws_json1_1GetComplianceDetailRequest = function (input, context) {
|
|
2321
|
-
return __assign(__assign({}, (input.MemberAccount
|
|
2313
|
+
return __assign(__assign({}, (input.MemberAccount != null && { MemberAccount: input.MemberAccount })), (input.PolicyId != null && { PolicyId: input.PolicyId }));
|
|
2322
2314
|
};
|
|
2323
2315
|
var serializeAws_json1_1GetNotificationChannelRequest = function (input, context) {
|
|
2324
2316
|
return {};
|
|
2325
2317
|
};
|
|
2326
2318
|
var serializeAws_json1_1GetPolicyRequest = function (input, context) {
|
|
2327
|
-
return __assign({}, (input.PolicyId
|
|
2319
|
+
return __assign({}, (input.PolicyId != null && { PolicyId: input.PolicyId }));
|
|
2328
2320
|
};
|
|
2329
2321
|
var serializeAws_json1_1GetProtectionStatusRequest = function (input, context) {
|
|
2330
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndTime
|
|
2331
|
-
input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.MemberAccountId !== undefined &&
|
|
2332
|
-
input.MemberAccountId !== null && { MemberAccountId: input.MemberAccountId })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.PolicyId !== undefined && input.PolicyId !== null && { PolicyId: input.PolicyId })), (input.StartTime !== undefined &&
|
|
2333
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
2322
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.MemberAccountId != null && { MemberAccountId: input.MemberAccountId })), (input.NextToken != null && { NextToken: input.NextToken })), (input.PolicyId != null && { PolicyId: input.PolicyId })), (input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
2334
2323
|
};
|
|
2335
2324
|
var serializeAws_json1_1GetProtocolsListRequest = function (input, context) {
|
|
2336
|
-
return __assign(__assign({}, (input.DefaultList
|
|
2325
|
+
return __assign(__assign({}, (input.DefaultList != null && { DefaultList: input.DefaultList })), (input.ListId != null && { ListId: input.ListId }));
|
|
2337
2326
|
};
|
|
2338
2327
|
var serializeAws_json1_1GetThirdPartyFirewallAssociationStatusRequest = function (input, context) {
|
|
2339
|
-
return __assign({}, (input.ThirdPartyFirewall
|
|
2340
|
-
input.ThirdPartyFirewall !== null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2328
|
+
return __assign({}, (input.ThirdPartyFirewall != null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2341
2329
|
};
|
|
2342
2330
|
var serializeAws_json1_1GetViolationDetailsRequest = function (input, context) {
|
|
2343
|
-
return __assign(__assign(__assign(__assign({}, (input.MemberAccount
|
|
2331
|
+
return __assign(__assign(__assign(__assign({}, (input.MemberAccount != null && { MemberAccount: input.MemberAccount })), (input.PolicyId != null && { PolicyId: input.PolicyId })), (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ResourceType != null && { ResourceType: input.ResourceType }));
|
|
2344
2332
|
};
|
|
2345
2333
|
var serializeAws_json1_1ListAppsListsRequest = function (input, context) {
|
|
2346
|
-
return __assign(__assign(__assign({}, (input.DefaultLists
|
|
2334
|
+
return __assign(__assign(__assign({}, (input.DefaultLists != null && { DefaultLists: input.DefaultLists })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2347
2335
|
};
|
|
2348
2336
|
var serializeAws_json1_1ListComplianceStatusRequest = function (input, context) {
|
|
2349
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2337
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.PolicyId != null && { PolicyId: input.PolicyId }));
|
|
2350
2338
|
};
|
|
2351
2339
|
var serializeAws_json1_1ListMemberAccountsRequest = function (input, context) {
|
|
2352
|
-
return __assign(__assign({}, (input.MaxResults
|
|
2340
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2353
2341
|
};
|
|
2354
2342
|
var serializeAws_json1_1ListPoliciesRequest = function (input, context) {
|
|
2355
|
-
return __assign(__assign({}, (input.MaxResults
|
|
2343
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2356
2344
|
};
|
|
2357
2345
|
var serializeAws_json1_1ListProtocolsListsRequest = function (input, context) {
|
|
2358
|
-
return __assign(__assign(__assign({}, (input.DefaultLists
|
|
2346
|
+
return __assign(__assign(__assign({}, (input.DefaultLists != null && { DefaultLists: input.DefaultLists })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2359
2347
|
};
|
|
2360
2348
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
2361
|
-
return __assign({}, (input.ResourceArn
|
|
2349
|
+
return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
2362
2350
|
};
|
|
2363
2351
|
var serializeAws_json1_1ListThirdPartyFirewallFirewallPoliciesRequest = function (input, context) {
|
|
2364
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2365
|
-
input.ThirdPartyFirewall !== null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2352
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ThirdPartyFirewall != null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2366
2353
|
};
|
|
2367
2354
|
var serializeAws_json1_1NetworkFirewallPolicy = function (input, context) {
|
|
2368
|
-
return __assign({}, (input.FirewallDeploymentModel
|
|
2369
|
-
input.FirewallDeploymentModel !== null && { FirewallDeploymentModel: input.FirewallDeploymentModel }));
|
|
2355
|
+
return __assign({}, (input.FirewallDeploymentModel != null && { FirewallDeploymentModel: input.FirewallDeploymentModel }));
|
|
2370
2356
|
};
|
|
2371
2357
|
var serializeAws_json1_1Policy = function (input, context) {
|
|
2372
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeleteUnusedFMManagedResources
|
|
2373
|
-
input.DeleteUnusedFMManagedResources !== null && {
|
|
2358
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeleteUnusedFMManagedResources != null && {
|
|
2374
2359
|
DeleteUnusedFMManagedResources: input.DeleteUnusedFMManagedResources,
|
|
2375
|
-
})), (input.ExcludeMap
|
|
2376
|
-
input.ExcludeMap !== null && {
|
|
2360
|
+
})), (input.ExcludeMap != null && {
|
|
2377
2361
|
ExcludeMap: serializeAws_json1_1CustomerPolicyScopeMap(input.ExcludeMap, context),
|
|
2378
|
-
})), (input.ExcludeResourceTags
|
|
2379
|
-
input.ExcludeResourceTags !== null && { ExcludeResourceTags: input.ExcludeResourceTags })), (input.IncludeMap !== undefined &&
|
|
2380
|
-
input.IncludeMap !== null && {
|
|
2362
|
+
})), (input.ExcludeResourceTags != null && { ExcludeResourceTags: input.ExcludeResourceTags })), (input.IncludeMap != null && {
|
|
2381
2363
|
IncludeMap: serializeAws_json1_1CustomerPolicyScopeMap(input.IncludeMap, context),
|
|
2382
|
-
})), (input.PolicyId
|
|
2383
|
-
input.PolicyUpdateToken !== null && { PolicyUpdateToken: input.PolicyUpdateToken })), (input.RemediationEnabled !== undefined &&
|
|
2384
|
-
input.RemediationEnabled !== null && { RemediationEnabled: input.RemediationEnabled })), (input.ResourceTags !== undefined &&
|
|
2385
|
-
input.ResourceTags !== null && { ResourceTags: serializeAws_json1_1ResourceTags(input.ResourceTags, context) })), (input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType })), (input.ResourceTypeList !== undefined &&
|
|
2386
|
-
input.ResourceTypeList !== null && {
|
|
2364
|
+
})), (input.PolicyId != null && { PolicyId: input.PolicyId })), (input.PolicyName != null && { PolicyName: input.PolicyName })), (input.PolicyUpdateToken != null && { PolicyUpdateToken: input.PolicyUpdateToken })), (input.RemediationEnabled != null && { RemediationEnabled: input.RemediationEnabled })), (input.ResourceTags != null && { ResourceTags: serializeAws_json1_1ResourceTags(input.ResourceTags, context) })), (input.ResourceType != null && { ResourceType: input.ResourceType })), (input.ResourceTypeList != null && {
|
|
2387
2365
|
ResourceTypeList: serializeAws_json1_1ResourceTypeList(input.ResourceTypeList, context),
|
|
2388
|
-
})), (input.SecurityServicePolicyData
|
|
2389
|
-
input.SecurityServicePolicyData !== null && {
|
|
2366
|
+
})), (input.SecurityServicePolicyData != null && {
|
|
2390
2367
|
SecurityServicePolicyData: serializeAws_json1_1SecurityServicePolicyData(input.SecurityServicePolicyData, context),
|
|
2391
2368
|
}));
|
|
2392
2369
|
};
|
|
2393
2370
|
var serializeAws_json1_1PolicyOption = function (input, context) {
|
|
2394
|
-
return __assign(__assign({}, (input.NetworkFirewallPolicy
|
|
2395
|
-
input.NetworkFirewallPolicy !== null && {
|
|
2371
|
+
return __assign(__assign({}, (input.NetworkFirewallPolicy != null && {
|
|
2396
2372
|
NetworkFirewallPolicy: serializeAws_json1_1NetworkFirewallPolicy(input.NetworkFirewallPolicy, context),
|
|
2397
|
-
})), (input.ThirdPartyFirewallPolicy
|
|
2398
|
-
input.ThirdPartyFirewallPolicy !== null && {
|
|
2373
|
+
})), (input.ThirdPartyFirewallPolicy != null && {
|
|
2399
2374
|
ThirdPartyFirewallPolicy: serializeAws_json1_1ThirdPartyFirewallPolicy(input.ThirdPartyFirewallPolicy, context),
|
|
2400
2375
|
}));
|
|
2401
2376
|
};
|
|
@@ -2430,39 +2405,28 @@ var serializeAws_json1_1ProtocolsList = function (input, context) {
|
|
|
2430
2405
|
});
|
|
2431
2406
|
};
|
|
2432
2407
|
var serializeAws_json1_1ProtocolsListData = function (input, context) {
|
|
2433
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreateTime
|
|
2434
|
-
input.CreateTime !== null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) })), (input.LastUpdateTime !== undefined &&
|
|
2435
|
-
input.LastUpdateTime !== null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) })), (input.ListId !== undefined && input.ListId !== null && { ListId: input.ListId })), (input.ListName !== undefined && input.ListName !== null && { ListName: input.ListName })), (input.ListUpdateToken !== undefined &&
|
|
2436
|
-
input.ListUpdateToken !== null && { ListUpdateToken: input.ListUpdateToken })), (input.PreviousProtocolsList !== undefined &&
|
|
2437
|
-
input.PreviousProtocolsList !== null && {
|
|
2408
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) })), (input.LastUpdateTime != null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) })), (input.ListId != null && { ListId: input.ListId })), (input.ListName != null && { ListName: input.ListName })), (input.ListUpdateToken != null && { ListUpdateToken: input.ListUpdateToken })), (input.PreviousProtocolsList != null && {
|
|
2438
2409
|
PreviousProtocolsList: serializeAws_json1_1PreviousProtocolsList(input.PreviousProtocolsList, context),
|
|
2439
|
-
})), (input.ProtocolsList
|
|
2440
|
-
input.ProtocolsList !== null && {
|
|
2410
|
+
})), (input.ProtocolsList != null && {
|
|
2441
2411
|
ProtocolsList: serializeAws_json1_1ProtocolsList(input.ProtocolsList, context),
|
|
2442
2412
|
}));
|
|
2443
2413
|
};
|
|
2444
2414
|
var serializeAws_json1_1PutAppsListRequest = function (input, context) {
|
|
2445
|
-
return __assign(__assign({}, (input.AppsList
|
|
2446
|
-
input.AppsList !== null && { AppsList: serializeAws_json1_1AppsListData(input.AppsList, context) })), (input.TagList !== undefined &&
|
|
2447
|
-
input.TagList !== null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2415
|
+
return __assign(__assign({}, (input.AppsList != null && { AppsList: serializeAws_json1_1AppsListData(input.AppsList, context) })), (input.TagList != null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2448
2416
|
};
|
|
2449
2417
|
var serializeAws_json1_1PutNotificationChannelRequest = function (input, context) {
|
|
2450
|
-
return __assign(__assign({}, (input.SnsRoleName
|
|
2418
|
+
return __assign(__assign({}, (input.SnsRoleName != null && { SnsRoleName: input.SnsRoleName })), (input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn }));
|
|
2451
2419
|
};
|
|
2452
2420
|
var serializeAws_json1_1PutPolicyRequest = function (input, context) {
|
|
2453
|
-
return __assign(__assign({}, (input.Policy
|
|
2454
|
-
input.Policy !== null && { Policy: serializeAws_json1_1Policy(input.Policy, context) })), (input.TagList !== undefined &&
|
|
2455
|
-
input.TagList !== null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2421
|
+
return __assign(__assign({}, (input.Policy != null && { Policy: serializeAws_json1_1Policy(input.Policy, context) })), (input.TagList != null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2456
2422
|
};
|
|
2457
2423
|
var serializeAws_json1_1PutProtocolsListRequest = function (input, context) {
|
|
2458
|
-
return __assign(__assign({}, (input.ProtocolsList
|
|
2459
|
-
input.ProtocolsList !== null && {
|
|
2424
|
+
return __assign(__assign({}, (input.ProtocolsList != null && {
|
|
2460
2425
|
ProtocolsList: serializeAws_json1_1ProtocolsListData(input.ProtocolsList, context),
|
|
2461
|
-
})), (input.TagList
|
|
2462
|
-
input.TagList !== null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2426
|
+
})), (input.TagList != null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2463
2427
|
};
|
|
2464
2428
|
var serializeAws_json1_1ResourceTag = function (input, context) {
|
|
2465
|
-
return __assign(__assign({}, (input.Key
|
|
2429
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
2466
2430
|
};
|
|
2467
2431
|
var serializeAws_json1_1ResourceTags = function (input, context) {
|
|
2468
2432
|
return input
|
|
@@ -2485,12 +2449,10 @@ var serializeAws_json1_1ResourceTypeList = function (input, context) {
|
|
|
2485
2449
|
});
|
|
2486
2450
|
};
|
|
2487
2451
|
var serializeAws_json1_1SecurityServicePolicyData = function (input, context) {
|
|
2488
|
-
return __assign(__assign(__assign({}, (input.ManagedServiceData
|
|
2489
|
-
input.ManagedServiceData !== null && { ManagedServiceData: input.ManagedServiceData })), (input.PolicyOption !== undefined &&
|
|
2490
|
-
input.PolicyOption !== null && { PolicyOption: serializeAws_json1_1PolicyOption(input.PolicyOption, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
2452
|
+
return __assign(__assign(__assign({}, (input.ManagedServiceData != null && { ManagedServiceData: input.ManagedServiceData })), (input.PolicyOption != null && { PolicyOption: serializeAws_json1_1PolicyOption(input.PolicyOption, context) })), (input.Type != null && { Type: input.Type }));
|
|
2491
2453
|
};
|
|
2492
2454
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
2493
|
-
return __assign(__assign({}, (input.Key
|
|
2455
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
2494
2456
|
};
|
|
2495
2457
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
2496
2458
|
return input
|
|
@@ -2513,16 +2475,13 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
2513
2475
|
});
|
|
2514
2476
|
};
|
|
2515
2477
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
2516
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
2517
|
-
input.TagList !== null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2478
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagList != null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2518
2479
|
};
|
|
2519
2480
|
var serializeAws_json1_1ThirdPartyFirewallPolicy = function (input, context) {
|
|
2520
|
-
return __assign({}, (input.FirewallDeploymentModel
|
|
2521
|
-
input.FirewallDeploymentModel !== null && { FirewallDeploymentModel: input.FirewallDeploymentModel }));
|
|
2481
|
+
return __assign({}, (input.FirewallDeploymentModel != null && { FirewallDeploymentModel: input.FirewallDeploymentModel }));
|
|
2522
2482
|
};
|
|
2523
2483
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
2524
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
2525
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
2484
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
2526
2485
|
};
|
|
2527
2486
|
var deserializeAws_json1_1ActionTarget = function (output, context) {
|
|
2528
2487
|
return {
|
|
@@ -2550,28 +2509,22 @@ var deserializeAws_json1_1AppsList = function (output, context) {
|
|
|
2550
2509
|
};
|
|
2551
2510
|
var deserializeAws_json1_1AppsListData = function (output, context) {
|
|
2552
2511
|
return {
|
|
2553
|
-
AppsList: output.AppsList
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
CreateTime: output.CreateTime !== undefined && output.CreateTime !== null
|
|
2557
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime)))
|
|
2558
|
-
: undefined,
|
|
2559
|
-
LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
2512
|
+
AppsList: output.AppsList != null ? deserializeAws_json1_1AppsList(output.AppsList, context) : undefined,
|
|
2513
|
+
CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
|
|
2514
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
2560
2515
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
2561
2516
|
: undefined,
|
|
2562
2517
|
ListId: __expectString(output.ListId),
|
|
2563
2518
|
ListName: __expectString(output.ListName),
|
|
2564
2519
|
ListUpdateToken: __expectString(output.ListUpdateToken),
|
|
2565
|
-
PreviousAppsList: output.PreviousAppsList
|
|
2520
|
+
PreviousAppsList: output.PreviousAppsList != null
|
|
2566
2521
|
? deserializeAws_json1_1PreviousAppsList(output.PreviousAppsList, context)
|
|
2567
2522
|
: undefined,
|
|
2568
2523
|
};
|
|
2569
2524
|
};
|
|
2570
2525
|
var deserializeAws_json1_1AppsListDataSummary = function (output, context) {
|
|
2571
2526
|
return {
|
|
2572
|
-
AppsList: output.AppsList
|
|
2573
|
-
? deserializeAws_json1_1AppsList(output.AppsList, context)
|
|
2574
|
-
: undefined,
|
|
2527
|
+
AppsList: output.AppsList != null ? deserializeAws_json1_1AppsList(output.AppsList, context) : undefined,
|
|
2575
2528
|
ListArn: __expectString(output.ListArn),
|
|
2576
2529
|
ListId: __expectString(output.ListId),
|
|
2577
2530
|
ListName: __expectString(output.ListName),
|
|
@@ -2595,7 +2548,7 @@ var deserializeAws_json1_1AssociateThirdPartyFirewallResponse = function (output
|
|
|
2595
2548
|
};
|
|
2596
2549
|
var deserializeAws_json1_1AwsEc2InstanceViolation = function (output, context) {
|
|
2597
2550
|
return {
|
|
2598
|
-
AwsEc2NetworkInterfaceViolations: output.AwsEc2NetworkInterfaceViolations
|
|
2551
|
+
AwsEc2NetworkInterfaceViolations: output.AwsEc2NetworkInterfaceViolations != null
|
|
2599
2552
|
? deserializeAws_json1_1AwsEc2NetworkInterfaceViolations(output.AwsEc2NetworkInterfaceViolations, context)
|
|
2600
2553
|
: undefined,
|
|
2601
2554
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
@@ -2603,7 +2556,7 @@ var deserializeAws_json1_1AwsEc2InstanceViolation = function (output, context) {
|
|
|
2603
2556
|
};
|
|
2604
2557
|
var deserializeAws_json1_1AwsEc2NetworkInterfaceViolation = function (output, context) {
|
|
2605
2558
|
return {
|
|
2606
|
-
ViolatingSecurityGroups: output.ViolatingSecurityGroups
|
|
2559
|
+
ViolatingSecurityGroups: output.ViolatingSecurityGroups != null
|
|
2607
2560
|
? deserializeAws_json1_1ResourceIdList(output.ViolatingSecurityGroups, context)
|
|
2608
2561
|
: undefined,
|
|
2609
2562
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
@@ -2622,11 +2575,8 @@ var deserializeAws_json1_1AwsEc2NetworkInterfaceViolations = function (output, c
|
|
|
2622
2575
|
};
|
|
2623
2576
|
var deserializeAws_json1_1AwsVPCSecurityGroupViolation = function (output, context) {
|
|
2624
2577
|
return {
|
|
2625
|
-
PartialMatches: output.PartialMatches
|
|
2626
|
-
|
|
2627
|
-
: undefined,
|
|
2628
|
-
PossibleSecurityGroupRemediationActions: output.PossibleSecurityGroupRemediationActions !== undefined &&
|
|
2629
|
-
output.PossibleSecurityGroupRemediationActions !== null
|
|
2578
|
+
PartialMatches: output.PartialMatches != null ? deserializeAws_json1_1PartialMatches(output.PartialMatches, context) : undefined,
|
|
2579
|
+
PossibleSecurityGroupRemediationActions: output.PossibleSecurityGroupRemediationActions != null
|
|
2630
2580
|
? deserializeAws_json1_1SecurityGroupRemediationActions(output.PossibleSecurityGroupRemediationActions, context)
|
|
2631
2581
|
: undefined,
|
|
2632
2582
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
@@ -2635,9 +2585,7 @@ var deserializeAws_json1_1AwsVPCSecurityGroupViolation = function (output, conte
|
|
|
2635
2585
|
};
|
|
2636
2586
|
var deserializeAws_json1_1ComplianceViolator = function (output, context) {
|
|
2637
2587
|
return {
|
|
2638
|
-
Metadata: output.Metadata
|
|
2639
|
-
? deserializeAws_json1_1ComplianceViolatorMetadata(output.Metadata, context)
|
|
2640
|
-
: undefined,
|
|
2588
|
+
Metadata: output.Metadata != null ? deserializeAws_json1_1ComplianceViolatorMetadata(output.Metadata, context) : undefined,
|
|
2641
2589
|
ResourceId: __expectString(output.ResourceId),
|
|
2642
2590
|
ResourceType: __expectString(output.ResourceType),
|
|
2643
2591
|
ViolationReason: __expectString(output.ViolationReason),
|
|
@@ -2718,7 +2666,7 @@ var deserializeAws_json1_1DnsRuleGroupPriorityConflictViolation = function (outp
|
|
|
2718
2666
|
return {
|
|
2719
2667
|
ConflictingPolicyId: __expectString(output.ConflictingPolicyId),
|
|
2720
2668
|
ConflictingPriority: __expectInt32(output.ConflictingPriority),
|
|
2721
|
-
UnavailablePriorities: output.UnavailablePriorities
|
|
2669
|
+
UnavailablePriorities: output.UnavailablePriorities != null
|
|
2722
2670
|
? deserializeAws_json1_1DnsRuleGroupPriorities(output.UnavailablePriorities, context)
|
|
2723
2671
|
: undefined,
|
|
2724
2672
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
@@ -2728,26 +2676,16 @@ var deserializeAws_json1_1DnsRuleGroupPriorityConflictViolation = function (outp
|
|
|
2728
2676
|
var deserializeAws_json1_1EC2AssociateRouteTableAction = function (output, context) {
|
|
2729
2677
|
return {
|
|
2730
2678
|
Description: __expectString(output.Description),
|
|
2731
|
-
GatewayId: output.GatewayId
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
RouteTableId: output.RouteTableId !== undefined && output.RouteTableId !== null
|
|
2735
|
-
? deserializeAws_json1_1ActionTarget(output.RouteTableId, context)
|
|
2736
|
-
: undefined,
|
|
2737
|
-
SubnetId: output.SubnetId !== undefined && output.SubnetId !== null
|
|
2738
|
-
? deserializeAws_json1_1ActionTarget(output.SubnetId, context)
|
|
2739
|
-
: undefined,
|
|
2679
|
+
GatewayId: output.GatewayId != null ? deserializeAws_json1_1ActionTarget(output.GatewayId, context) : undefined,
|
|
2680
|
+
RouteTableId: output.RouteTableId != null ? deserializeAws_json1_1ActionTarget(output.RouteTableId, context) : undefined,
|
|
2681
|
+
SubnetId: output.SubnetId != null ? deserializeAws_json1_1ActionTarget(output.SubnetId, context) : undefined,
|
|
2740
2682
|
};
|
|
2741
2683
|
};
|
|
2742
2684
|
var deserializeAws_json1_1EC2CopyRouteTableAction = function (output, context) {
|
|
2743
2685
|
return {
|
|
2744
2686
|
Description: __expectString(output.Description),
|
|
2745
|
-
RouteTableId: output.RouteTableId
|
|
2746
|
-
|
|
2747
|
-
: undefined,
|
|
2748
|
-
VpcId: output.VpcId !== undefined && output.VpcId !== null
|
|
2749
|
-
? deserializeAws_json1_1ActionTarget(output.VpcId, context)
|
|
2750
|
-
: undefined,
|
|
2687
|
+
RouteTableId: output.RouteTableId != null ? deserializeAws_json1_1ActionTarget(output.RouteTableId, context) : undefined,
|
|
2688
|
+
VpcId: output.VpcId != null ? deserializeAws_json1_1ActionTarget(output.VpcId, context) : undefined,
|
|
2751
2689
|
};
|
|
2752
2690
|
};
|
|
2753
2691
|
var deserializeAws_json1_1EC2CreateRouteAction = function (output, context) {
|
|
@@ -2756,23 +2694,15 @@ var deserializeAws_json1_1EC2CreateRouteAction = function (output, context) {
|
|
|
2756
2694
|
DestinationCidrBlock: __expectString(output.DestinationCidrBlock),
|
|
2757
2695
|
DestinationIpv6CidrBlock: __expectString(output.DestinationIpv6CidrBlock),
|
|
2758
2696
|
DestinationPrefixListId: __expectString(output.DestinationPrefixListId),
|
|
2759
|
-
GatewayId: output.GatewayId
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
RouteTableId: output.RouteTableId !== undefined && output.RouteTableId !== null
|
|
2763
|
-
? deserializeAws_json1_1ActionTarget(output.RouteTableId, context)
|
|
2764
|
-
: undefined,
|
|
2765
|
-
VpcEndpointId: output.VpcEndpointId !== undefined && output.VpcEndpointId !== null
|
|
2766
|
-
? deserializeAws_json1_1ActionTarget(output.VpcEndpointId, context)
|
|
2767
|
-
: undefined,
|
|
2697
|
+
GatewayId: output.GatewayId != null ? deserializeAws_json1_1ActionTarget(output.GatewayId, context) : undefined,
|
|
2698
|
+
RouteTableId: output.RouteTableId != null ? deserializeAws_json1_1ActionTarget(output.RouteTableId, context) : undefined,
|
|
2699
|
+
VpcEndpointId: output.VpcEndpointId != null ? deserializeAws_json1_1ActionTarget(output.VpcEndpointId, context) : undefined,
|
|
2768
2700
|
};
|
|
2769
2701
|
};
|
|
2770
2702
|
var deserializeAws_json1_1EC2CreateRouteTableAction = function (output, context) {
|
|
2771
2703
|
return {
|
|
2772
2704
|
Description: __expectString(output.Description),
|
|
2773
|
-
VpcId: output.VpcId
|
|
2774
|
-
? deserializeAws_json1_1ActionTarget(output.VpcId, context)
|
|
2775
|
-
: undefined,
|
|
2705
|
+
VpcId: output.VpcId != null ? deserializeAws_json1_1ActionTarget(output.VpcId, context) : undefined,
|
|
2776
2706
|
};
|
|
2777
2707
|
};
|
|
2778
2708
|
var deserializeAws_json1_1EC2DeleteRouteAction = function (output, context) {
|
|
@@ -2781,9 +2711,7 @@ var deserializeAws_json1_1EC2DeleteRouteAction = function (output, context) {
|
|
|
2781
2711
|
DestinationCidrBlock: __expectString(output.DestinationCidrBlock),
|
|
2782
2712
|
DestinationIpv6CidrBlock: __expectString(output.DestinationIpv6CidrBlock),
|
|
2783
2713
|
DestinationPrefixListId: __expectString(output.DestinationPrefixListId),
|
|
2784
|
-
RouteTableId: output.RouteTableId
|
|
2785
|
-
? deserializeAws_json1_1ActionTarget(output.RouteTableId, context)
|
|
2786
|
-
: undefined,
|
|
2714
|
+
RouteTableId: output.RouteTableId != null ? deserializeAws_json1_1ActionTarget(output.RouteTableId, context) : undefined,
|
|
2787
2715
|
};
|
|
2788
2716
|
};
|
|
2789
2717
|
var deserializeAws_json1_1EC2ReplaceRouteAction = function (output, context) {
|
|
@@ -2792,23 +2720,15 @@ var deserializeAws_json1_1EC2ReplaceRouteAction = function (output, context) {
|
|
|
2792
2720
|
DestinationCidrBlock: __expectString(output.DestinationCidrBlock),
|
|
2793
2721
|
DestinationIpv6CidrBlock: __expectString(output.DestinationIpv6CidrBlock),
|
|
2794
2722
|
DestinationPrefixListId: __expectString(output.DestinationPrefixListId),
|
|
2795
|
-
GatewayId: output.GatewayId
|
|
2796
|
-
|
|
2797
|
-
: undefined,
|
|
2798
|
-
RouteTableId: output.RouteTableId !== undefined && output.RouteTableId !== null
|
|
2799
|
-
? deserializeAws_json1_1ActionTarget(output.RouteTableId, context)
|
|
2800
|
-
: undefined,
|
|
2723
|
+
GatewayId: output.GatewayId != null ? deserializeAws_json1_1ActionTarget(output.GatewayId, context) : undefined,
|
|
2724
|
+
RouteTableId: output.RouteTableId != null ? deserializeAws_json1_1ActionTarget(output.RouteTableId, context) : undefined,
|
|
2801
2725
|
};
|
|
2802
2726
|
};
|
|
2803
2727
|
var deserializeAws_json1_1EC2ReplaceRouteTableAssociationAction = function (output, context) {
|
|
2804
2728
|
return {
|
|
2805
|
-
AssociationId: output.AssociationId
|
|
2806
|
-
? deserializeAws_json1_1ActionTarget(output.AssociationId, context)
|
|
2807
|
-
: undefined,
|
|
2729
|
+
AssociationId: output.AssociationId != null ? deserializeAws_json1_1ActionTarget(output.AssociationId, context) : undefined,
|
|
2808
2730
|
Description: __expectString(output.Description),
|
|
2809
|
-
RouteTableId: output.RouteTableId
|
|
2810
|
-
? deserializeAws_json1_1ActionTarget(output.RouteTableId, context)
|
|
2811
|
-
: undefined,
|
|
2731
|
+
RouteTableId: output.RouteTableId != null ? deserializeAws_json1_1ActionTarget(output.RouteTableId, context) : undefined,
|
|
2812
2732
|
};
|
|
2813
2733
|
};
|
|
2814
2734
|
var deserializeAws_json1_1EvaluationResult = function (output, context) {
|
|
@@ -2831,10 +2751,10 @@ var deserializeAws_json1_1EvaluationResults = function (output, context) {
|
|
|
2831
2751
|
};
|
|
2832
2752
|
var deserializeAws_json1_1ExpectedRoute = function (output, context) {
|
|
2833
2753
|
return {
|
|
2834
|
-
AllowedTargets: output.AllowedTargets
|
|
2754
|
+
AllowedTargets: output.AllowedTargets != null
|
|
2835
2755
|
? deserializeAws_json1_1LengthBoundedStringList(output.AllowedTargets, context)
|
|
2836
2756
|
: undefined,
|
|
2837
|
-
ContributingSubnets: output.ContributingSubnets
|
|
2757
|
+
ContributingSubnets: output.ContributingSubnets != null
|
|
2838
2758
|
? deserializeAws_json1_1ResourceIdList(output.ContributingSubnets, context)
|
|
2839
2759
|
: undefined,
|
|
2840
2760
|
IpV4Cidr: __expectString(output.IpV4Cidr),
|
|
@@ -2885,15 +2805,13 @@ var deserializeAws_json1_1GetAdminAccountResponse = function (output, context) {
|
|
|
2885
2805
|
};
|
|
2886
2806
|
var deserializeAws_json1_1GetAppsListResponse = function (output, context) {
|
|
2887
2807
|
return {
|
|
2888
|
-
AppsList: output.AppsList
|
|
2889
|
-
? deserializeAws_json1_1AppsListData(output.AppsList, context)
|
|
2890
|
-
: undefined,
|
|
2808
|
+
AppsList: output.AppsList != null ? deserializeAws_json1_1AppsListData(output.AppsList, context) : undefined,
|
|
2891
2809
|
AppsListArn: __expectString(output.AppsListArn),
|
|
2892
2810
|
};
|
|
2893
2811
|
};
|
|
2894
2812
|
var deserializeAws_json1_1GetComplianceDetailResponse = function (output, context) {
|
|
2895
2813
|
return {
|
|
2896
|
-
PolicyComplianceDetail: output.PolicyComplianceDetail
|
|
2814
|
+
PolicyComplianceDetail: output.PolicyComplianceDetail != null
|
|
2897
2815
|
? deserializeAws_json1_1PolicyComplianceDetail(output.PolicyComplianceDetail, context)
|
|
2898
2816
|
: undefined,
|
|
2899
2817
|
};
|
|
@@ -2906,9 +2824,7 @@ var deserializeAws_json1_1GetNotificationChannelResponse = function (output, con
|
|
|
2906
2824
|
};
|
|
2907
2825
|
var deserializeAws_json1_1GetPolicyResponse = function (output, context) {
|
|
2908
2826
|
return {
|
|
2909
|
-
Policy: output.Policy
|
|
2910
|
-
? deserializeAws_json1_1Policy(output.Policy, context)
|
|
2911
|
-
: undefined,
|
|
2827
|
+
Policy: output.Policy != null ? deserializeAws_json1_1Policy(output.Policy, context) : undefined,
|
|
2912
2828
|
PolicyArn: __expectString(output.PolicyArn),
|
|
2913
2829
|
};
|
|
2914
2830
|
};
|
|
@@ -2922,9 +2838,7 @@ var deserializeAws_json1_1GetProtectionStatusResponse = function (output, contex
|
|
|
2922
2838
|
};
|
|
2923
2839
|
var deserializeAws_json1_1GetProtocolsListResponse = function (output, context) {
|
|
2924
2840
|
return {
|
|
2925
|
-
ProtocolsList: output.ProtocolsList
|
|
2926
|
-
? deserializeAws_json1_1ProtocolsListData(output.ProtocolsList, context)
|
|
2927
|
-
: undefined,
|
|
2841
|
+
ProtocolsList: output.ProtocolsList != null ? deserializeAws_json1_1ProtocolsListData(output.ProtocolsList, context) : undefined,
|
|
2928
2842
|
ProtocolsListArn: __expectString(output.ProtocolsListArn),
|
|
2929
2843
|
};
|
|
2930
2844
|
};
|
|
@@ -2936,7 +2850,7 @@ var deserializeAws_json1_1GetThirdPartyFirewallAssociationStatusResponse = funct
|
|
|
2936
2850
|
};
|
|
2937
2851
|
var deserializeAws_json1_1GetViolationDetailsResponse = function (output, context) {
|
|
2938
2852
|
return {
|
|
2939
|
-
ViolationDetail: output.ViolationDetail
|
|
2853
|
+
ViolationDetail: output.ViolationDetail != null
|
|
2940
2854
|
? deserializeAws_json1_1ViolationDetail(output.ViolationDetail, context)
|
|
2941
2855
|
: undefined,
|
|
2942
2856
|
};
|
|
@@ -2989,55 +2903,47 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
2989
2903
|
};
|
|
2990
2904
|
var deserializeAws_json1_1ListAppsListsResponse = function (output, context) {
|
|
2991
2905
|
return {
|
|
2992
|
-
AppsLists: output.AppsLists
|
|
2993
|
-
? deserializeAws_json1_1AppsListsData(output.AppsLists, context)
|
|
2994
|
-
: undefined,
|
|
2906
|
+
AppsLists: output.AppsLists != null ? deserializeAws_json1_1AppsListsData(output.AppsLists, context) : undefined,
|
|
2995
2907
|
NextToken: __expectString(output.NextToken),
|
|
2996
2908
|
};
|
|
2997
2909
|
};
|
|
2998
2910
|
var deserializeAws_json1_1ListComplianceStatusResponse = function (output, context) {
|
|
2999
2911
|
return {
|
|
3000
2912
|
NextToken: __expectString(output.NextToken),
|
|
3001
|
-
PolicyComplianceStatusList: output.PolicyComplianceStatusList
|
|
2913
|
+
PolicyComplianceStatusList: output.PolicyComplianceStatusList != null
|
|
3002
2914
|
? deserializeAws_json1_1PolicyComplianceStatusList(output.PolicyComplianceStatusList, context)
|
|
3003
2915
|
: undefined,
|
|
3004
2916
|
};
|
|
3005
2917
|
};
|
|
3006
2918
|
var deserializeAws_json1_1ListMemberAccountsResponse = function (output, context) {
|
|
3007
2919
|
return {
|
|
3008
|
-
MemberAccounts: output.MemberAccounts
|
|
3009
|
-
? deserializeAws_json1_1MemberAccounts(output.MemberAccounts, context)
|
|
3010
|
-
: undefined,
|
|
2920
|
+
MemberAccounts: output.MemberAccounts != null ? deserializeAws_json1_1MemberAccounts(output.MemberAccounts, context) : undefined,
|
|
3011
2921
|
NextToken: __expectString(output.NextToken),
|
|
3012
2922
|
};
|
|
3013
2923
|
};
|
|
3014
2924
|
var deserializeAws_json1_1ListPoliciesResponse = function (output, context) {
|
|
3015
2925
|
return {
|
|
3016
2926
|
NextToken: __expectString(output.NextToken),
|
|
3017
|
-
PolicyList: output.PolicyList
|
|
3018
|
-
? deserializeAws_json1_1PolicySummaryList(output.PolicyList, context)
|
|
3019
|
-
: undefined,
|
|
2927
|
+
PolicyList: output.PolicyList != null ? deserializeAws_json1_1PolicySummaryList(output.PolicyList, context) : undefined,
|
|
3020
2928
|
};
|
|
3021
2929
|
};
|
|
3022
2930
|
var deserializeAws_json1_1ListProtocolsListsResponse = function (output, context) {
|
|
3023
2931
|
return {
|
|
3024
2932
|
NextToken: __expectString(output.NextToken),
|
|
3025
|
-
ProtocolsLists: output.ProtocolsLists
|
|
2933
|
+
ProtocolsLists: output.ProtocolsLists != null
|
|
3026
2934
|
? deserializeAws_json1_1ProtocolsListsData(output.ProtocolsLists, context)
|
|
3027
2935
|
: undefined,
|
|
3028
2936
|
};
|
|
3029
2937
|
};
|
|
3030
2938
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
3031
2939
|
return {
|
|
3032
|
-
TagList: output.TagList
|
|
3033
|
-
? deserializeAws_json1_1TagList(output.TagList, context)
|
|
3034
|
-
: undefined,
|
|
2940
|
+
TagList: output.TagList != null ? deserializeAws_json1_1TagList(output.TagList, context) : undefined,
|
|
3035
2941
|
};
|
|
3036
2942
|
};
|
|
3037
2943
|
var deserializeAws_json1_1ListThirdPartyFirewallFirewallPoliciesResponse = function (output, context) {
|
|
3038
2944
|
return {
|
|
3039
2945
|
NextToken: __expectString(output.NextToken),
|
|
3040
|
-
ThirdPartyFirewallFirewallPolicies: output.ThirdPartyFirewallFirewallPolicies
|
|
2946
|
+
ThirdPartyFirewallFirewallPolicies: output.ThirdPartyFirewallFirewallPolicies != null
|
|
3041
2947
|
? deserializeAws_json1_1ThirdPartyFirewallFirewallPolicies(output.ThirdPartyFirewallFirewallPolicies, context)
|
|
3042
2948
|
: undefined,
|
|
3043
2949
|
};
|
|
@@ -3067,28 +2973,26 @@ var deserializeAws_json1_1NetworkFirewallActionList = function (output, context)
|
|
|
3067
2973
|
var deserializeAws_json1_1NetworkFirewallBlackHoleRouteDetectedViolation = function (output, context) {
|
|
3068
2974
|
return {
|
|
3069
2975
|
RouteTableId: __expectString(output.RouteTableId),
|
|
3070
|
-
ViolatingRoutes: output.ViolatingRoutes
|
|
3071
|
-
? deserializeAws_json1_1Routes(output.ViolatingRoutes, context)
|
|
3072
|
-
: undefined,
|
|
2976
|
+
ViolatingRoutes: output.ViolatingRoutes != null ? deserializeAws_json1_1Routes(output.ViolatingRoutes, context) : undefined,
|
|
3073
2977
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
3074
2978
|
VpcId: __expectString(output.VpcId),
|
|
3075
2979
|
};
|
|
3076
2980
|
};
|
|
3077
2981
|
var deserializeAws_json1_1NetworkFirewallInternetTrafficNotInspectedViolation = function (output, context) {
|
|
3078
2982
|
return {
|
|
3079
|
-
ActualFirewallSubnetRoutes: output.ActualFirewallSubnetRoutes
|
|
2983
|
+
ActualFirewallSubnetRoutes: output.ActualFirewallSubnetRoutes != null
|
|
3080
2984
|
? deserializeAws_json1_1Routes(output.ActualFirewallSubnetRoutes, context)
|
|
3081
2985
|
: undefined,
|
|
3082
|
-
ActualInternetGatewayRoutes: output.ActualInternetGatewayRoutes
|
|
2986
|
+
ActualInternetGatewayRoutes: output.ActualInternetGatewayRoutes != null
|
|
3083
2987
|
? deserializeAws_json1_1Routes(output.ActualInternetGatewayRoutes, context)
|
|
3084
2988
|
: undefined,
|
|
3085
2989
|
CurrentFirewallSubnetRouteTable: __expectString(output.CurrentFirewallSubnetRouteTable),
|
|
3086
2990
|
CurrentInternetGatewayRouteTable: __expectString(output.CurrentInternetGatewayRouteTable),
|
|
3087
2991
|
ExpectedFirewallEndpoint: __expectString(output.ExpectedFirewallEndpoint),
|
|
3088
|
-
ExpectedFirewallSubnetRoutes: output.ExpectedFirewallSubnetRoutes
|
|
2992
|
+
ExpectedFirewallSubnetRoutes: output.ExpectedFirewallSubnetRoutes != null
|
|
3089
2993
|
? deserializeAws_json1_1ExpectedRoutes(output.ExpectedFirewallSubnetRoutes, context)
|
|
3090
2994
|
: undefined,
|
|
3091
|
-
ExpectedInternetGatewayRoutes: output.ExpectedInternetGatewayRoutes
|
|
2995
|
+
ExpectedInternetGatewayRoutes: output.ExpectedInternetGatewayRoutes != null
|
|
3092
2996
|
? deserializeAws_json1_1ExpectedRoutes(output.ExpectedInternetGatewayRoutes, context)
|
|
3093
2997
|
: undefined,
|
|
3094
2998
|
FirewallSubnetId: __expectString(output.FirewallSubnetId),
|
|
@@ -3097,9 +3001,7 @@ var deserializeAws_json1_1NetworkFirewallInternetTrafficNotInspectedViolation =
|
|
|
3097
3001
|
RouteTableId: __expectString(output.RouteTableId),
|
|
3098
3002
|
SubnetAvailabilityZone: __expectString(output.SubnetAvailabilityZone),
|
|
3099
3003
|
SubnetId: __expectString(output.SubnetId),
|
|
3100
|
-
ViolatingRoutes: output.ViolatingRoutes
|
|
3101
|
-
? deserializeAws_json1_1Routes(output.ViolatingRoutes, context)
|
|
3102
|
-
: undefined,
|
|
3004
|
+
ViolatingRoutes: output.ViolatingRoutes != null ? deserializeAws_json1_1Routes(output.ViolatingRoutes, context) : undefined,
|
|
3103
3005
|
VpcId: __expectString(output.VpcId),
|
|
3104
3006
|
};
|
|
3105
3007
|
};
|
|
@@ -3107,39 +3009,35 @@ var deserializeAws_json1_1NetworkFirewallInvalidRouteConfigurationViolation = fu
|
|
|
3107
3009
|
return {
|
|
3108
3010
|
ActualFirewallEndpoint: __expectString(output.ActualFirewallEndpoint),
|
|
3109
3011
|
ActualFirewallSubnetId: __expectString(output.ActualFirewallSubnetId),
|
|
3110
|
-
ActualFirewallSubnetRoutes: output.ActualFirewallSubnetRoutes
|
|
3012
|
+
ActualFirewallSubnetRoutes: output.ActualFirewallSubnetRoutes != null
|
|
3111
3013
|
? deserializeAws_json1_1Routes(output.ActualFirewallSubnetRoutes, context)
|
|
3112
3014
|
: undefined,
|
|
3113
|
-
ActualInternetGatewayRoutes: output.ActualInternetGatewayRoutes
|
|
3015
|
+
ActualInternetGatewayRoutes: output.ActualInternetGatewayRoutes != null
|
|
3114
3016
|
? deserializeAws_json1_1Routes(output.ActualInternetGatewayRoutes, context)
|
|
3115
3017
|
: undefined,
|
|
3116
|
-
AffectedSubnets: output.AffectedSubnets
|
|
3018
|
+
AffectedSubnets: output.AffectedSubnets != null
|
|
3117
3019
|
? deserializeAws_json1_1ResourceIdList(output.AffectedSubnets, context)
|
|
3118
3020
|
: undefined,
|
|
3119
3021
|
CurrentFirewallSubnetRouteTable: __expectString(output.CurrentFirewallSubnetRouteTable),
|
|
3120
3022
|
CurrentInternetGatewayRouteTable: __expectString(output.CurrentInternetGatewayRouteTable),
|
|
3121
3023
|
ExpectedFirewallEndpoint: __expectString(output.ExpectedFirewallEndpoint),
|
|
3122
3024
|
ExpectedFirewallSubnetId: __expectString(output.ExpectedFirewallSubnetId),
|
|
3123
|
-
ExpectedFirewallSubnetRoutes: output.ExpectedFirewallSubnetRoutes
|
|
3025
|
+
ExpectedFirewallSubnetRoutes: output.ExpectedFirewallSubnetRoutes != null
|
|
3124
3026
|
? deserializeAws_json1_1ExpectedRoutes(output.ExpectedFirewallSubnetRoutes, context)
|
|
3125
3027
|
: undefined,
|
|
3126
|
-
ExpectedInternetGatewayRoutes: output.ExpectedInternetGatewayRoutes
|
|
3028
|
+
ExpectedInternetGatewayRoutes: output.ExpectedInternetGatewayRoutes != null
|
|
3127
3029
|
? deserializeAws_json1_1ExpectedRoutes(output.ExpectedInternetGatewayRoutes, context)
|
|
3128
3030
|
: undefined,
|
|
3129
3031
|
InternetGatewayId: __expectString(output.InternetGatewayId),
|
|
3130
3032
|
IsRouteTableUsedInDifferentAZ: __expectBoolean(output.IsRouteTableUsedInDifferentAZ),
|
|
3131
3033
|
RouteTableId: __expectString(output.RouteTableId),
|
|
3132
|
-
ViolatingRoute: output.ViolatingRoute
|
|
3133
|
-
? deserializeAws_json1_1Route(output.ViolatingRoute, context)
|
|
3134
|
-
: undefined,
|
|
3034
|
+
ViolatingRoute: output.ViolatingRoute != null ? deserializeAws_json1_1Route(output.ViolatingRoute, context) : undefined,
|
|
3135
3035
|
VpcId: __expectString(output.VpcId),
|
|
3136
3036
|
};
|
|
3137
3037
|
};
|
|
3138
3038
|
var deserializeAws_json1_1NetworkFirewallMissingExpectedRoutesViolation = function (output, context) {
|
|
3139
3039
|
return {
|
|
3140
|
-
ExpectedRoutes: output.ExpectedRoutes
|
|
3141
|
-
? deserializeAws_json1_1ExpectedRoutes(output.ExpectedRoutes, context)
|
|
3142
|
-
: undefined,
|
|
3040
|
+
ExpectedRoutes: output.ExpectedRoutes != null ? deserializeAws_json1_1ExpectedRoutes(output.ExpectedRoutes, context) : undefined,
|
|
3143
3041
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
3144
3042
|
VpcId: __expectString(output.VpcId),
|
|
3145
3043
|
};
|
|
@@ -3176,29 +3074,35 @@ var deserializeAws_json1_1NetworkFirewallPolicy = function (output, context) {
|
|
|
3176
3074
|
};
|
|
3177
3075
|
var deserializeAws_json1_1NetworkFirewallPolicyDescription = function (output, context) {
|
|
3178
3076
|
return {
|
|
3179
|
-
|
|
3077
|
+
StatefulDefaultActions: output.StatefulDefaultActions != null
|
|
3078
|
+
? deserializeAws_json1_1NetworkFirewallActionList(output.StatefulDefaultActions, context)
|
|
3079
|
+
: undefined,
|
|
3080
|
+
StatefulEngineOptions: output.StatefulEngineOptions != null
|
|
3081
|
+
? deserializeAws_json1_1StatefulEngineOptions(output.StatefulEngineOptions, context)
|
|
3082
|
+
: undefined,
|
|
3083
|
+
StatefulRuleGroups: output.StatefulRuleGroups != null
|
|
3180
3084
|
? deserializeAws_json1_1StatefulRuleGroupList(output.StatefulRuleGroups, context)
|
|
3181
3085
|
: undefined,
|
|
3182
|
-
StatelessCustomActions: output.StatelessCustomActions
|
|
3086
|
+
StatelessCustomActions: output.StatelessCustomActions != null
|
|
3183
3087
|
? deserializeAws_json1_1NetworkFirewallActionList(output.StatelessCustomActions, context)
|
|
3184
3088
|
: undefined,
|
|
3185
|
-
StatelessDefaultActions: output.StatelessDefaultActions
|
|
3089
|
+
StatelessDefaultActions: output.StatelessDefaultActions != null
|
|
3186
3090
|
? deserializeAws_json1_1NetworkFirewallActionList(output.StatelessDefaultActions, context)
|
|
3187
3091
|
: undefined,
|
|
3188
|
-
StatelessFragmentDefaultActions: output.StatelessFragmentDefaultActions
|
|
3092
|
+
StatelessFragmentDefaultActions: output.StatelessFragmentDefaultActions != null
|
|
3189
3093
|
? deserializeAws_json1_1NetworkFirewallActionList(output.StatelessFragmentDefaultActions, context)
|
|
3190
3094
|
: undefined,
|
|
3191
|
-
StatelessRuleGroups: output.StatelessRuleGroups
|
|
3095
|
+
StatelessRuleGroups: output.StatelessRuleGroups != null
|
|
3192
3096
|
? deserializeAws_json1_1StatelessRuleGroupList(output.StatelessRuleGroups, context)
|
|
3193
3097
|
: undefined,
|
|
3194
3098
|
};
|
|
3195
3099
|
};
|
|
3196
3100
|
var deserializeAws_json1_1NetworkFirewallPolicyModifiedViolation = function (output, context) {
|
|
3197
3101
|
return {
|
|
3198
|
-
CurrentPolicyDescription: output.CurrentPolicyDescription
|
|
3102
|
+
CurrentPolicyDescription: output.CurrentPolicyDescription != null
|
|
3199
3103
|
? deserializeAws_json1_1NetworkFirewallPolicyDescription(output.CurrentPolicyDescription, context)
|
|
3200
3104
|
: undefined,
|
|
3201
|
-
ExpectedPolicyDescription: output.ExpectedPolicyDescription
|
|
3105
|
+
ExpectedPolicyDescription: output.ExpectedPolicyDescription != null
|
|
3202
3106
|
? deserializeAws_json1_1NetworkFirewallPolicyDescription(output.ExpectedPolicyDescription, context)
|
|
3203
3107
|
: undefined,
|
|
3204
3108
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
@@ -3209,9 +3113,7 @@ var deserializeAws_json1_1NetworkFirewallUnexpectedFirewallRoutesViolation = fun
|
|
|
3209
3113
|
FirewallEndpoint: __expectString(output.FirewallEndpoint),
|
|
3210
3114
|
FirewallSubnetId: __expectString(output.FirewallSubnetId),
|
|
3211
3115
|
RouteTableId: __expectString(output.RouteTableId),
|
|
3212
|
-
ViolatingRoutes: output.ViolatingRoutes
|
|
3213
|
-
? deserializeAws_json1_1Routes(output.ViolatingRoutes, context)
|
|
3214
|
-
: undefined,
|
|
3116
|
+
ViolatingRoutes: output.ViolatingRoutes != null ? deserializeAws_json1_1Routes(output.ViolatingRoutes, context) : undefined,
|
|
3215
3117
|
VpcId: __expectString(output.VpcId),
|
|
3216
3118
|
};
|
|
3217
3119
|
};
|
|
@@ -3219,9 +3121,7 @@ var deserializeAws_json1_1NetworkFirewallUnexpectedGatewayRoutesViolation = func
|
|
|
3219
3121
|
return {
|
|
3220
3122
|
GatewayId: __expectString(output.GatewayId),
|
|
3221
3123
|
RouteTableId: __expectString(output.RouteTableId),
|
|
3222
|
-
ViolatingRoutes: output.ViolatingRoutes
|
|
3223
|
-
? deserializeAws_json1_1Routes(output.ViolatingRoutes, context)
|
|
3224
|
-
: undefined,
|
|
3124
|
+
ViolatingRoutes: output.ViolatingRoutes != null ? deserializeAws_json1_1Routes(output.ViolatingRoutes, context) : undefined,
|
|
3225
3125
|
VpcId: __expectString(output.VpcId),
|
|
3226
3126
|
};
|
|
3227
3127
|
};
|
|
@@ -3239,7 +3139,7 @@ var deserializeAws_json1_1OrderedRemediationActions = function (output, context)
|
|
|
3239
3139
|
var deserializeAws_json1_1PartialMatch = function (output, context) {
|
|
3240
3140
|
return {
|
|
3241
3141
|
Reference: __expectString(output.Reference),
|
|
3242
|
-
TargetViolationReasons: output.TargetViolationReasons
|
|
3142
|
+
TargetViolationReasons: output.TargetViolationReasons != null
|
|
3243
3143
|
? deserializeAws_json1_1TargetViolationReasons(output.TargetViolationReasons, context)
|
|
3244
3144
|
: undefined,
|
|
3245
3145
|
};
|
|
@@ -3258,25 +3158,19 @@ var deserializeAws_json1_1PartialMatches = function (output, context) {
|
|
|
3258
3158
|
var deserializeAws_json1_1Policy = function (output, context) {
|
|
3259
3159
|
return {
|
|
3260
3160
|
DeleteUnusedFMManagedResources: __expectBoolean(output.DeleteUnusedFMManagedResources),
|
|
3261
|
-
ExcludeMap: output.ExcludeMap
|
|
3262
|
-
? deserializeAws_json1_1CustomerPolicyScopeMap(output.ExcludeMap, context)
|
|
3263
|
-
: undefined,
|
|
3161
|
+
ExcludeMap: output.ExcludeMap != null ? deserializeAws_json1_1CustomerPolicyScopeMap(output.ExcludeMap, context) : undefined,
|
|
3264
3162
|
ExcludeResourceTags: __expectBoolean(output.ExcludeResourceTags),
|
|
3265
|
-
IncludeMap: output.IncludeMap
|
|
3266
|
-
? deserializeAws_json1_1CustomerPolicyScopeMap(output.IncludeMap, context)
|
|
3267
|
-
: undefined,
|
|
3163
|
+
IncludeMap: output.IncludeMap != null ? deserializeAws_json1_1CustomerPolicyScopeMap(output.IncludeMap, context) : undefined,
|
|
3268
3164
|
PolicyId: __expectString(output.PolicyId),
|
|
3269
3165
|
PolicyName: __expectString(output.PolicyName),
|
|
3270
3166
|
PolicyUpdateToken: __expectString(output.PolicyUpdateToken),
|
|
3271
3167
|
RemediationEnabled: __expectBoolean(output.RemediationEnabled),
|
|
3272
|
-
ResourceTags: output.ResourceTags
|
|
3273
|
-
? deserializeAws_json1_1ResourceTags(output.ResourceTags, context)
|
|
3274
|
-
: undefined,
|
|
3168
|
+
ResourceTags: output.ResourceTags != null ? deserializeAws_json1_1ResourceTags(output.ResourceTags, context) : undefined,
|
|
3275
3169
|
ResourceType: __expectString(output.ResourceType),
|
|
3276
|
-
ResourceTypeList: output.ResourceTypeList
|
|
3170
|
+
ResourceTypeList: output.ResourceTypeList != null
|
|
3277
3171
|
? deserializeAws_json1_1ResourceTypeList(output.ResourceTypeList, context)
|
|
3278
3172
|
: undefined,
|
|
3279
|
-
SecurityServicePolicyData: output.SecurityServicePolicyData
|
|
3173
|
+
SecurityServicePolicyData: output.SecurityServicePolicyData != null
|
|
3280
3174
|
? deserializeAws_json1_1SecurityServicePolicyData(output.SecurityServicePolicyData, context)
|
|
3281
3175
|
: undefined,
|
|
3282
3176
|
};
|
|
@@ -3284,29 +3178,21 @@ var deserializeAws_json1_1Policy = function (output, context) {
|
|
|
3284
3178
|
var deserializeAws_json1_1PolicyComplianceDetail = function (output, context) {
|
|
3285
3179
|
return {
|
|
3286
3180
|
EvaluationLimitExceeded: __expectBoolean(output.EvaluationLimitExceeded),
|
|
3287
|
-
ExpiredAt: output.ExpiredAt
|
|
3288
|
-
|
|
3289
|
-
: undefined,
|
|
3290
|
-
IssueInfoMap: output.IssueInfoMap !== undefined && output.IssueInfoMap !== null
|
|
3291
|
-
? deserializeAws_json1_1IssueInfoMap(output.IssueInfoMap, context)
|
|
3292
|
-
: undefined,
|
|
3181
|
+
ExpiredAt: output.ExpiredAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpiredAt))) : undefined,
|
|
3182
|
+
IssueInfoMap: output.IssueInfoMap != null ? deserializeAws_json1_1IssueInfoMap(output.IssueInfoMap, context) : undefined,
|
|
3293
3183
|
MemberAccount: __expectString(output.MemberAccount),
|
|
3294
3184
|
PolicyId: __expectString(output.PolicyId),
|
|
3295
3185
|
PolicyOwner: __expectString(output.PolicyOwner),
|
|
3296
|
-
Violators: output.Violators
|
|
3297
|
-
? deserializeAws_json1_1ComplianceViolators(output.Violators, context)
|
|
3298
|
-
: undefined,
|
|
3186
|
+
Violators: output.Violators != null ? deserializeAws_json1_1ComplianceViolators(output.Violators, context) : undefined,
|
|
3299
3187
|
};
|
|
3300
3188
|
};
|
|
3301
3189
|
var deserializeAws_json1_1PolicyComplianceStatus = function (output, context) {
|
|
3302
3190
|
return {
|
|
3303
|
-
EvaluationResults: output.EvaluationResults
|
|
3191
|
+
EvaluationResults: output.EvaluationResults != null
|
|
3304
3192
|
? deserializeAws_json1_1EvaluationResults(output.EvaluationResults, context)
|
|
3305
3193
|
: undefined,
|
|
3306
|
-
IssueInfoMap: output.IssueInfoMap
|
|
3307
|
-
|
|
3308
|
-
: undefined,
|
|
3309
|
-
LastUpdated: output.LastUpdated !== undefined && output.LastUpdated !== null
|
|
3194
|
+
IssueInfoMap: output.IssueInfoMap != null ? deserializeAws_json1_1IssueInfoMap(output.IssueInfoMap, context) : undefined,
|
|
3195
|
+
LastUpdated: output.LastUpdated != null
|
|
3310
3196
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdated)))
|
|
3311
3197
|
: undefined,
|
|
3312
3198
|
MemberAccount: __expectString(output.MemberAccount),
|
|
@@ -3328,10 +3214,10 @@ var deserializeAws_json1_1PolicyComplianceStatusList = function (output, context
|
|
|
3328
3214
|
};
|
|
3329
3215
|
var deserializeAws_json1_1PolicyOption = function (output, context) {
|
|
3330
3216
|
return {
|
|
3331
|
-
NetworkFirewallPolicy: output.NetworkFirewallPolicy
|
|
3217
|
+
NetworkFirewallPolicy: output.NetworkFirewallPolicy != null
|
|
3332
3218
|
? deserializeAws_json1_1NetworkFirewallPolicy(output.NetworkFirewallPolicy, context)
|
|
3333
3219
|
: undefined,
|
|
3334
|
-
ThirdPartyFirewallPolicy: output.ThirdPartyFirewallPolicy
|
|
3220
|
+
ThirdPartyFirewallPolicy: output.ThirdPartyFirewallPolicy != null
|
|
3335
3221
|
? deserializeAws_json1_1ThirdPartyFirewallPolicy(output.ThirdPartyFirewallPolicy, context)
|
|
3336
3222
|
: undefined,
|
|
3337
3223
|
};
|
|
@@ -3362,7 +3248,7 @@ var deserializeAws_json1_1PossibleRemediationAction = function (output, context)
|
|
|
3362
3248
|
return {
|
|
3363
3249
|
Description: __expectString(output.Description),
|
|
3364
3250
|
IsDefaultAction: __expectBoolean(output.IsDefaultAction),
|
|
3365
|
-
OrderedRemediationActions: output.OrderedRemediationActions
|
|
3251
|
+
OrderedRemediationActions: output.OrderedRemediationActions != null
|
|
3366
3252
|
? deserializeAws_json1_1OrderedRemediationActions(output.OrderedRemediationActions, context)
|
|
3367
3253
|
: undefined,
|
|
3368
3254
|
};
|
|
@@ -3380,9 +3266,7 @@ var deserializeAws_json1_1PossibleRemediationActionList = function (output, cont
|
|
|
3380
3266
|
};
|
|
3381
3267
|
var deserializeAws_json1_1PossibleRemediationActions = function (output, context) {
|
|
3382
3268
|
return {
|
|
3383
|
-
Actions: output.Actions
|
|
3384
|
-
? deserializeAws_json1_1PossibleRemediationActionList(output.Actions, context)
|
|
3385
|
-
: undefined,
|
|
3269
|
+
Actions: output.Actions != null ? deserializeAws_json1_1PossibleRemediationActionList(output.Actions, context) : undefined,
|
|
3386
3270
|
Description: __expectString(output.Description),
|
|
3387
3271
|
};
|
|
3388
3272
|
};
|
|
@@ -3419,21 +3303,17 @@ var deserializeAws_json1_1ProtocolsList = function (output, context) {
|
|
|
3419
3303
|
};
|
|
3420
3304
|
var deserializeAws_json1_1ProtocolsListData = function (output, context) {
|
|
3421
3305
|
return {
|
|
3422
|
-
CreateTime: output.CreateTime
|
|
3423
|
-
|
|
3424
|
-
: undefined,
|
|
3425
|
-
LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
3306
|
+
CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
|
|
3307
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
3426
3308
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
3427
3309
|
: undefined,
|
|
3428
3310
|
ListId: __expectString(output.ListId),
|
|
3429
3311
|
ListName: __expectString(output.ListName),
|
|
3430
3312
|
ListUpdateToken: __expectString(output.ListUpdateToken),
|
|
3431
|
-
PreviousProtocolsList: output.PreviousProtocolsList
|
|
3313
|
+
PreviousProtocolsList: output.PreviousProtocolsList != null
|
|
3432
3314
|
? deserializeAws_json1_1PreviousProtocolsList(output.PreviousProtocolsList, context)
|
|
3433
3315
|
: undefined,
|
|
3434
|
-
ProtocolsList: output.ProtocolsList
|
|
3435
|
-
? deserializeAws_json1_1ProtocolsList(output.ProtocolsList, context)
|
|
3436
|
-
: undefined,
|
|
3316
|
+
ProtocolsList: output.ProtocolsList != null ? deserializeAws_json1_1ProtocolsList(output.ProtocolsList, context) : undefined,
|
|
3437
3317
|
};
|
|
3438
3318
|
};
|
|
3439
3319
|
var deserializeAws_json1_1ProtocolsListDataSummary = function (output, context) {
|
|
@@ -3441,9 +3321,7 @@ var deserializeAws_json1_1ProtocolsListDataSummary = function (output, context)
|
|
|
3441
3321
|
ListArn: __expectString(output.ListArn),
|
|
3442
3322
|
ListId: __expectString(output.ListId),
|
|
3443
3323
|
ListName: __expectString(output.ListName),
|
|
3444
|
-
ProtocolsList: output.ProtocolsList
|
|
3445
|
-
? deserializeAws_json1_1ProtocolsList(output.ProtocolsList, context)
|
|
3446
|
-
: undefined,
|
|
3324
|
+
ProtocolsList: output.ProtocolsList != null ? deserializeAws_json1_1ProtocolsList(output.ProtocolsList, context) : undefined,
|
|
3447
3325
|
};
|
|
3448
3326
|
};
|
|
3449
3327
|
var deserializeAws_json1_1ProtocolsListsData = function (output, context) {
|
|
@@ -3459,55 +3337,47 @@ var deserializeAws_json1_1ProtocolsListsData = function (output, context) {
|
|
|
3459
3337
|
};
|
|
3460
3338
|
var deserializeAws_json1_1PutAppsListResponse = function (output, context) {
|
|
3461
3339
|
return {
|
|
3462
|
-
AppsList: output.AppsList
|
|
3463
|
-
? deserializeAws_json1_1AppsListData(output.AppsList, context)
|
|
3464
|
-
: undefined,
|
|
3340
|
+
AppsList: output.AppsList != null ? deserializeAws_json1_1AppsListData(output.AppsList, context) : undefined,
|
|
3465
3341
|
AppsListArn: __expectString(output.AppsListArn),
|
|
3466
3342
|
};
|
|
3467
3343
|
};
|
|
3468
3344
|
var deserializeAws_json1_1PutPolicyResponse = function (output, context) {
|
|
3469
3345
|
return {
|
|
3470
|
-
Policy: output.Policy
|
|
3471
|
-
? deserializeAws_json1_1Policy(output.Policy, context)
|
|
3472
|
-
: undefined,
|
|
3346
|
+
Policy: output.Policy != null ? deserializeAws_json1_1Policy(output.Policy, context) : undefined,
|
|
3473
3347
|
PolicyArn: __expectString(output.PolicyArn),
|
|
3474
3348
|
};
|
|
3475
3349
|
};
|
|
3476
3350
|
var deserializeAws_json1_1PutProtocolsListResponse = function (output, context) {
|
|
3477
3351
|
return {
|
|
3478
|
-
ProtocolsList: output.ProtocolsList
|
|
3479
|
-
? deserializeAws_json1_1ProtocolsListData(output.ProtocolsList, context)
|
|
3480
|
-
: undefined,
|
|
3352
|
+
ProtocolsList: output.ProtocolsList != null ? deserializeAws_json1_1ProtocolsListData(output.ProtocolsList, context) : undefined,
|
|
3481
3353
|
ProtocolsListArn: __expectString(output.ProtocolsListArn),
|
|
3482
3354
|
};
|
|
3483
3355
|
};
|
|
3484
3356
|
var deserializeAws_json1_1RemediationAction = function (output, context) {
|
|
3485
3357
|
return {
|
|
3486
3358
|
Description: __expectString(output.Description),
|
|
3487
|
-
EC2AssociateRouteTableAction: output.EC2AssociateRouteTableAction
|
|
3359
|
+
EC2AssociateRouteTableAction: output.EC2AssociateRouteTableAction != null
|
|
3488
3360
|
? deserializeAws_json1_1EC2AssociateRouteTableAction(output.EC2AssociateRouteTableAction, context)
|
|
3489
3361
|
: undefined,
|
|
3490
|
-
EC2CopyRouteTableAction: output.EC2CopyRouteTableAction
|
|
3362
|
+
EC2CopyRouteTableAction: output.EC2CopyRouteTableAction != null
|
|
3491
3363
|
? deserializeAws_json1_1EC2CopyRouteTableAction(output.EC2CopyRouteTableAction, context)
|
|
3492
3364
|
: undefined,
|
|
3493
|
-
EC2CreateRouteAction: output.EC2CreateRouteAction
|
|
3365
|
+
EC2CreateRouteAction: output.EC2CreateRouteAction != null
|
|
3494
3366
|
? deserializeAws_json1_1EC2CreateRouteAction(output.EC2CreateRouteAction, context)
|
|
3495
3367
|
: undefined,
|
|
3496
|
-
EC2CreateRouteTableAction: output.EC2CreateRouteTableAction
|
|
3368
|
+
EC2CreateRouteTableAction: output.EC2CreateRouteTableAction != null
|
|
3497
3369
|
? deserializeAws_json1_1EC2CreateRouteTableAction(output.EC2CreateRouteTableAction, context)
|
|
3498
3370
|
: undefined,
|
|
3499
|
-
EC2DeleteRouteAction: output.EC2DeleteRouteAction
|
|
3371
|
+
EC2DeleteRouteAction: output.EC2DeleteRouteAction != null
|
|
3500
3372
|
? deserializeAws_json1_1EC2DeleteRouteAction(output.EC2DeleteRouteAction, context)
|
|
3501
3373
|
: undefined,
|
|
3502
|
-
EC2ReplaceRouteAction: output.EC2ReplaceRouteAction
|
|
3374
|
+
EC2ReplaceRouteAction: output.EC2ReplaceRouteAction != null
|
|
3503
3375
|
? deserializeAws_json1_1EC2ReplaceRouteAction(output.EC2ReplaceRouteAction, context)
|
|
3504
3376
|
: undefined,
|
|
3505
|
-
EC2ReplaceRouteTableAssociationAction: output.EC2ReplaceRouteTableAssociationAction
|
|
3506
|
-
output.EC2ReplaceRouteTableAssociationAction !== null
|
|
3377
|
+
EC2ReplaceRouteTableAssociationAction: output.EC2ReplaceRouteTableAssociationAction != null
|
|
3507
3378
|
? deserializeAws_json1_1EC2ReplaceRouteTableAssociationAction(output.EC2ReplaceRouteTableAssociationAction, context)
|
|
3508
3379
|
: undefined,
|
|
3509
|
-
FMSPolicyUpdateFirewallCreationConfigAction: output.FMSPolicyUpdateFirewallCreationConfigAction
|
|
3510
|
-
output.FMSPolicyUpdateFirewallCreationConfigAction !== null
|
|
3380
|
+
FMSPolicyUpdateFirewallCreationConfigAction: output.FMSPolicyUpdateFirewallCreationConfigAction != null
|
|
3511
3381
|
? deserializeAws_json1_1FMSPolicyUpdateFirewallCreationConfigAction(output.FMSPolicyUpdateFirewallCreationConfigAction, context)
|
|
3512
3382
|
: undefined,
|
|
3513
3383
|
};
|
|
@@ -3515,7 +3385,7 @@ var deserializeAws_json1_1RemediationAction = function (output, context) {
|
|
|
3515
3385
|
var deserializeAws_json1_1RemediationActionWithOrder = function (output, context) {
|
|
3516
3386
|
return {
|
|
3517
3387
|
Order: __expectInt32(output.Order),
|
|
3518
|
-
RemediationAction: output.RemediationAction
|
|
3388
|
+
RemediationAction: output.RemediationAction != null
|
|
3519
3389
|
? deserializeAws_json1_1RemediationAction(output.RemediationAction, context)
|
|
3520
3390
|
: undefined,
|
|
3521
3391
|
};
|
|
@@ -3566,88 +3436,73 @@ var deserializeAws_json1_1ResourceTypeList = function (output, context) {
|
|
|
3566
3436
|
};
|
|
3567
3437
|
var deserializeAws_json1_1ResourceViolation = function (output, context) {
|
|
3568
3438
|
return {
|
|
3569
|
-
AwsEc2InstanceViolation: output.AwsEc2InstanceViolation
|
|
3439
|
+
AwsEc2InstanceViolation: output.AwsEc2InstanceViolation != null
|
|
3570
3440
|
? deserializeAws_json1_1AwsEc2InstanceViolation(output.AwsEc2InstanceViolation, context)
|
|
3571
3441
|
: undefined,
|
|
3572
|
-
AwsEc2NetworkInterfaceViolation: output.AwsEc2NetworkInterfaceViolation
|
|
3442
|
+
AwsEc2NetworkInterfaceViolation: output.AwsEc2NetworkInterfaceViolation != null
|
|
3573
3443
|
? deserializeAws_json1_1AwsEc2NetworkInterfaceViolation(output.AwsEc2NetworkInterfaceViolation, context)
|
|
3574
3444
|
: undefined,
|
|
3575
|
-
AwsVPCSecurityGroupViolation: output.AwsVPCSecurityGroupViolation
|
|
3445
|
+
AwsVPCSecurityGroupViolation: output.AwsVPCSecurityGroupViolation != null
|
|
3576
3446
|
? deserializeAws_json1_1AwsVPCSecurityGroupViolation(output.AwsVPCSecurityGroupViolation, context)
|
|
3577
3447
|
: undefined,
|
|
3578
|
-
DnsDuplicateRuleGroupViolation: output.DnsDuplicateRuleGroupViolation
|
|
3448
|
+
DnsDuplicateRuleGroupViolation: output.DnsDuplicateRuleGroupViolation != null
|
|
3579
3449
|
? deserializeAws_json1_1DnsDuplicateRuleGroupViolation(output.DnsDuplicateRuleGroupViolation, context)
|
|
3580
3450
|
: undefined,
|
|
3581
|
-
DnsRuleGroupLimitExceededViolation: output.DnsRuleGroupLimitExceededViolation
|
|
3451
|
+
DnsRuleGroupLimitExceededViolation: output.DnsRuleGroupLimitExceededViolation != null
|
|
3582
3452
|
? deserializeAws_json1_1DnsRuleGroupLimitExceededViolation(output.DnsRuleGroupLimitExceededViolation, context)
|
|
3583
3453
|
: undefined,
|
|
3584
|
-
DnsRuleGroupPriorityConflictViolation: output.DnsRuleGroupPriorityConflictViolation
|
|
3585
|
-
output.DnsRuleGroupPriorityConflictViolation !== null
|
|
3454
|
+
DnsRuleGroupPriorityConflictViolation: output.DnsRuleGroupPriorityConflictViolation != null
|
|
3586
3455
|
? deserializeAws_json1_1DnsRuleGroupPriorityConflictViolation(output.DnsRuleGroupPriorityConflictViolation, context)
|
|
3587
3456
|
: undefined,
|
|
3588
|
-
FirewallSubnetIsOutOfScopeViolation: output.FirewallSubnetIsOutOfScopeViolation
|
|
3457
|
+
FirewallSubnetIsOutOfScopeViolation: output.FirewallSubnetIsOutOfScopeViolation != null
|
|
3589
3458
|
? deserializeAws_json1_1FirewallSubnetIsOutOfScopeViolation(output.FirewallSubnetIsOutOfScopeViolation, context)
|
|
3590
3459
|
: undefined,
|
|
3591
|
-
FirewallSubnetMissingVPCEndpointViolation: output.FirewallSubnetMissingVPCEndpointViolation
|
|
3592
|
-
output.FirewallSubnetMissingVPCEndpointViolation !== null
|
|
3460
|
+
FirewallSubnetMissingVPCEndpointViolation: output.FirewallSubnetMissingVPCEndpointViolation != null
|
|
3593
3461
|
? deserializeAws_json1_1FirewallSubnetMissingVPCEndpointViolation(output.FirewallSubnetMissingVPCEndpointViolation, context)
|
|
3594
3462
|
: undefined,
|
|
3595
|
-
NetworkFirewallBlackHoleRouteDetectedViolation: output.NetworkFirewallBlackHoleRouteDetectedViolation
|
|
3596
|
-
output.NetworkFirewallBlackHoleRouteDetectedViolation !== null
|
|
3463
|
+
NetworkFirewallBlackHoleRouteDetectedViolation: output.NetworkFirewallBlackHoleRouteDetectedViolation != null
|
|
3597
3464
|
? deserializeAws_json1_1NetworkFirewallBlackHoleRouteDetectedViolation(output.NetworkFirewallBlackHoleRouteDetectedViolation, context)
|
|
3598
3465
|
: undefined,
|
|
3599
|
-
NetworkFirewallInternetTrafficNotInspectedViolation: output.NetworkFirewallInternetTrafficNotInspectedViolation
|
|
3600
|
-
output.NetworkFirewallInternetTrafficNotInspectedViolation !== null
|
|
3466
|
+
NetworkFirewallInternetTrafficNotInspectedViolation: output.NetworkFirewallInternetTrafficNotInspectedViolation != null
|
|
3601
3467
|
? deserializeAws_json1_1NetworkFirewallInternetTrafficNotInspectedViolation(output.NetworkFirewallInternetTrafficNotInspectedViolation, context)
|
|
3602
3468
|
: undefined,
|
|
3603
|
-
NetworkFirewallInvalidRouteConfigurationViolation: output.NetworkFirewallInvalidRouteConfigurationViolation
|
|
3604
|
-
output.NetworkFirewallInvalidRouteConfigurationViolation !== null
|
|
3469
|
+
NetworkFirewallInvalidRouteConfigurationViolation: output.NetworkFirewallInvalidRouteConfigurationViolation != null
|
|
3605
3470
|
? deserializeAws_json1_1NetworkFirewallInvalidRouteConfigurationViolation(output.NetworkFirewallInvalidRouteConfigurationViolation, context)
|
|
3606
3471
|
: undefined,
|
|
3607
|
-
NetworkFirewallMissingExpectedRTViolation: output.NetworkFirewallMissingExpectedRTViolation
|
|
3608
|
-
output.NetworkFirewallMissingExpectedRTViolation !== null
|
|
3472
|
+
NetworkFirewallMissingExpectedRTViolation: output.NetworkFirewallMissingExpectedRTViolation != null
|
|
3609
3473
|
? deserializeAws_json1_1NetworkFirewallMissingExpectedRTViolation(output.NetworkFirewallMissingExpectedRTViolation, context)
|
|
3610
3474
|
: undefined,
|
|
3611
|
-
NetworkFirewallMissingExpectedRoutesViolation: output.NetworkFirewallMissingExpectedRoutesViolation
|
|
3612
|
-
output.NetworkFirewallMissingExpectedRoutesViolation !== null
|
|
3475
|
+
NetworkFirewallMissingExpectedRoutesViolation: output.NetworkFirewallMissingExpectedRoutesViolation != null
|
|
3613
3476
|
? deserializeAws_json1_1NetworkFirewallMissingExpectedRoutesViolation(output.NetworkFirewallMissingExpectedRoutesViolation, context)
|
|
3614
3477
|
: undefined,
|
|
3615
|
-
NetworkFirewallMissingFirewallViolation: output.NetworkFirewallMissingFirewallViolation
|
|
3616
|
-
output.NetworkFirewallMissingFirewallViolation !== null
|
|
3478
|
+
NetworkFirewallMissingFirewallViolation: output.NetworkFirewallMissingFirewallViolation != null
|
|
3617
3479
|
? deserializeAws_json1_1NetworkFirewallMissingFirewallViolation(output.NetworkFirewallMissingFirewallViolation, context)
|
|
3618
3480
|
: undefined,
|
|
3619
|
-
NetworkFirewallMissingSubnetViolation: output.NetworkFirewallMissingSubnetViolation
|
|
3620
|
-
output.NetworkFirewallMissingSubnetViolation !== null
|
|
3481
|
+
NetworkFirewallMissingSubnetViolation: output.NetworkFirewallMissingSubnetViolation != null
|
|
3621
3482
|
? deserializeAws_json1_1NetworkFirewallMissingSubnetViolation(output.NetworkFirewallMissingSubnetViolation, context)
|
|
3622
3483
|
: undefined,
|
|
3623
|
-
NetworkFirewallPolicyModifiedViolation: output.NetworkFirewallPolicyModifiedViolation
|
|
3624
|
-
output.NetworkFirewallPolicyModifiedViolation !== null
|
|
3484
|
+
NetworkFirewallPolicyModifiedViolation: output.NetworkFirewallPolicyModifiedViolation != null
|
|
3625
3485
|
? deserializeAws_json1_1NetworkFirewallPolicyModifiedViolation(output.NetworkFirewallPolicyModifiedViolation, context)
|
|
3626
3486
|
: undefined,
|
|
3627
|
-
NetworkFirewallUnexpectedFirewallRoutesViolation: output.NetworkFirewallUnexpectedFirewallRoutesViolation
|
|
3628
|
-
output.NetworkFirewallUnexpectedFirewallRoutesViolation !== null
|
|
3487
|
+
NetworkFirewallUnexpectedFirewallRoutesViolation: output.NetworkFirewallUnexpectedFirewallRoutesViolation != null
|
|
3629
3488
|
? deserializeAws_json1_1NetworkFirewallUnexpectedFirewallRoutesViolation(output.NetworkFirewallUnexpectedFirewallRoutesViolation, context)
|
|
3630
3489
|
: undefined,
|
|
3631
|
-
NetworkFirewallUnexpectedGatewayRoutesViolation: output.NetworkFirewallUnexpectedGatewayRoutesViolation
|
|
3632
|
-
output.NetworkFirewallUnexpectedGatewayRoutesViolation !== null
|
|
3490
|
+
NetworkFirewallUnexpectedGatewayRoutesViolation: output.NetworkFirewallUnexpectedGatewayRoutesViolation != null
|
|
3633
3491
|
? deserializeAws_json1_1NetworkFirewallUnexpectedGatewayRoutesViolation(output.NetworkFirewallUnexpectedGatewayRoutesViolation, context)
|
|
3634
3492
|
: undefined,
|
|
3635
|
-
PossibleRemediationActions: output.PossibleRemediationActions
|
|
3493
|
+
PossibleRemediationActions: output.PossibleRemediationActions != null
|
|
3636
3494
|
? deserializeAws_json1_1PossibleRemediationActions(output.PossibleRemediationActions, context)
|
|
3637
3495
|
: undefined,
|
|
3638
|
-
RouteHasOutOfScopeEndpointViolation: output.RouteHasOutOfScopeEndpointViolation
|
|
3496
|
+
RouteHasOutOfScopeEndpointViolation: output.RouteHasOutOfScopeEndpointViolation != null
|
|
3639
3497
|
? deserializeAws_json1_1RouteHasOutOfScopeEndpointViolation(output.RouteHasOutOfScopeEndpointViolation, context)
|
|
3640
3498
|
: undefined,
|
|
3641
|
-
ThirdPartyFirewallMissingExpectedRouteTableViolation: output.ThirdPartyFirewallMissingExpectedRouteTableViolation
|
|
3642
|
-
output.ThirdPartyFirewallMissingExpectedRouteTableViolation !== null
|
|
3499
|
+
ThirdPartyFirewallMissingExpectedRouteTableViolation: output.ThirdPartyFirewallMissingExpectedRouteTableViolation != null
|
|
3643
3500
|
? deserializeAws_json1_1ThirdPartyFirewallMissingExpectedRouteTableViolation(output.ThirdPartyFirewallMissingExpectedRouteTableViolation, context)
|
|
3644
3501
|
: undefined,
|
|
3645
|
-
ThirdPartyFirewallMissingFirewallViolation: output.ThirdPartyFirewallMissingFirewallViolation
|
|
3646
|
-
output.ThirdPartyFirewallMissingFirewallViolation !== null
|
|
3502
|
+
ThirdPartyFirewallMissingFirewallViolation: output.ThirdPartyFirewallMissingFirewallViolation != null
|
|
3647
3503
|
? deserializeAws_json1_1ThirdPartyFirewallMissingFirewallViolation(output.ThirdPartyFirewallMissingFirewallViolation, context)
|
|
3648
3504
|
: undefined,
|
|
3649
|
-
ThirdPartyFirewallMissingSubnetViolation: output.ThirdPartyFirewallMissingSubnetViolation
|
|
3650
|
-
output.ThirdPartyFirewallMissingSubnetViolation !== null
|
|
3505
|
+
ThirdPartyFirewallMissingSubnetViolation: output.ThirdPartyFirewallMissingSubnetViolation != null
|
|
3651
3506
|
? deserializeAws_json1_1ThirdPartyFirewallMissingSubnetViolation(output.ThirdPartyFirewallMissingSubnetViolation, context)
|
|
3652
3507
|
: undefined,
|
|
3653
3508
|
};
|
|
@@ -3676,20 +3531,18 @@ var deserializeAws_json1_1RouteHasOutOfScopeEndpointViolation = function (output
|
|
|
3676
3531
|
CurrentFirewallSubnetRouteTable: __expectString(output.CurrentFirewallSubnetRouteTable),
|
|
3677
3532
|
CurrentInternetGatewayRouteTable: __expectString(output.CurrentInternetGatewayRouteTable),
|
|
3678
3533
|
FirewallSubnetId: __expectString(output.FirewallSubnetId),
|
|
3679
|
-
FirewallSubnetRoutes: output.FirewallSubnetRoutes
|
|
3534
|
+
FirewallSubnetRoutes: output.FirewallSubnetRoutes != null
|
|
3680
3535
|
? deserializeAws_json1_1Routes(output.FirewallSubnetRoutes, context)
|
|
3681
3536
|
: undefined,
|
|
3682
3537
|
InternetGatewayId: __expectString(output.InternetGatewayId),
|
|
3683
|
-
InternetGatewayRoutes: output.InternetGatewayRoutes
|
|
3538
|
+
InternetGatewayRoutes: output.InternetGatewayRoutes != null
|
|
3684
3539
|
? deserializeAws_json1_1Routes(output.InternetGatewayRoutes, context)
|
|
3685
3540
|
: undefined,
|
|
3686
3541
|
RouteTableId: __expectString(output.RouteTableId),
|
|
3687
3542
|
SubnetAvailabilityZone: __expectString(output.SubnetAvailabilityZone),
|
|
3688
3543
|
SubnetAvailabilityZoneId: __expectString(output.SubnetAvailabilityZoneId),
|
|
3689
3544
|
SubnetId: __expectString(output.SubnetId),
|
|
3690
|
-
ViolatingRoutes: output.ViolatingRoutes
|
|
3691
|
-
? deserializeAws_json1_1Routes(output.ViolatingRoutes, context)
|
|
3692
|
-
: undefined,
|
|
3545
|
+
ViolatingRoutes: output.ViolatingRoutes != null ? deserializeAws_json1_1Routes(output.ViolatingRoutes, context) : undefined,
|
|
3693
3546
|
VpcId: __expectString(output.VpcId),
|
|
3694
3547
|
};
|
|
3695
3548
|
};
|
|
@@ -3709,7 +3562,7 @@ var deserializeAws_json1_1SecurityGroupRemediationAction = function (output, con
|
|
|
3709
3562
|
Description: __expectString(output.Description),
|
|
3710
3563
|
IsDefaultAction: __expectBoolean(output.IsDefaultAction),
|
|
3711
3564
|
RemediationActionType: __expectString(output.RemediationActionType),
|
|
3712
|
-
RemediationResult: output.RemediationResult
|
|
3565
|
+
RemediationResult: output.RemediationResult != null
|
|
3713
3566
|
? deserializeAws_json1_1SecurityGroupRuleDescription(output.RemediationResult, context)
|
|
3714
3567
|
: undefined,
|
|
3715
3568
|
};
|
|
@@ -3738,14 +3591,18 @@ var deserializeAws_json1_1SecurityGroupRuleDescription = function (output, conte
|
|
|
3738
3591
|
var deserializeAws_json1_1SecurityServicePolicyData = function (output, context) {
|
|
3739
3592
|
return {
|
|
3740
3593
|
ManagedServiceData: __expectString(output.ManagedServiceData),
|
|
3741
|
-
PolicyOption: output.PolicyOption
|
|
3742
|
-
? deserializeAws_json1_1PolicyOption(output.PolicyOption, context)
|
|
3743
|
-
: undefined,
|
|
3594
|
+
PolicyOption: output.PolicyOption != null ? deserializeAws_json1_1PolicyOption(output.PolicyOption, context) : undefined,
|
|
3744
3595
|
Type: __expectString(output.Type),
|
|
3745
3596
|
};
|
|
3746
3597
|
};
|
|
3598
|
+
var deserializeAws_json1_1StatefulEngineOptions = function (output, context) {
|
|
3599
|
+
return {
|
|
3600
|
+
RuleOrder: __expectString(output.RuleOrder),
|
|
3601
|
+
};
|
|
3602
|
+
};
|
|
3747
3603
|
var deserializeAws_json1_1StatefulRuleGroup = function (output, context) {
|
|
3748
3604
|
return {
|
|
3605
|
+
Priority: __expectInt32(output.Priority),
|
|
3749
3606
|
ResourceId: __expectString(output.ResourceId),
|
|
3750
3607
|
RuleGroupName: __expectString(output.RuleGroupName),
|
|
3751
3608
|
};
|
|
@@ -3866,11 +3723,9 @@ var deserializeAws_json1_1ViolationDetail = function (output, context) {
|
|
|
3866
3723
|
PolicyId: __expectString(output.PolicyId),
|
|
3867
3724
|
ResourceDescription: __expectString(output.ResourceDescription),
|
|
3868
3725
|
ResourceId: __expectString(output.ResourceId),
|
|
3869
|
-
ResourceTags: output.ResourceTags
|
|
3870
|
-
? deserializeAws_json1_1TagList(output.ResourceTags, context)
|
|
3871
|
-
: undefined,
|
|
3726
|
+
ResourceTags: output.ResourceTags != null ? deserializeAws_json1_1TagList(output.ResourceTags, context) : undefined,
|
|
3872
3727
|
ResourceType: __expectString(output.ResourceType),
|
|
3873
|
-
ResourceViolations: output.ResourceViolations
|
|
3728
|
+
ResourceViolations: output.ResourceViolations != null
|
|
3874
3729
|
? deserializeAws_json1_1ResourceViolations(output.ResourceViolations, context)
|
|
3875
3730
|
: undefined,
|
|
3876
3731
|
};
|
|
@@ -3931,6 +3786,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
3931
3786
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
3932
3787
|
var sanitizeErrorCode = function (rawValue) {
|
|
3933
3788
|
var cleanValue = rawValue;
|
|
3789
|
+
if (typeof cleanValue === "number") {
|
|
3790
|
+
cleanValue = cleanValue.toString();
|
|
3791
|
+
}
|
|
3934
3792
|
if (cleanValue.indexOf(":") >= 0) {
|
|
3935
3793
|
cleanValue = cleanValue.split(":")[0];
|
|
3936
3794
|
}
|