aws-sdk-wafv2 1.23.0 → 1.27.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -98,6 +98,8 @@ module Aws::WAFV2
98
98
  GetIPSetResponse = Shapes::StructureShape.new(name: 'GetIPSetResponse')
99
99
  GetLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'GetLoggingConfigurationRequest')
100
100
  GetLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'GetLoggingConfigurationResponse')
101
+ GetManagedRuleSetRequest = Shapes::StructureShape.new(name: 'GetManagedRuleSetRequest')
102
+ GetManagedRuleSetResponse = Shapes::StructureShape.new(name: 'GetManagedRuleSetResponse')
101
103
  GetPermissionPolicyRequest = Shapes::StructureShape.new(name: 'GetPermissionPolicyRequest')
102
104
  GetPermissionPolicyResponse = Shapes::StructureShape.new(name: 'GetPermissionPolicyResponse')
103
105
  GetRateBasedStatementManagedKeysRequest = Shapes::StructureShape.new(name: 'GetRateBasedStatementManagedKeysRequest')
@@ -142,12 +144,16 @@ module Aws::WAFV2
142
144
  LabelSummaries = Shapes::ListShape.new(name: 'LabelSummaries')
143
145
  LabelSummary = Shapes::StructureShape.new(name: 'LabelSummary')
144
146
  Labels = Shapes::ListShape.new(name: 'Labels')
147
+ ListAvailableManagedRuleGroupVersionsRequest = Shapes::StructureShape.new(name: 'ListAvailableManagedRuleGroupVersionsRequest')
148
+ ListAvailableManagedRuleGroupVersionsResponse = Shapes::StructureShape.new(name: 'ListAvailableManagedRuleGroupVersionsResponse')
145
149
  ListAvailableManagedRuleGroupsRequest = Shapes::StructureShape.new(name: 'ListAvailableManagedRuleGroupsRequest')
146
150
  ListAvailableManagedRuleGroupsResponse = Shapes::StructureShape.new(name: 'ListAvailableManagedRuleGroupsResponse')
147
151
  ListIPSetsRequest = Shapes::StructureShape.new(name: 'ListIPSetsRequest')
148
152
  ListIPSetsResponse = Shapes::StructureShape.new(name: 'ListIPSetsResponse')
149
153
  ListLoggingConfigurationsRequest = Shapes::StructureShape.new(name: 'ListLoggingConfigurationsRequest')
150
154
  ListLoggingConfigurationsResponse = Shapes::StructureShape.new(name: 'ListLoggingConfigurationsResponse')
155
+ ListManagedRuleSetsRequest = Shapes::StructureShape.new(name: 'ListManagedRuleSetsRequest')
156
+ ListManagedRuleSetsResponse = Shapes::StructureShape.new(name: 'ListManagedRuleSetsResponse')
151
157
  ListMaxItems = Shapes::IntegerShape.new(name: 'ListMaxItems')
152
158
  ListRegexPatternSetsRequest = Shapes::StructureShape.new(name: 'ListRegexPatternSetsRequest')
153
159
  ListRegexPatternSetsResponse = Shapes::StructureShape.new(name: 'ListRegexPatternSetsResponse')
@@ -167,6 +173,12 @@ module Aws::WAFV2
167
173
  ManagedRuleGroupStatement = Shapes::StructureShape.new(name: 'ManagedRuleGroupStatement')
168
174
  ManagedRuleGroupSummaries = Shapes::ListShape.new(name: 'ManagedRuleGroupSummaries')
169
175
  ManagedRuleGroupSummary = Shapes::StructureShape.new(name: 'ManagedRuleGroupSummary')
176
+ ManagedRuleGroupVersion = Shapes::StructureShape.new(name: 'ManagedRuleGroupVersion')
177
+ ManagedRuleGroupVersions = Shapes::ListShape.new(name: 'ManagedRuleGroupVersions')
178
+ ManagedRuleSet = Shapes::StructureShape.new(name: 'ManagedRuleSet')
179
+ ManagedRuleSetSummaries = Shapes::ListShape.new(name: 'ManagedRuleSetSummaries')
180
+ ManagedRuleSetSummary = Shapes::StructureShape.new(name: 'ManagedRuleSetSummary')
181
+ ManagedRuleSetVersion = Shapes::StructureShape.new(name: 'ManagedRuleSetVersion')
170
182
  Method = Shapes::StructureShape.new(name: 'Method')
171
183
  MetricName = Shapes::StringShape.new(name: 'MetricName')
172
184
  NextMarker = Shapes::StringShape.new(name: 'NextMarker')
@@ -180,8 +192,11 @@ module Aws::WAFV2
180
192
  PolicyString = Shapes::StringShape.new(name: 'PolicyString')
181
193
  PopulationSize = Shapes::IntegerShape.new(name: 'PopulationSize')
182
194
  PositionalConstraint = Shapes::StringShape.new(name: 'PositionalConstraint')
195
+ PublishedVersions = Shapes::MapShape.new(name: 'PublishedVersions')
183
196
  PutLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutLoggingConfigurationRequest')
184
197
  PutLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutLoggingConfigurationResponse')
198
+ PutManagedRuleSetVersionsRequest = Shapes::StructureShape.new(name: 'PutManagedRuleSetVersionsRequest')
199
+ PutManagedRuleSetVersionsResponse = Shapes::StructureShape.new(name: 'PutManagedRuleSetVersionsResponse')
185
200
  PutPermissionPolicyRequest = Shapes::StructureShape.new(name: 'PutPermissionPolicyRequest')
186
201
  PutPermissionPolicyResponse = Shapes::StructureShape.new(name: 'PutPermissionPolicyResponse')
187
202
  QueryString = Shapes::StructureShape.new(name: 'QueryString')
@@ -191,6 +206,7 @@ module Aws::WAFV2
191
206
  RateLimit = Shapes::IntegerShape.new(name: 'RateLimit')
192
207
  RedactedFields = Shapes::ListShape.new(name: 'RedactedFields')
193
208
  Regex = Shapes::StructureShape.new(name: 'Regex')
209
+ RegexMatchStatement = Shapes::StructureShape.new(name: 'RegexMatchStatement')
194
210
  RegexPatternSet = Shapes::StructureShape.new(name: 'RegexPatternSet')
195
211
  RegexPatternSetReferenceStatement = Shapes::StructureShape.new(name: 'RegexPatternSetReferenceStatement')
196
212
  RegexPatternSetSummaries = Shapes::ListShape.new(name: 'RegexPatternSetSummaries')
@@ -238,12 +254,15 @@ module Aws::WAFV2
238
254
  TextTransformationType = Shapes::StringShape.new(name: 'TextTransformationType')
239
255
  TextTransformations = Shapes::ListShape.new(name: 'TextTransformations')
240
256
  TimeWindow = Shapes::StructureShape.new(name: 'TimeWindow')
257
+ TimeWindowDay = Shapes::IntegerShape.new(name: 'TimeWindowDay')
241
258
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
242
259
  URIString = Shapes::StringShape.new(name: 'URIString')
243
260
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
244
261
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
245
262
  UpdateIPSetRequest = Shapes::StructureShape.new(name: 'UpdateIPSetRequest')
246
263
  UpdateIPSetResponse = Shapes::StructureShape.new(name: 'UpdateIPSetResponse')
264
+ UpdateManagedRuleSetVersionExpiryDateRequest = Shapes::StructureShape.new(name: 'UpdateManagedRuleSetVersionExpiryDateRequest')
265
+ UpdateManagedRuleSetVersionExpiryDateResponse = Shapes::StructureShape.new(name: 'UpdateManagedRuleSetVersionExpiryDateResponse')
247
266
  UpdateRegexPatternSetRequest = Shapes::StructureShape.new(name: 'UpdateRegexPatternSetRequest')
248
267
  UpdateRegexPatternSetResponse = Shapes::StructureShape.new(name: 'UpdateRegexPatternSetResponse')
249
268
  UpdateRuleGroupRequest = Shapes::StructureShape.new(name: 'UpdateRuleGroupRequest')
@@ -252,9 +271,13 @@ module Aws::WAFV2
252
271
  UpdateWebACLResponse = Shapes::StructureShape.new(name: 'UpdateWebACLResponse')
253
272
  UriPath = Shapes::StructureShape.new(name: 'UriPath')
254
273
  VendorName = Shapes::StringShape.new(name: 'VendorName')
274
+ VersionKeyString = Shapes::StringShape.new(name: 'VersionKeyString')
275
+ VersionToPublish = Shapes::StructureShape.new(name: 'VersionToPublish')
276
+ VersionsToPublish = Shapes::MapShape.new(name: 'VersionsToPublish')
255
277
  VisibilityConfig = Shapes::StructureShape.new(name: 'VisibilityConfig')
256
278
  WAFAssociatedItemException = Shapes::StructureShape.new(name: 'WAFAssociatedItemException')
257
279
  WAFDuplicateItemException = Shapes::StructureShape.new(name: 'WAFDuplicateItemException')
280
+ WAFExpiredManagedRuleGroupVersionException = Shapes::StructureShape.new(name: 'WAFExpiredManagedRuleGroupVersionException')
258
281
  WAFInternalErrorException = Shapes::StructureShape.new(name: 'WAFInternalErrorException')
259
282
  WAFInvalidOperationException = Shapes::StructureShape.new(name: 'WAFInvalidOperationException')
260
283
  WAFInvalidParameterException = Shapes::StructureShape.new(name: 'WAFInvalidParameterException')
@@ -445,8 +468,11 @@ module Aws::WAFV2
445
468
  DescribeManagedRuleGroupRequest.add_member(:vendor_name, Shapes::ShapeRef.new(shape: VendorName, required: true, location_name: "VendorName"))
446
469
  DescribeManagedRuleGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
447
470
  DescribeManagedRuleGroupRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
471
+ DescribeManagedRuleGroupRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionKeyString, location_name: "VersionName"))
448
472
  DescribeManagedRuleGroupRequest.struct_class = Types::DescribeManagedRuleGroupRequest
449
473
 
474
+ DescribeManagedRuleGroupResponse.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionKeyString, location_name: "VersionName"))
475
+ DescribeManagedRuleGroupResponse.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "SnsTopicArn"))
450
476
  DescribeManagedRuleGroupResponse.add_member(:capacity, Shapes::ShapeRef.new(shape: CapacityUnit, location_name: "Capacity"))
451
477
  DescribeManagedRuleGroupResponse.add_member(:rules, Shapes::ShapeRef.new(shape: RuleSummaries, location_name: "Rules"))
452
478
  DescribeManagedRuleGroupResponse.add_member(:label_namespace, Shapes::ShapeRef.new(shape: LabelName, location_name: "LabelNamespace"))
@@ -517,6 +543,15 @@ module Aws::WAFV2
517
543
  GetLoggingConfigurationResponse.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "LoggingConfiguration"))
518
544
  GetLoggingConfigurationResponse.struct_class = Types::GetLoggingConfigurationResponse
519
545
 
546
+ GetManagedRuleSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
547
+ GetManagedRuleSetRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
548
+ GetManagedRuleSetRequest.add_member(:id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "Id"))
549
+ GetManagedRuleSetRequest.struct_class = Types::GetManagedRuleSetRequest
550
+
551
+ GetManagedRuleSetResponse.add_member(:managed_rule_set, Shapes::ShapeRef.new(shape: ManagedRuleSet, location_name: "ManagedRuleSet"))
552
+ GetManagedRuleSetResponse.add_member(:lock_token, Shapes::ShapeRef.new(shape: LockToken, location_name: "LockToken"))
553
+ GetManagedRuleSetResponse.struct_class = Types::GetManagedRuleSetResponse
554
+
520
555
  GetPermissionPolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
521
556
  GetPermissionPolicyRequest.struct_class = Types::GetPermissionPolicyRequest
522
557
 
@@ -526,6 +561,7 @@ module Aws::WAFV2
526
561
  GetRateBasedStatementManagedKeysRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
527
562
  GetRateBasedStatementManagedKeysRequest.add_member(:web_acl_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "WebACLName"))
528
563
  GetRateBasedStatementManagedKeysRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "WebACLId"))
564
+ GetRateBasedStatementManagedKeysRequest.add_member(:rule_group_rule_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "RuleGroupRuleName"))
529
565
  GetRateBasedStatementManagedKeysRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "RuleName"))
530
566
  GetRateBasedStatementManagedKeysRequest.struct_class = Types::GetRateBasedStatementManagedKeysRequest
531
567
 
@@ -649,6 +685,17 @@ module Aws::WAFV2
649
685
 
650
686
  Labels.member = Shapes::ShapeRef.new(shape: Label)
651
687
 
688
+ ListAvailableManagedRuleGroupVersionsRequest.add_member(:vendor_name, Shapes::ShapeRef.new(shape: VendorName, required: true, location_name: "VendorName"))
689
+ ListAvailableManagedRuleGroupVersionsRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
690
+ ListAvailableManagedRuleGroupVersionsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
691
+ ListAvailableManagedRuleGroupVersionsRequest.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
692
+ ListAvailableManagedRuleGroupVersionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PaginationLimit, location_name: "Limit"))
693
+ ListAvailableManagedRuleGroupVersionsRequest.struct_class = Types::ListAvailableManagedRuleGroupVersionsRequest
694
+
695
+ ListAvailableManagedRuleGroupVersionsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
696
+ ListAvailableManagedRuleGroupVersionsResponse.add_member(:versions, Shapes::ShapeRef.new(shape: ManagedRuleGroupVersions, location_name: "Versions"))
697
+ ListAvailableManagedRuleGroupVersionsResponse.struct_class = Types::ListAvailableManagedRuleGroupVersionsResponse
698
+
652
699
  ListAvailableManagedRuleGroupsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
653
700
  ListAvailableManagedRuleGroupsRequest.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
654
701
  ListAvailableManagedRuleGroupsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PaginationLimit, location_name: "Limit"))
@@ -676,6 +723,15 @@ module Aws::WAFV2
676
723
  ListLoggingConfigurationsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
677
724
  ListLoggingConfigurationsResponse.struct_class = Types::ListLoggingConfigurationsResponse
678
725
 
726
+ ListManagedRuleSetsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
727
+ ListManagedRuleSetsRequest.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
728
+ ListManagedRuleSetsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PaginationLimit, location_name: "Limit"))
729
+ ListManagedRuleSetsRequest.struct_class = Types::ListManagedRuleSetsRequest
730
+
731
+ ListManagedRuleSetsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
732
+ ListManagedRuleSetsResponse.add_member(:managed_rule_sets, Shapes::ShapeRef.new(shape: ManagedRuleSetSummaries, location_name: "ManagedRuleSets"))
733
+ ListManagedRuleSetsResponse.struct_class = Types::ListManagedRuleSetsResponse
734
+
679
735
  ListRegexPatternSetsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
680
736
  ListRegexPatternSetsRequest.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
681
737
  ListRegexPatternSetsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PaginationLimit, location_name: "Limit"))
@@ -736,6 +792,7 @@ module Aws::WAFV2
736
792
 
737
793
  ManagedRuleGroupStatement.add_member(:vendor_name, Shapes::ShapeRef.new(shape: VendorName, required: true, location_name: "VendorName"))
738
794
  ManagedRuleGroupStatement.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
795
+ ManagedRuleGroupStatement.add_member(:version, Shapes::ShapeRef.new(shape: VersionKeyString, location_name: "Version"))
739
796
  ManagedRuleGroupStatement.add_member(:excluded_rules, Shapes::ShapeRef.new(shape: ExcludedRules, location_name: "ExcludedRules"))
740
797
  ManagedRuleGroupStatement.add_member(:scope_down_statement, Shapes::ShapeRef.new(shape: Statement, location_name: "ScopeDownStatement"))
741
798
  ManagedRuleGroupStatement.struct_class = Types::ManagedRuleGroupStatement
@@ -747,6 +804,39 @@ module Aws::WAFV2
747
804
  ManagedRuleGroupSummary.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "Description"))
748
805
  ManagedRuleGroupSummary.struct_class = Types::ManagedRuleGroupSummary
749
806
 
807
+ ManagedRuleGroupVersion.add_member(:name, Shapes::ShapeRef.new(shape: VersionKeyString, location_name: "Name"))
808
+ ManagedRuleGroupVersion.add_member(:last_update_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdateTimestamp"))
809
+ ManagedRuleGroupVersion.struct_class = Types::ManagedRuleGroupVersion
810
+
811
+ ManagedRuleGroupVersions.member = Shapes::ShapeRef.new(shape: ManagedRuleGroupVersion)
812
+
813
+ ManagedRuleSet.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
814
+ ManagedRuleSet.add_member(:id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "Id"))
815
+ ManagedRuleSet.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ARN"))
816
+ ManagedRuleSet.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "Description"))
817
+ ManagedRuleSet.add_member(:published_versions, Shapes::ShapeRef.new(shape: PublishedVersions, location_name: "PublishedVersions"))
818
+ ManagedRuleSet.add_member(:recommended_version, Shapes::ShapeRef.new(shape: VersionKeyString, location_name: "RecommendedVersion"))
819
+ ManagedRuleSet.add_member(:label_namespace, Shapes::ShapeRef.new(shape: LabelName, location_name: "LabelNamespace"))
820
+ ManagedRuleSet.struct_class = Types::ManagedRuleSet
821
+
822
+ ManagedRuleSetSummaries.member = Shapes::ShapeRef.new(shape: ManagedRuleSetSummary)
823
+
824
+ ManagedRuleSetSummary.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, location_name: "Name"))
825
+ ManagedRuleSetSummary.add_member(:id, Shapes::ShapeRef.new(shape: EntityId, location_name: "Id"))
826
+ ManagedRuleSetSummary.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "Description"))
827
+ ManagedRuleSetSummary.add_member(:lock_token, Shapes::ShapeRef.new(shape: LockToken, location_name: "LockToken"))
828
+ ManagedRuleSetSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ARN"))
829
+ ManagedRuleSetSummary.add_member(:label_namespace, Shapes::ShapeRef.new(shape: LabelName, location_name: "LabelNamespace"))
830
+ ManagedRuleSetSummary.struct_class = Types::ManagedRuleSetSummary
831
+
832
+ ManagedRuleSetVersion.add_member(:associated_rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "AssociatedRuleGroupArn"))
833
+ ManagedRuleSetVersion.add_member(:capacity, Shapes::ShapeRef.new(shape: CapacityUnit, location_name: "Capacity"))
834
+ ManagedRuleSetVersion.add_member(:forecasted_lifetime, Shapes::ShapeRef.new(shape: TimeWindowDay, location_name: "ForecastedLifetime"))
835
+ ManagedRuleSetVersion.add_member(:publish_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "PublishTimestamp"))
836
+ ManagedRuleSetVersion.add_member(:last_update_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdateTimestamp"))
837
+ ManagedRuleSetVersion.add_member(:expiry_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpiryTimestamp"))
838
+ ManagedRuleSetVersion.struct_class = Types::ManagedRuleSetVersion
839
+
750
840
  Method.struct_class = Types::Method
751
841
 
752
842
  NoneAction.struct_class = Types::NoneAction
@@ -761,12 +851,26 @@ module Aws::WAFV2
761
851
  OverrideAction.add_member(:none, Shapes::ShapeRef.new(shape: NoneAction, location_name: "None"))
762
852
  OverrideAction.struct_class = Types::OverrideAction
763
853
 
854
+ PublishedVersions.key = Shapes::ShapeRef.new(shape: VersionKeyString)
855
+ PublishedVersions.value = Shapes::ShapeRef.new(shape: ManagedRuleSetVersion)
856
+
764
857
  PutLoggingConfigurationRequest.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, required: true, location_name: "LoggingConfiguration"))
765
858
  PutLoggingConfigurationRequest.struct_class = Types::PutLoggingConfigurationRequest
766
859
 
767
860
  PutLoggingConfigurationResponse.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "LoggingConfiguration"))
768
861
  PutLoggingConfigurationResponse.struct_class = Types::PutLoggingConfigurationResponse
769
862
 
863
+ PutManagedRuleSetVersionsRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
864
+ PutManagedRuleSetVersionsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
865
+ PutManagedRuleSetVersionsRequest.add_member(:id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "Id"))
866
+ PutManagedRuleSetVersionsRequest.add_member(:lock_token, Shapes::ShapeRef.new(shape: LockToken, required: true, location_name: "LockToken"))
867
+ PutManagedRuleSetVersionsRequest.add_member(:recommended_version, Shapes::ShapeRef.new(shape: VersionKeyString, location_name: "RecommendedVersion"))
868
+ PutManagedRuleSetVersionsRequest.add_member(:versions_to_publish, Shapes::ShapeRef.new(shape: VersionsToPublish, location_name: "VersionsToPublish"))
869
+ PutManagedRuleSetVersionsRequest.struct_class = Types::PutManagedRuleSetVersionsRequest
870
+
871
+ PutManagedRuleSetVersionsResponse.add_member(:next_lock_token, Shapes::ShapeRef.new(shape: LockToken, location_name: "NextLockToken"))
872
+ PutManagedRuleSetVersionsResponse.struct_class = Types::PutManagedRuleSetVersionsResponse
873
+
770
874
  PutPermissionPolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
771
875
  PutPermissionPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyString, required: true, location_name: "Policy"))
772
876
  PutPermissionPolicyRequest.struct_class = Types::PutPermissionPolicyRequest
@@ -790,6 +894,11 @@ module Aws::WAFV2
790
894
  Regex.add_member(:regex_string, Shapes::ShapeRef.new(shape: RegexPatternString, location_name: "RegexString"))
791
895
  Regex.struct_class = Types::Regex
792
896
 
897
+ RegexMatchStatement.add_member(:regex_string, Shapes::ShapeRef.new(shape: RegexPatternString, required: true, location_name: "RegexString"))
898
+ RegexMatchStatement.add_member(:field_to_match, Shapes::ShapeRef.new(shape: FieldToMatch, required: true, location_name: "FieldToMatch"))
899
+ RegexMatchStatement.add_member(:text_transformations, Shapes::ShapeRef.new(shape: TextTransformations, required: true, location_name: "TextTransformations"))
900
+ RegexMatchStatement.struct_class = Types::RegexMatchStatement
901
+
793
902
  RegexPatternSet.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, location_name: "Name"))
794
903
  RegexPatternSet.add_member(:id, Shapes::ShapeRef.new(shape: EntityId, location_name: "Id"))
795
904
  RegexPatternSet.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ARN"))
@@ -905,6 +1014,7 @@ module Aws::WAFV2
905
1014
  Statement.add_member(:not_statement, Shapes::ShapeRef.new(shape: NotStatement, location_name: "NotStatement"))
906
1015
  Statement.add_member(:managed_rule_group_statement, Shapes::ShapeRef.new(shape: ManagedRuleGroupStatement, location_name: "ManagedRuleGroupStatement"))
907
1016
  Statement.add_member(:label_match_statement, Shapes::ShapeRef.new(shape: LabelMatchStatement, location_name: "LabelMatchStatement"))
1017
+ Statement.add_member(:regex_match_statement, Shapes::ShapeRef.new(shape: RegexMatchStatement, location_name: "RegexMatchStatement"))
908
1018
  Statement.struct_class = Types::Statement
909
1019
 
910
1020
  Statements.member = Shapes::ShapeRef.new(shape: Statement)
@@ -954,6 +1064,19 @@ module Aws::WAFV2
954
1064
  UpdateIPSetResponse.add_member(:next_lock_token, Shapes::ShapeRef.new(shape: LockToken, location_name: "NextLockToken"))
955
1065
  UpdateIPSetResponse.struct_class = Types::UpdateIPSetResponse
956
1066
 
1067
+ UpdateManagedRuleSetVersionExpiryDateRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
1068
+ UpdateManagedRuleSetVersionExpiryDateRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
1069
+ UpdateManagedRuleSetVersionExpiryDateRequest.add_member(:id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "Id"))
1070
+ UpdateManagedRuleSetVersionExpiryDateRequest.add_member(:lock_token, Shapes::ShapeRef.new(shape: LockToken, required: true, location_name: "LockToken"))
1071
+ UpdateManagedRuleSetVersionExpiryDateRequest.add_member(:version_to_expire, Shapes::ShapeRef.new(shape: VersionKeyString, required: true, location_name: "VersionToExpire"))
1072
+ UpdateManagedRuleSetVersionExpiryDateRequest.add_member(:expiry_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ExpiryTimestamp"))
1073
+ UpdateManagedRuleSetVersionExpiryDateRequest.struct_class = Types::UpdateManagedRuleSetVersionExpiryDateRequest
1074
+
1075
+ UpdateManagedRuleSetVersionExpiryDateResponse.add_member(:expiring_version, Shapes::ShapeRef.new(shape: VersionKeyString, location_name: "ExpiringVersion"))
1076
+ UpdateManagedRuleSetVersionExpiryDateResponse.add_member(:expiry_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpiryTimestamp"))
1077
+ UpdateManagedRuleSetVersionExpiryDateResponse.add_member(:next_lock_token, Shapes::ShapeRef.new(shape: LockToken, location_name: "NextLockToken"))
1078
+ UpdateManagedRuleSetVersionExpiryDateResponse.struct_class = Types::UpdateManagedRuleSetVersionExpiryDateResponse
1079
+
957
1080
  UpdateRegexPatternSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
958
1081
  UpdateRegexPatternSetRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
959
1082
  UpdateRegexPatternSetRequest.add_member(:id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "Id"))
@@ -994,6 +1117,13 @@ module Aws::WAFV2
994
1117
 
995
1118
  UriPath.struct_class = Types::UriPath
996
1119
 
1120
+ VersionToPublish.add_member(:associated_rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "AssociatedRuleGroupArn"))
1121
+ VersionToPublish.add_member(:forecasted_lifetime, Shapes::ShapeRef.new(shape: TimeWindowDay, location_name: "ForecastedLifetime"))
1122
+ VersionToPublish.struct_class = Types::VersionToPublish
1123
+
1124
+ VersionsToPublish.key = Shapes::ShapeRef.new(shape: VersionKeyString)
1125
+ VersionsToPublish.value = Shapes::ShapeRef.new(shape: VersionToPublish)
1126
+
997
1127
  VisibilityConfig.add_member(:sampled_requests_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "SampledRequestsEnabled"))
998
1128
  VisibilityConfig.add_member(:cloud_watch_metrics_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "CloudWatchMetricsEnabled"))
999
1129
  VisibilityConfig.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
@@ -1005,6 +1135,9 @@ module Aws::WAFV2
1005
1135
  WAFDuplicateItemException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1006
1136
  WAFDuplicateItemException.struct_class = Types::WAFDuplicateItemException
1007
1137
 
1138
+ WAFExpiredManagedRuleGroupVersionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1139
+ WAFExpiredManagedRuleGroupVersionException.struct_class = Types::WAFExpiredManagedRuleGroupVersionException
1140
+
1008
1141
  WAFInternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1009
1142
  WAFInternalErrorException.struct_class = Types::WAFInternalErrorException
1010
1143
 
@@ -1120,6 +1253,7 @@ module Aws::WAFV2
1120
1253
  o.errors << Shapes::ShapeRef.new(shape: WAFInvalidResourceException)
1121
1254
  o.errors << Shapes::ShapeRef.new(shape: WAFUnavailableEntityException)
1122
1255
  o.errors << Shapes::ShapeRef.new(shape: WAFSubscriptionNotFoundException)
1256
+ o.errors << Shapes::ShapeRef.new(shape: WAFExpiredManagedRuleGroupVersionException)
1123
1257
  end)
1124
1258
 
1125
1259
  api.add_operation(:create_ip_set, Seahorse::Model::Operation.new.tap do |o|
@@ -1305,6 +1439,7 @@ module Aws::WAFV2
1305
1439
  o.errors << Shapes::ShapeRef.new(shape: WAFInvalidResourceException)
1306
1440
  o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
1307
1441
  o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1442
+ o.errors << Shapes::ShapeRef.new(shape: WAFExpiredManagedRuleGroupVersionException)
1308
1443
  end)
1309
1444
 
1310
1445
  api.add_operation(:disassociate_web_acl, Seahorse::Model::Operation.new.tap do |o|
@@ -1343,6 +1478,18 @@ module Aws::WAFV2
1343
1478
  o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1344
1479
  end)
1345
1480
 
1481
+ api.add_operation(:get_managed_rule_set, Seahorse::Model::Operation.new.tap do |o|
1482
+ o.name = "GetManagedRuleSet"
1483
+ o.http_method = "POST"
1484
+ o.http_request_uri = "/"
1485
+ o.input = Shapes::ShapeRef.new(shape: GetManagedRuleSetRequest)
1486
+ o.output = Shapes::ShapeRef.new(shape: GetManagedRuleSetResponse)
1487
+ o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
1488
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
1489
+ o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
1490
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1491
+ end)
1492
+
1346
1493
  api.add_operation(:get_permission_policy, Seahorse::Model::Operation.new.tap do |o|
1347
1494
  o.name = "GetPermissionPolicy"
1348
1495
  o.http_method = "POST"
@@ -1426,6 +1573,17 @@ module Aws::WAFV2
1426
1573
  o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1427
1574
  end)
1428
1575
 
1576
+ api.add_operation(:list_available_managed_rule_group_versions, Seahorse::Model::Operation.new.tap do |o|
1577
+ o.name = "ListAvailableManagedRuleGroupVersions"
1578
+ o.http_method = "POST"
1579
+ o.http_request_uri = "/"
1580
+ o.input = Shapes::ShapeRef.new(shape: ListAvailableManagedRuleGroupVersionsRequest)
1581
+ o.output = Shapes::ShapeRef.new(shape: ListAvailableManagedRuleGroupVersionsResponse)
1582
+ o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
1583
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
1584
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1585
+ end)
1586
+
1429
1587
  api.add_operation(:list_available_managed_rule_groups, Seahorse::Model::Operation.new.tap do |o|
1430
1588
  o.name = "ListAvailableManagedRuleGroups"
1431
1589
  o.http_method = "POST"
@@ -1459,6 +1617,17 @@ module Aws::WAFV2
1459
1617
  o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1460
1618
  end)
1461
1619
 
1620
+ api.add_operation(:list_managed_rule_sets, Seahorse::Model::Operation.new.tap do |o|
1621
+ o.name = "ListManagedRuleSets"
1622
+ o.http_method = "POST"
1623
+ o.http_request_uri = "/"
1624
+ o.input = Shapes::ShapeRef.new(shape: ListManagedRuleSetsRequest)
1625
+ o.output = Shapes::ShapeRef.new(shape: ListManagedRuleSetsResponse)
1626
+ o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
1627
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
1628
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1629
+ end)
1630
+
1462
1631
  api.add_operation(:list_regex_pattern_sets, Seahorse::Model::Operation.new.tap do |o|
1463
1632
  o.name = "ListRegexPatternSets"
1464
1633
  o.http_method = "POST"
@@ -1533,6 +1702,19 @@ module Aws::WAFV2
1533
1702
  o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
1534
1703
  end)
1535
1704
 
1705
+ api.add_operation(:put_managed_rule_set_versions, Seahorse::Model::Operation.new.tap do |o|
1706
+ o.name = "PutManagedRuleSetVersions"
1707
+ o.http_method = "POST"
1708
+ o.http_request_uri = "/"
1709
+ o.input = Shapes::ShapeRef.new(shape: PutManagedRuleSetVersionsRequest)
1710
+ o.output = Shapes::ShapeRef.new(shape: PutManagedRuleSetVersionsResponse)
1711
+ o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
1712
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
1713
+ o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
1714
+ o.errors << Shapes::ShapeRef.new(shape: WAFOptimisticLockException)
1715
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1716
+ end)
1717
+
1536
1718
  api.add_operation(:put_permission_policy, Seahorse::Model::Operation.new.tap do |o|
1537
1719
  o.name = "PutPermissionPolicy"
1538
1720
  o.http_method = "POST"
@@ -1589,6 +1771,19 @@ module Aws::WAFV2
1589
1771
  o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1590
1772
  end)
1591
1773
 
1774
+ api.add_operation(:update_managed_rule_set_version_expiry_date, Seahorse::Model::Operation.new.tap do |o|
1775
+ o.name = "UpdateManagedRuleSetVersionExpiryDate"
1776
+ o.http_method = "POST"
1777
+ o.http_request_uri = "/"
1778
+ o.input = Shapes::ShapeRef.new(shape: UpdateManagedRuleSetVersionExpiryDateRequest)
1779
+ o.output = Shapes::ShapeRef.new(shape: UpdateManagedRuleSetVersionExpiryDateResponse)
1780
+ o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
1781
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
1782
+ o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
1783
+ o.errors << Shapes::ShapeRef.new(shape: WAFOptimisticLockException)
1784
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1785
+ end)
1786
+
1592
1787
  api.add_operation(:update_regex_pattern_set, Seahorse::Model::Operation.new.tap do |o|
1593
1788
  o.name = "UpdateRegexPatternSet"
1594
1789
  o.http_method = "POST"
@@ -1637,6 +1832,7 @@ module Aws::WAFV2
1637
1832
  o.errors << Shapes::ShapeRef.new(shape: WAFUnavailableEntityException)
1638
1833
  o.errors << Shapes::ShapeRef.new(shape: WAFSubscriptionNotFoundException)
1639
1834
  o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1835
+ o.errors << Shapes::ShapeRef.new(shape: WAFExpiredManagedRuleGroupVersionException)
1640
1836
  end)
1641
1837
  end
1642
1838
 
@@ -29,6 +29,7 @@ module Aws::WAFV2
29
29
  # ## Error Classes
30
30
  # * {WAFAssociatedItemException}
31
31
  # * {WAFDuplicateItemException}
32
+ # * {WAFExpiredManagedRuleGroupVersionException}
32
33
  # * {WAFInternalErrorException}
33
34
  # * {WAFInvalidOperationException}
34
35
  # * {WAFInvalidParameterException}
@@ -79,6 +80,21 @@ module Aws::WAFV2
79
80
  end
80
81
  end
81
82
 
83
+ class WAFExpiredManagedRuleGroupVersionException < ServiceError
84
+
85
+ # @param [Seahorse::Client::RequestContext] context
86
+ # @param [String] message
87
+ # @param [Aws::WAFV2::Types::WAFExpiredManagedRuleGroupVersionException] data
88
+ def initialize(context, message, data = Aws::EmptyStructure.new)
89
+ super(context, message, data)
90
+ end
91
+
92
+ # @return [String]
93
+ def message
94
+ @message || @data[:message]
95
+ end
96
+ end
97
+
82
98
  class WAFInternalErrorException < ServiceError
83
99
 
84
100
  # @param [Seahorse::Client::RequestContext] context