aws-sdk-wafv2 1.120.0 → 1.121.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-wafv2/client.rb +1 -1
- data/lib/aws-sdk-wafv2/client_api.rb +18 -0
- data/lib/aws-sdk-wafv2/errors.rb +21 -0
- data/lib/aws-sdk-wafv2/types.rb +40 -0
- data/lib/aws-sdk-wafv2.rb +1 -1
- data/sig/errors.rbs +4 -0
- data/sig/types.rbs +12 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 43d7f12793a38cb4d10e0d2fb12d91f8cc79b0b0e7428bcb0e92f5be4cc77236
|
|
4
|
+
data.tar.gz: '0419289de7f02c090952c8f20e0868277d82de80c2f544e36ebf72ec54605de7'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a52fa07969b7984c9553962b09e3f61a0054d63ffd859a22086625b57c8da28147f6ad8ac82650c2ac639a8ad1973b7363aeb3a066c71b0eed07dc6f6e4d54a
|
|
7
|
+
data.tar.gz: c3b1655a855bf77779c0a1c6b6494c9d4ae40c136bad33b8c09d354862a0a657745175917da540a3dfc0d666c6ca0aa4f1e572fe5c2c4feb8012d7461730f55f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.121.0 (2025-11-18)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AssociateWebACL, UpdateWebACL and PutLoggingConfiguration will now throw WAFFeatureNotIncludedInPricingPlanException when the request contains a feature that is not included in the CloudFront pricing plan of the WebACL.
|
|
8
|
+
|
|
4
9
|
1.120.0 (2025-11-10)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.121.0
|
data/lib/aws-sdk-wafv2/client.rb
CHANGED
|
@@ -118,6 +118,8 @@ module Aws::WAFV2
|
|
|
118
118
|
DescribeManagedProductsByVendorResponse = Shapes::StructureShape.new(name: 'DescribeManagedProductsByVendorResponse')
|
|
119
119
|
DescribeManagedRuleGroupRequest = Shapes::StructureShape.new(name: 'DescribeManagedRuleGroupRequest')
|
|
120
120
|
DescribeManagedRuleGroupResponse = Shapes::StructureShape.new(name: 'DescribeManagedRuleGroupResponse')
|
|
121
|
+
DisallowedFeature = Shapes::StructureShape.new(name: 'DisallowedFeature')
|
|
122
|
+
DisallowedFeatures = Shapes::ListShape.new(name: 'DisallowedFeatures')
|
|
121
123
|
DisassociateWebACLRequest = Shapes::StructureShape.new(name: 'DisassociateWebACLRequest')
|
|
122
124
|
DisassociateWebACLResponse = Shapes::StructureShape.new(name: 'DisassociateWebACLResponse')
|
|
123
125
|
DownloadUrl = Shapes::StringShape.new(name: 'DownloadUrl')
|
|
@@ -288,6 +290,7 @@ module Aws::WAFV2
|
|
|
288
290
|
PolicyString = Shapes::StringShape.new(name: 'PolicyString')
|
|
289
291
|
PopulationSize = Shapes::IntegerShape.new(name: 'PopulationSize')
|
|
290
292
|
PositionalConstraint = Shapes::StringShape.new(name: 'PositionalConstraint')
|
|
293
|
+
PricingPlanFeatureName = Shapes::StringShape.new(name: 'PricingPlanFeatureName')
|
|
291
294
|
ProductDescription = Shapes::StringShape.new(name: 'ProductDescription')
|
|
292
295
|
ProductId = Shapes::StringShape.new(name: 'ProductId')
|
|
293
296
|
ProductLink = Shapes::StringShape.new(name: 'ProductLink')
|
|
@@ -335,6 +338,7 @@ module Aws::WAFV2
|
|
|
335
338
|
RequestBodyAssociatedResourceTypeConfig = Shapes::StructureShape.new(name: 'RequestBodyAssociatedResourceTypeConfig')
|
|
336
339
|
RequestInspection = Shapes::StructureShape.new(name: 'RequestInspection')
|
|
337
340
|
RequestInspectionACFP = Shapes::StructureShape.new(name: 'RequestInspectionACFP')
|
|
341
|
+
RequiredPricingPlanName = Shapes::StringShape.new(name: 'RequiredPricingPlanName')
|
|
338
342
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
|
339
343
|
ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
|
|
340
344
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
|
@@ -433,6 +437,7 @@ module Aws::WAFV2
|
|
|
433
437
|
WAFConfigurationWarningException = Shapes::StructureShape.new(name: 'WAFConfigurationWarningException')
|
|
434
438
|
WAFDuplicateItemException = Shapes::StructureShape.new(name: 'WAFDuplicateItemException')
|
|
435
439
|
WAFExpiredManagedRuleGroupVersionException = Shapes::StructureShape.new(name: 'WAFExpiredManagedRuleGroupVersionException')
|
|
440
|
+
WAFFeatureNotIncludedInPricingPlanException = Shapes::StructureShape.new(name: 'WAFFeatureNotIncludedInPricingPlanException')
|
|
436
441
|
WAFInternalErrorException = Shapes::StructureShape.new(name: 'WAFInternalErrorException')
|
|
437
442
|
WAFInvalidOperationException = Shapes::StructureShape.new(name: 'WAFInvalidOperationException')
|
|
438
443
|
WAFInvalidParameterException = Shapes::StructureShape.new(name: 'WAFInvalidParameterException')
|
|
@@ -782,6 +787,12 @@ module Aws::WAFV2
|
|
|
782
787
|
DescribeManagedRuleGroupResponse.add_member(:consumed_labels, Shapes::ShapeRef.new(shape: LabelSummaries, location_name: "ConsumedLabels"))
|
|
783
788
|
DescribeManagedRuleGroupResponse.struct_class = Types::DescribeManagedRuleGroupResponse
|
|
784
789
|
|
|
790
|
+
DisallowedFeature.add_member(:feature, Shapes::ShapeRef.new(shape: PricingPlanFeatureName, location_name: "Feature"))
|
|
791
|
+
DisallowedFeature.add_member(:required_pricing_plan, Shapes::ShapeRef.new(shape: RequiredPricingPlanName, location_name: "RequiredPricingPlan"))
|
|
792
|
+
DisallowedFeature.struct_class = Types::DisallowedFeature
|
|
793
|
+
|
|
794
|
+
DisallowedFeatures.member = Shapes::ShapeRef.new(shape: DisallowedFeature)
|
|
795
|
+
|
|
785
796
|
DisassociateWebACLRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
|
786
797
|
DisassociateWebACLRequest.struct_class = Types::DisassociateWebACLRequest
|
|
787
798
|
|
|
@@ -1726,6 +1737,10 @@ module Aws::WAFV2
|
|
|
1726
1737
|
WAFExpiredManagedRuleGroupVersionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
1727
1738
|
WAFExpiredManagedRuleGroupVersionException.struct_class = Types::WAFExpiredManagedRuleGroupVersionException
|
|
1728
1739
|
|
|
1740
|
+
WAFFeatureNotIncludedInPricingPlanException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
1741
|
+
WAFFeatureNotIncludedInPricingPlanException.add_member(:disallowed_features, Shapes::ShapeRef.new(shape: DisallowedFeatures, location_name: "DisallowedFeatures"))
|
|
1742
|
+
WAFFeatureNotIncludedInPricingPlanException.struct_class = Types::WAFFeatureNotIncludedInPricingPlanException
|
|
1743
|
+
|
|
1729
1744
|
WAFInternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
1730
1745
|
WAFInternalErrorException.struct_class = Types::WAFInternalErrorException
|
|
1731
1746
|
|
|
@@ -1844,6 +1859,7 @@ module Aws::WAFV2
|
|
|
1844
1859
|
o.errors << Shapes::ShapeRef.new(shape: WAFUnavailableEntityException)
|
|
1845
1860
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1846
1861
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
|
1862
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFFeatureNotIncludedInPricingPlanException)
|
|
1847
1863
|
end)
|
|
1848
1864
|
|
|
1849
1865
|
api.add_operation(:check_capacity, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -2419,6 +2435,7 @@ module Aws::WAFV2
|
|
|
2419
2435
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
2420
2436
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
|
2421
2437
|
o.errors << Shapes::ShapeRef.new(shape: WAFLogDestinationPermissionIssueException)
|
|
2438
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFFeatureNotIncludedInPricingPlanException)
|
|
2422
2439
|
end)
|
|
2423
2440
|
|
|
2424
2441
|
api.add_operation(:put_managed_rule_set_versions, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -2554,6 +2571,7 @@ module Aws::WAFV2
|
|
|
2554
2571
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
2555
2572
|
o.errors << Shapes::ShapeRef.new(shape: WAFExpiredManagedRuleGroupVersionException)
|
|
2556
2573
|
o.errors << Shapes::ShapeRef.new(shape: WAFConfigurationWarningException)
|
|
2574
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFFeatureNotIncludedInPricingPlanException)
|
|
2557
2575
|
end)
|
|
2558
2576
|
end
|
|
2559
2577
|
|
data/lib/aws-sdk-wafv2/errors.rb
CHANGED
|
@@ -31,6 +31,7 @@ module Aws::WAFV2
|
|
|
31
31
|
# * {WAFConfigurationWarningException}
|
|
32
32
|
# * {WAFDuplicateItemException}
|
|
33
33
|
# * {WAFExpiredManagedRuleGroupVersionException}
|
|
34
|
+
# * {WAFFeatureNotIncludedInPricingPlanException}
|
|
34
35
|
# * {WAFInternalErrorException}
|
|
35
36
|
# * {WAFInvalidOperationException}
|
|
36
37
|
# * {WAFInvalidParameterException}
|
|
@@ -113,6 +114,26 @@ module Aws::WAFV2
|
|
|
113
114
|
end
|
|
114
115
|
end
|
|
115
116
|
|
|
117
|
+
class WAFFeatureNotIncludedInPricingPlanException < ServiceError
|
|
118
|
+
|
|
119
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
120
|
+
# @param [String] message
|
|
121
|
+
# @param [Aws::WAFV2::Types::WAFFeatureNotIncludedInPricingPlanException] data
|
|
122
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
123
|
+
super(context, message, data)
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# @return [String]
|
|
127
|
+
def message
|
|
128
|
+
@message || @data[:message]
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# @return [String]
|
|
132
|
+
def disallowed_features
|
|
133
|
+
@data[:disallowed_features]
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
|
|
116
137
|
class WAFInternalErrorException < ServiceError
|
|
117
138
|
|
|
118
139
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-wafv2/types.rb
CHANGED
|
@@ -2660,6 +2660,27 @@ module Aws::WAFV2
|
|
|
2660
2660
|
include Aws::Structure
|
|
2661
2661
|
end
|
|
2662
2662
|
|
|
2663
|
+
# A WAF feature that is not supported by the CloudFront pricing plan
|
|
2664
|
+
# associated with the web ACL.
|
|
2665
|
+
#
|
|
2666
|
+
# @!attribute [rw] feature
|
|
2667
|
+
# The name of the disallowed WAF feature.
|
|
2668
|
+
# @return [String]
|
|
2669
|
+
#
|
|
2670
|
+
# @!attribute [rw] required_pricing_plan
|
|
2671
|
+
# The name of the CloudFront pricing plan required to use the WAF
|
|
2672
|
+
# feature.
|
|
2673
|
+
# @return [String]
|
|
2674
|
+
#
|
|
2675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DisallowedFeature AWS API Documentation
|
|
2676
|
+
#
|
|
2677
|
+
class DisallowedFeature < Struct.new(
|
|
2678
|
+
:feature,
|
|
2679
|
+
:required_pricing_plan)
|
|
2680
|
+
SENSITIVE = []
|
|
2681
|
+
include Aws::Structure
|
|
2682
|
+
end
|
|
2683
|
+
|
|
2663
2684
|
# @!attribute [rw] resource_arn
|
|
2664
2685
|
# The Amazon Resource Name (ARN) of the resource to disassociate from
|
|
2665
2686
|
# the web ACL.
|
|
@@ -10269,6 +10290,25 @@ module Aws::WAFV2
|
|
|
10269
10290
|
include Aws::Structure
|
|
10270
10291
|
end
|
|
10271
10292
|
|
|
10293
|
+
# The operation failed because the specified WAF feature isn't
|
|
10294
|
+
# supported by the CloudFront pricing plan associated with the web ACL.
|
|
10295
|
+
#
|
|
10296
|
+
# @!attribute [rw] message
|
|
10297
|
+
# @return [String]
|
|
10298
|
+
#
|
|
10299
|
+
# @!attribute [rw] disallowed_features
|
|
10300
|
+
# The names of the disallowed WAF features.
|
|
10301
|
+
# @return [Array<Types::DisallowedFeature>]
|
|
10302
|
+
#
|
|
10303
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/WAFFeatureNotIncludedInPricingPlanException AWS API Documentation
|
|
10304
|
+
#
|
|
10305
|
+
class WAFFeatureNotIncludedInPricingPlanException < Struct.new(
|
|
10306
|
+
:message,
|
|
10307
|
+
:disallowed_features)
|
|
10308
|
+
SENSITIVE = []
|
|
10309
|
+
include Aws::Structure
|
|
10310
|
+
end
|
|
10311
|
+
|
|
10272
10312
|
# Your request is valid, but WAF couldn’t perform the operation because
|
|
10273
10313
|
# of a system problem. Retry your request.
|
|
10274
10314
|
#
|
data/lib/aws-sdk-wafv2.rb
CHANGED
data/sig/errors.rbs
CHANGED
|
@@ -23,6 +23,10 @@ module Aws
|
|
|
23
23
|
class WAFExpiredManagedRuleGroupVersionException < ::Aws::Errors::ServiceError
|
|
24
24
|
def message: () -> ::String
|
|
25
25
|
end
|
|
26
|
+
class WAFFeatureNotIncludedInPricingPlanException < ::Aws::Errors::ServiceError
|
|
27
|
+
def message: () -> ::String
|
|
28
|
+
def disallowed_features: () -> ::String
|
|
29
|
+
end
|
|
26
30
|
class WAFInternalErrorException < ::Aws::Errors::ServiceError
|
|
27
31
|
def message: () -> ::String
|
|
28
32
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -448,6 +448,12 @@ module Aws::WAFV2
|
|
|
448
448
|
SENSITIVE: []
|
|
449
449
|
end
|
|
450
450
|
|
|
451
|
+
class DisallowedFeature
|
|
452
|
+
attr_accessor feature: ::String
|
|
453
|
+
attr_accessor required_pricing_plan: ::String
|
|
454
|
+
SENSITIVE: []
|
|
455
|
+
end
|
|
456
|
+
|
|
451
457
|
class DisassociateWebACLRequest
|
|
452
458
|
attr_accessor resource_arn: ::String
|
|
453
459
|
SENSITIVE: []
|
|
@@ -1633,6 +1639,12 @@ module Aws::WAFV2
|
|
|
1633
1639
|
SENSITIVE: []
|
|
1634
1640
|
end
|
|
1635
1641
|
|
|
1642
|
+
class WAFFeatureNotIncludedInPricingPlanException
|
|
1643
|
+
attr_accessor message: ::String
|
|
1644
|
+
attr_accessor disallowed_features: ::Array[Types::DisallowedFeature]
|
|
1645
|
+
SENSITIVE: []
|
|
1646
|
+
end
|
|
1647
|
+
|
|
1636
1648
|
class WAFInternalErrorException
|
|
1637
1649
|
attr_accessor message: ::String
|
|
1638
1650
|
SENSITIVE: []
|