aws-sdk-wafv2 1.119.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-wafv2/client.rb +29 -8
- 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 +68 -0
- data/lib/aws-sdk-wafv2.rb +1 -1
- data/sig/client.rbs +4 -4
- data/sig/errors.rbs +4 -0
- data/sig/types.rbs +16 -4
- 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,16 @@
|
|
|
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
|
+
|
|
9
|
+
1.120.0 (2025-11-10)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - AWS WAF now supports CLOUDWATCH_TELEMETRY_RULE_MANAGED as a LogScope option, enabling automated logging configuration through Amazon CloudWatch Logs for telemetry data collection and analysis.
|
|
13
|
+
|
|
4
14
|
1.119.0 (2025-10-21)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.121.0
|
data/lib/aws-sdk-wafv2/client.rb
CHANGED
|
@@ -4076,11 +4076,18 @@ module Aws::WAFV2
|
|
|
4076
4076
|
# Amazon Web Services services][1] in the *Amazon Security Lake user
|
|
4077
4077
|
# guide*.
|
|
4078
4078
|
#
|
|
4079
|
+
# The log scope `CLOUDWATCH_TELEMETRY_RULE_MANAGED` indicates a
|
|
4080
|
+
# configuration that is managed through Amazon CloudWatch Logs for
|
|
4081
|
+
# telemetry data collection and analysis. For information, see [What is
|
|
4082
|
+
# Amazon CloudWatch Logs ?][2] in the *Amazon CloudWatch Logs user
|
|
4083
|
+
# guide*.
|
|
4084
|
+
#
|
|
4079
4085
|
# Default: `CUSTOMER`
|
|
4080
4086
|
#
|
|
4081
4087
|
#
|
|
4082
4088
|
#
|
|
4083
4089
|
# [1]: https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html
|
|
4090
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html
|
|
4084
4091
|
#
|
|
4085
4092
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4086
4093
|
#
|
|
@@ -4089,7 +4096,7 @@ module Aws::WAFV2
|
|
|
4089
4096
|
# resp = client.delete_logging_configuration({
|
|
4090
4097
|
# resource_arn: "ResourceArn", # required
|
|
4091
4098
|
# log_type: "WAF_LOGS", # accepts WAF_LOGS
|
|
4092
|
-
# log_scope: "CUSTOMER", # accepts CUSTOMER, SECURITY_LAKE
|
|
4099
|
+
# log_scope: "CUSTOMER", # accepts CUSTOMER, SECURITY_LAKE, CLOUDWATCH_TELEMETRY_RULE_MANAGED
|
|
4093
4100
|
# })
|
|
4094
4101
|
#
|
|
4095
4102
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteLoggingConfiguration AWS API Documentation
|
|
@@ -4748,11 +4755,18 @@ module Aws::WAFV2
|
|
|
4748
4755
|
# Amazon Web Services services][1] in the *Amazon Security Lake user
|
|
4749
4756
|
# guide*.
|
|
4750
4757
|
#
|
|
4758
|
+
# The log scope `CLOUDWATCH_TELEMETRY_RULE_MANAGED` indicates a
|
|
4759
|
+
# configuration that is managed through Amazon CloudWatch Logs for
|
|
4760
|
+
# telemetry data collection and analysis. For information, see [What is
|
|
4761
|
+
# Amazon CloudWatch Logs ?][2] in the *Amazon CloudWatch Logs user
|
|
4762
|
+
# guide*.
|
|
4763
|
+
#
|
|
4751
4764
|
# Default: `CUSTOMER`
|
|
4752
4765
|
#
|
|
4753
4766
|
#
|
|
4754
4767
|
#
|
|
4755
4768
|
# [1]: https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html
|
|
4769
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html
|
|
4756
4770
|
#
|
|
4757
4771
|
# @return [Types::GetLoggingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4758
4772
|
#
|
|
@@ -4763,7 +4777,7 @@ module Aws::WAFV2
|
|
|
4763
4777
|
# resp = client.get_logging_configuration({
|
|
4764
4778
|
# resource_arn: "ResourceArn", # required
|
|
4765
4779
|
# log_type: "WAF_LOGS", # accepts WAF_LOGS
|
|
4766
|
-
# log_scope: "CUSTOMER", # accepts CUSTOMER, SECURITY_LAKE
|
|
4780
|
+
# log_scope: "CUSTOMER", # accepts CUSTOMER, SECURITY_LAKE, CLOUDWATCH_TELEMETRY_RULE_MANAGED
|
|
4767
4781
|
# })
|
|
4768
4782
|
#
|
|
4769
4783
|
# @example Response structure
|
|
@@ -4805,7 +4819,7 @@ module Aws::WAFV2
|
|
|
4805
4819
|
# resp.logging_configuration.logging_filter.filters[0].conditions[0].label_name_condition.label_name #=> String
|
|
4806
4820
|
# resp.logging_configuration.logging_filter.default_behavior #=> String, one of "KEEP", "DROP"
|
|
4807
4821
|
# resp.logging_configuration.log_type #=> String, one of "WAF_LOGS"
|
|
4808
|
-
# resp.logging_configuration.log_scope #=> String, one of "CUSTOMER", "SECURITY_LAKE"
|
|
4822
|
+
# resp.logging_configuration.log_scope #=> String, one of "CUSTOMER", "SECURITY_LAKE", "CLOUDWATCH_TELEMETRY_RULE_MANAGED"
|
|
4809
4823
|
#
|
|
4810
4824
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetLoggingConfiguration AWS API Documentation
|
|
4811
4825
|
#
|
|
@@ -6073,11 +6087,18 @@ module Aws::WAFV2
|
|
|
6073
6087
|
# Amazon Web Services services][1] in the *Amazon Security Lake user
|
|
6074
6088
|
# guide*.
|
|
6075
6089
|
#
|
|
6090
|
+
# The log scope `CLOUDWATCH_TELEMETRY_RULE_MANAGED` indicates a
|
|
6091
|
+
# configuration that is managed through Amazon CloudWatch Logs for
|
|
6092
|
+
# telemetry data collection and analysis. For information, see [What is
|
|
6093
|
+
# Amazon CloudWatch Logs ?][2] in the *Amazon CloudWatch Logs user
|
|
6094
|
+
# guide*.
|
|
6095
|
+
#
|
|
6076
6096
|
# Default: `CUSTOMER`
|
|
6077
6097
|
#
|
|
6078
6098
|
#
|
|
6079
6099
|
#
|
|
6080
6100
|
# [1]: https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html
|
|
6101
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html
|
|
6081
6102
|
#
|
|
6082
6103
|
# @return [Types::ListLoggingConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6083
6104
|
#
|
|
@@ -6090,7 +6111,7 @@ module Aws::WAFV2
|
|
|
6090
6111
|
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
|
6091
6112
|
# next_marker: "NextMarker",
|
|
6092
6113
|
# limit: 1,
|
|
6093
|
-
# log_scope: "CUSTOMER", # accepts CUSTOMER, SECURITY_LAKE
|
|
6114
|
+
# log_scope: "CUSTOMER", # accepts CUSTOMER, SECURITY_LAKE, CLOUDWATCH_TELEMETRY_RULE_MANAGED
|
|
6094
6115
|
# })
|
|
6095
6116
|
#
|
|
6096
6117
|
# @example Response structure
|
|
@@ -6133,7 +6154,7 @@ module Aws::WAFV2
|
|
|
6133
6154
|
# resp.logging_configurations[0].logging_filter.filters[0].conditions[0].label_name_condition.label_name #=> String
|
|
6134
6155
|
# resp.logging_configurations[0].logging_filter.default_behavior #=> String, one of "KEEP", "DROP"
|
|
6135
6156
|
# resp.logging_configurations[0].log_type #=> String, one of "WAF_LOGS"
|
|
6136
|
-
# resp.logging_configurations[0].log_scope #=> String, one of "CUSTOMER", "SECURITY_LAKE"
|
|
6157
|
+
# resp.logging_configurations[0].log_scope #=> String, one of "CUSTOMER", "SECURITY_LAKE", "CLOUDWATCH_TELEMETRY_RULE_MANAGED"
|
|
6137
6158
|
# resp.next_marker #=> String
|
|
6138
6159
|
#
|
|
6139
6160
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListLoggingConfigurations AWS API Documentation
|
|
@@ -6730,7 +6751,7 @@ module Aws::WAFV2
|
|
|
6730
6751
|
# default_behavior: "KEEP", # required, accepts KEEP, DROP
|
|
6731
6752
|
# },
|
|
6732
6753
|
# log_type: "WAF_LOGS", # accepts WAF_LOGS
|
|
6733
|
-
# log_scope: "CUSTOMER", # accepts CUSTOMER, SECURITY_LAKE
|
|
6754
|
+
# log_scope: "CUSTOMER", # accepts CUSTOMER, SECURITY_LAKE, CLOUDWATCH_TELEMETRY_RULE_MANAGED
|
|
6734
6755
|
# },
|
|
6735
6756
|
# })
|
|
6736
6757
|
#
|
|
@@ -6773,7 +6794,7 @@ module Aws::WAFV2
|
|
|
6773
6794
|
# resp.logging_configuration.logging_filter.filters[0].conditions[0].label_name_condition.label_name #=> String
|
|
6774
6795
|
# resp.logging_configuration.logging_filter.default_behavior #=> String, one of "KEEP", "DROP"
|
|
6775
6796
|
# resp.logging_configuration.log_type #=> String, one of "WAF_LOGS"
|
|
6776
|
-
# resp.logging_configuration.log_scope #=> String, one of "CUSTOMER", "SECURITY_LAKE"
|
|
6797
|
+
# resp.logging_configuration.log_scope #=> String, one of "CUSTOMER", "SECURITY_LAKE", "CLOUDWATCH_TELEMETRY_RULE_MANAGED"
|
|
6777
6798
|
#
|
|
6778
6799
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutLoggingConfiguration AWS API Documentation
|
|
6779
6800
|
#
|
|
@@ -9621,7 +9642,7 @@ module Aws::WAFV2
|
|
|
9621
9642
|
tracer: tracer
|
|
9622
9643
|
)
|
|
9623
9644
|
context[:gem_name] = 'aws-sdk-wafv2'
|
|
9624
|
-
context[:gem_version] = '1.
|
|
9645
|
+
context[:gem_version] = '1.121.0'
|
|
9625
9646
|
Seahorse::Client::Request.new(handlers, context)
|
|
9626
9647
|
end
|
|
9627
9648
|
|
|
@@ -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
|
@@ -2257,11 +2257,18 @@ module Aws::WAFV2
|
|
|
2257
2257
|
# Amazon Web Services services][1] in the *Amazon Security Lake user
|
|
2258
2258
|
# guide*.
|
|
2259
2259
|
#
|
|
2260
|
+
# The log scope `CLOUDWATCH_TELEMETRY_RULE_MANAGED` indicates a
|
|
2261
|
+
# configuration that is managed through Amazon CloudWatch Logs for
|
|
2262
|
+
# telemetry data collection and analysis. For information, see [What
|
|
2263
|
+
# is Amazon CloudWatch Logs ?][2] in the *Amazon CloudWatch Logs user
|
|
2264
|
+
# guide*.
|
|
2265
|
+
#
|
|
2260
2266
|
# Default: `CUSTOMER`
|
|
2261
2267
|
#
|
|
2262
2268
|
#
|
|
2263
2269
|
#
|
|
2264
2270
|
# [1]: https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html
|
|
2271
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html
|
|
2265
2272
|
# @return [String]
|
|
2266
2273
|
#
|
|
2267
2274
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteLoggingConfigurationRequest AWS API Documentation
|
|
@@ -2653,6 +2660,27 @@ module Aws::WAFV2
|
|
|
2653
2660
|
include Aws::Structure
|
|
2654
2661
|
end
|
|
2655
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
|
+
|
|
2656
2684
|
# @!attribute [rw] resource_arn
|
|
2657
2685
|
# The Amazon Resource Name (ARN) of the resource to disassociate from
|
|
2658
2686
|
# the web ACL.
|
|
@@ -3424,11 +3452,18 @@ module Aws::WAFV2
|
|
|
3424
3452
|
# Amazon Web Services services][1] in the *Amazon Security Lake user
|
|
3425
3453
|
# guide*.
|
|
3426
3454
|
#
|
|
3455
|
+
# The log scope `CLOUDWATCH_TELEMETRY_RULE_MANAGED` indicates a
|
|
3456
|
+
# configuration that is managed through Amazon CloudWatch Logs for
|
|
3457
|
+
# telemetry data collection and analysis. For information, see [What
|
|
3458
|
+
# is Amazon CloudWatch Logs ?][2] in the *Amazon CloudWatch Logs user
|
|
3459
|
+
# guide*.
|
|
3460
|
+
#
|
|
3427
3461
|
# Default: `CUSTOMER`
|
|
3428
3462
|
#
|
|
3429
3463
|
#
|
|
3430
3464
|
#
|
|
3431
3465
|
# [1]: https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html
|
|
3466
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html
|
|
3432
3467
|
# @return [String]
|
|
3433
3468
|
#
|
|
3434
3469
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetLoggingConfigurationRequest AWS API Documentation
|
|
@@ -5128,11 +5163,18 @@ module Aws::WAFV2
|
|
|
5128
5163
|
# Amazon Web Services services][1] in the *Amazon Security Lake user
|
|
5129
5164
|
# guide*.
|
|
5130
5165
|
#
|
|
5166
|
+
# The log scope `CLOUDWATCH_TELEMETRY_RULE_MANAGED` indicates a
|
|
5167
|
+
# configuration that is managed through Amazon CloudWatch Logs for
|
|
5168
|
+
# telemetry data collection and analysis. For information, see [What
|
|
5169
|
+
# is Amazon CloudWatch Logs ?][2] in the *Amazon CloudWatch Logs user
|
|
5170
|
+
# guide*.
|
|
5171
|
+
#
|
|
5131
5172
|
# Default: `CUSTOMER`
|
|
5132
5173
|
#
|
|
5133
5174
|
#
|
|
5134
5175
|
#
|
|
5135
5176
|
# [1]: https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html
|
|
5177
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html
|
|
5136
5178
|
# @return [String]
|
|
5137
5179
|
#
|
|
5138
5180
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListLoggingConfigurationsRequest AWS API Documentation
|
|
@@ -5689,11 +5731,18 @@ module Aws::WAFV2
|
|
|
5689
5731
|
# Amazon Web Services services][1] in the *Amazon Security Lake user
|
|
5690
5732
|
# guide*.
|
|
5691
5733
|
#
|
|
5734
|
+
# The log scope `CLOUDWATCH_TELEMETRY_RULE_MANAGED` indicates a
|
|
5735
|
+
# configuration that is managed through Amazon CloudWatch Logs for
|
|
5736
|
+
# telemetry data collection and analysis. For information, see [What
|
|
5737
|
+
# is Amazon CloudWatch Logs ?][2] in the *Amazon CloudWatch Logs user
|
|
5738
|
+
# guide*.
|
|
5739
|
+
#
|
|
5692
5740
|
# Default: `CUSTOMER`
|
|
5693
5741
|
#
|
|
5694
5742
|
#
|
|
5695
5743
|
#
|
|
5696
5744
|
# [1]: https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html
|
|
5745
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html
|
|
5697
5746
|
# @return [String]
|
|
5698
5747
|
#
|
|
5699
5748
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/LoggingConfiguration AWS API Documentation
|
|
@@ -10241,6 +10290,25 @@ module Aws::WAFV2
|
|
|
10241
10290
|
include Aws::Structure
|
|
10242
10291
|
end
|
|
10243
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
|
+
|
|
10244
10312
|
# Your request is valid, but WAF couldn’t perform the operation because
|
|
10245
10313
|
# of a system problem. Retry your request.
|
|
10246
10314
|
#
|
data/lib/aws-sdk-wafv2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -2943,7 +2943,7 @@ module Aws
|
|
|
2943
2943
|
def delete_logging_configuration: (
|
|
2944
2944
|
resource_arn: ::String,
|
|
2945
2945
|
?log_type: ("WAF_LOGS"),
|
|
2946
|
-
?log_scope: ("CUSTOMER" | "SECURITY_LAKE")
|
|
2946
|
+
?log_scope: ("CUSTOMER" | "SECURITY_LAKE" | "CLOUDWATCH_TELEMETRY_RULE_MANAGED")
|
|
2947
2947
|
) -> _DeleteLoggingConfigurationResponseSuccess
|
|
2948
2948
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLoggingConfigurationResponseSuccess
|
|
2949
2949
|
|
|
@@ -3085,7 +3085,7 @@ module Aws
|
|
|
3085
3085
|
def get_logging_configuration: (
|
|
3086
3086
|
resource_arn: ::String,
|
|
3087
3087
|
?log_type: ("WAF_LOGS"),
|
|
3088
|
-
?log_scope: ("CUSTOMER" | "SECURITY_LAKE")
|
|
3088
|
+
?log_scope: ("CUSTOMER" | "SECURITY_LAKE" | "CLOUDWATCH_TELEMETRY_RULE_MANAGED")
|
|
3089
3089
|
) -> _GetLoggingConfigurationResponseSuccess
|
|
3090
3090
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLoggingConfigurationResponseSuccess
|
|
3091
3091
|
|
|
@@ -3275,7 +3275,7 @@ module Aws
|
|
|
3275
3275
|
scope: ("CLOUDFRONT" | "REGIONAL"),
|
|
3276
3276
|
?next_marker: ::String,
|
|
3277
3277
|
?limit: ::Integer,
|
|
3278
|
-
?log_scope: ("CUSTOMER" | "SECURITY_LAKE")
|
|
3278
|
+
?log_scope: ("CUSTOMER" | "SECURITY_LAKE" | "CLOUDWATCH_TELEMETRY_RULE_MANAGED")
|
|
3279
3279
|
) -> _ListLoggingConfigurationsResponseSuccess
|
|
3280
3280
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLoggingConfigurationsResponseSuccess
|
|
3281
3281
|
|
|
@@ -3461,7 +3461,7 @@ module Aws
|
|
|
3461
3461
|
default_behavior: ("KEEP" | "DROP")
|
|
3462
3462
|
}?,
|
|
3463
3463
|
log_type: ("WAF_LOGS")?,
|
|
3464
|
-
log_scope: ("CUSTOMER" | "SECURITY_LAKE")?
|
|
3464
|
+
log_scope: ("CUSTOMER" | "SECURITY_LAKE" | "CLOUDWATCH_TELEMETRY_RULE_MANAGED")?
|
|
3465
3465
|
}
|
|
3466
3466
|
) -> _PutLoggingConfigurationResponseSuccess
|
|
3467
3467
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLoggingConfigurationResponseSuccess
|
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
|
@@ -360,7 +360,7 @@ module Aws::WAFV2
|
|
|
360
360
|
class DeleteLoggingConfigurationRequest
|
|
361
361
|
attr_accessor resource_arn: ::String
|
|
362
362
|
attr_accessor log_type: ("WAF_LOGS")
|
|
363
|
-
attr_accessor log_scope: ("CUSTOMER" | "SECURITY_LAKE")
|
|
363
|
+
attr_accessor log_scope: ("CUSTOMER" | "SECURITY_LAKE" | "CLOUDWATCH_TELEMETRY_RULE_MANAGED")
|
|
364
364
|
SENSITIVE: []
|
|
365
365
|
end
|
|
366
366
|
|
|
@@ -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: []
|
|
@@ -563,7 +569,7 @@ module Aws::WAFV2
|
|
|
563
569
|
class GetLoggingConfigurationRequest
|
|
564
570
|
attr_accessor resource_arn: ::String
|
|
565
571
|
attr_accessor log_type: ("WAF_LOGS")
|
|
566
|
-
attr_accessor log_scope: ("CUSTOMER" | "SECURITY_LAKE")
|
|
572
|
+
attr_accessor log_scope: ("CUSTOMER" | "SECURITY_LAKE" | "CLOUDWATCH_TELEMETRY_RULE_MANAGED")
|
|
567
573
|
SENSITIVE: []
|
|
568
574
|
end
|
|
569
575
|
|
|
@@ -866,7 +872,7 @@ module Aws::WAFV2
|
|
|
866
872
|
attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
|
|
867
873
|
attr_accessor next_marker: ::String
|
|
868
874
|
attr_accessor limit: ::Integer
|
|
869
|
-
attr_accessor log_scope: ("CUSTOMER" | "SECURITY_LAKE")
|
|
875
|
+
attr_accessor log_scope: ("CUSTOMER" | "SECURITY_LAKE" | "CLOUDWATCH_TELEMETRY_RULE_MANAGED")
|
|
870
876
|
SENSITIVE: []
|
|
871
877
|
end
|
|
872
878
|
|
|
@@ -972,7 +978,7 @@ module Aws::WAFV2
|
|
|
972
978
|
attr_accessor managed_by_firewall_manager: bool
|
|
973
979
|
attr_accessor logging_filter: Types::LoggingFilter
|
|
974
980
|
attr_accessor log_type: ("WAF_LOGS")
|
|
975
|
-
attr_accessor log_scope: ("CUSTOMER" | "SECURITY_LAKE")
|
|
981
|
+
attr_accessor log_scope: ("CUSTOMER" | "SECURITY_LAKE" | "CLOUDWATCH_TELEMETRY_RULE_MANAGED")
|
|
976
982
|
SENSITIVE: []
|
|
977
983
|
end
|
|
978
984
|
|
|
@@ -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: []
|