@aws-sdk/client-network-firewall 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 +27 -0
- package/dist-cjs/protocols/Aws_json1_0.js +275 -445
- package/dist-es/protocols/Aws_json1_0.js +174 -344
- package/package.json +26 -26
|
@@ -2522,14 +2522,12 @@ var deserializeAws_json1_0UnsupportedOperationExceptionResponse = function (pars
|
|
|
2522
2522
|
});
|
|
2523
2523
|
}); };
|
|
2524
2524
|
var serializeAws_json1_0ActionDefinition = function (input, context) {
|
|
2525
|
-
return __assign({}, (input.PublishMetricAction
|
|
2526
|
-
input.PublishMetricAction !== null && {
|
|
2525
|
+
return __assign({}, (input.PublishMetricAction != null && {
|
|
2527
2526
|
PublishMetricAction: serializeAws_json1_0PublishMetricAction(input.PublishMetricAction, context),
|
|
2528
2527
|
}));
|
|
2529
2528
|
};
|
|
2530
2529
|
var serializeAws_json1_0Address = function (input, context) {
|
|
2531
|
-
return __assign({}, (input.AddressDefinition
|
|
2532
|
-
input.AddressDefinition !== null && { AddressDefinition: input.AddressDefinition }));
|
|
2530
|
+
return __assign({}, (input.AddressDefinition != null && { AddressDefinition: input.AddressDefinition }));
|
|
2533
2531
|
};
|
|
2534
2532
|
var serializeAws_json1_0Addresses = function (input, context) {
|
|
2535
2533
|
return input
|
|
@@ -2542,14 +2540,12 @@ var serializeAws_json1_0Addresses = function (input, context) {
|
|
|
2542
2540
|
});
|
|
2543
2541
|
};
|
|
2544
2542
|
var serializeAws_json1_0AssociateFirewallPolicyRequest = function (input, context) {
|
|
2545
|
-
return __assign(__assign(__assign(__assign({}, (input.FirewallArn
|
|
2546
|
-
input.FirewallPolicyArn !== null && { FirewallPolicyArn: input.FirewallPolicyArn })), (input.UpdateToken !== undefined && input.UpdateToken !== null && { UpdateToken: input.UpdateToken }));
|
|
2543
|
+
return __assign(__assign(__assign(__assign({}, (input.FirewallArn != null && { FirewallArn: input.FirewallArn })), (input.FirewallName != null && { FirewallName: input.FirewallName })), (input.FirewallPolicyArn != null && { FirewallPolicyArn: input.FirewallPolicyArn })), (input.UpdateToken != null && { UpdateToken: input.UpdateToken }));
|
|
2547
2544
|
};
|
|
2548
2545
|
var serializeAws_json1_0AssociateSubnetsRequest = function (input, context) {
|
|
2549
|
-
return __assign(__assign(__assign(__assign({}, (input.FirewallArn
|
|
2550
|
-
input.SubnetMappings !== null && {
|
|
2546
|
+
return __assign(__assign(__assign(__assign({}, (input.FirewallArn != null && { FirewallArn: input.FirewallArn })), (input.FirewallName != null && { FirewallName: input.FirewallName })), (input.SubnetMappings != null && {
|
|
2551
2547
|
SubnetMappings: serializeAws_json1_0SubnetMappings(input.SubnetMappings, context),
|
|
2552
|
-
})), (input.UpdateToken
|
|
2548
|
+
})), (input.UpdateToken != null && { UpdateToken: input.UpdateToken }));
|
|
2553
2549
|
};
|
|
2554
2550
|
var serializeAws_json1_0AzSubnets = function (input, context) {
|
|
2555
2551
|
return input
|
|
@@ -2562,45 +2558,32 @@ var serializeAws_json1_0AzSubnets = function (input, context) {
|
|
|
2562
2558
|
});
|
|
2563
2559
|
};
|
|
2564
2560
|
var serializeAws_json1_0CreateFirewallPolicyRequest = function (input, context) {
|
|
2565
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
2566
|
-
input.EncryptionConfiguration !== null && {
|
|
2561
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.DryRun != null && { DryRun: input.DryRun })), (input.EncryptionConfiguration != null && {
|
|
2567
2562
|
EncryptionConfiguration: serializeAws_json1_0EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
2568
|
-
})), (input.FirewallPolicy
|
|
2569
|
-
input.FirewallPolicy !== null && {
|
|
2563
|
+
})), (input.FirewallPolicy != null && {
|
|
2570
2564
|
FirewallPolicy: serializeAws_json1_0FirewallPolicy(input.FirewallPolicy, context),
|
|
2571
|
-
})), (input.FirewallPolicyName
|
|
2572
|
-
input.FirewallPolicyName !== null && { FirewallPolicyName: input.FirewallPolicyName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2565
|
+
})), (input.FirewallPolicyName != null && { FirewallPolicyName: input.FirewallPolicyName })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2573
2566
|
};
|
|
2574
2567
|
var serializeAws_json1_0CreateFirewallRequest = function (input, context) {
|
|
2575
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeleteProtection
|
|
2576
|
-
input.DeleteProtection !== null && { DeleteProtection: input.DeleteProtection })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.EncryptionConfiguration !== undefined &&
|
|
2577
|
-
input.EncryptionConfiguration !== null && {
|
|
2568
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeleteProtection != null && { DeleteProtection: input.DeleteProtection })), (input.Description != null && { Description: input.Description })), (input.EncryptionConfiguration != null && {
|
|
2578
2569
|
EncryptionConfiguration: serializeAws_json1_0EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
2579
|
-
})), (input.FirewallName
|
|
2580
|
-
input.FirewallPolicyArn !== null && { FirewallPolicyArn: input.FirewallPolicyArn })), (input.FirewallPolicyChangeProtection !== undefined &&
|
|
2581
|
-
input.FirewallPolicyChangeProtection !== null && {
|
|
2570
|
+
})), (input.FirewallName != null && { FirewallName: input.FirewallName })), (input.FirewallPolicyArn != null && { FirewallPolicyArn: input.FirewallPolicyArn })), (input.FirewallPolicyChangeProtection != null && {
|
|
2582
2571
|
FirewallPolicyChangeProtection: input.FirewallPolicyChangeProtection,
|
|
2583
|
-
})), (input.SubnetChangeProtection
|
|
2584
|
-
input.SubnetChangeProtection !== null && { SubnetChangeProtection: input.SubnetChangeProtection })), (input.SubnetMappings !== undefined &&
|
|
2585
|
-
input.SubnetMappings !== null && {
|
|
2572
|
+
})), (input.SubnetChangeProtection != null && { SubnetChangeProtection: input.SubnetChangeProtection })), (input.SubnetMappings != null && {
|
|
2586
2573
|
SubnetMappings: serializeAws_json1_0SubnetMappings(input.SubnetMappings, context),
|
|
2587
|
-
})), (input.Tags
|
|
2574
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) })), (input.VpcId != null && { VpcId: input.VpcId }));
|
|
2588
2575
|
};
|
|
2589
2576
|
var serializeAws_json1_0CreateRuleGroupRequest = function (input, context) {
|
|
2590
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Capacity
|
|
2591
|
-
input.EncryptionConfiguration !== null && {
|
|
2577
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Capacity != null && { Capacity: input.Capacity })), (input.Description != null && { Description: input.Description })), (input.DryRun != null && { DryRun: input.DryRun })), (input.EncryptionConfiguration != null && {
|
|
2592
2578
|
EncryptionConfiguration: serializeAws_json1_0EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
2593
|
-
})), (input.RuleGroup
|
|
2594
|
-
input.RuleGroup !== null && { RuleGroup: serializeAws_json1_0RuleGroup(input.RuleGroup, context) })), (input.RuleGroupName !== undefined && input.RuleGroupName !== null && { RuleGroupName: input.RuleGroupName })), (input.Rules !== undefined && input.Rules !== null && { Rules: input.Rules })), (input.SourceMetadata !== undefined &&
|
|
2595
|
-
input.SourceMetadata !== null && {
|
|
2579
|
+
})), (input.RuleGroup != null && { RuleGroup: serializeAws_json1_0RuleGroup(input.RuleGroup, context) })), (input.RuleGroupName != null && { RuleGroupName: input.RuleGroupName })), (input.Rules != null && { Rules: input.Rules })), (input.SourceMetadata != null && {
|
|
2596
2580
|
SourceMetadata: serializeAws_json1_0SourceMetadata(input.SourceMetadata, context),
|
|
2597
|
-
})), (input.Tags
|
|
2581
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) })), (input.Type != null && { Type: input.Type }));
|
|
2598
2582
|
};
|
|
2599
2583
|
var serializeAws_json1_0CustomAction = function (input, context) {
|
|
2600
|
-
return __assign(__assign({}, (input.ActionDefinition
|
|
2601
|
-
input.ActionDefinition !== null && {
|
|
2584
|
+
return __assign(__assign({}, (input.ActionDefinition != null && {
|
|
2602
2585
|
ActionDefinition: serializeAws_json1_0ActionDefinition(input.ActionDefinition, context),
|
|
2603
|
-
})), (input.ActionName
|
|
2586
|
+
})), (input.ActionName != null && { ActionName: input.ActionName }));
|
|
2604
2587
|
};
|
|
2605
2588
|
var serializeAws_json1_0CustomActions = function (input, context) {
|
|
2606
2589
|
return input
|
|
@@ -2613,41 +2596,37 @@ var serializeAws_json1_0CustomActions = function (input, context) {
|
|
|
2613
2596
|
});
|
|
2614
2597
|
};
|
|
2615
2598
|
var serializeAws_json1_0DeleteFirewallPolicyRequest = function (input, context) {
|
|
2616
|
-
return __assign(__assign({}, (input.FirewallPolicyArn
|
|
2617
|
-
input.FirewallPolicyArn !== null && { FirewallPolicyArn: input.FirewallPolicyArn })), (input.FirewallPolicyName !== undefined &&
|
|
2618
|
-
input.FirewallPolicyName !== null && { FirewallPolicyName: input.FirewallPolicyName }));
|
|
2599
|
+
return __assign(__assign({}, (input.FirewallPolicyArn != null && { FirewallPolicyArn: input.FirewallPolicyArn })), (input.FirewallPolicyName != null && { FirewallPolicyName: input.FirewallPolicyName }));
|
|
2619
2600
|
};
|
|
2620
2601
|
var serializeAws_json1_0DeleteFirewallRequest = function (input, context) {
|
|
2621
|
-
return __assign(__assign({}, (input.FirewallArn
|
|
2602
|
+
return __assign(__assign({}, (input.FirewallArn != null && { FirewallArn: input.FirewallArn })), (input.FirewallName != null && { FirewallName: input.FirewallName }));
|
|
2622
2603
|
};
|
|
2623
2604
|
var serializeAws_json1_0DeleteResourcePolicyRequest = function (input, context) {
|
|
2624
|
-
return __assign({}, (input.ResourceArn
|
|
2605
|
+
return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
2625
2606
|
};
|
|
2626
2607
|
var serializeAws_json1_0DeleteRuleGroupRequest = function (input, context) {
|
|
2627
|
-
return __assign(__assign(__assign({}, (input.RuleGroupArn
|
|
2608
|
+
return __assign(__assign(__assign({}, (input.RuleGroupArn != null && { RuleGroupArn: input.RuleGroupArn })), (input.RuleGroupName != null && { RuleGroupName: input.RuleGroupName })), (input.Type != null && { Type: input.Type }));
|
|
2628
2609
|
};
|
|
2629
2610
|
var serializeAws_json1_0DescribeFirewallPolicyRequest = function (input, context) {
|
|
2630
|
-
return __assign(__assign({}, (input.FirewallPolicyArn
|
|
2631
|
-
input.FirewallPolicyArn !== null && { FirewallPolicyArn: input.FirewallPolicyArn })), (input.FirewallPolicyName !== undefined &&
|
|
2632
|
-
input.FirewallPolicyName !== null && { FirewallPolicyName: input.FirewallPolicyName }));
|
|
2611
|
+
return __assign(__assign({}, (input.FirewallPolicyArn != null && { FirewallPolicyArn: input.FirewallPolicyArn })), (input.FirewallPolicyName != null && { FirewallPolicyName: input.FirewallPolicyName }));
|
|
2633
2612
|
};
|
|
2634
2613
|
var serializeAws_json1_0DescribeFirewallRequest = function (input, context) {
|
|
2635
|
-
return __assign(__assign({}, (input.FirewallArn
|
|
2614
|
+
return __assign(__assign({}, (input.FirewallArn != null && { FirewallArn: input.FirewallArn })), (input.FirewallName != null && { FirewallName: input.FirewallName }));
|
|
2636
2615
|
};
|
|
2637
2616
|
var serializeAws_json1_0DescribeLoggingConfigurationRequest = function (input, context) {
|
|
2638
|
-
return __assign(__assign({}, (input.FirewallArn
|
|
2617
|
+
return __assign(__assign({}, (input.FirewallArn != null && { FirewallArn: input.FirewallArn })), (input.FirewallName != null && { FirewallName: input.FirewallName }));
|
|
2639
2618
|
};
|
|
2640
2619
|
var serializeAws_json1_0DescribeResourcePolicyRequest = function (input, context) {
|
|
2641
|
-
return __assign({}, (input.ResourceArn
|
|
2620
|
+
return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
2642
2621
|
};
|
|
2643
2622
|
var serializeAws_json1_0DescribeRuleGroupMetadataRequest = function (input, context) {
|
|
2644
|
-
return __assign(__assign(__assign({}, (input.RuleGroupArn
|
|
2623
|
+
return __assign(__assign(__assign({}, (input.RuleGroupArn != null && { RuleGroupArn: input.RuleGroupArn })), (input.RuleGroupName != null && { RuleGroupName: input.RuleGroupName })), (input.Type != null && { Type: input.Type }));
|
|
2645
2624
|
};
|
|
2646
2625
|
var serializeAws_json1_0DescribeRuleGroupRequest = function (input, context) {
|
|
2647
|
-
return __assign(__assign(__assign({}, (input.RuleGroupArn
|
|
2626
|
+
return __assign(__assign(__assign({}, (input.RuleGroupArn != null && { RuleGroupArn: input.RuleGroupArn })), (input.RuleGroupName != null && { RuleGroupName: input.RuleGroupName })), (input.Type != null && { Type: input.Type }));
|
|
2648
2627
|
};
|
|
2649
2628
|
var serializeAws_json1_0Dimension = function (input, context) {
|
|
2650
|
-
return __assign({}, (input.Value
|
|
2629
|
+
return __assign({}, (input.Value != null && { Value: input.Value }));
|
|
2651
2630
|
};
|
|
2652
2631
|
var serializeAws_json1_0Dimensions = function (input, context) {
|
|
2653
2632
|
return input
|
|
@@ -2660,33 +2639,25 @@ var serializeAws_json1_0Dimensions = function (input, context) {
|
|
|
2660
2639
|
});
|
|
2661
2640
|
};
|
|
2662
2641
|
var serializeAws_json1_0DisassociateSubnetsRequest = function (input, context) {
|
|
2663
|
-
return __assign(__assign(__assign(__assign({}, (input.FirewallArn
|
|
2664
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_0AzSubnets(input.SubnetIds, context) })), (input.UpdateToken !== undefined && input.UpdateToken !== null && { UpdateToken: input.UpdateToken }));
|
|
2642
|
+
return __assign(__assign(__assign(__assign({}, (input.FirewallArn != null && { FirewallArn: input.FirewallArn })), (input.FirewallName != null && { FirewallName: input.FirewallName })), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_0AzSubnets(input.SubnetIds, context) })), (input.UpdateToken != null && { UpdateToken: input.UpdateToken }));
|
|
2665
2643
|
};
|
|
2666
2644
|
var serializeAws_json1_0EncryptionConfiguration = function (input, context) {
|
|
2667
|
-
return __assign(__assign({}, (input.KeyId
|
|
2645
|
+
return __assign(__assign({}, (input.KeyId != null && { KeyId: input.KeyId })), (input.Type != null && { Type: input.Type }));
|
|
2668
2646
|
};
|
|
2669
2647
|
var serializeAws_json1_0FirewallPolicy = function (input, context) {
|
|
2670
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.StatefulDefaultActions
|
|
2671
|
-
input.StatefulDefaultActions !== null && {
|
|
2648
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.StatefulDefaultActions != null && {
|
|
2672
2649
|
StatefulDefaultActions: serializeAws_json1_0StatefulActions(input.StatefulDefaultActions, context),
|
|
2673
|
-
})), (input.StatefulEngineOptions
|
|
2674
|
-
input.StatefulEngineOptions !== null && {
|
|
2650
|
+
})), (input.StatefulEngineOptions != null && {
|
|
2675
2651
|
StatefulEngineOptions: serializeAws_json1_0StatefulEngineOptions(input.StatefulEngineOptions, context),
|
|
2676
|
-
})), (input.StatefulRuleGroupReferences
|
|
2677
|
-
input.StatefulRuleGroupReferences !== null && {
|
|
2652
|
+
})), (input.StatefulRuleGroupReferences != null && {
|
|
2678
2653
|
StatefulRuleGroupReferences: serializeAws_json1_0StatefulRuleGroupReferences(input.StatefulRuleGroupReferences, context),
|
|
2679
|
-
})), (input.StatelessCustomActions
|
|
2680
|
-
input.StatelessCustomActions !== null && {
|
|
2654
|
+
})), (input.StatelessCustomActions != null && {
|
|
2681
2655
|
StatelessCustomActions: serializeAws_json1_0CustomActions(input.StatelessCustomActions, context),
|
|
2682
|
-
})), (input.StatelessDefaultActions
|
|
2683
|
-
input.StatelessDefaultActions !== null && {
|
|
2656
|
+
})), (input.StatelessDefaultActions != null && {
|
|
2684
2657
|
StatelessDefaultActions: serializeAws_json1_0StatelessActions(input.StatelessDefaultActions, context),
|
|
2685
|
-
})), (input.StatelessFragmentDefaultActions
|
|
2686
|
-
input.StatelessFragmentDefaultActions !== null && {
|
|
2658
|
+
})), (input.StatelessFragmentDefaultActions != null && {
|
|
2687
2659
|
StatelessFragmentDefaultActions: serializeAws_json1_0StatelessActions(input.StatelessFragmentDefaultActions, context),
|
|
2688
|
-
})), (input.StatelessRuleGroupReferences
|
|
2689
|
-
input.StatelessRuleGroupReferences !== null && {
|
|
2660
|
+
})), (input.StatelessRuleGroupReferences != null && {
|
|
2690
2661
|
StatelessRuleGroupReferences: serializeAws_json1_0StatelessRuleGroupReferences(input.StatelessRuleGroupReferences, context),
|
|
2691
2662
|
}));
|
|
2692
2663
|
};
|
|
@@ -2701,12 +2672,10 @@ var serializeAws_json1_0Flags = function (input, context) {
|
|
|
2701
2672
|
});
|
|
2702
2673
|
};
|
|
2703
2674
|
var serializeAws_json1_0Header = function (input, context) {
|
|
2704
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Destination
|
|
2705
|
-
input.DestinationPort !== null && { DestinationPort: input.DestinationPort })), (input.Direction !== undefined && input.Direction !== null && { Direction: input.Direction })), (input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol })), (input.Source !== undefined && input.Source !== null && { Source: input.Source })), (input.SourcePort !== undefined && input.SourcePort !== null && { SourcePort: input.SourcePort }));
|
|
2675
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Destination != null && { Destination: input.Destination })), (input.DestinationPort != null && { DestinationPort: input.DestinationPort })), (input.Direction != null && { Direction: input.Direction })), (input.Protocol != null && { Protocol: input.Protocol })), (input.Source != null && { Source: input.Source })), (input.SourcePort != null && { SourcePort: input.SourcePort }));
|
|
2706
2676
|
};
|
|
2707
2677
|
var serializeAws_json1_0IPSet = function (input, context) {
|
|
2708
|
-
return __assign({}, (input.Definition
|
|
2709
|
-
input.Definition !== null && {
|
|
2678
|
+
return __assign({}, (input.Definition != null && {
|
|
2710
2679
|
Definition: serializeAws_json1_0VariableDefinitionList(input.Definition, context),
|
|
2711
2680
|
}));
|
|
2712
2681
|
};
|
|
@@ -2721,24 +2690,21 @@ var serializeAws_json1_0IPSets = function (input, context) {
|
|
|
2721
2690
|
}, {});
|
|
2722
2691
|
};
|
|
2723
2692
|
var serializeAws_json1_0ListFirewallPoliciesRequest = function (input, context) {
|
|
2724
|
-
return __assign(__assign({}, (input.MaxResults
|
|
2693
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2725
2694
|
};
|
|
2726
2695
|
var serializeAws_json1_0ListFirewallsRequest = function (input, context) {
|
|
2727
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2728
|
-
input.VpcIds !== null && { VpcIds: serializeAws_json1_0VpcIds(input.VpcIds, context) }));
|
|
2696
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.VpcIds != null && { VpcIds: serializeAws_json1_0VpcIds(input.VpcIds, context) }));
|
|
2729
2697
|
};
|
|
2730
2698
|
var serializeAws_json1_0ListRuleGroupsRequest = function (input, context) {
|
|
2731
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ManagedType
|
|
2699
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ManagedType != null && { ManagedType: input.ManagedType })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Scope != null && { Scope: input.Scope })), (input.Type != null && { Type: input.Type }));
|
|
2732
2700
|
};
|
|
2733
2701
|
var serializeAws_json1_0ListTagsForResourceRequest = function (input, context) {
|
|
2734
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2702
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
2735
2703
|
};
|
|
2736
2704
|
var serializeAws_json1_0LogDestinationConfig = function (input, context) {
|
|
2737
|
-
return __assign(__assign(__assign({}, (input.LogDestination
|
|
2738
|
-
input.LogDestination !== null && {
|
|
2705
|
+
return __assign(__assign(__assign({}, (input.LogDestination != null && {
|
|
2739
2706
|
LogDestination: serializeAws_json1_0LogDestinationMap(input.LogDestination, context),
|
|
2740
|
-
})), (input.LogDestinationType
|
|
2741
|
-
input.LogDestinationType !== null && { LogDestinationType: input.LogDestinationType })), (input.LogType !== undefined && input.LogType !== null && { LogType: input.LogType }));
|
|
2707
|
+
})), (input.LogDestinationType != null && { LogDestinationType: input.LogDestinationType })), (input.LogType != null && { LogType: input.LogType }));
|
|
2742
2708
|
};
|
|
2743
2709
|
var serializeAws_json1_0LogDestinationConfigs = function (input, context) {
|
|
2744
2710
|
return input
|
|
@@ -2761,24 +2727,17 @@ var serializeAws_json1_0LogDestinationMap = function (input, context) {
|
|
|
2761
2727
|
}, {});
|
|
2762
2728
|
};
|
|
2763
2729
|
var serializeAws_json1_0LoggingConfiguration = function (input, context) {
|
|
2764
|
-
return __assign({}, (input.LogDestinationConfigs
|
|
2765
|
-
input.LogDestinationConfigs !== null && {
|
|
2730
|
+
return __assign({}, (input.LogDestinationConfigs != null && {
|
|
2766
2731
|
LogDestinationConfigs: serializeAws_json1_0LogDestinationConfigs(input.LogDestinationConfigs, context),
|
|
2767
2732
|
}));
|
|
2768
2733
|
};
|
|
2769
2734
|
var serializeAws_json1_0MatchAttributes = function (input, context) {
|
|
2770
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DestinationPorts
|
|
2771
|
-
input.DestinationPorts !== null && {
|
|
2735
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DestinationPorts != null && {
|
|
2772
2736
|
DestinationPorts: serializeAws_json1_0PortRanges(input.DestinationPorts, context),
|
|
2773
|
-
})), (input.Destinations
|
|
2774
|
-
input.Destinations !== null && { Destinations: serializeAws_json1_0Addresses(input.Destinations, context) })), (input.Protocols !== undefined &&
|
|
2775
|
-
input.Protocols !== null && { Protocols: serializeAws_json1_0ProtocolNumbers(input.Protocols, context) })), (input.SourcePorts !== undefined &&
|
|
2776
|
-
input.SourcePorts !== null && { SourcePorts: serializeAws_json1_0PortRanges(input.SourcePorts, context) })), (input.Sources !== undefined &&
|
|
2777
|
-
input.Sources !== null && { Sources: serializeAws_json1_0Addresses(input.Sources, context) })), (input.TCPFlags !== undefined &&
|
|
2778
|
-
input.TCPFlags !== null && { TCPFlags: serializeAws_json1_0TCPFlags(input.TCPFlags, context) }));
|
|
2737
|
+
})), (input.Destinations != null && { Destinations: serializeAws_json1_0Addresses(input.Destinations, context) })), (input.Protocols != null && { Protocols: serializeAws_json1_0ProtocolNumbers(input.Protocols, context) })), (input.SourcePorts != null && { SourcePorts: serializeAws_json1_0PortRanges(input.SourcePorts, context) })), (input.Sources != null && { Sources: serializeAws_json1_0Addresses(input.Sources, context) })), (input.TCPFlags != null && { TCPFlags: serializeAws_json1_0TCPFlags(input.TCPFlags, context) }));
|
|
2779
2738
|
};
|
|
2780
2739
|
var serializeAws_json1_0PortRange = function (input, context) {
|
|
2781
|
-
return __assign(__assign({}, (input.FromPort
|
|
2740
|
+
return __assign(__assign({}, (input.FromPort != null && { FromPort: input.FromPort })), (input.ToPort != null && { ToPort: input.ToPort }));
|
|
2782
2741
|
};
|
|
2783
2742
|
var serializeAws_json1_0PortRanges = function (input, context) {
|
|
2784
2743
|
return input
|
|
@@ -2791,8 +2750,7 @@ var serializeAws_json1_0PortRanges = function (input, context) {
|
|
|
2791
2750
|
});
|
|
2792
2751
|
};
|
|
2793
2752
|
var serializeAws_json1_0PortSet = function (input, context) {
|
|
2794
|
-
return __assign({}, (input.Definition
|
|
2795
|
-
input.Definition !== null && {
|
|
2753
|
+
return __assign({}, (input.Definition != null && {
|
|
2796
2754
|
Definition: serializeAws_json1_0VariableDefinitionList(input.Definition, context),
|
|
2797
2755
|
}));
|
|
2798
2756
|
};
|
|
@@ -2817,32 +2775,25 @@ var serializeAws_json1_0ProtocolNumbers = function (input, context) {
|
|
|
2817
2775
|
});
|
|
2818
2776
|
};
|
|
2819
2777
|
var serializeAws_json1_0PublishMetricAction = function (input, context) {
|
|
2820
|
-
return __assign({}, (input.Dimensions
|
|
2821
|
-
input.Dimensions !== null && { Dimensions: serializeAws_json1_0Dimensions(input.Dimensions, context) }));
|
|
2778
|
+
return __assign({}, (input.Dimensions != null && { Dimensions: serializeAws_json1_0Dimensions(input.Dimensions, context) }));
|
|
2822
2779
|
};
|
|
2823
2780
|
var serializeAws_json1_0PutResourcePolicyRequest = function (input, context) {
|
|
2824
|
-
return __assign(__assign({}, (input.Policy
|
|
2781
|
+
return __assign(__assign({}, (input.Policy != null && { Policy: input.Policy })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
2825
2782
|
};
|
|
2826
2783
|
var serializeAws_json1_0RuleDefinition = function (input, context) {
|
|
2827
|
-
return __assign(__assign({}, (input.Actions
|
|
2828
|
-
input.Actions !== null && { Actions: serializeAws_json1_0StatelessActions(input.Actions, context) })), (input.MatchAttributes !== undefined &&
|
|
2829
|
-
input.MatchAttributes !== null && {
|
|
2784
|
+
return __assign(__assign({}, (input.Actions != null && { Actions: serializeAws_json1_0StatelessActions(input.Actions, context) })), (input.MatchAttributes != null && {
|
|
2830
2785
|
MatchAttributes: serializeAws_json1_0MatchAttributes(input.MatchAttributes, context),
|
|
2831
2786
|
}));
|
|
2832
2787
|
};
|
|
2833
2788
|
var serializeAws_json1_0RuleGroup = function (input, context) {
|
|
2834
|
-
return __assign(__assign(__assign({}, (input.RuleVariables
|
|
2835
|
-
input.RuleVariables !== null && {
|
|
2789
|
+
return __assign(__assign(__assign({}, (input.RuleVariables != null && {
|
|
2836
2790
|
RuleVariables: serializeAws_json1_0RuleVariables(input.RuleVariables, context),
|
|
2837
|
-
})), (input.RulesSource
|
|
2838
|
-
input.RulesSource !== null && { RulesSource: serializeAws_json1_0RulesSource(input.RulesSource, context) })), (input.StatefulRuleOptions !== undefined &&
|
|
2839
|
-
input.StatefulRuleOptions !== null && {
|
|
2791
|
+
})), (input.RulesSource != null && { RulesSource: serializeAws_json1_0RulesSource(input.RulesSource, context) })), (input.StatefulRuleOptions != null && {
|
|
2840
2792
|
StatefulRuleOptions: serializeAws_json1_0StatefulRuleOptions(input.StatefulRuleOptions, context),
|
|
2841
2793
|
}));
|
|
2842
2794
|
};
|
|
2843
2795
|
var serializeAws_json1_0RuleOption = function (input, context) {
|
|
2844
|
-
return __assign(__assign({}, (input.Keyword
|
|
2845
|
-
input.Settings !== null && { Settings: serializeAws_json1_0Settings(input.Settings, context) }));
|
|
2796
|
+
return __assign(__assign({}, (input.Keyword != null && { Keyword: input.Keyword })), (input.Settings != null && { Settings: serializeAws_json1_0Settings(input.Settings, context) }));
|
|
2846
2797
|
};
|
|
2847
2798
|
var serializeAws_json1_0RuleOptions = function (input, context) {
|
|
2848
2799
|
return input
|
|
@@ -2855,22 +2806,16 @@ var serializeAws_json1_0RuleOptions = function (input, context) {
|
|
|
2855
2806
|
});
|
|
2856
2807
|
};
|
|
2857
2808
|
var serializeAws_json1_0RulesSource = function (input, context) {
|
|
2858
|
-
return __assign(__assign(__assign(__assign({}, (input.RulesSourceList
|
|
2859
|
-
input.RulesSourceList !== null && {
|
|
2809
|
+
return __assign(__assign(__assign(__assign({}, (input.RulesSourceList != null && {
|
|
2860
2810
|
RulesSourceList: serializeAws_json1_0RulesSourceList(input.RulesSourceList, context),
|
|
2861
|
-
})), (input.RulesString
|
|
2862
|
-
input.StatefulRules !== null && {
|
|
2811
|
+
})), (input.RulesString != null && { RulesString: input.RulesString })), (input.StatefulRules != null && {
|
|
2863
2812
|
StatefulRules: serializeAws_json1_0StatefulRules(input.StatefulRules, context),
|
|
2864
|
-
})), (input.StatelessRulesAndCustomActions
|
|
2865
|
-
input.StatelessRulesAndCustomActions !== null && {
|
|
2813
|
+
})), (input.StatelessRulesAndCustomActions != null && {
|
|
2866
2814
|
StatelessRulesAndCustomActions: serializeAws_json1_0StatelessRulesAndCustomActions(input.StatelessRulesAndCustomActions, context),
|
|
2867
2815
|
}));
|
|
2868
2816
|
};
|
|
2869
2817
|
var serializeAws_json1_0RulesSourceList = function (input, context) {
|
|
2870
|
-
return __assign(__assign(__assign({}, (input.GeneratedRulesType
|
|
2871
|
-
input.GeneratedRulesType !== null && { GeneratedRulesType: input.GeneratedRulesType })), (input.TargetTypes !== undefined &&
|
|
2872
|
-
input.TargetTypes !== null && { TargetTypes: serializeAws_json1_0TargetTypes(input.TargetTypes, context) })), (input.Targets !== undefined &&
|
|
2873
|
-
input.Targets !== null && { Targets: serializeAws_json1_0RuleTargets(input.Targets, context) }));
|
|
2818
|
+
return __assign(__assign(__assign({}, (input.GeneratedRulesType != null && { GeneratedRulesType: input.GeneratedRulesType })), (input.TargetTypes != null && { TargetTypes: serializeAws_json1_0TargetTypes(input.TargetTypes, context) })), (input.Targets != null && { Targets: serializeAws_json1_0RuleTargets(input.Targets, context) }));
|
|
2874
2819
|
};
|
|
2875
2820
|
var serializeAws_json1_0RuleTargets = function (input, context) {
|
|
2876
2821
|
return input
|
|
@@ -2883,9 +2828,7 @@ var serializeAws_json1_0RuleTargets = function (input, context) {
|
|
|
2883
2828
|
});
|
|
2884
2829
|
};
|
|
2885
2830
|
var serializeAws_json1_0RuleVariables = function (input, context) {
|
|
2886
|
-
return __assign(__assign({}, (input.IPSets
|
|
2887
|
-
input.IPSets !== null && { IPSets: serializeAws_json1_0IPSets(input.IPSets, context) })), (input.PortSets !== undefined &&
|
|
2888
|
-
input.PortSets !== null && { PortSets: serializeAws_json1_0PortSets(input.PortSets, context) }));
|
|
2831
|
+
return __assign(__assign({}, (input.IPSets != null && { IPSets: serializeAws_json1_0IPSets(input.IPSets, context) })), (input.PortSets != null && { PortSets: serializeAws_json1_0PortSets(input.PortSets, context) }));
|
|
2889
2832
|
};
|
|
2890
2833
|
var serializeAws_json1_0Settings = function (input, context) {
|
|
2891
2834
|
return input
|
|
@@ -2898,8 +2841,7 @@ var serializeAws_json1_0Settings = function (input, context) {
|
|
|
2898
2841
|
});
|
|
2899
2842
|
};
|
|
2900
2843
|
var serializeAws_json1_0SourceMetadata = function (input, context) {
|
|
2901
|
-
return __assign(__assign({}, (input.SourceArn
|
|
2902
|
-
input.SourceUpdateToken !== null && { SourceUpdateToken: input.SourceUpdateToken }));
|
|
2844
|
+
return __assign(__assign({}, (input.SourceArn != null && { SourceArn: input.SourceArn })), (input.SourceUpdateToken != null && { SourceUpdateToken: input.SourceUpdateToken }));
|
|
2903
2845
|
};
|
|
2904
2846
|
var serializeAws_json1_0StatefulActions = function (input, context) {
|
|
2905
2847
|
return input
|
|
@@ -2912,19 +2854,16 @@ var serializeAws_json1_0StatefulActions = function (input, context) {
|
|
|
2912
2854
|
});
|
|
2913
2855
|
};
|
|
2914
2856
|
var serializeAws_json1_0StatefulEngineOptions = function (input, context) {
|
|
2915
|
-
return __assign({}, (input.RuleOrder
|
|
2857
|
+
return __assign({}, (input.RuleOrder != null && { RuleOrder: input.RuleOrder }));
|
|
2916
2858
|
};
|
|
2917
2859
|
var serializeAws_json1_0StatefulRule = function (input, context) {
|
|
2918
|
-
return __assign(__assign(__assign({}, (input.Action
|
|
2919
|
-
input.Header !== null && { Header: serializeAws_json1_0Header(input.Header, context) })), (input.RuleOptions !== undefined &&
|
|
2920
|
-
input.RuleOptions !== null && { RuleOptions: serializeAws_json1_0RuleOptions(input.RuleOptions, context) }));
|
|
2860
|
+
return __assign(__assign(__assign({}, (input.Action != null && { Action: input.Action })), (input.Header != null && { Header: serializeAws_json1_0Header(input.Header, context) })), (input.RuleOptions != null && { RuleOptions: serializeAws_json1_0RuleOptions(input.RuleOptions, context) }));
|
|
2921
2861
|
};
|
|
2922
2862
|
var serializeAws_json1_0StatefulRuleGroupOverride = function (input, context) {
|
|
2923
|
-
return __assign({}, (input.Action
|
|
2863
|
+
return __assign({}, (input.Action != null && { Action: input.Action }));
|
|
2924
2864
|
};
|
|
2925
2865
|
var serializeAws_json1_0StatefulRuleGroupReference = function (input, context) {
|
|
2926
|
-
return __assign(__assign(__assign({}, (input.Override
|
|
2927
|
-
input.Override !== null && { Override: serializeAws_json1_0StatefulRuleGroupOverride(input.Override, context) })), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority })), (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }));
|
|
2866
|
+
return __assign(__assign(__assign({}, (input.Override != null && { Override: serializeAws_json1_0StatefulRuleGroupOverride(input.Override, context) })), (input.Priority != null && { Priority: input.Priority })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
2928
2867
|
};
|
|
2929
2868
|
var serializeAws_json1_0StatefulRuleGroupReferences = function (input, context) {
|
|
2930
2869
|
return input
|
|
@@ -2937,7 +2876,7 @@ var serializeAws_json1_0StatefulRuleGroupReferences = function (input, context)
|
|
|
2937
2876
|
});
|
|
2938
2877
|
};
|
|
2939
2878
|
var serializeAws_json1_0StatefulRuleOptions = function (input, context) {
|
|
2940
|
-
return __assign({}, (input.RuleOrder
|
|
2879
|
+
return __assign({}, (input.RuleOrder != null && { RuleOrder: input.RuleOrder }));
|
|
2941
2880
|
};
|
|
2942
2881
|
var serializeAws_json1_0StatefulRules = function (input, context) {
|
|
2943
2882
|
return input
|
|
@@ -2960,13 +2899,12 @@ var serializeAws_json1_0StatelessActions = function (input, context) {
|
|
|
2960
2899
|
});
|
|
2961
2900
|
};
|
|
2962
2901
|
var serializeAws_json1_0StatelessRule = function (input, context) {
|
|
2963
|
-
return __assign(__assign({}, (input.Priority
|
|
2964
|
-
input.RuleDefinition !== null && {
|
|
2902
|
+
return __assign(__assign({}, (input.Priority != null && { Priority: input.Priority })), (input.RuleDefinition != null && {
|
|
2965
2903
|
RuleDefinition: serializeAws_json1_0RuleDefinition(input.RuleDefinition, context),
|
|
2966
2904
|
}));
|
|
2967
2905
|
};
|
|
2968
2906
|
var serializeAws_json1_0StatelessRuleGroupReference = function (input, context) {
|
|
2969
|
-
return __assign(__assign({}, (input.Priority
|
|
2907
|
+
return __assign(__assign({}, (input.Priority != null && { Priority: input.Priority })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
2970
2908
|
};
|
|
2971
2909
|
var serializeAws_json1_0StatelessRuleGroupReferences = function (input, context) {
|
|
2972
2910
|
return input
|
|
@@ -2989,16 +2927,14 @@ var serializeAws_json1_0StatelessRules = function (input, context) {
|
|
|
2989
2927
|
});
|
|
2990
2928
|
};
|
|
2991
2929
|
var serializeAws_json1_0StatelessRulesAndCustomActions = function (input, context) {
|
|
2992
|
-
return __assign(__assign({}, (input.CustomActions
|
|
2993
|
-
input.CustomActions !== null && {
|
|
2930
|
+
return __assign(__assign({}, (input.CustomActions != null && {
|
|
2994
2931
|
CustomActions: serializeAws_json1_0CustomActions(input.CustomActions, context),
|
|
2995
|
-
})), (input.StatelessRules
|
|
2996
|
-
input.StatelessRules !== null && {
|
|
2932
|
+
})), (input.StatelessRules != null && {
|
|
2997
2933
|
StatelessRules: serializeAws_json1_0StatelessRules(input.StatelessRules, context),
|
|
2998
2934
|
}));
|
|
2999
2935
|
};
|
|
3000
2936
|
var serializeAws_json1_0SubnetMapping = function (input, context) {
|
|
3001
|
-
return __assign({}, (input.SubnetId
|
|
2937
|
+
return __assign({}, (input.SubnetId != null && { SubnetId: input.SubnetId }));
|
|
3002
2938
|
};
|
|
3003
2939
|
var serializeAws_json1_0SubnetMappings = function (input, context) {
|
|
3004
2940
|
return input
|
|
@@ -3011,7 +2947,7 @@ var serializeAws_json1_0SubnetMappings = function (input, context) {
|
|
|
3011
2947
|
});
|
|
3012
2948
|
};
|
|
3013
2949
|
var serializeAws_json1_0Tag = function (input, context) {
|
|
3014
|
-
return __assign(__assign({}, (input.Key
|
|
2950
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
3015
2951
|
};
|
|
3016
2952
|
var serializeAws_json1_0TagKeyList = function (input, context) {
|
|
3017
2953
|
return input
|
|
@@ -3034,7 +2970,7 @@ var serializeAws_json1_0TagList = function (input, context) {
|
|
|
3034
2970
|
});
|
|
3035
2971
|
};
|
|
3036
2972
|
var serializeAws_json1_0TagResourceRequest = function (input, context) {
|
|
3037
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
2973
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
3038
2974
|
};
|
|
3039
2975
|
var serializeAws_json1_0TargetTypes = function (input, context) {
|
|
3040
2976
|
return input
|
|
@@ -3047,9 +2983,7 @@ var serializeAws_json1_0TargetTypes = function (input, context) {
|
|
|
3047
2983
|
});
|
|
3048
2984
|
};
|
|
3049
2985
|
var serializeAws_json1_0TCPFlagField = function (input, context) {
|
|
3050
|
-
return __assign(__assign({}, (input.Flags
|
|
3051
|
-
input.Flags !== null && { Flags: serializeAws_json1_0Flags(input.Flags, context) })), (input.Masks !== undefined &&
|
|
3052
|
-
input.Masks !== null && { Masks: serializeAws_json1_0Flags(input.Masks, context) }));
|
|
2986
|
+
return __assign(__assign({}, (input.Flags != null && { Flags: serializeAws_json1_0Flags(input.Flags, context) })), (input.Masks != null && { Masks: serializeAws_json1_0Flags(input.Masks, context) }));
|
|
3053
2987
|
};
|
|
3054
2988
|
var serializeAws_json1_0TCPFlags = function (input, context) {
|
|
3055
2989
|
return input
|
|
@@ -3062,58 +2996,45 @@ var serializeAws_json1_0TCPFlags = function (input, context) {
|
|
|
3062
2996
|
});
|
|
3063
2997
|
};
|
|
3064
2998
|
var serializeAws_json1_0UntagResourceRequest = function (input, context) {
|
|
3065
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
3066
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
|
|
2999
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
|
|
3067
3000
|
};
|
|
3068
3001
|
var serializeAws_json1_0UpdateFirewallDeleteProtectionRequest = function (input, context) {
|
|
3069
|
-
return __assign(__assign(__assign(__assign({}, (input.DeleteProtection
|
|
3070
|
-
input.DeleteProtection !== null && { DeleteProtection: input.DeleteProtection })), (input.FirewallArn !== undefined && input.FirewallArn !== null && { FirewallArn: input.FirewallArn })), (input.FirewallName !== undefined && input.FirewallName !== null && { FirewallName: input.FirewallName })), (input.UpdateToken !== undefined && input.UpdateToken !== null && { UpdateToken: input.UpdateToken }));
|
|
3002
|
+
return __assign(__assign(__assign(__assign({}, (input.DeleteProtection != null && { DeleteProtection: input.DeleteProtection })), (input.FirewallArn != null && { FirewallArn: input.FirewallArn })), (input.FirewallName != null && { FirewallName: input.FirewallName })), (input.UpdateToken != null && { UpdateToken: input.UpdateToken }));
|
|
3071
3003
|
};
|
|
3072
3004
|
var serializeAws_json1_0UpdateFirewallDescriptionRequest = function (input, context) {
|
|
3073
|
-
return __assign(__assign(__assign(__assign({}, (input.Description
|
|
3005
|
+
return __assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.FirewallArn != null && { FirewallArn: input.FirewallArn })), (input.FirewallName != null && { FirewallName: input.FirewallName })), (input.UpdateToken != null && { UpdateToken: input.UpdateToken }));
|
|
3074
3006
|
};
|
|
3075
3007
|
var serializeAws_json1_0UpdateFirewallEncryptionConfigurationRequest = function (input, context) {
|
|
3076
|
-
return __assign(__assign(__assign(__assign({}, (input.EncryptionConfiguration
|
|
3077
|
-
input.EncryptionConfiguration !== null && {
|
|
3008
|
+
return __assign(__assign(__assign(__assign({}, (input.EncryptionConfiguration != null && {
|
|
3078
3009
|
EncryptionConfiguration: serializeAws_json1_0EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
3079
|
-
})), (input.FirewallArn
|
|
3010
|
+
})), (input.FirewallArn != null && { FirewallArn: input.FirewallArn })), (input.FirewallName != null && { FirewallName: input.FirewallName })), (input.UpdateToken != null && { UpdateToken: input.UpdateToken }));
|
|
3080
3011
|
};
|
|
3081
3012
|
var serializeAws_json1_0UpdateFirewallPolicyChangeProtectionRequest = function (input, context) {
|
|
3082
|
-
return __assign(__assign(__assign(__assign({}, (input.FirewallArn
|
|
3083
|
-
input.FirewallPolicyChangeProtection !== null && {
|
|
3013
|
+
return __assign(__assign(__assign(__assign({}, (input.FirewallArn != null && { FirewallArn: input.FirewallArn })), (input.FirewallName != null && { FirewallName: input.FirewallName })), (input.FirewallPolicyChangeProtection != null && {
|
|
3084
3014
|
FirewallPolicyChangeProtection: input.FirewallPolicyChangeProtection,
|
|
3085
|
-
})), (input.UpdateToken
|
|
3015
|
+
})), (input.UpdateToken != null && { UpdateToken: input.UpdateToken }));
|
|
3086
3016
|
};
|
|
3087
3017
|
var serializeAws_json1_0UpdateFirewallPolicyRequest = function (input, context) {
|
|
3088
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
3089
|
-
input.EncryptionConfiguration !== null && {
|
|
3018
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.DryRun != null && { DryRun: input.DryRun })), (input.EncryptionConfiguration != null && {
|
|
3090
3019
|
EncryptionConfiguration: serializeAws_json1_0EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
3091
|
-
})), (input.FirewallPolicy
|
|
3092
|
-
input.FirewallPolicy !== null && {
|
|
3020
|
+
})), (input.FirewallPolicy != null && {
|
|
3093
3021
|
FirewallPolicy: serializeAws_json1_0FirewallPolicy(input.FirewallPolicy, context),
|
|
3094
|
-
})), (input.FirewallPolicyArn
|
|
3095
|
-
input.FirewallPolicyArn !== null && { FirewallPolicyArn: input.FirewallPolicyArn })), (input.FirewallPolicyName !== undefined &&
|
|
3096
|
-
input.FirewallPolicyName !== null && { FirewallPolicyName: input.FirewallPolicyName })), (input.UpdateToken !== undefined && input.UpdateToken !== null && { UpdateToken: input.UpdateToken }));
|
|
3022
|
+
})), (input.FirewallPolicyArn != null && { FirewallPolicyArn: input.FirewallPolicyArn })), (input.FirewallPolicyName != null && { FirewallPolicyName: input.FirewallPolicyName })), (input.UpdateToken != null && { UpdateToken: input.UpdateToken }));
|
|
3097
3023
|
};
|
|
3098
3024
|
var serializeAws_json1_0UpdateLoggingConfigurationRequest = function (input, context) {
|
|
3099
|
-
return __assign(__assign(__assign({}, (input.FirewallArn
|
|
3100
|
-
input.LoggingConfiguration !== null && {
|
|
3025
|
+
return __assign(__assign(__assign({}, (input.FirewallArn != null && { FirewallArn: input.FirewallArn })), (input.FirewallName != null && { FirewallName: input.FirewallName })), (input.LoggingConfiguration != null && {
|
|
3101
3026
|
LoggingConfiguration: serializeAws_json1_0LoggingConfiguration(input.LoggingConfiguration, context),
|
|
3102
3027
|
}));
|
|
3103
3028
|
};
|
|
3104
3029
|
var serializeAws_json1_0UpdateRuleGroupRequest = function (input, context) {
|
|
3105
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
3106
|
-
input.EncryptionConfiguration !== null && {
|
|
3030
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.DryRun != null && { DryRun: input.DryRun })), (input.EncryptionConfiguration != null && {
|
|
3107
3031
|
EncryptionConfiguration: serializeAws_json1_0EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
3108
|
-
})), (input.RuleGroup
|
|
3109
|
-
input.RuleGroup !== null && { RuleGroup: serializeAws_json1_0RuleGroup(input.RuleGroup, context) })), (input.RuleGroupArn !== undefined && input.RuleGroupArn !== null && { RuleGroupArn: input.RuleGroupArn })), (input.RuleGroupName !== undefined && input.RuleGroupName !== null && { RuleGroupName: input.RuleGroupName })), (input.Rules !== undefined && input.Rules !== null && { Rules: input.Rules })), (input.SourceMetadata !== undefined &&
|
|
3110
|
-
input.SourceMetadata !== null && {
|
|
3032
|
+
})), (input.RuleGroup != null && { RuleGroup: serializeAws_json1_0RuleGroup(input.RuleGroup, context) })), (input.RuleGroupArn != null && { RuleGroupArn: input.RuleGroupArn })), (input.RuleGroupName != null && { RuleGroupName: input.RuleGroupName })), (input.Rules != null && { Rules: input.Rules })), (input.SourceMetadata != null && {
|
|
3111
3033
|
SourceMetadata: serializeAws_json1_0SourceMetadata(input.SourceMetadata, context),
|
|
3112
|
-
})), (input.Type
|
|
3034
|
+
})), (input.Type != null && { Type: input.Type })), (input.UpdateToken != null && { UpdateToken: input.UpdateToken }));
|
|
3113
3035
|
};
|
|
3114
3036
|
var serializeAws_json1_0UpdateSubnetChangeProtectionRequest = function (input, context) {
|
|
3115
|
-
return __assign(__assign(__assign(__assign({}, (input.FirewallArn
|
|
3116
|
-
input.SubnetChangeProtection !== null && { SubnetChangeProtection: input.SubnetChangeProtection })), (input.UpdateToken !== undefined && input.UpdateToken !== null && { UpdateToken: input.UpdateToken }));
|
|
3037
|
+
return __assign(__assign(__assign(__assign({}, (input.FirewallArn != null && { FirewallArn: input.FirewallArn })), (input.FirewallName != null && { FirewallName: input.FirewallName })), (input.SubnetChangeProtection != null && { SubnetChangeProtection: input.SubnetChangeProtection })), (input.UpdateToken != null && { UpdateToken: input.UpdateToken }));
|
|
3117
3038
|
};
|
|
3118
3039
|
var serializeAws_json1_0VariableDefinitionList = function (input, context) {
|
|
3119
3040
|
return input
|
|
@@ -3137,7 +3058,7 @@ var serializeAws_json1_0VpcIds = function (input, context) {
|
|
|
3137
3058
|
};
|
|
3138
3059
|
var deserializeAws_json1_0ActionDefinition = function (output, context) {
|
|
3139
3060
|
return {
|
|
3140
|
-
PublishMetricAction: output.PublishMetricAction
|
|
3061
|
+
PublishMetricAction: output.PublishMetricAction != null
|
|
3141
3062
|
? deserializeAws_json1_0PublishMetricAction(output.PublishMetricAction, context)
|
|
3142
3063
|
: undefined,
|
|
3143
3064
|
};
|
|
@@ -3170,9 +3091,7 @@ var deserializeAws_json1_0AssociateSubnetsResponse = function (output, context)
|
|
|
3170
3091
|
return {
|
|
3171
3092
|
FirewallArn: __expectString(output.FirewallArn),
|
|
3172
3093
|
FirewallName: __expectString(output.FirewallName),
|
|
3173
|
-
SubnetMappings: output.SubnetMappings
|
|
3174
|
-
? deserializeAws_json1_0SubnetMappings(output.SubnetMappings, context)
|
|
3175
|
-
: undefined,
|
|
3094
|
+
SubnetMappings: output.SubnetMappings != null ? deserializeAws_json1_0SubnetMappings(output.SubnetMappings, context) : undefined,
|
|
3176
3095
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3177
3096
|
};
|
|
3178
3097
|
};
|
|
@@ -3185,7 +3104,7 @@ var deserializeAws_json1_0Attachment = function (output, context) {
|
|
|
3185
3104
|
};
|
|
3186
3105
|
var deserializeAws_json1_0CreateFirewallPolicyResponse = function (output, context) {
|
|
3187
3106
|
return {
|
|
3188
|
-
FirewallPolicyResponse: output.FirewallPolicyResponse
|
|
3107
|
+
FirewallPolicyResponse: output.FirewallPolicyResponse != null
|
|
3189
3108
|
? deserializeAws_json1_0FirewallPolicyResponse(output.FirewallPolicyResponse, context)
|
|
3190
3109
|
: undefined,
|
|
3191
3110
|
UpdateToken: __expectString(output.UpdateToken),
|
|
@@ -3193,17 +3112,13 @@ var deserializeAws_json1_0CreateFirewallPolicyResponse = function (output, conte
|
|
|
3193
3112
|
};
|
|
3194
3113
|
var deserializeAws_json1_0CreateFirewallResponse = function (output, context) {
|
|
3195
3114
|
return {
|
|
3196
|
-
Firewall: output.Firewall
|
|
3197
|
-
|
|
3198
|
-
: undefined,
|
|
3199
|
-
FirewallStatus: output.FirewallStatus !== undefined && output.FirewallStatus !== null
|
|
3200
|
-
? deserializeAws_json1_0FirewallStatus(output.FirewallStatus, context)
|
|
3201
|
-
: undefined,
|
|
3115
|
+
Firewall: output.Firewall != null ? deserializeAws_json1_0Firewall(output.Firewall, context) : undefined,
|
|
3116
|
+
FirewallStatus: output.FirewallStatus != null ? deserializeAws_json1_0FirewallStatus(output.FirewallStatus, context) : undefined,
|
|
3202
3117
|
};
|
|
3203
3118
|
};
|
|
3204
3119
|
var deserializeAws_json1_0CreateRuleGroupResponse = function (output, context) {
|
|
3205
3120
|
return {
|
|
3206
|
-
RuleGroupResponse: output.RuleGroupResponse
|
|
3121
|
+
RuleGroupResponse: output.RuleGroupResponse != null
|
|
3207
3122
|
? deserializeAws_json1_0RuleGroupResponse(output.RuleGroupResponse, context)
|
|
3208
3123
|
: undefined,
|
|
3209
3124
|
UpdateToken: __expectString(output.UpdateToken),
|
|
@@ -3211,7 +3126,7 @@ var deserializeAws_json1_0CreateRuleGroupResponse = function (output, context) {
|
|
|
3211
3126
|
};
|
|
3212
3127
|
var deserializeAws_json1_0CustomAction = function (output, context) {
|
|
3213
3128
|
return {
|
|
3214
|
-
ActionDefinition: output.ActionDefinition
|
|
3129
|
+
ActionDefinition: output.ActionDefinition != null
|
|
3215
3130
|
? deserializeAws_json1_0ActionDefinition(output.ActionDefinition, context)
|
|
3216
3131
|
: undefined,
|
|
3217
3132
|
ActionName: __expectString(output.ActionName),
|
|
@@ -3230,19 +3145,15 @@ var deserializeAws_json1_0CustomActions = function (output, context) {
|
|
|
3230
3145
|
};
|
|
3231
3146
|
var deserializeAws_json1_0DeleteFirewallPolicyResponse = function (output, context) {
|
|
3232
3147
|
return {
|
|
3233
|
-
FirewallPolicyResponse: output.FirewallPolicyResponse
|
|
3148
|
+
FirewallPolicyResponse: output.FirewallPolicyResponse != null
|
|
3234
3149
|
? deserializeAws_json1_0FirewallPolicyResponse(output.FirewallPolicyResponse, context)
|
|
3235
3150
|
: undefined,
|
|
3236
3151
|
};
|
|
3237
3152
|
};
|
|
3238
3153
|
var deserializeAws_json1_0DeleteFirewallResponse = function (output, context) {
|
|
3239
3154
|
return {
|
|
3240
|
-
Firewall: output.Firewall
|
|
3241
|
-
|
|
3242
|
-
: undefined,
|
|
3243
|
-
FirewallStatus: output.FirewallStatus !== undefined && output.FirewallStatus !== null
|
|
3244
|
-
? deserializeAws_json1_0FirewallStatus(output.FirewallStatus, context)
|
|
3245
|
-
: undefined,
|
|
3155
|
+
Firewall: output.Firewall != null ? deserializeAws_json1_0Firewall(output.Firewall, context) : undefined,
|
|
3156
|
+
FirewallStatus: output.FirewallStatus != null ? deserializeAws_json1_0FirewallStatus(output.FirewallStatus, context) : undefined,
|
|
3246
3157
|
};
|
|
3247
3158
|
};
|
|
3248
3159
|
var deserializeAws_json1_0DeleteResourcePolicyResponse = function (output, context) {
|
|
@@ -3250,17 +3161,15 @@ var deserializeAws_json1_0DeleteResourcePolicyResponse = function (output, conte
|
|
|
3250
3161
|
};
|
|
3251
3162
|
var deserializeAws_json1_0DeleteRuleGroupResponse = function (output, context) {
|
|
3252
3163
|
return {
|
|
3253
|
-
RuleGroupResponse: output.RuleGroupResponse
|
|
3164
|
+
RuleGroupResponse: output.RuleGroupResponse != null
|
|
3254
3165
|
? deserializeAws_json1_0RuleGroupResponse(output.RuleGroupResponse, context)
|
|
3255
3166
|
: undefined,
|
|
3256
3167
|
};
|
|
3257
3168
|
};
|
|
3258
3169
|
var deserializeAws_json1_0DescribeFirewallPolicyResponse = function (output, context) {
|
|
3259
3170
|
return {
|
|
3260
|
-
FirewallPolicy: output.FirewallPolicy
|
|
3261
|
-
|
|
3262
|
-
: undefined,
|
|
3263
|
-
FirewallPolicyResponse: output.FirewallPolicyResponse !== undefined && output.FirewallPolicyResponse !== null
|
|
3171
|
+
FirewallPolicy: output.FirewallPolicy != null ? deserializeAws_json1_0FirewallPolicy(output.FirewallPolicy, context) : undefined,
|
|
3172
|
+
FirewallPolicyResponse: output.FirewallPolicyResponse != null
|
|
3264
3173
|
? deserializeAws_json1_0FirewallPolicyResponse(output.FirewallPolicyResponse, context)
|
|
3265
3174
|
: undefined,
|
|
3266
3175
|
UpdateToken: __expectString(output.UpdateToken),
|
|
@@ -3268,19 +3177,15 @@ var deserializeAws_json1_0DescribeFirewallPolicyResponse = function (output, con
|
|
|
3268
3177
|
};
|
|
3269
3178
|
var deserializeAws_json1_0DescribeFirewallResponse = function (output, context) {
|
|
3270
3179
|
return {
|
|
3271
|
-
Firewall: output.Firewall
|
|
3272
|
-
|
|
3273
|
-
: undefined,
|
|
3274
|
-
FirewallStatus: output.FirewallStatus !== undefined && output.FirewallStatus !== null
|
|
3275
|
-
? deserializeAws_json1_0FirewallStatus(output.FirewallStatus, context)
|
|
3276
|
-
: undefined,
|
|
3180
|
+
Firewall: output.Firewall != null ? deserializeAws_json1_0Firewall(output.Firewall, context) : undefined,
|
|
3181
|
+
FirewallStatus: output.FirewallStatus != null ? deserializeAws_json1_0FirewallStatus(output.FirewallStatus, context) : undefined,
|
|
3277
3182
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3278
3183
|
};
|
|
3279
3184
|
};
|
|
3280
3185
|
var deserializeAws_json1_0DescribeLoggingConfigurationResponse = function (output, context) {
|
|
3281
3186
|
return {
|
|
3282
3187
|
FirewallArn: __expectString(output.FirewallArn),
|
|
3283
|
-
LoggingConfiguration: output.LoggingConfiguration
|
|
3188
|
+
LoggingConfiguration: output.LoggingConfiguration != null
|
|
3284
3189
|
? deserializeAws_json1_0LoggingConfiguration(output.LoggingConfiguration, context)
|
|
3285
3190
|
: undefined,
|
|
3286
3191
|
};
|
|
@@ -3294,12 +3199,12 @@ var deserializeAws_json1_0DescribeRuleGroupMetadataResponse = function (output,
|
|
|
3294
3199
|
return {
|
|
3295
3200
|
Capacity: __expectInt32(output.Capacity),
|
|
3296
3201
|
Description: __expectString(output.Description),
|
|
3297
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3202
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3298
3203
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3299
3204
|
: undefined,
|
|
3300
3205
|
RuleGroupArn: __expectString(output.RuleGroupArn),
|
|
3301
3206
|
RuleGroupName: __expectString(output.RuleGroupName),
|
|
3302
|
-
StatefulRuleOptions: output.StatefulRuleOptions
|
|
3207
|
+
StatefulRuleOptions: output.StatefulRuleOptions != null
|
|
3303
3208
|
? deserializeAws_json1_0StatefulRuleOptions(output.StatefulRuleOptions, context)
|
|
3304
3209
|
: undefined,
|
|
3305
3210
|
Type: __expectString(output.Type),
|
|
@@ -3307,10 +3212,8 @@ var deserializeAws_json1_0DescribeRuleGroupMetadataResponse = function (output,
|
|
|
3307
3212
|
};
|
|
3308
3213
|
var deserializeAws_json1_0DescribeRuleGroupResponse = function (output, context) {
|
|
3309
3214
|
return {
|
|
3310
|
-
RuleGroup: output.RuleGroup
|
|
3311
|
-
|
|
3312
|
-
: undefined,
|
|
3313
|
-
RuleGroupResponse: output.RuleGroupResponse !== undefined && output.RuleGroupResponse !== null
|
|
3215
|
+
RuleGroup: output.RuleGroup != null ? deserializeAws_json1_0RuleGroup(output.RuleGroup, context) : undefined,
|
|
3216
|
+
RuleGroupResponse: output.RuleGroupResponse != null
|
|
3314
3217
|
? deserializeAws_json1_0RuleGroupResponse(output.RuleGroupResponse, context)
|
|
3315
3218
|
: undefined,
|
|
3316
3219
|
UpdateToken: __expectString(output.UpdateToken),
|
|
@@ -3336,9 +3239,7 @@ var deserializeAws_json1_0DisassociateSubnetsResponse = function (output, contex
|
|
|
3336
3239
|
return {
|
|
3337
3240
|
FirewallArn: __expectString(output.FirewallArn),
|
|
3338
3241
|
FirewallName: __expectString(output.FirewallName),
|
|
3339
|
-
SubnetMappings: output.SubnetMappings
|
|
3340
|
-
? deserializeAws_json1_0SubnetMappings(output.SubnetMappings, context)
|
|
3341
|
-
: undefined,
|
|
3242
|
+
SubnetMappings: output.SubnetMappings != null ? deserializeAws_json1_0SubnetMappings(output.SubnetMappings, context) : undefined,
|
|
3342
3243
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3343
3244
|
};
|
|
3344
3245
|
};
|
|
@@ -3352,7 +3253,7 @@ var deserializeAws_json1_0Firewall = function (output, context) {
|
|
|
3352
3253
|
return {
|
|
3353
3254
|
DeleteProtection: __expectBoolean(output.DeleteProtection),
|
|
3354
3255
|
Description: __expectString(output.Description),
|
|
3355
|
-
EncryptionConfiguration: output.EncryptionConfiguration
|
|
3256
|
+
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
3356
3257
|
? deserializeAws_json1_0EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
3357
3258
|
: undefined,
|
|
3358
3259
|
FirewallArn: __expectString(output.FirewallArn),
|
|
@@ -3361,12 +3262,8 @@ var deserializeAws_json1_0Firewall = function (output, context) {
|
|
|
3361
3262
|
FirewallPolicyArn: __expectString(output.FirewallPolicyArn),
|
|
3362
3263
|
FirewallPolicyChangeProtection: __expectBoolean(output.FirewallPolicyChangeProtection),
|
|
3363
3264
|
SubnetChangeProtection: __expectBoolean(output.SubnetChangeProtection),
|
|
3364
|
-
SubnetMappings: output.SubnetMappings
|
|
3365
|
-
|
|
3366
|
-
: undefined,
|
|
3367
|
-
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3368
|
-
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
3369
|
-
: undefined,
|
|
3265
|
+
SubnetMappings: output.SubnetMappings != null ? deserializeAws_json1_0SubnetMappings(output.SubnetMappings, context) : undefined,
|
|
3266
|
+
Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
|
|
3370
3267
|
VpcId: __expectString(output.VpcId),
|
|
3371
3268
|
};
|
|
3372
3269
|
};
|
|
@@ -3389,25 +3286,25 @@ var deserializeAws_json1_0FirewallPolicies = function (output, context) {
|
|
|
3389
3286
|
};
|
|
3390
3287
|
var deserializeAws_json1_0FirewallPolicy = function (output, context) {
|
|
3391
3288
|
return {
|
|
3392
|
-
StatefulDefaultActions: output.StatefulDefaultActions
|
|
3289
|
+
StatefulDefaultActions: output.StatefulDefaultActions != null
|
|
3393
3290
|
? deserializeAws_json1_0StatefulActions(output.StatefulDefaultActions, context)
|
|
3394
3291
|
: undefined,
|
|
3395
|
-
StatefulEngineOptions: output.StatefulEngineOptions
|
|
3292
|
+
StatefulEngineOptions: output.StatefulEngineOptions != null
|
|
3396
3293
|
? deserializeAws_json1_0StatefulEngineOptions(output.StatefulEngineOptions, context)
|
|
3397
3294
|
: undefined,
|
|
3398
|
-
StatefulRuleGroupReferences: output.StatefulRuleGroupReferences
|
|
3295
|
+
StatefulRuleGroupReferences: output.StatefulRuleGroupReferences != null
|
|
3399
3296
|
? deserializeAws_json1_0StatefulRuleGroupReferences(output.StatefulRuleGroupReferences, context)
|
|
3400
3297
|
: undefined,
|
|
3401
|
-
StatelessCustomActions: output.StatelessCustomActions
|
|
3298
|
+
StatelessCustomActions: output.StatelessCustomActions != null
|
|
3402
3299
|
? deserializeAws_json1_0CustomActions(output.StatelessCustomActions, context)
|
|
3403
3300
|
: undefined,
|
|
3404
|
-
StatelessDefaultActions: output.StatelessDefaultActions
|
|
3301
|
+
StatelessDefaultActions: output.StatelessDefaultActions != null
|
|
3405
3302
|
? deserializeAws_json1_0StatelessActions(output.StatelessDefaultActions, context)
|
|
3406
3303
|
: undefined,
|
|
3407
|
-
StatelessFragmentDefaultActions: output.StatelessFragmentDefaultActions
|
|
3304
|
+
StatelessFragmentDefaultActions: output.StatelessFragmentDefaultActions != null
|
|
3408
3305
|
? deserializeAws_json1_0StatelessActions(output.StatelessFragmentDefaultActions, context)
|
|
3409
3306
|
: undefined,
|
|
3410
|
-
StatelessRuleGroupReferences: output.StatelessRuleGroupReferences
|
|
3307
|
+
StatelessRuleGroupReferences: output.StatelessRuleGroupReferences != null
|
|
3411
3308
|
? deserializeAws_json1_0StatelessRuleGroupReferences(output.StatelessRuleGroupReferences, context)
|
|
3412
3309
|
: undefined,
|
|
3413
3310
|
};
|
|
@@ -3423,20 +3320,18 @@ var deserializeAws_json1_0FirewallPolicyResponse = function (output, context) {
|
|
|
3423
3320
|
ConsumedStatefulRuleCapacity: __expectInt32(output.ConsumedStatefulRuleCapacity),
|
|
3424
3321
|
ConsumedStatelessRuleCapacity: __expectInt32(output.ConsumedStatelessRuleCapacity),
|
|
3425
3322
|
Description: __expectString(output.Description),
|
|
3426
|
-
EncryptionConfiguration: output.EncryptionConfiguration
|
|
3323
|
+
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
3427
3324
|
? deserializeAws_json1_0EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
3428
3325
|
: undefined,
|
|
3429
3326
|
FirewallPolicyArn: __expectString(output.FirewallPolicyArn),
|
|
3430
3327
|
FirewallPolicyId: __expectString(output.FirewallPolicyId),
|
|
3431
3328
|
FirewallPolicyName: __expectString(output.FirewallPolicyName),
|
|
3432
3329
|
FirewallPolicyStatus: __expectString(output.FirewallPolicyStatus),
|
|
3433
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3330
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3434
3331
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3435
3332
|
: undefined,
|
|
3436
3333
|
NumberOfAssociations: __expectInt32(output.NumberOfAssociations),
|
|
3437
|
-
Tags: output.Tags
|
|
3438
|
-
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
3439
|
-
: undefined,
|
|
3334
|
+
Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
|
|
3440
3335
|
};
|
|
3441
3336
|
};
|
|
3442
3337
|
var deserializeAws_json1_0Firewalls = function (output, context) {
|
|
@@ -3454,9 +3349,7 @@ var deserializeAws_json1_0FirewallStatus = function (output, context) {
|
|
|
3454
3349
|
return {
|
|
3455
3350
|
ConfigurationSyncStateSummary: __expectString(output.ConfigurationSyncStateSummary),
|
|
3456
3351
|
Status: __expectString(output.Status),
|
|
3457
|
-
SyncStates: output.SyncStates
|
|
3458
|
-
? deserializeAws_json1_0SyncStates(output.SyncStates, context)
|
|
3459
|
-
: undefined,
|
|
3352
|
+
SyncStates: output.SyncStates != null ? deserializeAws_json1_0SyncStates(output.SyncStates, context) : undefined,
|
|
3460
3353
|
};
|
|
3461
3354
|
};
|
|
3462
3355
|
var deserializeAws_json1_0Flags = function (output, context) {
|
|
@@ -3512,9 +3405,7 @@ var deserializeAws_json1_0InvalidTokenException = function (output, context) {
|
|
|
3512
3405
|
};
|
|
3513
3406
|
var deserializeAws_json1_0IPSet = function (output, context) {
|
|
3514
3407
|
return {
|
|
3515
|
-
Definition: output.Definition
|
|
3516
|
-
? deserializeAws_json1_0VariableDefinitionList(output.Definition, context)
|
|
3517
|
-
: undefined,
|
|
3408
|
+
Definition: output.Definition != null ? deserializeAws_json1_0VariableDefinitionList(output.Definition, context) : undefined,
|
|
3518
3409
|
};
|
|
3519
3410
|
};
|
|
3520
3411
|
var deserializeAws_json1_0IPSets = function (output, context) {
|
|
@@ -3534,7 +3425,7 @@ var deserializeAws_json1_0LimitExceededException = function (output, context) {
|
|
|
3534
3425
|
};
|
|
3535
3426
|
var deserializeAws_json1_0ListFirewallPoliciesResponse = function (output, context) {
|
|
3536
3427
|
return {
|
|
3537
|
-
FirewallPolicies: output.FirewallPolicies
|
|
3428
|
+
FirewallPolicies: output.FirewallPolicies != null
|
|
3538
3429
|
? deserializeAws_json1_0FirewallPolicies(output.FirewallPolicies, context)
|
|
3539
3430
|
: undefined,
|
|
3540
3431
|
NextToken: __expectString(output.NextToken),
|
|
@@ -3542,31 +3433,25 @@ var deserializeAws_json1_0ListFirewallPoliciesResponse = function (output, conte
|
|
|
3542
3433
|
};
|
|
3543
3434
|
var deserializeAws_json1_0ListFirewallsResponse = function (output, context) {
|
|
3544
3435
|
return {
|
|
3545
|
-
Firewalls: output.Firewalls
|
|
3546
|
-
? deserializeAws_json1_0Firewalls(output.Firewalls, context)
|
|
3547
|
-
: undefined,
|
|
3436
|
+
Firewalls: output.Firewalls != null ? deserializeAws_json1_0Firewalls(output.Firewalls, context) : undefined,
|
|
3548
3437
|
NextToken: __expectString(output.NextToken),
|
|
3549
3438
|
};
|
|
3550
3439
|
};
|
|
3551
3440
|
var deserializeAws_json1_0ListRuleGroupsResponse = function (output, context) {
|
|
3552
3441
|
return {
|
|
3553
3442
|
NextToken: __expectString(output.NextToken),
|
|
3554
|
-
RuleGroups: output.RuleGroups
|
|
3555
|
-
? deserializeAws_json1_0RuleGroups(output.RuleGroups, context)
|
|
3556
|
-
: undefined,
|
|
3443
|
+
RuleGroups: output.RuleGroups != null ? deserializeAws_json1_0RuleGroups(output.RuleGroups, context) : undefined,
|
|
3557
3444
|
};
|
|
3558
3445
|
};
|
|
3559
3446
|
var deserializeAws_json1_0ListTagsForResourceResponse = function (output, context) {
|
|
3560
3447
|
return {
|
|
3561
3448
|
NextToken: __expectString(output.NextToken),
|
|
3562
|
-
Tags: output.Tags
|
|
3563
|
-
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
3564
|
-
: undefined,
|
|
3449
|
+
Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
|
|
3565
3450
|
};
|
|
3566
3451
|
};
|
|
3567
3452
|
var deserializeAws_json1_0LogDestinationConfig = function (output, context) {
|
|
3568
3453
|
return {
|
|
3569
|
-
LogDestination: output.LogDestination
|
|
3454
|
+
LogDestination: output.LogDestination != null
|
|
3570
3455
|
? deserializeAws_json1_0LogDestinationMap(output.LogDestination, context)
|
|
3571
3456
|
: undefined,
|
|
3572
3457
|
LogDestinationType: __expectString(output.LogDestinationType),
|
|
@@ -3601,31 +3486,19 @@ var deserializeAws_json1_0LogDestinationPermissionException = function (output,
|
|
|
3601
3486
|
};
|
|
3602
3487
|
var deserializeAws_json1_0LoggingConfiguration = function (output, context) {
|
|
3603
3488
|
return {
|
|
3604
|
-
LogDestinationConfigs: output.LogDestinationConfigs
|
|
3489
|
+
LogDestinationConfigs: output.LogDestinationConfigs != null
|
|
3605
3490
|
? deserializeAws_json1_0LogDestinationConfigs(output.LogDestinationConfigs, context)
|
|
3606
3491
|
: undefined,
|
|
3607
3492
|
};
|
|
3608
3493
|
};
|
|
3609
3494
|
var deserializeAws_json1_0MatchAttributes = function (output, context) {
|
|
3610
3495
|
return {
|
|
3611
|
-
DestinationPorts: output.DestinationPorts
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
Protocols: output.Protocols !== undefined && output.Protocols !== null
|
|
3618
|
-
? deserializeAws_json1_0ProtocolNumbers(output.Protocols, context)
|
|
3619
|
-
: undefined,
|
|
3620
|
-
SourcePorts: output.SourcePorts !== undefined && output.SourcePorts !== null
|
|
3621
|
-
? deserializeAws_json1_0PortRanges(output.SourcePorts, context)
|
|
3622
|
-
: undefined,
|
|
3623
|
-
Sources: output.Sources !== undefined && output.Sources !== null
|
|
3624
|
-
? deserializeAws_json1_0Addresses(output.Sources, context)
|
|
3625
|
-
: undefined,
|
|
3626
|
-
TCPFlags: output.TCPFlags !== undefined && output.TCPFlags !== null
|
|
3627
|
-
? deserializeAws_json1_0TCPFlags(output.TCPFlags, context)
|
|
3628
|
-
: undefined,
|
|
3496
|
+
DestinationPorts: output.DestinationPorts != null ? deserializeAws_json1_0PortRanges(output.DestinationPorts, context) : undefined,
|
|
3497
|
+
Destinations: output.Destinations != null ? deserializeAws_json1_0Addresses(output.Destinations, context) : undefined,
|
|
3498
|
+
Protocols: output.Protocols != null ? deserializeAws_json1_0ProtocolNumbers(output.Protocols, context) : undefined,
|
|
3499
|
+
SourcePorts: output.SourcePorts != null ? deserializeAws_json1_0PortRanges(output.SourcePorts, context) : undefined,
|
|
3500
|
+
Sources: output.Sources != null ? deserializeAws_json1_0Addresses(output.Sources, context) : undefined,
|
|
3501
|
+
TCPFlags: output.TCPFlags != null ? deserializeAws_json1_0TCPFlags(output.TCPFlags, context) : undefined,
|
|
3629
3502
|
};
|
|
3630
3503
|
};
|
|
3631
3504
|
var deserializeAws_json1_0PerObjectStatus = function (output, context) {
|
|
@@ -3653,9 +3526,7 @@ var deserializeAws_json1_0PortRanges = function (output, context) {
|
|
|
3653
3526
|
};
|
|
3654
3527
|
var deserializeAws_json1_0PortSet = function (output, context) {
|
|
3655
3528
|
return {
|
|
3656
|
-
Definition: output.Definition
|
|
3657
|
-
? deserializeAws_json1_0VariableDefinitionList(output.Definition, context)
|
|
3658
|
-
: undefined,
|
|
3529
|
+
Definition: output.Definition != null ? deserializeAws_json1_0VariableDefinitionList(output.Definition, context) : undefined,
|
|
3659
3530
|
};
|
|
3660
3531
|
};
|
|
3661
3532
|
var deserializeAws_json1_0PortSets = function (output, context) {
|
|
@@ -3681,9 +3552,7 @@ var deserializeAws_json1_0ProtocolNumbers = function (output, context) {
|
|
|
3681
3552
|
};
|
|
3682
3553
|
var deserializeAws_json1_0PublishMetricAction = function (output, context) {
|
|
3683
3554
|
return {
|
|
3684
|
-
Dimensions: output.Dimensions
|
|
3685
|
-
? deserializeAws_json1_0Dimensions(output.Dimensions, context)
|
|
3686
|
-
: undefined,
|
|
3555
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_0Dimensions(output.Dimensions, context) : undefined,
|
|
3687
3556
|
};
|
|
3688
3557
|
};
|
|
3689
3558
|
var deserializeAws_json1_0PutResourcePolicyResponse = function (output, context) {
|
|
@@ -3701,23 +3570,17 @@ var deserializeAws_json1_0ResourceOwnerCheckException = function (output, contex
|
|
|
3701
3570
|
};
|
|
3702
3571
|
var deserializeAws_json1_0RuleDefinition = function (output, context) {
|
|
3703
3572
|
return {
|
|
3704
|
-
Actions: output.Actions
|
|
3705
|
-
|
|
3706
|
-
: undefined,
|
|
3707
|
-
MatchAttributes: output.MatchAttributes !== undefined && output.MatchAttributes !== null
|
|
3573
|
+
Actions: output.Actions != null ? deserializeAws_json1_0StatelessActions(output.Actions, context) : undefined,
|
|
3574
|
+
MatchAttributes: output.MatchAttributes != null
|
|
3708
3575
|
? deserializeAws_json1_0MatchAttributes(output.MatchAttributes, context)
|
|
3709
3576
|
: undefined,
|
|
3710
3577
|
};
|
|
3711
3578
|
};
|
|
3712
3579
|
var deserializeAws_json1_0RuleGroup = function (output, context) {
|
|
3713
3580
|
return {
|
|
3714
|
-
RuleVariables: output.RuleVariables
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
RulesSource: output.RulesSource !== undefined && output.RulesSource !== null
|
|
3718
|
-
? deserializeAws_json1_0RulesSource(output.RulesSource, context)
|
|
3719
|
-
: undefined,
|
|
3720
|
-
StatefulRuleOptions: output.StatefulRuleOptions !== undefined && output.StatefulRuleOptions !== null
|
|
3581
|
+
RuleVariables: output.RuleVariables != null ? deserializeAws_json1_0RuleVariables(output.RuleVariables, context) : undefined,
|
|
3582
|
+
RulesSource: output.RulesSource != null ? deserializeAws_json1_0RulesSource(output.RulesSource, context) : undefined,
|
|
3583
|
+
StatefulRuleOptions: output.StatefulRuleOptions != null
|
|
3721
3584
|
? deserializeAws_json1_0StatefulRuleOptions(output.StatefulRuleOptions, context)
|
|
3722
3585
|
: undefined,
|
|
3723
3586
|
};
|
|
@@ -3733,10 +3596,10 @@ var deserializeAws_json1_0RuleGroupResponse = function (output, context) {
|
|
|
3733
3596
|
Capacity: __expectInt32(output.Capacity),
|
|
3734
3597
|
ConsumedCapacity: __expectInt32(output.ConsumedCapacity),
|
|
3735
3598
|
Description: __expectString(output.Description),
|
|
3736
|
-
EncryptionConfiguration: output.EncryptionConfiguration
|
|
3599
|
+
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
3737
3600
|
? deserializeAws_json1_0EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
3738
3601
|
: undefined,
|
|
3739
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3602
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3740
3603
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3741
3604
|
: undefined,
|
|
3742
3605
|
NumberOfAssociations: __expectInt32(output.NumberOfAssociations),
|
|
@@ -3745,12 +3608,8 @@ var deserializeAws_json1_0RuleGroupResponse = function (output, context) {
|
|
|
3745
3608
|
RuleGroupName: __expectString(output.RuleGroupName),
|
|
3746
3609
|
RuleGroupStatus: __expectString(output.RuleGroupStatus),
|
|
3747
3610
|
SnsTopic: __expectString(output.SnsTopic),
|
|
3748
|
-
SourceMetadata: output.SourceMetadata
|
|
3749
|
-
|
|
3750
|
-
: undefined,
|
|
3751
|
-
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3752
|
-
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
3753
|
-
: undefined,
|
|
3611
|
+
SourceMetadata: output.SourceMetadata != null ? deserializeAws_json1_0SourceMetadata(output.SourceMetadata, context) : undefined,
|
|
3612
|
+
Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
|
|
3754
3613
|
Type: __expectString(output.Type),
|
|
3755
3614
|
};
|
|
3756
3615
|
};
|
|
@@ -3768,9 +3627,7 @@ var deserializeAws_json1_0RuleGroups = function (output, context) {
|
|
|
3768
3627
|
var deserializeAws_json1_0RuleOption = function (output, context) {
|
|
3769
3628
|
return {
|
|
3770
3629
|
Keyword: __expectString(output.Keyword),
|
|
3771
|
-
Settings: output.Settings
|
|
3772
|
-
? deserializeAws_json1_0Settings(output.Settings, context)
|
|
3773
|
-
: undefined,
|
|
3630
|
+
Settings: output.Settings != null ? deserializeAws_json1_0Settings(output.Settings, context) : undefined,
|
|
3774
3631
|
};
|
|
3775
3632
|
};
|
|
3776
3633
|
var deserializeAws_json1_0RuleOptions = function (output, context) {
|
|
@@ -3786,14 +3643,12 @@ var deserializeAws_json1_0RuleOptions = function (output, context) {
|
|
|
3786
3643
|
};
|
|
3787
3644
|
var deserializeAws_json1_0RulesSource = function (output, context) {
|
|
3788
3645
|
return {
|
|
3789
|
-
RulesSourceList: output.RulesSourceList
|
|
3646
|
+
RulesSourceList: output.RulesSourceList != null
|
|
3790
3647
|
? deserializeAws_json1_0RulesSourceList(output.RulesSourceList, context)
|
|
3791
3648
|
: undefined,
|
|
3792
3649
|
RulesString: __expectString(output.RulesString),
|
|
3793
|
-
StatefulRules: output.StatefulRules
|
|
3794
|
-
|
|
3795
|
-
: undefined,
|
|
3796
|
-
StatelessRulesAndCustomActions: output.StatelessRulesAndCustomActions !== undefined && output.StatelessRulesAndCustomActions !== null
|
|
3650
|
+
StatefulRules: output.StatefulRules != null ? deserializeAws_json1_0StatefulRules(output.StatefulRules, context) : undefined,
|
|
3651
|
+
StatelessRulesAndCustomActions: output.StatelessRulesAndCustomActions != null
|
|
3797
3652
|
? deserializeAws_json1_0StatelessRulesAndCustomActions(output.StatelessRulesAndCustomActions, context)
|
|
3798
3653
|
: undefined,
|
|
3799
3654
|
};
|
|
@@ -3801,12 +3656,8 @@ var deserializeAws_json1_0RulesSource = function (output, context) {
|
|
|
3801
3656
|
var deserializeAws_json1_0RulesSourceList = function (output, context) {
|
|
3802
3657
|
return {
|
|
3803
3658
|
GeneratedRulesType: __expectString(output.GeneratedRulesType),
|
|
3804
|
-
TargetTypes: output.TargetTypes
|
|
3805
|
-
|
|
3806
|
-
: undefined,
|
|
3807
|
-
Targets: output.Targets !== undefined && output.Targets !== null
|
|
3808
|
-
? deserializeAws_json1_0RuleTargets(output.Targets, context)
|
|
3809
|
-
: undefined,
|
|
3659
|
+
TargetTypes: output.TargetTypes != null ? deserializeAws_json1_0TargetTypes(output.TargetTypes, context) : undefined,
|
|
3660
|
+
Targets: output.Targets != null ? deserializeAws_json1_0RuleTargets(output.Targets, context) : undefined,
|
|
3810
3661
|
};
|
|
3811
3662
|
};
|
|
3812
3663
|
var deserializeAws_json1_0RuleTargets = function (output, context) {
|
|
@@ -3822,12 +3673,8 @@ var deserializeAws_json1_0RuleTargets = function (output, context) {
|
|
|
3822
3673
|
};
|
|
3823
3674
|
var deserializeAws_json1_0RuleVariables = function (output, context) {
|
|
3824
3675
|
return {
|
|
3825
|
-
IPSets: output.IPSets
|
|
3826
|
-
|
|
3827
|
-
: undefined,
|
|
3828
|
-
PortSets: output.PortSets !== undefined && output.PortSets !== null
|
|
3829
|
-
? deserializeAws_json1_0PortSets(output.PortSets, context)
|
|
3830
|
-
: undefined,
|
|
3676
|
+
IPSets: output.IPSets != null ? deserializeAws_json1_0IPSets(output.IPSets, context) : undefined,
|
|
3677
|
+
PortSets: output.PortSets != null ? deserializeAws_json1_0PortSets(output.PortSets, context) : undefined,
|
|
3831
3678
|
};
|
|
3832
3679
|
};
|
|
3833
3680
|
var deserializeAws_json1_0Settings = function (output, context) {
|
|
@@ -3866,12 +3713,8 @@ var deserializeAws_json1_0StatefulEngineOptions = function (output, context) {
|
|
|
3866
3713
|
var deserializeAws_json1_0StatefulRule = function (output, context) {
|
|
3867
3714
|
return {
|
|
3868
3715
|
Action: __expectString(output.Action),
|
|
3869
|
-
Header: output.Header
|
|
3870
|
-
|
|
3871
|
-
: undefined,
|
|
3872
|
-
RuleOptions: output.RuleOptions !== undefined && output.RuleOptions !== null
|
|
3873
|
-
? deserializeAws_json1_0RuleOptions(output.RuleOptions, context)
|
|
3874
|
-
: undefined,
|
|
3716
|
+
Header: output.Header != null ? deserializeAws_json1_0Header(output.Header, context) : undefined,
|
|
3717
|
+
RuleOptions: output.RuleOptions != null ? deserializeAws_json1_0RuleOptions(output.RuleOptions, context) : undefined,
|
|
3875
3718
|
};
|
|
3876
3719
|
};
|
|
3877
3720
|
var deserializeAws_json1_0StatefulRuleGroupOverride = function (output, context) {
|
|
@@ -3881,9 +3724,7 @@ var deserializeAws_json1_0StatefulRuleGroupOverride = function (output, context)
|
|
|
3881
3724
|
};
|
|
3882
3725
|
var deserializeAws_json1_0StatefulRuleGroupReference = function (output, context) {
|
|
3883
3726
|
return {
|
|
3884
|
-
Override: output.Override
|
|
3885
|
-
? deserializeAws_json1_0StatefulRuleGroupOverride(output.Override, context)
|
|
3886
|
-
: undefined,
|
|
3727
|
+
Override: output.Override != null ? deserializeAws_json1_0StatefulRuleGroupOverride(output.Override, context) : undefined,
|
|
3887
3728
|
Priority: __expectInt32(output.Priority),
|
|
3888
3729
|
ResourceArn: __expectString(output.ResourceArn),
|
|
3889
3730
|
};
|
|
@@ -3929,9 +3770,7 @@ var deserializeAws_json1_0StatelessActions = function (output, context) {
|
|
|
3929
3770
|
var deserializeAws_json1_0StatelessRule = function (output, context) {
|
|
3930
3771
|
return {
|
|
3931
3772
|
Priority: __expectInt32(output.Priority),
|
|
3932
|
-
RuleDefinition: output.RuleDefinition
|
|
3933
|
-
? deserializeAws_json1_0RuleDefinition(output.RuleDefinition, context)
|
|
3934
|
-
: undefined,
|
|
3773
|
+
RuleDefinition: output.RuleDefinition != null ? deserializeAws_json1_0RuleDefinition(output.RuleDefinition, context) : undefined,
|
|
3935
3774
|
};
|
|
3936
3775
|
};
|
|
3937
3776
|
var deserializeAws_json1_0StatelessRuleGroupReference = function (output, context) {
|
|
@@ -3964,12 +3803,8 @@ var deserializeAws_json1_0StatelessRules = function (output, context) {
|
|
|
3964
3803
|
};
|
|
3965
3804
|
var deserializeAws_json1_0StatelessRulesAndCustomActions = function (output, context) {
|
|
3966
3805
|
return {
|
|
3967
|
-
CustomActions: output.CustomActions
|
|
3968
|
-
|
|
3969
|
-
: undefined,
|
|
3970
|
-
StatelessRules: output.StatelessRules !== undefined && output.StatelessRules !== null
|
|
3971
|
-
? deserializeAws_json1_0StatelessRules(output.StatelessRules, context)
|
|
3972
|
-
: undefined,
|
|
3806
|
+
CustomActions: output.CustomActions != null ? deserializeAws_json1_0CustomActions(output.CustomActions, context) : undefined,
|
|
3807
|
+
StatelessRules: output.StatelessRules != null ? deserializeAws_json1_0StatelessRules(output.StatelessRules, context) : undefined,
|
|
3973
3808
|
};
|
|
3974
3809
|
};
|
|
3975
3810
|
var deserializeAws_json1_0SubnetMapping = function (output, context) {
|
|
@@ -3990,12 +3825,8 @@ var deserializeAws_json1_0SubnetMappings = function (output, context) {
|
|
|
3990
3825
|
};
|
|
3991
3826
|
var deserializeAws_json1_0SyncState = function (output, context) {
|
|
3992
3827
|
return {
|
|
3993
|
-
Attachment: output.Attachment
|
|
3994
|
-
|
|
3995
|
-
: undefined,
|
|
3996
|
-
Config: output.Config !== undefined && output.Config !== null
|
|
3997
|
-
? deserializeAws_json1_0SyncStateConfig(output.Config, context)
|
|
3998
|
-
: undefined,
|
|
3828
|
+
Attachment: output.Attachment != null ? deserializeAws_json1_0Attachment(output.Attachment, context) : undefined,
|
|
3829
|
+
Config: output.Config != null ? deserializeAws_json1_0SyncStateConfig(output.Config, context) : undefined,
|
|
3999
3830
|
};
|
|
4000
3831
|
};
|
|
4001
3832
|
var deserializeAws_json1_0SyncStateConfig = function (output, context) {
|
|
@@ -4051,12 +3882,8 @@ var deserializeAws_json1_0TargetTypes = function (output, context) {
|
|
|
4051
3882
|
};
|
|
4052
3883
|
var deserializeAws_json1_0TCPFlagField = function (output, context) {
|
|
4053
3884
|
return {
|
|
4054
|
-
Flags: output.Flags
|
|
4055
|
-
|
|
4056
|
-
: undefined,
|
|
4057
|
-
Masks: output.Masks !== undefined && output.Masks !== null
|
|
4058
|
-
? deserializeAws_json1_0Flags(output.Masks, context)
|
|
4059
|
-
: undefined,
|
|
3885
|
+
Flags: output.Flags != null ? deserializeAws_json1_0Flags(output.Flags, context) : undefined,
|
|
3886
|
+
Masks: output.Masks != null ? deserializeAws_json1_0Flags(output.Masks, context) : undefined,
|
|
4060
3887
|
};
|
|
4061
3888
|
};
|
|
4062
3889
|
var deserializeAws_json1_0TCPFlags = function (output, context) {
|
|
@@ -4101,7 +3928,7 @@ var deserializeAws_json1_0UpdateFirewallDescriptionResponse = function (output,
|
|
|
4101
3928
|
};
|
|
4102
3929
|
var deserializeAws_json1_0UpdateFirewallEncryptionConfigurationResponse = function (output, context) {
|
|
4103
3930
|
return {
|
|
4104
|
-
EncryptionConfiguration: output.EncryptionConfiguration
|
|
3931
|
+
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
4105
3932
|
? deserializeAws_json1_0EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
4106
3933
|
: undefined,
|
|
4107
3934
|
FirewallArn: __expectString(output.FirewallArn),
|
|
@@ -4119,7 +3946,7 @@ var deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionResponse = functio
|
|
|
4119
3946
|
};
|
|
4120
3947
|
var deserializeAws_json1_0UpdateFirewallPolicyResponse = function (output, context) {
|
|
4121
3948
|
return {
|
|
4122
|
-
FirewallPolicyResponse: output.FirewallPolicyResponse
|
|
3949
|
+
FirewallPolicyResponse: output.FirewallPolicyResponse != null
|
|
4123
3950
|
? deserializeAws_json1_0FirewallPolicyResponse(output.FirewallPolicyResponse, context)
|
|
4124
3951
|
: undefined,
|
|
4125
3952
|
UpdateToken: __expectString(output.UpdateToken),
|
|
@@ -4129,14 +3956,14 @@ var deserializeAws_json1_0UpdateLoggingConfigurationResponse = function (output,
|
|
|
4129
3956
|
return {
|
|
4130
3957
|
FirewallArn: __expectString(output.FirewallArn),
|
|
4131
3958
|
FirewallName: __expectString(output.FirewallName),
|
|
4132
|
-
LoggingConfiguration: output.LoggingConfiguration
|
|
3959
|
+
LoggingConfiguration: output.LoggingConfiguration != null
|
|
4133
3960
|
? deserializeAws_json1_0LoggingConfiguration(output.LoggingConfiguration, context)
|
|
4134
3961
|
: undefined,
|
|
4135
3962
|
};
|
|
4136
3963
|
};
|
|
4137
3964
|
var deserializeAws_json1_0UpdateRuleGroupResponse = function (output, context) {
|
|
4138
3965
|
return {
|
|
4139
|
-
RuleGroupResponse: output.RuleGroupResponse
|
|
3966
|
+
RuleGroupResponse: output.RuleGroupResponse != null
|
|
4140
3967
|
? deserializeAws_json1_0RuleGroupResponse(output.RuleGroupResponse, context)
|
|
4141
3968
|
: undefined,
|
|
4142
3969
|
UpdateToken: __expectString(output.UpdateToken),
|
|
@@ -4217,6 +4044,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
4217
4044
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
4218
4045
|
var sanitizeErrorCode = function (rawValue) {
|
|
4219
4046
|
var cleanValue = rawValue;
|
|
4047
|
+
if (typeof cleanValue === "number") {
|
|
4048
|
+
cleanValue = cleanValue.toString();
|
|
4049
|
+
}
|
|
4220
4050
|
if (cleanValue.indexOf(":") >= 0) {
|
|
4221
4051
|
cleanValue = cleanValue.split(":")[0];
|
|
4222
4052
|
}
|