@aws-sdk/client-network-firewall 3.131.0 → 3.141.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.
Files changed (71) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +1 -1
  3. package/dist-cjs/commands/AssociateFirewallPolicyCommand.js +2 -2
  4. package/dist-cjs/commands/AssociateSubnetsCommand.js +2 -2
  5. package/dist-cjs/commands/CreateFirewallCommand.js +2 -2
  6. package/dist-cjs/commands/CreateFirewallPolicyCommand.js +2 -2
  7. package/dist-cjs/commands/CreateRuleGroupCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteFirewallCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteFirewallPolicyCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteRuleGroupCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeFirewallCommand.js +2 -2
  13. package/dist-cjs/commands/DescribeFirewallPolicyCommand.js +2 -2
  14. package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +2 -2
  15. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +2 -2
  16. package/dist-cjs/commands/DescribeRuleGroupCommand.js +2 -2
  17. package/dist-cjs/commands/DescribeRuleGroupMetadataCommand.js +2 -2
  18. package/dist-cjs/commands/DisassociateSubnetsCommand.js +2 -2
  19. package/dist-cjs/commands/ListFirewallPoliciesCommand.js +2 -2
  20. package/dist-cjs/commands/ListFirewallsCommand.js +2 -2
  21. package/dist-cjs/commands/ListRuleGroupsCommand.js +2 -2
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  23. package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -2
  24. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  25. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  26. package/dist-cjs/commands/UpdateFirewallDeleteProtectionCommand.js +2 -2
  27. package/dist-cjs/commands/UpdateFirewallDescriptionCommand.js +2 -2
  28. package/dist-cjs/commands/UpdateFirewallEncryptionConfigurationCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateFirewallPolicyChangeProtectionCommand.js +2 -2
  30. package/dist-cjs/commands/UpdateFirewallPolicyCommand.js +2 -2
  31. package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +2 -2
  32. package/dist-cjs/commands/UpdateRuleGroupCommand.js +2 -2
  33. package/dist-cjs/commands/UpdateSubnetChangeProtectionCommand.js +2 -2
  34. package/dist-cjs/models/models_0.js +441 -627
  35. package/dist-cjs/protocols/Aws_json1_0.js +83 -0
  36. package/dist-es/commands/AssociateFirewallPolicyCommand.js +3 -3
  37. package/dist-es/commands/AssociateSubnetsCommand.js +3 -3
  38. package/dist-es/commands/CreateFirewallCommand.js +3 -3
  39. package/dist-es/commands/CreateFirewallPolicyCommand.js +3 -3
  40. package/dist-es/commands/CreateRuleGroupCommand.js +3 -3
  41. package/dist-es/commands/DeleteFirewallCommand.js +3 -3
  42. package/dist-es/commands/DeleteFirewallPolicyCommand.js +3 -3
  43. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -3
  44. package/dist-es/commands/DeleteRuleGroupCommand.js +3 -3
  45. package/dist-es/commands/DescribeFirewallCommand.js +3 -3
  46. package/dist-es/commands/DescribeFirewallPolicyCommand.js +3 -3
  47. package/dist-es/commands/DescribeLoggingConfigurationCommand.js +3 -3
  48. package/dist-es/commands/DescribeResourcePolicyCommand.js +3 -3
  49. package/dist-es/commands/DescribeRuleGroupCommand.js +3 -3
  50. package/dist-es/commands/DescribeRuleGroupMetadataCommand.js +3 -3
  51. package/dist-es/commands/DisassociateSubnetsCommand.js +3 -3
  52. package/dist-es/commands/ListFirewallPoliciesCommand.js +3 -3
  53. package/dist-es/commands/ListFirewallsCommand.js +3 -3
  54. package/dist-es/commands/ListRuleGroupsCommand.js +3 -3
  55. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  56. package/dist-es/commands/PutResourcePolicyCommand.js +3 -3
  57. package/dist-es/commands/TagResourceCommand.js +3 -3
  58. package/dist-es/commands/UntagResourceCommand.js +3 -3
  59. package/dist-es/commands/UpdateFirewallDeleteProtectionCommand.js +3 -3
  60. package/dist-es/commands/UpdateFirewallDescriptionCommand.js +3 -3
  61. package/dist-es/commands/UpdateFirewallEncryptionConfigurationCommand.js +3 -3
  62. package/dist-es/commands/UpdateFirewallPolicyChangeProtectionCommand.js +3 -3
  63. package/dist-es/commands/UpdateFirewallPolicyCommand.js +3 -3
  64. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +3 -3
  65. package/dist-es/commands/UpdateRuleGroupCommand.js +3 -3
  66. package/dist-es/commands/UpdateSubnetChangeProtectionCommand.js +3 -3
  67. package/dist-es/models/models_0.js +111 -416
  68. package/dist-es/protocols/Aws_json1_0.js +76 -1
  69. package/dist-types/models/models_0.d.ts +494 -616
  70. package/dist-types/ts3.4/models/models_0.d.ts +248 -411
  71. package/package.json +6 -6
@@ -2679,6 +2679,19 @@ var serializeAws_json1_0IPSet = function (input, context) {
2679
2679
  Definition: serializeAws_json1_0VariableDefinitionList(input.Definition, context),
2680
2680
  }));
2681
2681
  };
2682
+ var serializeAws_json1_0IPSetReference = function (input, context) {
2683
+ return __assign({}, (input.ReferenceArn != null && { ReferenceArn: input.ReferenceArn }));
2684
+ };
2685
+ var serializeAws_json1_0IPSetReferenceMap = function (input, context) {
2686
+ return Object.entries(input).reduce(function (acc, _a) {
2687
+ var _b;
2688
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
2689
+ if (value === null) {
2690
+ return acc;
2691
+ }
2692
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = serializeAws_json1_0IPSetReference(value, context), _b));
2693
+ }, {});
2694
+ };
2682
2695
  var serializeAws_json1_0IPSets = function (input, context) {
2683
2696
  return Object.entries(input).reduce(function (acc, _a) {
2684
2697
  var _b;
@@ -2780,13 +2793,20 @@ var serializeAws_json1_0PublishMetricAction = function (input, context) {
2780
2793
  var serializeAws_json1_0PutResourcePolicyRequest = function (input, context) {
2781
2794
  return __assign(__assign({}, (input.Policy != null && { Policy: input.Policy })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
2782
2795
  };
2796
+ var serializeAws_json1_0ReferenceSets = function (input, context) {
2797
+ return __assign({}, (input.IPSetReferences != null && {
2798
+ IPSetReferences: serializeAws_json1_0IPSetReferenceMap(input.IPSetReferences, context),
2799
+ }));
2800
+ };
2783
2801
  var serializeAws_json1_0RuleDefinition = function (input, context) {
2784
2802
  return __assign(__assign({}, (input.Actions != null && { Actions: serializeAws_json1_0StatelessActions(input.Actions, context) })), (input.MatchAttributes != null && {
2785
2803
  MatchAttributes: serializeAws_json1_0MatchAttributes(input.MatchAttributes, context),
2786
2804
  }));
2787
2805
  };
2788
2806
  var serializeAws_json1_0RuleGroup = function (input, context) {
2789
- return __assign(__assign(__assign({}, (input.RuleVariables != null && {
2807
+ return __assign(__assign(__assign(__assign({}, (input.ReferenceSets != null && {
2808
+ ReferenceSets: serializeAws_json1_0ReferenceSets(input.ReferenceSets, context),
2809
+ })), (input.RuleVariables != null && {
2790
2810
  RuleVariables: serializeAws_json1_0RuleVariables(input.RuleVariables, context),
2791
2811
  })), (input.RulesSource != null && { RulesSource: serializeAws_json1_0RulesSource(input.RulesSource, context) })), (input.StatefulRuleOptions != null && {
2792
2812
  StatefulRuleOptions: serializeAws_json1_0StatefulRuleOptions(input.StatefulRuleOptions, context),
@@ -3102,6 +3122,20 @@ var deserializeAws_json1_0Attachment = function (output, context) {
3102
3122
  SubnetId: __expectString(output.SubnetId),
3103
3123
  };
3104
3124
  };
3125
+ var deserializeAws_json1_0CapacityUsageSummary = function (output, context) {
3126
+ return {
3127
+ CIDRs: output.CIDRs != null ? deserializeAws_json1_0CIDRSummary(output.CIDRs, context) : undefined,
3128
+ };
3129
+ };
3130
+ var deserializeAws_json1_0CIDRSummary = function (output, context) {
3131
+ return {
3132
+ AvailableCIDRCount: __expectInt32(output.AvailableCIDRCount),
3133
+ IPSetReferences: output.IPSetReferences != null
3134
+ ? deserializeAws_json1_0IPSetMetadataMap(output.IPSetReferences, context)
3135
+ : undefined,
3136
+ UtilizedCIDRCount: __expectInt32(output.UtilizedCIDRCount),
3137
+ };
3138
+ };
3105
3139
  var deserializeAws_json1_0CreateFirewallPolicyResponse = function (output, context) {
3106
3140
  return {
3107
3141
  FirewallPolicyResponse: output.FirewallPolicyResponse != null
@@ -3347,6 +3381,9 @@ var deserializeAws_json1_0Firewalls = function (output, context) {
3347
3381
  };
3348
3382
  var deserializeAws_json1_0FirewallStatus = function (output, context) {
3349
3383
  return {
3384
+ CapacityUsageSummary: output.CapacityUsageSummary != null
3385
+ ? deserializeAws_json1_0CapacityUsageSummary(output.CapacityUsageSummary, context)
3386
+ : undefined,
3350
3387
  ConfigurationSyncStateSummary: __expectString(output.ConfigurationSyncStateSummary),
3351
3388
  Status: __expectString(output.Status),
3352
3389
  SyncStates: output.SyncStates != null ? deserializeAws_json1_0SyncStates(output.SyncStates, context) : undefined,
@@ -3408,6 +3445,36 @@ var deserializeAws_json1_0IPSet = function (output, context) {
3408
3445
  Definition: output.Definition != null ? deserializeAws_json1_0VariableDefinitionList(output.Definition, context) : undefined,
3409
3446
  };
3410
3447
  };
3448
+ var deserializeAws_json1_0IPSetMetadata = function (output, context) {
3449
+ return {
3450
+ ResolvedCIDRCount: __expectInt32(output.ResolvedCIDRCount),
3451
+ };
3452
+ };
3453
+ var deserializeAws_json1_0IPSetMetadataMap = function (output, context) {
3454
+ return Object.entries(output).reduce(function (acc, _a) {
3455
+ var _b;
3456
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
3457
+ if (value === null) {
3458
+ return acc;
3459
+ }
3460
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = deserializeAws_json1_0IPSetMetadata(value, context), _b));
3461
+ }, {});
3462
+ };
3463
+ var deserializeAws_json1_0IPSetReference = function (output, context) {
3464
+ return {
3465
+ ReferenceArn: __expectString(output.ReferenceArn),
3466
+ };
3467
+ };
3468
+ var deserializeAws_json1_0IPSetReferenceMap = function (output, context) {
3469
+ return Object.entries(output).reduce(function (acc, _a) {
3470
+ var _b;
3471
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
3472
+ if (value === null) {
3473
+ return acc;
3474
+ }
3475
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = deserializeAws_json1_0IPSetReference(value, context), _b));
3476
+ }, {});
3477
+ };
3411
3478
  var deserializeAws_json1_0IPSets = function (output, context) {
3412
3479
  return Object.entries(output).reduce(function (acc, _a) {
3413
3480
  var _b;
@@ -3558,6 +3625,13 @@ var deserializeAws_json1_0PublishMetricAction = function (output, context) {
3558
3625
  var deserializeAws_json1_0PutResourcePolicyResponse = function (output, context) {
3559
3626
  return {};
3560
3627
  };
3628
+ var deserializeAws_json1_0ReferenceSets = function (output, context) {
3629
+ return {
3630
+ IPSetReferences: output.IPSetReferences != null
3631
+ ? deserializeAws_json1_0IPSetReferenceMap(output.IPSetReferences, context)
3632
+ : undefined,
3633
+ };
3634
+ };
3561
3635
  var deserializeAws_json1_0ResourceNotFoundException = function (output, context) {
3562
3636
  return {
3563
3637
  Message: __expectString(output.Message),
@@ -3578,6 +3652,7 @@ var deserializeAws_json1_0RuleDefinition = function (output, context) {
3578
3652
  };
3579
3653
  var deserializeAws_json1_0RuleGroup = function (output, context) {
3580
3654
  return {
3655
+ ReferenceSets: output.ReferenceSets != null ? deserializeAws_json1_0ReferenceSets(output.ReferenceSets, context) : undefined,
3581
3656
  RuleVariables: output.RuleVariables != null ? deserializeAws_json1_0RuleVariables(output.RuleVariables, context) : undefined,
3582
3657
  RulesSource: output.RulesSource != null ? deserializeAws_json1_0RulesSource(output.RulesSource, context) : undefined,
3583
3658
  StatefulRuleOptions: output.StatefulRuleOptions != null