aws-sdk-wafv2 1.101.0 → 1.103.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -79,6 +79,10 @@ module Aws::WAFV2
79
79
  CustomResponse = Shapes::StructureShape.new(name: 'CustomResponse')
80
80
  CustomResponseBodies = Shapes::MapShape.new(name: 'CustomResponseBodies')
81
81
  CustomResponseBody = Shapes::StructureShape.new(name: 'CustomResponseBody')
82
+ DataProtection = Shapes::StructureShape.new(name: 'DataProtection')
83
+ DataProtectionAction = Shapes::StringShape.new(name: 'DataProtectionAction')
84
+ DataProtectionConfig = Shapes::StructureShape.new(name: 'DataProtectionConfig')
85
+ DataProtections = Shapes::ListShape.new(name: 'DataProtections')
82
86
  DefaultAction = Shapes::StructureShape.new(name: 'DefaultAction')
83
87
  DeleteAPIKeyRequest = Shapes::StructureShape.new(name: 'DeleteAPIKeyRequest')
84
88
  DeleteAPIKeyResponse = Shapes::StructureShape.new(name: 'DeleteAPIKeyResponse')
@@ -122,6 +126,10 @@ module Aws::WAFV2
122
126
  FieldIdentifier = Shapes::StringShape.new(name: 'FieldIdentifier')
123
127
  FieldToMatch = Shapes::StructureShape.new(name: 'FieldToMatch')
124
128
  FieldToMatchData = Shapes::StringShape.new(name: 'FieldToMatchData')
129
+ FieldToProtect = Shapes::StructureShape.new(name: 'FieldToProtect')
130
+ FieldToProtectKeyName = Shapes::StringShape.new(name: 'FieldToProtectKeyName')
131
+ FieldToProtectKeys = Shapes::ListShape.new(name: 'FieldToProtectKeys')
132
+ FieldToProtectType = Shapes::StringShape.new(name: 'FieldToProtectType')
125
133
  Filter = Shapes::StructureShape.new(name: 'Filter')
126
134
  FilterBehavior = Shapes::StringShape.new(name: 'FilterBehavior')
127
135
  FilterRequirement = Shapes::StringShape.new(name: 'FilterRequirement')
@@ -589,6 +597,7 @@ module Aws::WAFV2
589
597
  CreateWebACLRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "Description"))
590
598
  CreateWebACLRequest.add_member(:rules, Shapes::ShapeRef.new(shape: Rules, location_name: "Rules"))
591
599
  CreateWebACLRequest.add_member(:visibility_config, Shapes::ShapeRef.new(shape: VisibilityConfig, required: true, location_name: "VisibilityConfig"))
600
+ CreateWebACLRequest.add_member(:data_protection_config, Shapes::ShapeRef.new(shape: DataProtectionConfig, location_name: "DataProtectionConfig"))
592
601
  CreateWebACLRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
593
602
  CreateWebACLRequest.add_member(:custom_response_bodies, Shapes::ShapeRef.new(shape: CustomResponseBodies, location_name: "CustomResponseBodies"))
594
603
  CreateWebACLRequest.add_member(:captcha_config, Shapes::ShapeRef.new(shape: CaptchaConfig, location_name: "CaptchaConfig"))
@@ -621,6 +630,17 @@ module Aws::WAFV2
621
630
  CustomResponseBody.add_member(:content, Shapes::ShapeRef.new(shape: ResponseContent, required: true, location_name: "Content"))
622
631
  CustomResponseBody.struct_class = Types::CustomResponseBody
623
632
 
633
+ DataProtection.add_member(:field, Shapes::ShapeRef.new(shape: FieldToProtect, required: true, location_name: "Field"))
634
+ DataProtection.add_member(:action, Shapes::ShapeRef.new(shape: DataProtectionAction, required: true, location_name: "Action"))
635
+ DataProtection.add_member(:exclude_rule_match_details, Shapes::ShapeRef.new(shape: Boolean, location_name: "ExcludeRuleMatchDetails"))
636
+ DataProtection.add_member(:exclude_rate_based_details, Shapes::ShapeRef.new(shape: Boolean, location_name: "ExcludeRateBasedDetails"))
637
+ DataProtection.struct_class = Types::DataProtection
638
+
639
+ DataProtectionConfig.add_member(:data_protections, Shapes::ShapeRef.new(shape: DataProtections, required: true, location_name: "DataProtections"))
640
+ DataProtectionConfig.struct_class = Types::DataProtectionConfig
641
+
642
+ DataProtections.member = Shapes::ShapeRef.new(shape: DataProtection)
643
+
624
644
  DefaultAction.add_member(:block, Shapes::ShapeRef.new(shape: BlockAction, location_name: "Block"))
625
645
  DefaultAction.add_member(:allow, Shapes::ShapeRef.new(shape: AllowAction, location_name: "Allow"))
626
646
  DefaultAction.struct_class = Types::DefaultAction
@@ -737,6 +757,12 @@ module Aws::WAFV2
737
757
  FieldToMatch.add_member(:ja3_fingerprint, Shapes::ShapeRef.new(shape: JA3Fingerprint, location_name: "JA3Fingerprint"))
738
758
  FieldToMatch.struct_class = Types::FieldToMatch
739
759
 
760
+ FieldToProtect.add_member(:field_type, Shapes::ShapeRef.new(shape: FieldToProtectType, required: true, location_name: "FieldType"))
761
+ FieldToProtect.add_member(:field_keys, Shapes::ShapeRef.new(shape: FieldToProtectKeys, location_name: "FieldKeys"))
762
+ FieldToProtect.struct_class = Types::FieldToProtect
763
+
764
+ FieldToProtectKeys.member = Shapes::ShapeRef.new(shape: FieldToProtectKeyName)
765
+
740
766
  Filter.add_member(:behavior, Shapes::ShapeRef.new(shape: FilterBehavior, required: true, location_name: "Behavior"))
741
767
  Filter.add_member(:requirement, Shapes::ShapeRef.new(shape: FilterRequirement, required: true, location_name: "Requirement"))
742
768
  Filter.add_member(:conditions, Shapes::ShapeRef.new(shape: Conditions, required: true, location_name: "Conditions"))
@@ -1580,6 +1606,7 @@ module Aws::WAFV2
1580
1606
  UpdateWebACLRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "Description"))
1581
1607
  UpdateWebACLRequest.add_member(:rules, Shapes::ShapeRef.new(shape: Rules, location_name: "Rules"))
1582
1608
  UpdateWebACLRequest.add_member(:visibility_config, Shapes::ShapeRef.new(shape: VisibilityConfig, required: true, location_name: "VisibilityConfig"))
1609
+ UpdateWebACLRequest.add_member(:data_protection_config, Shapes::ShapeRef.new(shape: DataProtectionConfig, location_name: "DataProtectionConfig"))
1583
1610
  UpdateWebACLRequest.add_member(:lock_token, Shapes::ShapeRef.new(shape: LockToken, required: true, location_name: "LockToken"))
1584
1611
  UpdateWebACLRequest.add_member(:custom_response_bodies, Shapes::ShapeRef.new(shape: CustomResponseBodies, location_name: "CustomResponseBodies"))
1585
1612
  UpdateWebACLRequest.add_member(:captcha_config, Shapes::ShapeRef.new(shape: CaptchaConfig, location_name: "CaptchaConfig"))
@@ -1676,6 +1703,7 @@ module Aws::WAFV2
1676
1703
  WebACL.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "Description"))
1677
1704
  WebACL.add_member(:rules, Shapes::ShapeRef.new(shape: Rules, location_name: "Rules"))
1678
1705
  WebACL.add_member(:visibility_config, Shapes::ShapeRef.new(shape: VisibilityConfig, required: true, location_name: "VisibilityConfig"))
1706
+ WebACL.add_member(:data_protection_config, Shapes::ShapeRef.new(shape: DataProtectionConfig, location_name: "DataProtectionConfig"))
1679
1707
  WebACL.add_member(:capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "Capacity"))
1680
1708
  WebACL.add_member(:pre_process_firewall_manager_rule_groups, Shapes::ShapeRef.new(shape: FirewallManagerRuleGroups, location_name: "PreProcessFirewallManagerRuleGroups"))
1681
1709
  WebACL.add_member(:post_process_firewall_manager_rule_groups, Shapes::ShapeRef.new(shape: FirewallManagerRuleGroups, location_name: "PostProcessFirewallManagerRuleGroups"))