@aws-sdk/client-network-firewall 3.54.1 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/NetworkFirewallClient.js +13 -13
- package/dist-cjs/commands/AssociateFirewallPolicyCommand.js +3 -3
- package/dist-cjs/commands/AssociateSubnetsCommand.js +3 -3
- package/dist-cjs/commands/CreateFirewallCommand.js +3 -3
- package/dist-cjs/commands/CreateFirewallPolicyCommand.js +3 -3
- package/dist-cjs/commands/CreateRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteFirewallCommand.js +3 -3
- package/dist-cjs/commands/DeleteFirewallPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/DescribeFirewallCommand.js +3 -3
- package/dist-cjs/commands/DescribeFirewallPolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/DescribeRuleGroupMetadataCommand.js +3 -3
- package/dist-cjs/commands/DisassociateSubnetsCommand.js +3 -3
- package/dist-cjs/commands/ListFirewallPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListFirewallsCommand.js +3 -3
- package/dist-cjs/commands/ListRuleGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateFirewallDeleteProtectionCommand.js +3 -3
- package/dist-cjs/commands/UpdateFirewallDescriptionCommand.js +3 -3
- package/dist-cjs/commands/UpdateFirewallPolicyChangeProtectionCommand.js +3 -3
- package/dist-cjs/commands/UpdateFirewallPolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/UpdateSubnetChangeProtectionCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_0.js +176 -176
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/NetworkFirewall.js +30 -30
- package/dist-es/pagination/ListFirewallPoliciesPaginator.js +4 -4
- package/dist-es/pagination/ListFirewallsPaginator.js +4 -4
- package/dist-es/pagination/ListRuleGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -354,7 +354,7 @@ const deserializeAws_json1_0AssociateFirewallPolicyCommandError = async (output,
|
|
|
354
354
|
$fault: "client",
|
|
355
355
|
$metadata: deserializeMetadata(output),
|
|
356
356
|
});
|
|
357
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
357
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
360
|
const deserializeAws_json1_0AssociateSubnetsCommand = async (output, context) => {
|
|
@@ -408,7 +408,7 @@ const deserializeAws_json1_0AssociateSubnetsCommandError = async (output, contex
|
|
|
408
408
|
$fault: "client",
|
|
409
409
|
$metadata: deserializeMetadata(output),
|
|
410
410
|
});
|
|
411
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
411
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
412
412
|
}
|
|
413
413
|
};
|
|
414
414
|
const deserializeAws_json1_0CreateFirewallCommand = async (output, context) => {
|
|
@@ -459,7 +459,7 @@ const deserializeAws_json1_0CreateFirewallCommandError = async (output, context)
|
|
|
459
459
|
$fault: "client",
|
|
460
460
|
$metadata: deserializeMetadata(output),
|
|
461
461
|
});
|
|
462
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
462
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
463
463
|
}
|
|
464
464
|
};
|
|
465
465
|
const deserializeAws_json1_0CreateFirewallPolicyCommand = async (output, context) => {
|
|
@@ -507,7 +507,7 @@ const deserializeAws_json1_0CreateFirewallPolicyCommandError = async (output, co
|
|
|
507
507
|
$fault: "client",
|
|
508
508
|
$metadata: deserializeMetadata(output),
|
|
509
509
|
});
|
|
510
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
510
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
511
511
|
}
|
|
512
512
|
};
|
|
513
513
|
const deserializeAws_json1_0CreateRuleGroupCommand = async (output, context) => {
|
|
@@ -555,7 +555,7 @@ const deserializeAws_json1_0CreateRuleGroupCommandError = async (output, context
|
|
|
555
555
|
$fault: "client",
|
|
556
556
|
$metadata: deserializeMetadata(output),
|
|
557
557
|
});
|
|
558
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
558
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
559
559
|
}
|
|
560
560
|
};
|
|
561
561
|
const deserializeAws_json1_0DeleteFirewallCommand = async (output, context) => {
|
|
@@ -606,7 +606,7 @@ const deserializeAws_json1_0DeleteFirewallCommandError = async (output, context)
|
|
|
606
606
|
$fault: "client",
|
|
607
607
|
$metadata: deserializeMetadata(output),
|
|
608
608
|
});
|
|
609
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
609
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
610
610
|
}
|
|
611
611
|
};
|
|
612
612
|
const deserializeAws_json1_0DeleteFirewallPolicyCommand = async (output, context) => {
|
|
@@ -657,7 +657,7 @@ const deserializeAws_json1_0DeleteFirewallPolicyCommandError = async (output, co
|
|
|
657
657
|
$fault: "client",
|
|
658
658
|
$metadata: deserializeMetadata(output),
|
|
659
659
|
});
|
|
660
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
660
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
661
661
|
}
|
|
662
662
|
};
|
|
663
663
|
const deserializeAws_json1_0DeleteResourcePolicyCommand = async (output, context) => {
|
|
@@ -705,7 +705,7 @@ const deserializeAws_json1_0DeleteResourcePolicyCommandError = async (output, co
|
|
|
705
705
|
$fault: "client",
|
|
706
706
|
$metadata: deserializeMetadata(output),
|
|
707
707
|
});
|
|
708
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
708
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
709
709
|
}
|
|
710
710
|
};
|
|
711
711
|
const deserializeAws_json1_0DeleteRuleGroupCommand = async (output, context) => {
|
|
@@ -756,7 +756,7 @@ const deserializeAws_json1_0DeleteRuleGroupCommandError = async (output, context
|
|
|
756
756
|
$fault: "client",
|
|
757
757
|
$metadata: deserializeMetadata(output),
|
|
758
758
|
});
|
|
759
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
759
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
760
760
|
}
|
|
761
761
|
};
|
|
762
762
|
const deserializeAws_json1_0DescribeFirewallCommand = async (output, context) => {
|
|
@@ -801,7 +801,7 @@ const deserializeAws_json1_0DescribeFirewallCommandError = async (output, contex
|
|
|
801
801
|
$fault: "client",
|
|
802
802
|
$metadata: deserializeMetadata(output),
|
|
803
803
|
});
|
|
804
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
804
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
805
805
|
}
|
|
806
806
|
};
|
|
807
807
|
const deserializeAws_json1_0DescribeFirewallPolicyCommand = async (output, context) => {
|
|
@@ -846,7 +846,7 @@ const deserializeAws_json1_0DescribeFirewallPolicyCommandError = async (output,
|
|
|
846
846
|
$fault: "client",
|
|
847
847
|
$metadata: deserializeMetadata(output),
|
|
848
848
|
});
|
|
849
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
849
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
850
850
|
}
|
|
851
851
|
};
|
|
852
852
|
const deserializeAws_json1_0DescribeLoggingConfigurationCommand = async (output, context) => {
|
|
@@ -891,7 +891,7 @@ const deserializeAws_json1_0DescribeLoggingConfigurationCommandError = async (ou
|
|
|
891
891
|
$fault: "client",
|
|
892
892
|
$metadata: deserializeMetadata(output),
|
|
893
893
|
});
|
|
894
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
894
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
895
895
|
}
|
|
896
896
|
};
|
|
897
897
|
const deserializeAws_json1_0DescribeResourcePolicyCommand = async (output, context) => {
|
|
@@ -936,7 +936,7 @@ const deserializeAws_json1_0DescribeResourcePolicyCommandError = async (output,
|
|
|
936
936
|
$fault: "client",
|
|
937
937
|
$metadata: deserializeMetadata(output),
|
|
938
938
|
});
|
|
939
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
939
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
940
940
|
}
|
|
941
941
|
};
|
|
942
942
|
const deserializeAws_json1_0DescribeRuleGroupCommand = async (output, context) => {
|
|
@@ -981,7 +981,7 @@ const deserializeAws_json1_0DescribeRuleGroupCommandError = async (output, conte
|
|
|
981
981
|
$fault: "client",
|
|
982
982
|
$metadata: deserializeMetadata(output),
|
|
983
983
|
});
|
|
984
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
984
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
985
985
|
}
|
|
986
986
|
};
|
|
987
987
|
const deserializeAws_json1_0DescribeRuleGroupMetadataCommand = async (output, context) => {
|
|
@@ -1026,7 +1026,7 @@ const deserializeAws_json1_0DescribeRuleGroupMetadataCommandError = async (outpu
|
|
|
1026
1026
|
$fault: "client",
|
|
1027
1027
|
$metadata: deserializeMetadata(output),
|
|
1028
1028
|
});
|
|
1029
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1029
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1030
1030
|
}
|
|
1031
1031
|
};
|
|
1032
1032
|
const deserializeAws_json1_0DisassociateSubnetsCommand = async (output, context) => {
|
|
@@ -1077,7 +1077,7 @@ const deserializeAws_json1_0DisassociateSubnetsCommandError = async (output, con
|
|
|
1077
1077
|
$fault: "client",
|
|
1078
1078
|
$metadata: deserializeMetadata(output),
|
|
1079
1079
|
});
|
|
1080
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1080
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1081
1081
|
}
|
|
1082
1082
|
};
|
|
1083
1083
|
const deserializeAws_json1_0ListFirewallPoliciesCommand = async (output, context) => {
|
|
@@ -1119,7 +1119,7 @@ const deserializeAws_json1_0ListFirewallPoliciesCommandError = async (output, co
|
|
|
1119
1119
|
$fault: "client",
|
|
1120
1120
|
$metadata: deserializeMetadata(output),
|
|
1121
1121
|
});
|
|
1122
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1122
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1123
1123
|
}
|
|
1124
1124
|
};
|
|
1125
1125
|
const deserializeAws_json1_0ListFirewallsCommand = async (output, context) => {
|
|
@@ -1161,7 +1161,7 @@ const deserializeAws_json1_0ListFirewallsCommandError = async (output, context)
|
|
|
1161
1161
|
$fault: "client",
|
|
1162
1162
|
$metadata: deserializeMetadata(output),
|
|
1163
1163
|
});
|
|
1164
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1164
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1165
1165
|
}
|
|
1166
1166
|
};
|
|
1167
1167
|
const deserializeAws_json1_0ListRuleGroupsCommand = async (output, context) => {
|
|
@@ -1203,7 +1203,7 @@ const deserializeAws_json1_0ListRuleGroupsCommandError = async (output, context)
|
|
|
1203
1203
|
$fault: "client",
|
|
1204
1204
|
$metadata: deserializeMetadata(output),
|
|
1205
1205
|
});
|
|
1206
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1206
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1207
1207
|
}
|
|
1208
1208
|
};
|
|
1209
1209
|
const deserializeAws_json1_0ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1248,7 +1248,7 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
1248
1248
|
$fault: "client",
|
|
1249
1249
|
$metadata: deserializeMetadata(output),
|
|
1250
1250
|
});
|
|
1251
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1251
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1252
1252
|
}
|
|
1253
1253
|
};
|
|
1254
1254
|
const deserializeAws_json1_0PutResourcePolicyCommand = async (output, context) => {
|
|
@@ -1296,7 +1296,7 @@ const deserializeAws_json1_0PutResourcePolicyCommandError = async (output, conte
|
|
|
1296
1296
|
$fault: "client",
|
|
1297
1297
|
$metadata: deserializeMetadata(output),
|
|
1298
1298
|
});
|
|
1299
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1299
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1300
1300
|
}
|
|
1301
1301
|
};
|
|
1302
1302
|
const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
|
|
@@ -1341,7 +1341,7 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
1341
1341
|
$fault: "client",
|
|
1342
1342
|
$metadata: deserializeMetadata(output),
|
|
1343
1343
|
});
|
|
1344
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1344
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1345
1345
|
}
|
|
1346
1346
|
};
|
|
1347
1347
|
const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
|
|
@@ -1386,7 +1386,7 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
1386
1386
|
$fault: "client",
|
|
1387
1387
|
$metadata: deserializeMetadata(output),
|
|
1388
1388
|
});
|
|
1389
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1389
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1390
1390
|
}
|
|
1391
1391
|
};
|
|
1392
1392
|
const deserializeAws_json1_0UpdateFirewallDeleteProtectionCommand = async (output, context) => {
|
|
@@ -1437,7 +1437,7 @@ const deserializeAws_json1_0UpdateFirewallDeleteProtectionCommandError = async (
|
|
|
1437
1437
|
$fault: "client",
|
|
1438
1438
|
$metadata: deserializeMetadata(output),
|
|
1439
1439
|
});
|
|
1440
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1440
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1441
1441
|
}
|
|
1442
1442
|
};
|
|
1443
1443
|
const deserializeAws_json1_0UpdateFirewallDescriptionCommand = async (output, context) => {
|
|
@@ -1485,7 +1485,7 @@ const deserializeAws_json1_0UpdateFirewallDescriptionCommandError = async (outpu
|
|
|
1485
1485
|
$fault: "client",
|
|
1486
1486
|
$metadata: deserializeMetadata(output),
|
|
1487
1487
|
});
|
|
1488
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1488
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1489
1489
|
}
|
|
1490
1490
|
};
|
|
1491
1491
|
const deserializeAws_json1_0UpdateFirewallPolicyCommand = async (output, context) => {
|
|
@@ -1533,7 +1533,7 @@ const deserializeAws_json1_0UpdateFirewallPolicyCommandError = async (output, co
|
|
|
1533
1533
|
$fault: "client",
|
|
1534
1534
|
$metadata: deserializeMetadata(output),
|
|
1535
1535
|
});
|
|
1536
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1536
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1537
1537
|
}
|
|
1538
1538
|
};
|
|
1539
1539
|
const deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand = async (output, context) => {
|
|
@@ -1584,7 +1584,7 @@ const deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommandError = a
|
|
|
1584
1584
|
$fault: "client",
|
|
1585
1585
|
$metadata: deserializeMetadata(output),
|
|
1586
1586
|
});
|
|
1587
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1587
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1588
1588
|
}
|
|
1589
1589
|
};
|
|
1590
1590
|
const deserializeAws_json1_0UpdateLoggingConfigurationCommand = async (output, context) => {
|
|
@@ -1635,7 +1635,7 @@ const deserializeAws_json1_0UpdateLoggingConfigurationCommandError = async (outp
|
|
|
1635
1635
|
$fault: "client",
|
|
1636
1636
|
$metadata: deserializeMetadata(output),
|
|
1637
1637
|
});
|
|
1638
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1638
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1639
1639
|
}
|
|
1640
1640
|
};
|
|
1641
1641
|
const deserializeAws_json1_0UpdateRuleGroupCommand = async (output, context) => {
|
|
@@ -1683,7 +1683,7 @@ const deserializeAws_json1_0UpdateRuleGroupCommandError = async (output, context
|
|
|
1683
1683
|
$fault: "client",
|
|
1684
1684
|
$metadata: deserializeMetadata(output),
|
|
1685
1685
|
});
|
|
1686
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1686
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1687
1687
|
}
|
|
1688
1688
|
};
|
|
1689
1689
|
const deserializeAws_json1_0UpdateSubnetChangeProtectionCommand = async (output, context) => {
|
|
@@ -1734,7 +1734,7 @@ const deserializeAws_json1_0UpdateSubnetChangeProtectionCommandError = async (ou
|
|
|
1734
1734
|
$fault: "client",
|
|
1735
1735
|
$metadata: deserializeMetadata(output),
|
|
1736
1736
|
});
|
|
1737
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1737
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1738
1738
|
}
|
|
1739
1739
|
};
|
|
1740
1740
|
const deserializeAws_json1_0InsufficientCapacityExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1744,7 +1744,7 @@ const deserializeAws_json1_0InsufficientCapacityExceptionResponse = async (parse
|
|
|
1744
1744
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1745
1745
|
...deserialized,
|
|
1746
1746
|
});
|
|
1747
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1747
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1748
1748
|
};
|
|
1749
1749
|
const deserializeAws_json1_0InternalServerErrorResponse = async (parsedOutput, context) => {
|
|
1750
1750
|
const body = parsedOutput.body;
|
|
@@ -1753,7 +1753,7 @@ const deserializeAws_json1_0InternalServerErrorResponse = async (parsedOutput, c
|
|
|
1753
1753
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1754
1754
|
...deserialized,
|
|
1755
1755
|
});
|
|
1756
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1756
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1757
1757
|
};
|
|
1758
1758
|
const deserializeAws_json1_0InvalidOperationExceptionResponse = async (parsedOutput, context) => {
|
|
1759
1759
|
const body = parsedOutput.body;
|
|
@@ -1762,7 +1762,7 @@ const deserializeAws_json1_0InvalidOperationExceptionResponse = async (parsedOut
|
|
|
1762
1762
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1763
1763
|
...deserialized,
|
|
1764
1764
|
});
|
|
1765
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1765
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1766
1766
|
};
|
|
1767
1767
|
const deserializeAws_json1_0InvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
1768
1768
|
const body = parsedOutput.body;
|
|
@@ -1771,7 +1771,7 @@ const deserializeAws_json1_0InvalidRequestExceptionResponse = async (parsedOutpu
|
|
|
1771
1771
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1772
1772
|
...deserialized,
|
|
1773
1773
|
});
|
|
1774
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1774
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1775
1775
|
};
|
|
1776
1776
|
const deserializeAws_json1_0InvalidResourcePolicyExceptionResponse = async (parsedOutput, context) => {
|
|
1777
1777
|
const body = parsedOutput.body;
|
|
@@ -1780,7 +1780,7 @@ const deserializeAws_json1_0InvalidResourcePolicyExceptionResponse = async (pars
|
|
|
1780
1780
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1781
1781
|
...deserialized,
|
|
1782
1782
|
});
|
|
1783
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1783
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1784
1784
|
};
|
|
1785
1785
|
const deserializeAws_json1_0InvalidTokenExceptionResponse = async (parsedOutput, context) => {
|
|
1786
1786
|
const body = parsedOutput.body;
|
|
@@ -1789,7 +1789,7 @@ const deserializeAws_json1_0InvalidTokenExceptionResponse = async (parsedOutput,
|
|
|
1789
1789
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1790
1790
|
...deserialized,
|
|
1791
1791
|
});
|
|
1792
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1792
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1793
1793
|
};
|
|
1794
1794
|
const deserializeAws_json1_0LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1795
1795
|
const body = parsedOutput.body;
|
|
@@ -1798,7 +1798,7 @@ const deserializeAws_json1_0LimitExceededExceptionResponse = async (parsedOutput
|
|
|
1798
1798
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1799
1799
|
...deserialized,
|
|
1800
1800
|
});
|
|
1801
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1801
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1802
1802
|
};
|
|
1803
1803
|
const deserializeAws_json1_0LogDestinationPermissionExceptionResponse = async (parsedOutput, context) => {
|
|
1804
1804
|
const body = parsedOutput.body;
|
|
@@ -1807,7 +1807,7 @@ const deserializeAws_json1_0LogDestinationPermissionExceptionResponse = async (p
|
|
|
1807
1807
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1808
1808
|
...deserialized,
|
|
1809
1809
|
});
|
|
1810
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1810
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1811
1811
|
};
|
|
1812
1812
|
const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1813
1813
|
const body = parsedOutput.body;
|
|
@@ -1816,7 +1816,7 @@ const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
1816
1816
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1817
1817
|
...deserialized,
|
|
1818
1818
|
});
|
|
1819
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1819
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1820
1820
|
};
|
|
1821
1821
|
const deserializeAws_json1_0ResourceOwnerCheckExceptionResponse = async (parsedOutput, context) => {
|
|
1822
1822
|
const body = parsedOutput.body;
|
|
@@ -1825,7 +1825,7 @@ const deserializeAws_json1_0ResourceOwnerCheckExceptionResponse = async (parsedO
|
|
|
1825
1825
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1826
1826
|
...deserialized,
|
|
1827
1827
|
});
|
|
1828
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1828
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1829
1829
|
};
|
|
1830
1830
|
const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
1831
1831
|
const body = parsedOutput.body;
|
|
@@ -1834,7 +1834,7 @@ const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, c
|
|
|
1834
1834
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1835
1835
|
...deserialized,
|
|
1836
1836
|
});
|
|
1837
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1837
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1838
1838
|
};
|
|
1839
1839
|
const deserializeAws_json1_0UnsupportedOperationExceptionResponse = async (parsedOutput, context) => {
|
|
1840
1840
|
const body = parsedOutput.body;
|
|
@@ -1843,7 +1843,7 @@ const deserializeAws_json1_0UnsupportedOperationExceptionResponse = async (parse
|
|
|
1843
1843
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1844
1844
|
...deserialized,
|
|
1845
1845
|
});
|
|
1846
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1846
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1847
1847
|
};
|
|
1848
1848
|
const serializeAws_json1_0ActionDefinition = (input, context) => {
|
|
1849
1849
|
return {
|
|
@@ -2671,7 +2671,7 @@ const deserializeAws_json1_0ActionDefinition = (output, context) => {
|
|
|
2671
2671
|
};
|
|
2672
2672
|
const deserializeAws_json1_0Address = (output, context) => {
|
|
2673
2673
|
return {
|
|
2674
|
-
AddressDefinition: smithy_client_1.expectString(output.AddressDefinition),
|
|
2674
|
+
AddressDefinition: (0, smithy_client_1.expectString)(output.AddressDefinition),
|
|
2675
2675
|
};
|
|
2676
2676
|
};
|
|
2677
2677
|
const deserializeAws_json1_0Addresses = (output, context) => {
|
|
@@ -2687,27 +2687,27 @@ const deserializeAws_json1_0Addresses = (output, context) => {
|
|
|
2687
2687
|
};
|
|
2688
2688
|
const deserializeAws_json1_0AssociateFirewallPolicyResponse = (output, context) => {
|
|
2689
2689
|
return {
|
|
2690
|
-
FirewallArn: smithy_client_1.expectString(output.FirewallArn),
|
|
2691
|
-
FirewallName: smithy_client_1.expectString(output.FirewallName),
|
|
2692
|
-
FirewallPolicyArn: smithy_client_1.expectString(output.FirewallPolicyArn),
|
|
2693
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
2690
|
+
FirewallArn: (0, smithy_client_1.expectString)(output.FirewallArn),
|
|
2691
|
+
FirewallName: (0, smithy_client_1.expectString)(output.FirewallName),
|
|
2692
|
+
FirewallPolicyArn: (0, smithy_client_1.expectString)(output.FirewallPolicyArn),
|
|
2693
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
2694
2694
|
};
|
|
2695
2695
|
};
|
|
2696
2696
|
const deserializeAws_json1_0AssociateSubnetsResponse = (output, context) => {
|
|
2697
2697
|
return {
|
|
2698
|
-
FirewallArn: smithy_client_1.expectString(output.FirewallArn),
|
|
2699
|
-
FirewallName: smithy_client_1.expectString(output.FirewallName),
|
|
2698
|
+
FirewallArn: (0, smithy_client_1.expectString)(output.FirewallArn),
|
|
2699
|
+
FirewallName: (0, smithy_client_1.expectString)(output.FirewallName),
|
|
2700
2700
|
SubnetMappings: output.SubnetMappings !== undefined && output.SubnetMappings !== null
|
|
2701
2701
|
? deserializeAws_json1_0SubnetMappings(output.SubnetMappings, context)
|
|
2702
2702
|
: undefined,
|
|
2703
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
2703
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
2704
2704
|
};
|
|
2705
2705
|
};
|
|
2706
2706
|
const deserializeAws_json1_0Attachment = (output, context) => {
|
|
2707
2707
|
return {
|
|
2708
|
-
EndpointId: smithy_client_1.expectString(output.EndpointId),
|
|
2709
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
2710
|
-
SubnetId: smithy_client_1.expectString(output.SubnetId),
|
|
2708
|
+
EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
|
|
2709
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2710
|
+
SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
|
|
2711
2711
|
};
|
|
2712
2712
|
};
|
|
2713
2713
|
const deserializeAws_json1_0CreateFirewallPolicyResponse = (output, context) => {
|
|
@@ -2715,7 +2715,7 @@ const deserializeAws_json1_0CreateFirewallPolicyResponse = (output, context) =>
|
|
|
2715
2715
|
FirewallPolicyResponse: output.FirewallPolicyResponse !== undefined && output.FirewallPolicyResponse !== null
|
|
2716
2716
|
? deserializeAws_json1_0FirewallPolicyResponse(output.FirewallPolicyResponse, context)
|
|
2717
2717
|
: undefined,
|
|
2718
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
2718
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
2719
2719
|
};
|
|
2720
2720
|
};
|
|
2721
2721
|
const deserializeAws_json1_0CreateFirewallResponse = (output, context) => {
|
|
@@ -2733,7 +2733,7 @@ const deserializeAws_json1_0CreateRuleGroupResponse = (output, context) => {
|
|
|
2733
2733
|
RuleGroupResponse: output.RuleGroupResponse !== undefined && output.RuleGroupResponse !== null
|
|
2734
2734
|
? deserializeAws_json1_0RuleGroupResponse(output.RuleGroupResponse, context)
|
|
2735
2735
|
: undefined,
|
|
2736
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
2736
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
2737
2737
|
};
|
|
2738
2738
|
};
|
|
2739
2739
|
const deserializeAws_json1_0CustomAction = (output, context) => {
|
|
@@ -2741,7 +2741,7 @@ const deserializeAws_json1_0CustomAction = (output, context) => {
|
|
|
2741
2741
|
ActionDefinition: output.ActionDefinition !== undefined && output.ActionDefinition !== null
|
|
2742
2742
|
? deserializeAws_json1_0ActionDefinition(output.ActionDefinition, context)
|
|
2743
2743
|
: undefined,
|
|
2744
|
-
ActionName: smithy_client_1.expectString(output.ActionName),
|
|
2744
|
+
ActionName: (0, smithy_client_1.expectString)(output.ActionName),
|
|
2745
2745
|
};
|
|
2746
2746
|
};
|
|
2747
2747
|
const deserializeAws_json1_0CustomActions = (output, context) => {
|
|
@@ -2790,7 +2790,7 @@ const deserializeAws_json1_0DescribeFirewallPolicyResponse = (output, context) =
|
|
|
2790
2790
|
FirewallPolicyResponse: output.FirewallPolicyResponse !== undefined && output.FirewallPolicyResponse !== null
|
|
2791
2791
|
? deserializeAws_json1_0FirewallPolicyResponse(output.FirewallPolicyResponse, context)
|
|
2792
2792
|
: undefined,
|
|
2793
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
2793
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
2794
2794
|
};
|
|
2795
2795
|
};
|
|
2796
2796
|
const deserializeAws_json1_0DescribeFirewallResponse = (output, context) => {
|
|
@@ -2801,12 +2801,12 @@ const deserializeAws_json1_0DescribeFirewallResponse = (output, context) => {
|
|
|
2801
2801
|
FirewallStatus: output.FirewallStatus !== undefined && output.FirewallStatus !== null
|
|
2802
2802
|
? deserializeAws_json1_0FirewallStatus(output.FirewallStatus, context)
|
|
2803
2803
|
: undefined,
|
|
2804
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
2804
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
2805
2805
|
};
|
|
2806
2806
|
};
|
|
2807
2807
|
const deserializeAws_json1_0DescribeLoggingConfigurationResponse = (output, context) => {
|
|
2808
2808
|
return {
|
|
2809
|
-
FirewallArn: smithy_client_1.expectString(output.FirewallArn),
|
|
2809
|
+
FirewallArn: (0, smithy_client_1.expectString)(output.FirewallArn),
|
|
2810
2810
|
LoggingConfiguration: output.LoggingConfiguration !== undefined && output.LoggingConfiguration !== null
|
|
2811
2811
|
? deserializeAws_json1_0LoggingConfiguration(output.LoggingConfiguration, context)
|
|
2812
2812
|
: undefined,
|
|
@@ -2814,19 +2814,19 @@ const deserializeAws_json1_0DescribeLoggingConfigurationResponse = (output, cont
|
|
|
2814
2814
|
};
|
|
2815
2815
|
const deserializeAws_json1_0DescribeResourcePolicyResponse = (output, context) => {
|
|
2816
2816
|
return {
|
|
2817
|
-
Policy: smithy_client_1.expectString(output.Policy),
|
|
2817
|
+
Policy: (0, smithy_client_1.expectString)(output.Policy),
|
|
2818
2818
|
};
|
|
2819
2819
|
};
|
|
2820
2820
|
const deserializeAws_json1_0DescribeRuleGroupMetadataResponse = (output, context) => {
|
|
2821
2821
|
return {
|
|
2822
|
-
Capacity: smithy_client_1.expectInt32(output.Capacity),
|
|
2823
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
2824
|
-
RuleGroupArn: smithy_client_1.expectString(output.RuleGroupArn),
|
|
2825
|
-
RuleGroupName: smithy_client_1.expectString(output.RuleGroupName),
|
|
2822
|
+
Capacity: (0, smithy_client_1.expectInt32)(output.Capacity),
|
|
2823
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2824
|
+
RuleGroupArn: (0, smithy_client_1.expectString)(output.RuleGroupArn),
|
|
2825
|
+
RuleGroupName: (0, smithy_client_1.expectString)(output.RuleGroupName),
|
|
2826
2826
|
StatefulRuleOptions: output.StatefulRuleOptions !== undefined && output.StatefulRuleOptions !== null
|
|
2827
2827
|
? deserializeAws_json1_0StatefulRuleOptions(output.StatefulRuleOptions, context)
|
|
2828
2828
|
: undefined,
|
|
2829
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
2829
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2830
2830
|
};
|
|
2831
2831
|
};
|
|
2832
2832
|
const deserializeAws_json1_0DescribeRuleGroupResponse = (output, context) => {
|
|
@@ -2837,12 +2837,12 @@ const deserializeAws_json1_0DescribeRuleGroupResponse = (output, context) => {
|
|
|
2837
2837
|
RuleGroupResponse: output.RuleGroupResponse !== undefined && output.RuleGroupResponse !== null
|
|
2838
2838
|
? deserializeAws_json1_0RuleGroupResponse(output.RuleGroupResponse, context)
|
|
2839
2839
|
: undefined,
|
|
2840
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
2840
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
2841
2841
|
};
|
|
2842
2842
|
};
|
|
2843
2843
|
const deserializeAws_json1_0Dimension = (output, context) => {
|
|
2844
2844
|
return {
|
|
2845
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
2845
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2846
2846
|
};
|
|
2847
2847
|
};
|
|
2848
2848
|
const deserializeAws_json1_0Dimensions = (output, context) => {
|
|
@@ -2858,37 +2858,37 @@ const deserializeAws_json1_0Dimensions = (output, context) => {
|
|
|
2858
2858
|
};
|
|
2859
2859
|
const deserializeAws_json1_0DisassociateSubnetsResponse = (output, context) => {
|
|
2860
2860
|
return {
|
|
2861
|
-
FirewallArn: smithy_client_1.expectString(output.FirewallArn),
|
|
2862
|
-
FirewallName: smithy_client_1.expectString(output.FirewallName),
|
|
2861
|
+
FirewallArn: (0, smithy_client_1.expectString)(output.FirewallArn),
|
|
2862
|
+
FirewallName: (0, smithy_client_1.expectString)(output.FirewallName),
|
|
2863
2863
|
SubnetMappings: output.SubnetMappings !== undefined && output.SubnetMappings !== null
|
|
2864
2864
|
? deserializeAws_json1_0SubnetMappings(output.SubnetMappings, context)
|
|
2865
2865
|
: undefined,
|
|
2866
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
2866
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
2867
2867
|
};
|
|
2868
2868
|
};
|
|
2869
2869
|
const deserializeAws_json1_0Firewall = (output, context) => {
|
|
2870
2870
|
return {
|
|
2871
|
-
DeleteProtection: smithy_client_1.expectBoolean(output.DeleteProtection),
|
|
2872
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
2873
|
-
FirewallArn: smithy_client_1.expectString(output.FirewallArn),
|
|
2874
|
-
FirewallId: smithy_client_1.expectString(output.FirewallId),
|
|
2875
|
-
FirewallName: smithy_client_1.expectString(output.FirewallName),
|
|
2876
|
-
FirewallPolicyArn: smithy_client_1.expectString(output.FirewallPolicyArn),
|
|
2877
|
-
FirewallPolicyChangeProtection: smithy_client_1.expectBoolean(output.FirewallPolicyChangeProtection),
|
|
2878
|
-
SubnetChangeProtection: smithy_client_1.expectBoolean(output.SubnetChangeProtection),
|
|
2871
|
+
DeleteProtection: (0, smithy_client_1.expectBoolean)(output.DeleteProtection),
|
|
2872
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2873
|
+
FirewallArn: (0, smithy_client_1.expectString)(output.FirewallArn),
|
|
2874
|
+
FirewallId: (0, smithy_client_1.expectString)(output.FirewallId),
|
|
2875
|
+
FirewallName: (0, smithy_client_1.expectString)(output.FirewallName),
|
|
2876
|
+
FirewallPolicyArn: (0, smithy_client_1.expectString)(output.FirewallPolicyArn),
|
|
2877
|
+
FirewallPolicyChangeProtection: (0, smithy_client_1.expectBoolean)(output.FirewallPolicyChangeProtection),
|
|
2878
|
+
SubnetChangeProtection: (0, smithy_client_1.expectBoolean)(output.SubnetChangeProtection),
|
|
2879
2879
|
SubnetMappings: output.SubnetMappings !== undefined && output.SubnetMappings !== null
|
|
2880
2880
|
? deserializeAws_json1_0SubnetMappings(output.SubnetMappings, context)
|
|
2881
2881
|
: undefined,
|
|
2882
2882
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
2883
2883
|
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
2884
2884
|
: undefined,
|
|
2885
|
-
VpcId: smithy_client_1.expectString(output.VpcId),
|
|
2885
|
+
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2886
2886
|
};
|
|
2887
2887
|
};
|
|
2888
2888
|
const deserializeAws_json1_0FirewallMetadata = (output, context) => {
|
|
2889
2889
|
return {
|
|
2890
|
-
FirewallArn: smithy_client_1.expectString(output.FirewallArn),
|
|
2891
|
-
FirewallName: smithy_client_1.expectString(output.FirewallName),
|
|
2890
|
+
FirewallArn: (0, smithy_client_1.expectString)(output.FirewallArn),
|
|
2891
|
+
FirewallName: (0, smithy_client_1.expectString)(output.FirewallName),
|
|
2892
2892
|
};
|
|
2893
2893
|
};
|
|
2894
2894
|
const deserializeAws_json1_0FirewallPolicies = (output, context) => {
|
|
@@ -2929,20 +2929,20 @@ const deserializeAws_json1_0FirewallPolicy = (output, context) => {
|
|
|
2929
2929
|
};
|
|
2930
2930
|
const deserializeAws_json1_0FirewallPolicyMetadata = (output, context) => {
|
|
2931
2931
|
return {
|
|
2932
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
2933
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2932
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2933
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2934
2934
|
};
|
|
2935
2935
|
};
|
|
2936
2936
|
const deserializeAws_json1_0FirewallPolicyResponse = (output, context) => {
|
|
2937
2937
|
return {
|
|
2938
|
-
ConsumedStatefulRuleCapacity: smithy_client_1.expectInt32(output.ConsumedStatefulRuleCapacity),
|
|
2939
|
-
ConsumedStatelessRuleCapacity: smithy_client_1.expectInt32(output.ConsumedStatelessRuleCapacity),
|
|
2940
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
2941
|
-
FirewallPolicyArn: smithy_client_1.expectString(output.FirewallPolicyArn),
|
|
2942
|
-
FirewallPolicyId: smithy_client_1.expectString(output.FirewallPolicyId),
|
|
2943
|
-
FirewallPolicyName: smithy_client_1.expectString(output.FirewallPolicyName),
|
|
2944
|
-
FirewallPolicyStatus: smithy_client_1.expectString(output.FirewallPolicyStatus),
|
|
2945
|
-
NumberOfAssociations: smithy_client_1.expectInt32(output.NumberOfAssociations),
|
|
2938
|
+
ConsumedStatefulRuleCapacity: (0, smithy_client_1.expectInt32)(output.ConsumedStatefulRuleCapacity),
|
|
2939
|
+
ConsumedStatelessRuleCapacity: (0, smithy_client_1.expectInt32)(output.ConsumedStatelessRuleCapacity),
|
|
2940
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2941
|
+
FirewallPolicyArn: (0, smithy_client_1.expectString)(output.FirewallPolicyArn),
|
|
2942
|
+
FirewallPolicyId: (0, smithy_client_1.expectString)(output.FirewallPolicyId),
|
|
2943
|
+
FirewallPolicyName: (0, smithy_client_1.expectString)(output.FirewallPolicyName),
|
|
2944
|
+
FirewallPolicyStatus: (0, smithy_client_1.expectString)(output.FirewallPolicyStatus),
|
|
2945
|
+
NumberOfAssociations: (0, smithy_client_1.expectInt32)(output.NumberOfAssociations),
|
|
2946
2946
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
2947
2947
|
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
2948
2948
|
: undefined,
|
|
@@ -2961,8 +2961,8 @@ const deserializeAws_json1_0Firewalls = (output, context) => {
|
|
|
2961
2961
|
};
|
|
2962
2962
|
const deserializeAws_json1_0FirewallStatus = (output, context) => {
|
|
2963
2963
|
return {
|
|
2964
|
-
ConfigurationSyncStateSummary: smithy_client_1.expectString(output.ConfigurationSyncStateSummary),
|
|
2965
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
2964
|
+
ConfigurationSyncStateSummary: (0, smithy_client_1.expectString)(output.ConfigurationSyncStateSummary),
|
|
2965
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2966
2966
|
SyncStates: output.SyncStates !== undefined && output.SyncStates !== null
|
|
2967
2967
|
? deserializeAws_json1_0SyncStates(output.SyncStates, context)
|
|
2968
2968
|
: undefined,
|
|
@@ -2975,48 +2975,48 @@ const deserializeAws_json1_0Flags = (output, context) => {
|
|
|
2975
2975
|
if (entry === null) {
|
|
2976
2976
|
return null;
|
|
2977
2977
|
}
|
|
2978
|
-
return smithy_client_1.expectString(entry);
|
|
2978
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2979
2979
|
});
|
|
2980
2980
|
return retVal;
|
|
2981
2981
|
};
|
|
2982
2982
|
const deserializeAws_json1_0Header = (output, context) => {
|
|
2983
2983
|
return {
|
|
2984
|
-
Destination: smithy_client_1.expectString(output.Destination),
|
|
2985
|
-
DestinationPort: smithy_client_1.expectString(output.DestinationPort),
|
|
2986
|
-
Direction: smithy_client_1.expectString(output.Direction),
|
|
2987
|
-
Protocol: smithy_client_1.expectString(output.Protocol),
|
|
2988
|
-
Source: smithy_client_1.expectString(output.Source),
|
|
2989
|
-
SourcePort: smithy_client_1.expectString(output.SourcePort),
|
|
2984
|
+
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
2985
|
+
DestinationPort: (0, smithy_client_1.expectString)(output.DestinationPort),
|
|
2986
|
+
Direction: (0, smithy_client_1.expectString)(output.Direction),
|
|
2987
|
+
Protocol: (0, smithy_client_1.expectString)(output.Protocol),
|
|
2988
|
+
Source: (0, smithy_client_1.expectString)(output.Source),
|
|
2989
|
+
SourcePort: (0, smithy_client_1.expectString)(output.SourcePort),
|
|
2990
2990
|
};
|
|
2991
2991
|
};
|
|
2992
2992
|
const deserializeAws_json1_0InsufficientCapacityException = (output, context) => {
|
|
2993
2993
|
return {
|
|
2994
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2994
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2995
2995
|
};
|
|
2996
2996
|
};
|
|
2997
2997
|
const deserializeAws_json1_0InternalServerError = (output, context) => {
|
|
2998
2998
|
return {
|
|
2999
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2999
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3000
3000
|
};
|
|
3001
3001
|
};
|
|
3002
3002
|
const deserializeAws_json1_0InvalidOperationException = (output, context) => {
|
|
3003
3003
|
return {
|
|
3004
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3004
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3005
3005
|
};
|
|
3006
3006
|
};
|
|
3007
3007
|
const deserializeAws_json1_0InvalidRequestException = (output, context) => {
|
|
3008
3008
|
return {
|
|
3009
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3009
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3010
3010
|
};
|
|
3011
3011
|
};
|
|
3012
3012
|
const deserializeAws_json1_0InvalidResourcePolicyException = (output, context) => {
|
|
3013
3013
|
return {
|
|
3014
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3014
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3015
3015
|
};
|
|
3016
3016
|
};
|
|
3017
3017
|
const deserializeAws_json1_0InvalidTokenException = (output, context) => {
|
|
3018
3018
|
return {
|
|
3019
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3019
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3020
3020
|
};
|
|
3021
3021
|
};
|
|
3022
3022
|
const deserializeAws_json1_0IPSet = (output, context) => {
|
|
@@ -3039,7 +3039,7 @@ const deserializeAws_json1_0IPSets = (output, context) => {
|
|
|
3039
3039
|
};
|
|
3040
3040
|
const deserializeAws_json1_0LimitExceededException = (output, context) => {
|
|
3041
3041
|
return {
|
|
3042
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3042
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3043
3043
|
};
|
|
3044
3044
|
};
|
|
3045
3045
|
const deserializeAws_json1_0ListFirewallPoliciesResponse = (output, context) => {
|
|
@@ -3047,7 +3047,7 @@ const deserializeAws_json1_0ListFirewallPoliciesResponse = (output, context) =>
|
|
|
3047
3047
|
FirewallPolicies: output.FirewallPolicies !== undefined && output.FirewallPolicies !== null
|
|
3048
3048
|
? deserializeAws_json1_0FirewallPolicies(output.FirewallPolicies, context)
|
|
3049
3049
|
: undefined,
|
|
3050
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
3050
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3051
3051
|
};
|
|
3052
3052
|
};
|
|
3053
3053
|
const deserializeAws_json1_0ListFirewallsResponse = (output, context) => {
|
|
@@ -3055,12 +3055,12 @@ const deserializeAws_json1_0ListFirewallsResponse = (output, context) => {
|
|
|
3055
3055
|
Firewalls: output.Firewalls !== undefined && output.Firewalls !== null
|
|
3056
3056
|
? deserializeAws_json1_0Firewalls(output.Firewalls, context)
|
|
3057
3057
|
: undefined,
|
|
3058
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
3058
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3059
3059
|
};
|
|
3060
3060
|
};
|
|
3061
3061
|
const deserializeAws_json1_0ListRuleGroupsResponse = (output, context) => {
|
|
3062
3062
|
return {
|
|
3063
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
3063
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3064
3064
|
RuleGroups: output.RuleGroups !== undefined && output.RuleGroups !== null
|
|
3065
3065
|
? deserializeAws_json1_0RuleGroups(output.RuleGroups, context)
|
|
3066
3066
|
: undefined,
|
|
@@ -3068,7 +3068,7 @@ const deserializeAws_json1_0ListRuleGroupsResponse = (output, context) => {
|
|
|
3068
3068
|
};
|
|
3069
3069
|
const deserializeAws_json1_0ListTagsForResourceResponse = (output, context) => {
|
|
3070
3070
|
return {
|
|
3071
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
3071
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3072
3072
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3073
3073
|
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
3074
3074
|
: undefined,
|
|
@@ -3079,8 +3079,8 @@ const deserializeAws_json1_0LogDestinationConfig = (output, context) => {
|
|
|
3079
3079
|
LogDestination: output.LogDestination !== undefined && output.LogDestination !== null
|
|
3080
3080
|
? deserializeAws_json1_0LogDestinationMap(output.LogDestination, context)
|
|
3081
3081
|
: undefined,
|
|
3082
|
-
LogDestinationType: smithy_client_1.expectString(output.LogDestinationType),
|
|
3083
|
-
LogType: smithy_client_1.expectString(output.LogType),
|
|
3082
|
+
LogDestinationType: (0, smithy_client_1.expectString)(output.LogDestinationType),
|
|
3083
|
+
LogType: (0, smithy_client_1.expectString)(output.LogType),
|
|
3084
3084
|
};
|
|
3085
3085
|
};
|
|
3086
3086
|
const deserializeAws_json1_0LogDestinationConfigs = (output, context) => {
|
|
@@ -3101,13 +3101,13 @@ const deserializeAws_json1_0LogDestinationMap = (output, context) => {
|
|
|
3101
3101
|
}
|
|
3102
3102
|
return {
|
|
3103
3103
|
...acc,
|
|
3104
|
-
[key]: smithy_client_1.expectString(value),
|
|
3104
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3105
3105
|
};
|
|
3106
3106
|
}, {});
|
|
3107
3107
|
};
|
|
3108
3108
|
const deserializeAws_json1_0LogDestinationPermissionException = (output, context) => {
|
|
3109
3109
|
return {
|
|
3110
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3110
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3111
3111
|
};
|
|
3112
3112
|
};
|
|
3113
3113
|
const deserializeAws_json1_0LoggingConfiguration = (output, context) => {
|
|
@@ -3141,14 +3141,14 @@ const deserializeAws_json1_0MatchAttributes = (output, context) => {
|
|
|
3141
3141
|
};
|
|
3142
3142
|
const deserializeAws_json1_0PerObjectStatus = (output, context) => {
|
|
3143
3143
|
return {
|
|
3144
|
-
SyncStatus: smithy_client_1.expectString(output.SyncStatus),
|
|
3145
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
3144
|
+
SyncStatus: (0, smithy_client_1.expectString)(output.SyncStatus),
|
|
3145
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
3146
3146
|
};
|
|
3147
3147
|
};
|
|
3148
3148
|
const deserializeAws_json1_0PortRange = (output, context) => {
|
|
3149
3149
|
return {
|
|
3150
|
-
FromPort: smithy_client_1.expectInt32(output.FromPort),
|
|
3151
|
-
ToPort: smithy_client_1.expectInt32(output.ToPort),
|
|
3150
|
+
FromPort: (0, smithy_client_1.expectInt32)(output.FromPort),
|
|
3151
|
+
ToPort: (0, smithy_client_1.expectInt32)(output.ToPort),
|
|
3152
3152
|
};
|
|
3153
3153
|
};
|
|
3154
3154
|
const deserializeAws_json1_0PortRanges = (output, context) => {
|
|
@@ -3187,7 +3187,7 @@ const deserializeAws_json1_0ProtocolNumbers = (output, context) => {
|
|
|
3187
3187
|
if (entry === null) {
|
|
3188
3188
|
return null;
|
|
3189
3189
|
}
|
|
3190
|
-
return smithy_client_1.expectInt32(entry);
|
|
3190
|
+
return (0, smithy_client_1.expectInt32)(entry);
|
|
3191
3191
|
});
|
|
3192
3192
|
return retVal;
|
|
3193
3193
|
};
|
|
@@ -3203,12 +3203,12 @@ const deserializeAws_json1_0PutResourcePolicyResponse = (output, context) => {
|
|
|
3203
3203
|
};
|
|
3204
3204
|
const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
|
|
3205
3205
|
return {
|
|
3206
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3206
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3207
3207
|
};
|
|
3208
3208
|
};
|
|
3209
3209
|
const deserializeAws_json1_0ResourceOwnerCheckException = (output, context) => {
|
|
3210
3210
|
return {
|
|
3211
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3211
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3212
3212
|
};
|
|
3213
3213
|
};
|
|
3214
3214
|
const deserializeAws_json1_0RuleDefinition = (output, context) => {
|
|
@@ -3236,24 +3236,24 @@ const deserializeAws_json1_0RuleGroup = (output, context) => {
|
|
|
3236
3236
|
};
|
|
3237
3237
|
const deserializeAws_json1_0RuleGroupMetadata = (output, context) => {
|
|
3238
3238
|
return {
|
|
3239
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
3240
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3239
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3240
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3241
3241
|
};
|
|
3242
3242
|
};
|
|
3243
3243
|
const deserializeAws_json1_0RuleGroupResponse = (output, context) => {
|
|
3244
3244
|
return {
|
|
3245
|
-
Capacity: smithy_client_1.expectInt32(output.Capacity),
|
|
3246
|
-
ConsumedCapacity: smithy_client_1.expectInt32(output.ConsumedCapacity),
|
|
3247
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
3248
|
-
NumberOfAssociations: smithy_client_1.expectInt32(output.NumberOfAssociations),
|
|
3249
|
-
RuleGroupArn: smithy_client_1.expectString(output.RuleGroupArn),
|
|
3250
|
-
RuleGroupId: smithy_client_1.expectString(output.RuleGroupId),
|
|
3251
|
-
RuleGroupName: smithy_client_1.expectString(output.RuleGroupName),
|
|
3252
|
-
RuleGroupStatus: smithy_client_1.expectString(output.RuleGroupStatus),
|
|
3245
|
+
Capacity: (0, smithy_client_1.expectInt32)(output.Capacity),
|
|
3246
|
+
ConsumedCapacity: (0, smithy_client_1.expectInt32)(output.ConsumedCapacity),
|
|
3247
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3248
|
+
NumberOfAssociations: (0, smithy_client_1.expectInt32)(output.NumberOfAssociations),
|
|
3249
|
+
RuleGroupArn: (0, smithy_client_1.expectString)(output.RuleGroupArn),
|
|
3250
|
+
RuleGroupId: (0, smithy_client_1.expectString)(output.RuleGroupId),
|
|
3251
|
+
RuleGroupName: (0, smithy_client_1.expectString)(output.RuleGroupName),
|
|
3252
|
+
RuleGroupStatus: (0, smithy_client_1.expectString)(output.RuleGroupStatus),
|
|
3253
3253
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3254
3254
|
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
3255
3255
|
: undefined,
|
|
3256
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
3256
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3257
3257
|
};
|
|
3258
3258
|
};
|
|
3259
3259
|
const deserializeAws_json1_0RuleGroups = (output, context) => {
|
|
@@ -3269,7 +3269,7 @@ const deserializeAws_json1_0RuleGroups = (output, context) => {
|
|
|
3269
3269
|
};
|
|
3270
3270
|
const deserializeAws_json1_0RuleOption = (output, context) => {
|
|
3271
3271
|
return {
|
|
3272
|
-
Keyword: smithy_client_1.expectString(output.Keyword),
|
|
3272
|
+
Keyword: (0, smithy_client_1.expectString)(output.Keyword),
|
|
3273
3273
|
Settings: output.Settings !== undefined && output.Settings !== null
|
|
3274
3274
|
? deserializeAws_json1_0Settings(output.Settings, context)
|
|
3275
3275
|
: undefined,
|
|
@@ -3291,7 +3291,7 @@ const deserializeAws_json1_0RulesSource = (output, context) => {
|
|
|
3291
3291
|
RulesSourceList: output.RulesSourceList !== undefined && output.RulesSourceList !== null
|
|
3292
3292
|
? deserializeAws_json1_0RulesSourceList(output.RulesSourceList, context)
|
|
3293
3293
|
: undefined,
|
|
3294
|
-
RulesString: smithy_client_1.expectString(output.RulesString),
|
|
3294
|
+
RulesString: (0, smithy_client_1.expectString)(output.RulesString),
|
|
3295
3295
|
StatefulRules: output.StatefulRules !== undefined && output.StatefulRules !== null
|
|
3296
3296
|
? deserializeAws_json1_0StatefulRules(output.StatefulRules, context)
|
|
3297
3297
|
: undefined,
|
|
@@ -3302,7 +3302,7 @@ const deserializeAws_json1_0RulesSource = (output, context) => {
|
|
|
3302
3302
|
};
|
|
3303
3303
|
const deserializeAws_json1_0RulesSourceList = (output, context) => {
|
|
3304
3304
|
return {
|
|
3305
|
-
GeneratedRulesType: smithy_client_1.expectString(output.GeneratedRulesType),
|
|
3305
|
+
GeneratedRulesType: (0, smithy_client_1.expectString)(output.GeneratedRulesType),
|
|
3306
3306
|
TargetTypes: output.TargetTypes !== undefined && output.TargetTypes !== null
|
|
3307
3307
|
? deserializeAws_json1_0TargetTypes(output.TargetTypes, context)
|
|
3308
3308
|
: undefined,
|
|
@@ -3318,7 +3318,7 @@ const deserializeAws_json1_0RuleTargets = (output, context) => {
|
|
|
3318
3318
|
if (entry === null) {
|
|
3319
3319
|
return null;
|
|
3320
3320
|
}
|
|
3321
|
-
return smithy_client_1.expectString(entry);
|
|
3321
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3322
3322
|
});
|
|
3323
3323
|
return retVal;
|
|
3324
3324
|
};
|
|
@@ -3339,7 +3339,7 @@ const deserializeAws_json1_0Settings = (output, context) => {
|
|
|
3339
3339
|
if (entry === null) {
|
|
3340
3340
|
return null;
|
|
3341
3341
|
}
|
|
3342
|
-
return smithy_client_1.expectString(entry);
|
|
3342
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3343
3343
|
});
|
|
3344
3344
|
return retVal;
|
|
3345
3345
|
};
|
|
@@ -3350,18 +3350,18 @@ const deserializeAws_json1_0StatefulActions = (output, context) => {
|
|
|
3350
3350
|
if (entry === null) {
|
|
3351
3351
|
return null;
|
|
3352
3352
|
}
|
|
3353
|
-
return smithy_client_1.expectString(entry);
|
|
3353
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3354
3354
|
});
|
|
3355
3355
|
return retVal;
|
|
3356
3356
|
};
|
|
3357
3357
|
const deserializeAws_json1_0StatefulEngineOptions = (output, context) => {
|
|
3358
3358
|
return {
|
|
3359
|
-
RuleOrder: smithy_client_1.expectString(output.RuleOrder),
|
|
3359
|
+
RuleOrder: (0, smithy_client_1.expectString)(output.RuleOrder),
|
|
3360
3360
|
};
|
|
3361
3361
|
};
|
|
3362
3362
|
const deserializeAws_json1_0StatefulRule = (output, context) => {
|
|
3363
3363
|
return {
|
|
3364
|
-
Action: smithy_client_1.expectString(output.Action),
|
|
3364
|
+
Action: (0, smithy_client_1.expectString)(output.Action),
|
|
3365
3365
|
Header: output.Header !== undefined && output.Header !== null
|
|
3366
3366
|
? deserializeAws_json1_0Header(output.Header, context)
|
|
3367
3367
|
: undefined,
|
|
@@ -3372,7 +3372,7 @@ const deserializeAws_json1_0StatefulRule = (output, context) => {
|
|
|
3372
3372
|
};
|
|
3373
3373
|
const deserializeAws_json1_0StatefulRuleGroupOverride = (output, context) => {
|
|
3374
3374
|
return {
|
|
3375
|
-
Action: smithy_client_1.expectString(output.Action),
|
|
3375
|
+
Action: (0, smithy_client_1.expectString)(output.Action),
|
|
3376
3376
|
};
|
|
3377
3377
|
};
|
|
3378
3378
|
const deserializeAws_json1_0StatefulRuleGroupReference = (output, context) => {
|
|
@@ -3380,8 +3380,8 @@ const deserializeAws_json1_0StatefulRuleGroupReference = (output, context) => {
|
|
|
3380
3380
|
Override: output.Override !== undefined && output.Override !== null
|
|
3381
3381
|
? deserializeAws_json1_0StatefulRuleGroupOverride(output.Override, context)
|
|
3382
3382
|
: undefined,
|
|
3383
|
-
Priority: smithy_client_1.expectInt32(output.Priority),
|
|
3384
|
-
ResourceArn: smithy_client_1.expectString(output.ResourceArn),
|
|
3383
|
+
Priority: (0, smithy_client_1.expectInt32)(output.Priority),
|
|
3384
|
+
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
3385
3385
|
};
|
|
3386
3386
|
};
|
|
3387
3387
|
const deserializeAws_json1_0StatefulRuleGroupReferences = (output, context) => {
|
|
@@ -3397,7 +3397,7 @@ const deserializeAws_json1_0StatefulRuleGroupReferences = (output, context) => {
|
|
|
3397
3397
|
};
|
|
3398
3398
|
const deserializeAws_json1_0StatefulRuleOptions = (output, context) => {
|
|
3399
3399
|
return {
|
|
3400
|
-
RuleOrder: smithy_client_1.expectString(output.RuleOrder),
|
|
3400
|
+
RuleOrder: (0, smithy_client_1.expectString)(output.RuleOrder),
|
|
3401
3401
|
};
|
|
3402
3402
|
};
|
|
3403
3403
|
const deserializeAws_json1_0StatefulRules = (output, context) => {
|
|
@@ -3418,13 +3418,13 @@ const deserializeAws_json1_0StatelessActions = (output, context) => {
|
|
|
3418
3418
|
if (entry === null) {
|
|
3419
3419
|
return null;
|
|
3420
3420
|
}
|
|
3421
|
-
return smithy_client_1.expectString(entry);
|
|
3421
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3422
3422
|
});
|
|
3423
3423
|
return retVal;
|
|
3424
3424
|
};
|
|
3425
3425
|
const deserializeAws_json1_0StatelessRule = (output, context) => {
|
|
3426
3426
|
return {
|
|
3427
|
-
Priority: smithy_client_1.expectInt32(output.Priority),
|
|
3427
|
+
Priority: (0, smithy_client_1.expectInt32)(output.Priority),
|
|
3428
3428
|
RuleDefinition: output.RuleDefinition !== undefined && output.RuleDefinition !== null
|
|
3429
3429
|
? deserializeAws_json1_0RuleDefinition(output.RuleDefinition, context)
|
|
3430
3430
|
: undefined,
|
|
@@ -3432,8 +3432,8 @@ const deserializeAws_json1_0StatelessRule = (output, context) => {
|
|
|
3432
3432
|
};
|
|
3433
3433
|
const deserializeAws_json1_0StatelessRuleGroupReference = (output, context) => {
|
|
3434
3434
|
return {
|
|
3435
|
-
Priority: smithy_client_1.expectInt32(output.Priority),
|
|
3436
|
-
ResourceArn: smithy_client_1.expectString(output.ResourceArn),
|
|
3435
|
+
Priority: (0, smithy_client_1.expectInt32)(output.Priority),
|
|
3436
|
+
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
3437
3437
|
};
|
|
3438
3438
|
};
|
|
3439
3439
|
const deserializeAws_json1_0StatelessRuleGroupReferences = (output, context) => {
|
|
@@ -3470,7 +3470,7 @@ const deserializeAws_json1_0StatelessRulesAndCustomActions = (output, context) =
|
|
|
3470
3470
|
};
|
|
3471
3471
|
const deserializeAws_json1_0SubnetMapping = (output, context) => {
|
|
3472
3472
|
return {
|
|
3473
|
-
SubnetId: smithy_client_1.expectString(output.SubnetId),
|
|
3473
|
+
SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
|
|
3474
3474
|
};
|
|
3475
3475
|
};
|
|
3476
3476
|
const deserializeAws_json1_0SubnetMappings = (output, context) => {
|
|
@@ -3518,8 +3518,8 @@ const deserializeAws_json1_0SyncStates = (output, context) => {
|
|
|
3518
3518
|
};
|
|
3519
3519
|
const deserializeAws_json1_0Tag = (output, context) => {
|
|
3520
3520
|
return {
|
|
3521
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
3522
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
3521
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3522
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3523
3523
|
};
|
|
3524
3524
|
};
|
|
3525
3525
|
const deserializeAws_json1_0TagList = (output, context) => {
|
|
@@ -3543,7 +3543,7 @@ const deserializeAws_json1_0TargetTypes = (output, context) => {
|
|
|
3543
3543
|
if (entry === null) {
|
|
3544
3544
|
return null;
|
|
3545
3545
|
}
|
|
3546
|
-
return smithy_client_1.expectString(entry);
|
|
3546
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3547
3547
|
});
|
|
3548
3548
|
return retVal;
|
|
3549
3549
|
};
|
|
@@ -3570,12 +3570,12 @@ const deserializeAws_json1_0TCPFlags = (output, context) => {
|
|
|
3570
3570
|
};
|
|
3571
3571
|
const deserializeAws_json1_0ThrottlingException = (output, context) => {
|
|
3572
3572
|
return {
|
|
3573
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3573
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3574
3574
|
};
|
|
3575
3575
|
};
|
|
3576
3576
|
const deserializeAws_json1_0UnsupportedOperationException = (output, context) => {
|
|
3577
3577
|
return {
|
|
3578
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3578
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3579
3579
|
};
|
|
3580
3580
|
};
|
|
3581
3581
|
const deserializeAws_json1_0UntagResourceResponse = (output, context) => {
|
|
@@ -3583,26 +3583,26 @@ const deserializeAws_json1_0UntagResourceResponse = (output, context) => {
|
|
|
3583
3583
|
};
|
|
3584
3584
|
const deserializeAws_json1_0UpdateFirewallDeleteProtectionResponse = (output, context) => {
|
|
3585
3585
|
return {
|
|
3586
|
-
DeleteProtection: smithy_client_1.expectBoolean(output.DeleteProtection),
|
|
3587
|
-
FirewallArn: smithy_client_1.expectString(output.FirewallArn),
|
|
3588
|
-
FirewallName: smithy_client_1.expectString(output.FirewallName),
|
|
3589
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
3586
|
+
DeleteProtection: (0, smithy_client_1.expectBoolean)(output.DeleteProtection),
|
|
3587
|
+
FirewallArn: (0, smithy_client_1.expectString)(output.FirewallArn),
|
|
3588
|
+
FirewallName: (0, smithy_client_1.expectString)(output.FirewallName),
|
|
3589
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
3590
3590
|
};
|
|
3591
3591
|
};
|
|
3592
3592
|
const deserializeAws_json1_0UpdateFirewallDescriptionResponse = (output, context) => {
|
|
3593
3593
|
return {
|
|
3594
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
3595
|
-
FirewallArn: smithy_client_1.expectString(output.FirewallArn),
|
|
3596
|
-
FirewallName: smithy_client_1.expectString(output.FirewallName),
|
|
3597
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
3594
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3595
|
+
FirewallArn: (0, smithy_client_1.expectString)(output.FirewallArn),
|
|
3596
|
+
FirewallName: (0, smithy_client_1.expectString)(output.FirewallName),
|
|
3597
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
3598
3598
|
};
|
|
3599
3599
|
};
|
|
3600
3600
|
const deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionResponse = (output, context) => {
|
|
3601
3601
|
return {
|
|
3602
|
-
FirewallArn: smithy_client_1.expectString(output.FirewallArn),
|
|
3603
|
-
FirewallName: smithy_client_1.expectString(output.FirewallName),
|
|
3604
|
-
FirewallPolicyChangeProtection: smithy_client_1.expectBoolean(output.FirewallPolicyChangeProtection),
|
|
3605
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
3602
|
+
FirewallArn: (0, smithy_client_1.expectString)(output.FirewallArn),
|
|
3603
|
+
FirewallName: (0, smithy_client_1.expectString)(output.FirewallName),
|
|
3604
|
+
FirewallPolicyChangeProtection: (0, smithy_client_1.expectBoolean)(output.FirewallPolicyChangeProtection),
|
|
3605
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
3606
3606
|
};
|
|
3607
3607
|
};
|
|
3608
3608
|
const deserializeAws_json1_0UpdateFirewallPolicyResponse = (output, context) => {
|
|
@@ -3610,13 +3610,13 @@ const deserializeAws_json1_0UpdateFirewallPolicyResponse = (output, context) =>
|
|
|
3610
3610
|
FirewallPolicyResponse: output.FirewallPolicyResponse !== undefined && output.FirewallPolicyResponse !== null
|
|
3611
3611
|
? deserializeAws_json1_0FirewallPolicyResponse(output.FirewallPolicyResponse, context)
|
|
3612
3612
|
: undefined,
|
|
3613
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
3613
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
3614
3614
|
};
|
|
3615
3615
|
};
|
|
3616
3616
|
const deserializeAws_json1_0UpdateLoggingConfigurationResponse = (output, context) => {
|
|
3617
3617
|
return {
|
|
3618
|
-
FirewallArn: smithy_client_1.expectString(output.FirewallArn),
|
|
3619
|
-
FirewallName: smithy_client_1.expectString(output.FirewallName),
|
|
3618
|
+
FirewallArn: (0, smithy_client_1.expectString)(output.FirewallArn),
|
|
3619
|
+
FirewallName: (0, smithy_client_1.expectString)(output.FirewallName),
|
|
3620
3620
|
LoggingConfiguration: output.LoggingConfiguration !== undefined && output.LoggingConfiguration !== null
|
|
3621
3621
|
? deserializeAws_json1_0LoggingConfiguration(output.LoggingConfiguration, context)
|
|
3622
3622
|
: undefined,
|
|
@@ -3627,15 +3627,15 @@ const deserializeAws_json1_0UpdateRuleGroupResponse = (output, context) => {
|
|
|
3627
3627
|
RuleGroupResponse: output.RuleGroupResponse !== undefined && output.RuleGroupResponse !== null
|
|
3628
3628
|
? deserializeAws_json1_0RuleGroupResponse(output.RuleGroupResponse, context)
|
|
3629
3629
|
: undefined,
|
|
3630
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
3630
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
3631
3631
|
};
|
|
3632
3632
|
};
|
|
3633
3633
|
const deserializeAws_json1_0UpdateSubnetChangeProtectionResponse = (output, context) => {
|
|
3634
3634
|
return {
|
|
3635
|
-
FirewallArn: smithy_client_1.expectString(output.FirewallArn),
|
|
3636
|
-
FirewallName: smithy_client_1.expectString(output.FirewallName),
|
|
3637
|
-
SubnetChangeProtection: smithy_client_1.expectBoolean(output.SubnetChangeProtection),
|
|
3638
|
-
UpdateToken: smithy_client_1.expectString(output.UpdateToken),
|
|
3635
|
+
FirewallArn: (0, smithy_client_1.expectString)(output.FirewallArn),
|
|
3636
|
+
FirewallName: (0, smithy_client_1.expectString)(output.FirewallName),
|
|
3637
|
+
SubnetChangeProtection: (0, smithy_client_1.expectBoolean)(output.SubnetChangeProtection),
|
|
3638
|
+
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
3639
3639
|
};
|
|
3640
3640
|
};
|
|
3641
3641
|
const deserializeAws_json1_0VariableDefinitionList = (output, context) => {
|
|
@@ -3645,7 +3645,7 @@ const deserializeAws_json1_0VariableDefinitionList = (output, context) => {
|
|
|
3645
3645
|
if (entry === null) {
|
|
3646
3646
|
return null;
|
|
3647
3647
|
}
|
|
3648
|
-
return smithy_client_1.expectString(entry);
|
|
3648
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3649
3649
|
});
|
|
3650
3650
|
return retVal;
|
|
3651
3651
|
};
|