aws-sdk-wafv2 1.60.0 → 1.61.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 +109 -3
- data/lib/aws-sdk-wafv2/client_api.rb +57 -0
- data/lib/aws-sdk-wafv2/endpoints.rb +28 -0
- data/lib/aws-sdk-wafv2/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-wafv2/types.rb +176 -23
- data/lib/aws-sdk-wafv2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5751a0099cb14c26c18dc39efacd059728ee3ae96c086107f021a7d87573d0d7
|
4
|
+
data.tar.gz: a79b78e7d671824fafe828c08459766328610bdc76270684cd8555c34b221bb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54bbc06617b46f122286c41f29824252a74c20e49869ab12b0cebf01ffd672a8a205f18c5cc55ced6ff374391ae0524c7f5b914e94bd6596a7dbbef179f1dff0
|
7
|
+
data.tar.gz: 6afda4b2e23d46dbaa99c39fafdf47891d7a264f74ee8b23548542972c4e3e0dabe6bb534c4ce3af329f3bee75714e40f26f2733db91f862216b000b360950e1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.61.0 (2023-06-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added APIs to describe managed products. The APIs retrieve information about rule groups that are managed by AWS and by AWS Marketplace sellers.
|
8
|
+
|
4
9
|
1.60.0 (2023-06-01)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.61.0
|
data/lib/aws-sdk-wafv2/client.rb
CHANGED
@@ -3689,12 +3689,118 @@ module Aws::WAFV2
|
|
3689
3689
|
req.send_request(options)
|
3690
3690
|
end
|
3691
3691
|
|
3692
|
+
# Provides high-level information for the Amazon Web Services Managed
|
3693
|
+
# Rules rule groups and Amazon Web Services Marketplace managed rule
|
3694
|
+
# groups.
|
3695
|
+
#
|
3696
|
+
# @option params [required, String] :scope
|
3697
|
+
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3698
|
+
# a regional application. A regional application can be an Application
|
3699
|
+
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3700
|
+
# GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
|
3701
|
+
# Amazon Web Services Verified Access instance.
|
3702
|
+
#
|
3703
|
+
# To work with CloudFront, you must also specify the Region US East (N.
|
3704
|
+
# Virginia) as follows:
|
3705
|
+
#
|
3706
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
3707
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
3708
|
+
#
|
3709
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
3710
|
+
#
|
3711
|
+
# @return [Types::DescribeAllManagedProductsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3712
|
+
#
|
3713
|
+
# * {Types::DescribeAllManagedProductsResponse#managed_products #managed_products} => Array<Types::ManagedProductDescriptor>
|
3714
|
+
#
|
3715
|
+
# @example Request syntax with placeholder values
|
3716
|
+
#
|
3717
|
+
# resp = client.describe_all_managed_products({
|
3718
|
+
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
3719
|
+
# })
|
3720
|
+
#
|
3721
|
+
# @example Response structure
|
3722
|
+
#
|
3723
|
+
# resp.managed_products #=> Array
|
3724
|
+
# resp.managed_products[0].vendor_name #=> String
|
3725
|
+
# resp.managed_products[0].managed_rule_set_name #=> String
|
3726
|
+
# resp.managed_products[0].product_id #=> String
|
3727
|
+
# resp.managed_products[0].product_link #=> String
|
3728
|
+
# resp.managed_products[0].product_title #=> String
|
3729
|
+
# resp.managed_products[0].product_description #=> String
|
3730
|
+
# resp.managed_products[0].sns_topic_arn #=> String
|
3731
|
+
# resp.managed_products[0].is_versioning_supported #=> Boolean
|
3732
|
+
# resp.managed_products[0].is_advanced_managed_rule_set #=> Boolean
|
3733
|
+
#
|
3734
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DescribeAllManagedProducts AWS API Documentation
|
3735
|
+
#
|
3736
|
+
# @overload describe_all_managed_products(params = {})
|
3737
|
+
# @param [Hash] params ({})
|
3738
|
+
def describe_all_managed_products(params = {}, options = {})
|
3739
|
+
req = build_request(:describe_all_managed_products, params)
|
3740
|
+
req.send_request(options)
|
3741
|
+
end
|
3742
|
+
|
3743
|
+
# Provides high-level information for the managed rule groups owned by a
|
3744
|
+
# specific vendor.
|
3745
|
+
#
|
3746
|
+
# @option params [required, String] :vendor_name
|
3747
|
+
# The name of the managed rule group vendor. You use this, along with
|
3748
|
+
# the rule group name, to identify a rule group.
|
3749
|
+
#
|
3750
|
+
# @option params [required, String] :scope
|
3751
|
+
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3752
|
+
# a regional application. A regional application can be an Application
|
3753
|
+
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3754
|
+
# GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
|
3755
|
+
# Amazon Web Services Verified Access instance.
|
3756
|
+
#
|
3757
|
+
# To work with CloudFront, you must also specify the Region US East (N.
|
3758
|
+
# Virginia) as follows:
|
3759
|
+
#
|
3760
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
3761
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
3762
|
+
#
|
3763
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
3764
|
+
#
|
3765
|
+
# @return [Types::DescribeManagedProductsByVendorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3766
|
+
#
|
3767
|
+
# * {Types::DescribeManagedProductsByVendorResponse#managed_products #managed_products} => Array<Types::ManagedProductDescriptor>
|
3768
|
+
#
|
3769
|
+
# @example Request syntax with placeholder values
|
3770
|
+
#
|
3771
|
+
# resp = client.describe_managed_products_by_vendor({
|
3772
|
+
# vendor_name: "VendorName", # required
|
3773
|
+
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
3774
|
+
# })
|
3775
|
+
#
|
3776
|
+
# @example Response structure
|
3777
|
+
#
|
3778
|
+
# resp.managed_products #=> Array
|
3779
|
+
# resp.managed_products[0].vendor_name #=> String
|
3780
|
+
# resp.managed_products[0].managed_rule_set_name #=> String
|
3781
|
+
# resp.managed_products[0].product_id #=> String
|
3782
|
+
# resp.managed_products[0].product_link #=> String
|
3783
|
+
# resp.managed_products[0].product_title #=> String
|
3784
|
+
# resp.managed_products[0].product_description #=> String
|
3785
|
+
# resp.managed_products[0].sns_topic_arn #=> String
|
3786
|
+
# resp.managed_products[0].is_versioning_supported #=> Boolean
|
3787
|
+
# resp.managed_products[0].is_advanced_managed_rule_set #=> Boolean
|
3788
|
+
#
|
3789
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DescribeManagedProductsByVendor AWS API Documentation
|
3790
|
+
#
|
3791
|
+
# @overload describe_managed_products_by_vendor(params = {})
|
3792
|
+
# @param [Hash] params ({})
|
3793
|
+
def describe_managed_products_by_vendor(params = {}, options = {})
|
3794
|
+
req = build_request(:describe_managed_products_by_vendor, params)
|
3795
|
+
req.send_request(options)
|
3796
|
+
end
|
3797
|
+
|
3692
3798
|
# Provides high-level information for a managed rule group, including
|
3693
3799
|
# descriptions of the rules.
|
3694
3800
|
#
|
3695
3801
|
# @option params [required, String] :vendor_name
|
3696
3802
|
# The name of the managed rule group vendor. You use this, along with
|
3697
|
-
# the rule group name, to identify
|
3803
|
+
# the rule group name, to identify a rule group.
|
3698
3804
|
#
|
3699
3805
|
# @option params [required, String] :name
|
3700
3806
|
# The name of the managed rule group. You use this, along with the
|
@@ -6849,7 +6955,7 @@ module Aws::WAFV2
|
|
6849
6955
|
#
|
6850
6956
|
# @option params [required, String] :vendor_name
|
6851
6957
|
# The name of the managed rule group vendor. You use this, along with
|
6852
|
-
# the rule group name, to identify
|
6958
|
+
# the rule group name, to identify a rule group.
|
6853
6959
|
#
|
6854
6960
|
# @option params [required, String] :name
|
6855
6961
|
# The name of the managed rule group. You use this, along with the
|
@@ -10202,7 +10308,7 @@ module Aws::WAFV2
|
|
10202
10308
|
params: params,
|
10203
10309
|
config: config)
|
10204
10310
|
context[:gem_name] = 'aws-sdk-wafv2'
|
10205
|
-
context[:gem_version] = '1.
|
10311
|
+
context[:gem_version] = '1.61.0'
|
10206
10312
|
Seahorse::Client::Request.new(handlers, context)
|
10207
10313
|
end
|
10208
10314
|
|
@@ -89,6 +89,10 @@ module Aws::WAFV2
|
|
89
89
|
DeleteRuleGroupResponse = Shapes::StructureShape.new(name: 'DeleteRuleGroupResponse')
|
90
90
|
DeleteWebACLRequest = Shapes::StructureShape.new(name: 'DeleteWebACLRequest')
|
91
91
|
DeleteWebACLResponse = Shapes::StructureShape.new(name: 'DeleteWebACLResponse')
|
92
|
+
DescribeAllManagedProductsRequest = Shapes::StructureShape.new(name: 'DescribeAllManagedProductsRequest')
|
93
|
+
DescribeAllManagedProductsResponse = Shapes::StructureShape.new(name: 'DescribeAllManagedProductsResponse')
|
94
|
+
DescribeManagedProductsByVendorRequest = Shapes::StructureShape.new(name: 'DescribeManagedProductsByVendorRequest')
|
95
|
+
DescribeManagedProductsByVendorResponse = Shapes::StructureShape.new(name: 'DescribeManagedProductsByVendorResponse')
|
92
96
|
DescribeManagedRuleGroupRequest = Shapes::StructureShape.new(name: 'DescribeManagedRuleGroupRequest')
|
93
97
|
DescribeManagedRuleGroupResponse = Shapes::StructureShape.new(name: 'DescribeManagedRuleGroupResponse')
|
94
98
|
DisassociateWebACLRequest = Shapes::StructureShape.new(name: 'DisassociateWebACLRequest')
|
@@ -213,6 +217,8 @@ module Aws::WAFV2
|
|
213
217
|
LoggingConfigurations = Shapes::ListShape.new(name: 'LoggingConfigurations')
|
214
218
|
LoggingFilter = Shapes::StructureShape.new(name: 'LoggingFilter')
|
215
219
|
LoginPathString = Shapes::StringShape.new(name: 'LoginPathString')
|
220
|
+
ManagedProductDescriptor = Shapes::StructureShape.new(name: 'ManagedProductDescriptor')
|
221
|
+
ManagedProductDescriptors = Shapes::ListShape.new(name: 'ManagedProductDescriptors')
|
216
222
|
ManagedRuleGroupConfig = Shapes::StructureShape.new(name: 'ManagedRuleGroupConfig')
|
217
223
|
ManagedRuleGroupConfigs = Shapes::ListShape.new(name: 'ManagedRuleGroupConfigs')
|
218
224
|
ManagedRuleGroupStatement = Shapes::StructureShape.new(name: 'ManagedRuleGroupStatement')
|
@@ -244,6 +250,10 @@ module Aws::WAFV2
|
|
244
250
|
PolicyString = Shapes::StringShape.new(name: 'PolicyString')
|
245
251
|
PopulationSize = Shapes::IntegerShape.new(name: 'PopulationSize')
|
246
252
|
PositionalConstraint = Shapes::StringShape.new(name: 'PositionalConstraint')
|
253
|
+
ProductDescription = Shapes::StringShape.new(name: 'ProductDescription')
|
254
|
+
ProductId = Shapes::StringShape.new(name: 'ProductId')
|
255
|
+
ProductLink = Shapes::StringShape.new(name: 'ProductLink')
|
256
|
+
ProductTitle = Shapes::StringShape.new(name: 'ProductTitle')
|
247
257
|
PublishedVersions = Shapes::MapShape.new(name: 'PublishedVersions')
|
248
258
|
PutLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutLoggingConfigurationRequest')
|
249
259
|
PutLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutLoggingConfigurationResponse')
|
@@ -631,6 +641,19 @@ module Aws::WAFV2
|
|
631
641
|
|
632
642
|
DeleteWebACLResponse.struct_class = Types::DeleteWebACLResponse
|
633
643
|
|
644
|
+
DescribeAllManagedProductsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
645
|
+
DescribeAllManagedProductsRequest.struct_class = Types::DescribeAllManagedProductsRequest
|
646
|
+
|
647
|
+
DescribeAllManagedProductsResponse.add_member(:managed_products, Shapes::ShapeRef.new(shape: ManagedProductDescriptors, location_name: "ManagedProducts"))
|
648
|
+
DescribeAllManagedProductsResponse.struct_class = Types::DescribeAllManagedProductsResponse
|
649
|
+
|
650
|
+
DescribeManagedProductsByVendorRequest.add_member(:vendor_name, Shapes::ShapeRef.new(shape: VendorName, required: true, location_name: "VendorName"))
|
651
|
+
DescribeManagedProductsByVendorRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
652
|
+
DescribeManagedProductsByVendorRequest.struct_class = Types::DescribeManagedProductsByVendorRequest
|
653
|
+
|
654
|
+
DescribeManagedProductsByVendorResponse.add_member(:managed_products, Shapes::ShapeRef.new(shape: ManagedProductDescriptors, location_name: "ManagedProducts"))
|
655
|
+
DescribeManagedProductsByVendorResponse.struct_class = Types::DescribeManagedProductsByVendorResponse
|
656
|
+
|
634
657
|
DescribeManagedRuleGroupRequest.add_member(:vendor_name, Shapes::ShapeRef.new(shape: VendorName, required: true, location_name: "VendorName"))
|
635
658
|
DescribeManagedRuleGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
|
636
659
|
DescribeManagedRuleGroupRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
@@ -1021,6 +1044,19 @@ module Aws::WAFV2
|
|
1021
1044
|
LoggingFilter.add_member(:default_behavior, Shapes::ShapeRef.new(shape: FilterBehavior, required: true, location_name: "DefaultBehavior"))
|
1022
1045
|
LoggingFilter.struct_class = Types::LoggingFilter
|
1023
1046
|
|
1047
|
+
ManagedProductDescriptor.add_member(:vendor_name, Shapes::ShapeRef.new(shape: VendorName, location_name: "VendorName"))
|
1048
|
+
ManagedProductDescriptor.add_member(:managed_rule_set_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "ManagedRuleSetName"))
|
1049
|
+
ManagedProductDescriptor.add_member(:product_id, Shapes::ShapeRef.new(shape: ProductId, location_name: "ProductId"))
|
1050
|
+
ManagedProductDescriptor.add_member(:product_link, Shapes::ShapeRef.new(shape: ProductLink, location_name: "ProductLink"))
|
1051
|
+
ManagedProductDescriptor.add_member(:product_title, Shapes::ShapeRef.new(shape: ProductTitle, location_name: "ProductTitle"))
|
1052
|
+
ManagedProductDescriptor.add_member(:product_description, Shapes::ShapeRef.new(shape: ProductDescription, location_name: "ProductDescription"))
|
1053
|
+
ManagedProductDescriptor.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "SnsTopicArn"))
|
1054
|
+
ManagedProductDescriptor.add_member(:is_versioning_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsVersioningSupported"))
|
1055
|
+
ManagedProductDescriptor.add_member(:is_advanced_managed_rule_set, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsAdvancedManagedRuleSet"))
|
1056
|
+
ManagedProductDescriptor.struct_class = Types::ManagedProductDescriptor
|
1057
|
+
|
1058
|
+
ManagedProductDescriptors.member = Shapes::ShapeRef.new(shape: ManagedProductDescriptor)
|
1059
|
+
|
1024
1060
|
ManagedRuleGroupConfig.add_member(:login_path, Shapes::ShapeRef.new(shape: LoginPathString, deprecated: true, location_name: "LoginPath", metadata: {"deprecatedMessage"=>"Deprecated. Use AWSManagedRulesATPRuleSet LoginPath"}))
|
1025
1061
|
ManagedRuleGroupConfig.add_member(:payload_type, Shapes::ShapeRef.new(shape: PayloadType, deprecated: true, location_name: "PayloadType", metadata: {"deprecatedMessage"=>"Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection PayloadType"}))
|
1026
1062
|
ManagedRuleGroupConfig.add_member(:username_field, Shapes::ShapeRef.new(shape: UsernameField, deprecated: true, location_name: "UsernameField", metadata: {"deprecatedMessage"=>"Deprecated. Use AWSManagedRulesATPRuleSet RequestInspection UsernameField"}))
|
@@ -1827,6 +1863,27 @@ module Aws::WAFV2
|
|
1827
1863
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1828
1864
|
end)
|
1829
1865
|
|
1866
|
+
api.add_operation(:describe_all_managed_products, Seahorse::Model::Operation.new.tap do |o|
|
1867
|
+
o.name = "DescribeAllManagedProducts"
|
1868
|
+
o.http_method = "POST"
|
1869
|
+
o.http_request_uri = "/"
|
1870
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAllManagedProductsRequest)
|
1871
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAllManagedProductsResponse)
|
1872
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1873
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
1874
|
+
end)
|
1875
|
+
|
1876
|
+
api.add_operation(:describe_managed_products_by_vendor, Seahorse::Model::Operation.new.tap do |o|
|
1877
|
+
o.name = "DescribeManagedProductsByVendor"
|
1878
|
+
o.http_method = "POST"
|
1879
|
+
o.http_request_uri = "/"
|
1880
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeManagedProductsByVendorRequest)
|
1881
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeManagedProductsByVendorResponse)
|
1882
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1883
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
1884
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
1885
|
+
end)
|
1886
|
+
|
1830
1887
|
api.add_operation(:describe_managed_rule_group, Seahorse::Model::Operation.new.tap do |o|
|
1831
1888
|
o.name = "DescribeManagedRuleGroup"
|
1832
1889
|
o.http_method = "POST"
|
@@ -207,6 +207,34 @@ module Aws::WAFV2
|
|
207
207
|
end
|
208
208
|
end
|
209
209
|
|
210
|
+
class DescribeAllManagedProducts
|
211
|
+
def self.build(context)
|
212
|
+
unless context.config.regional_endpoint
|
213
|
+
endpoint = context.config.endpoint.to_s
|
214
|
+
end
|
215
|
+
Aws::WAFV2::EndpointParameters.new(
|
216
|
+
region: context.config.region,
|
217
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
+
use_fips: context.config.use_fips_endpoint,
|
219
|
+
endpoint: endpoint,
|
220
|
+
)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class DescribeManagedProductsByVendor
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::WAFV2::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
210
238
|
class DescribeManagedRuleGroup
|
211
239
|
def self.build(context)
|
212
240
|
unless context.config.regional_endpoint
|
@@ -84,6 +84,10 @@ module Aws::WAFV2
|
|
84
84
|
Aws::WAFV2::Endpoints::DeleteRuleGroup.build(context)
|
85
85
|
when :delete_web_acl
|
86
86
|
Aws::WAFV2::Endpoints::DeleteWebACL.build(context)
|
87
|
+
when :describe_all_managed_products
|
88
|
+
Aws::WAFV2::Endpoints::DescribeAllManagedProducts.build(context)
|
89
|
+
when :describe_managed_products_by_vendor
|
90
|
+
Aws::WAFV2::Endpoints::DescribeManagedProductsByVendor.build(context)
|
87
91
|
when :describe_managed_rule_group
|
88
92
|
Aws::WAFV2::Endpoints::DescribeManagedRuleGroup.build(context)
|
89
93
|
when :disassociate_web_acl
|
data/lib/aws-sdk-wafv2/types.rb
CHANGED
@@ -1818,9 +1818,89 @@ module Aws::WAFV2
|
|
1818
1818
|
#
|
1819
1819
|
class DeleteWebACLResponse < Aws::EmptyStructure; end
|
1820
1820
|
|
1821
|
+
# @!attribute [rw] scope
|
1822
|
+
# Specifies whether this is for an Amazon CloudFront distribution or
|
1823
|
+
# for a regional application. A regional application can be an
|
1824
|
+
# Application Load Balancer (ALB), an Amazon API Gateway REST API, an
|
1825
|
+
# AppSync GraphQL API, an Amazon Cognito user pool, an App Runner
|
1826
|
+
# service, or an Amazon Web Services Verified Access instance.
|
1827
|
+
#
|
1828
|
+
# To work with CloudFront, you must also specify the Region US East
|
1829
|
+
# (N. Virginia) as follows:
|
1830
|
+
#
|
1831
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
1832
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
1833
|
+
#
|
1834
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
1835
|
+
# @return [String]
|
1836
|
+
#
|
1837
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DescribeAllManagedProductsRequest AWS API Documentation
|
1838
|
+
#
|
1839
|
+
class DescribeAllManagedProductsRequest < Struct.new(
|
1840
|
+
:scope)
|
1841
|
+
SENSITIVE = []
|
1842
|
+
include Aws::Structure
|
1843
|
+
end
|
1844
|
+
|
1845
|
+
# @!attribute [rw] managed_products
|
1846
|
+
# High-level information for the Amazon Web Services Managed Rules
|
1847
|
+
# rule groups and Amazon Web Services Marketplace managed rule groups.
|
1848
|
+
# @return [Array<Types::ManagedProductDescriptor>]
|
1849
|
+
#
|
1850
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DescribeAllManagedProductsResponse AWS API Documentation
|
1851
|
+
#
|
1852
|
+
class DescribeAllManagedProductsResponse < Struct.new(
|
1853
|
+
:managed_products)
|
1854
|
+
SENSITIVE = []
|
1855
|
+
include Aws::Structure
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
# @!attribute [rw] vendor_name
|
1859
|
+
# The name of the managed rule group vendor. You use this, along with
|
1860
|
+
# the rule group name, to identify a rule group.
|
1861
|
+
# @return [String]
|
1862
|
+
#
|
1863
|
+
# @!attribute [rw] scope
|
1864
|
+
# Specifies whether this is for an Amazon CloudFront distribution or
|
1865
|
+
# for a regional application. A regional application can be an
|
1866
|
+
# Application Load Balancer (ALB), an Amazon API Gateway REST API, an
|
1867
|
+
# AppSync GraphQL API, an Amazon Cognito user pool, an App Runner
|
1868
|
+
# service, or an Amazon Web Services Verified Access instance.
|
1869
|
+
#
|
1870
|
+
# To work with CloudFront, you must also specify the Region US East
|
1871
|
+
# (N. Virginia) as follows:
|
1872
|
+
#
|
1873
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
1874
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
1875
|
+
#
|
1876
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
1877
|
+
# @return [String]
|
1878
|
+
#
|
1879
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DescribeManagedProductsByVendorRequest AWS API Documentation
|
1880
|
+
#
|
1881
|
+
class DescribeManagedProductsByVendorRequest < Struct.new(
|
1882
|
+
:vendor_name,
|
1883
|
+
:scope)
|
1884
|
+
SENSITIVE = []
|
1885
|
+
include Aws::Structure
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
# @!attribute [rw] managed_products
|
1889
|
+
# High-level information for the managed rule groups owned by the
|
1890
|
+
# specified vendor.
|
1891
|
+
# @return [Array<Types::ManagedProductDescriptor>]
|
1892
|
+
#
|
1893
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DescribeManagedProductsByVendorResponse AWS API Documentation
|
1894
|
+
#
|
1895
|
+
class DescribeManagedProductsByVendorResponse < Struct.new(
|
1896
|
+
:managed_products)
|
1897
|
+
SENSITIVE = []
|
1898
|
+
include Aws::Structure
|
1899
|
+
end
|
1900
|
+
|
1821
1901
|
# @!attribute [rw] vendor_name
|
1822
1902
|
# The name of the managed rule group vendor. You use this, along with
|
1823
|
-
# the rule group name, to identify
|
1903
|
+
# the rule group name, to identify a rule group.
|
1824
1904
|
# @return [String]
|
1825
1905
|
#
|
1826
1906
|
# @!attribute [rw] name
|
@@ -1867,11 +1947,12 @@ module Aws::WAFV2
|
|
1867
1947
|
#
|
1868
1948
|
# @!attribute [rw] sns_topic_arn
|
1869
1949
|
# The Amazon resource name (ARN) of the Amazon Simple Notification
|
1870
|
-
# Service SNS topic that's used to
|
1871
|
-
# group. You can subscribe to the SNS topic to
|
1872
|
-
# when the managed rule group is modified, such
|
1873
|
-
# and for version expiration. For more
|
1874
|
-
# Simple Notification Service Developer
|
1950
|
+
# Service SNS topic that's used to provide notification of changes to
|
1951
|
+
# the managed rule group. You can subscribe to the SNS topic to
|
1952
|
+
# receive notifications when the managed rule group is modified, such
|
1953
|
+
# as for new versions and for version expiration. For more
|
1954
|
+
# information, see the [Amazon Simple Notification Service Developer
|
1955
|
+
# Guide][1].
|
1875
1956
|
#
|
1876
1957
|
#
|
1877
1958
|
#
|
@@ -2123,8 +2204,7 @@ module Aws::WAFV2
|
|
2123
2204
|
# ordered as they appear in the web request that WAF receives for
|
2124
2205
|
# inspection. WAF generates the string and then uses that as the field
|
2125
2206
|
# to match component in its inspection. WAF separates the header names
|
2126
|
-
# in the string using
|
2127
|
-
# `Host:User-Agent:Accept:Authorization:Referer`.
|
2207
|
+
# in the string using commas and no added spaces.
|
2128
2208
|
#
|
2129
2209
|
# Matches against the header order string are case insensitive.
|
2130
2210
|
# @return [Types::HeaderOrder]
|
@@ -3194,8 +3274,7 @@ module Aws::WAFV2
|
|
3194
3274
|
# ordered as they appear in the web request that WAF receives for
|
3195
3275
|
# inspection. WAF generates the string and then uses that as the field
|
3196
3276
|
# to match component in its inspection. WAF separates the header names
|
3197
|
-
# in the string using
|
3198
|
-
# `Host:User-Agent:Accept:Authorization:Referer`.
|
3277
|
+
# in the string using commas and no added spaces.
|
3199
3278
|
#
|
3200
3279
|
# Matches against the header order string are case insensitive.
|
3201
3280
|
#
|
@@ -3866,7 +3945,7 @@ module Aws::WAFV2
|
|
3866
3945
|
|
3867
3946
|
# @!attribute [rw] vendor_name
|
3868
3947
|
# The name of the managed rule group vendor. You use this, along with
|
3869
|
-
# the rule group name, to identify
|
3948
|
+
# the rule group name, to identify a rule group.
|
3870
3949
|
# @return [String]
|
3871
3950
|
#
|
3872
3951
|
# @!attribute [rw] name
|
@@ -4647,6 +4726,80 @@ module Aws::WAFV2
|
|
4647
4726
|
include Aws::Structure
|
4648
4727
|
end
|
4649
4728
|
|
4729
|
+
# The properties of a managed product, such as an Amazon Web Services
|
4730
|
+
# Managed Rules rule group or an Amazon Web Services Marketplace managed
|
4731
|
+
# rule group.
|
4732
|
+
#
|
4733
|
+
# @!attribute [rw] vendor_name
|
4734
|
+
# The name of the managed rule group vendor. You use this, along with
|
4735
|
+
# the rule group name, to identify a rule group.
|
4736
|
+
# @return [String]
|
4737
|
+
#
|
4738
|
+
# @!attribute [rw] managed_rule_set_name
|
4739
|
+
# The name of the managed rule group. For example,
|
4740
|
+
# `AWSManagedRulesAnonymousIpList` or `AWSManagedRulesATPRuleSet`.
|
4741
|
+
# @return [String]
|
4742
|
+
#
|
4743
|
+
# @!attribute [rw] product_id
|
4744
|
+
# A unique identifier for the rule group. This ID is returned in the
|
4745
|
+
# responses to create and list commands. You provide it to operations
|
4746
|
+
# like update and delete.
|
4747
|
+
# @return [String]
|
4748
|
+
#
|
4749
|
+
# @!attribute [rw] product_link
|
4750
|
+
# For Amazon Web Services Marketplace managed rule groups only, the
|
4751
|
+
# link to the rule group product page.
|
4752
|
+
# @return [String]
|
4753
|
+
#
|
4754
|
+
# @!attribute [rw] product_title
|
4755
|
+
# The display name for the managed rule group. For example, `Anonymous
|
4756
|
+
# IP list` or `Account takeover prevention`.
|
4757
|
+
# @return [String]
|
4758
|
+
#
|
4759
|
+
# @!attribute [rw] product_description
|
4760
|
+
# A short description of the managed rule group.
|
4761
|
+
# @return [String]
|
4762
|
+
#
|
4763
|
+
# @!attribute [rw] sns_topic_arn
|
4764
|
+
# The Amazon resource name (ARN) of the Amazon Simple Notification
|
4765
|
+
# Service SNS topic that's used to provide notification of changes to
|
4766
|
+
# the managed rule group. You can subscribe to the SNS topic to
|
4767
|
+
# receive notifications when the managed rule group is modified, such
|
4768
|
+
# as for new versions and for version expiration. For more
|
4769
|
+
# information, see the [Amazon Simple Notification Service Developer
|
4770
|
+
# Guide][1].
|
4771
|
+
#
|
4772
|
+
#
|
4773
|
+
#
|
4774
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/welcome.html
|
4775
|
+
# @return [String]
|
4776
|
+
#
|
4777
|
+
# @!attribute [rw] is_versioning_supported
|
4778
|
+
# Indicates whether the rule group is versioned.
|
4779
|
+
# @return [Boolean]
|
4780
|
+
#
|
4781
|
+
# @!attribute [rw] is_advanced_managed_rule_set
|
4782
|
+
# Indicates whether the rule group provides an advanced set of
|
4783
|
+
# protections, such as the the Amazon Web Services Managed Rules rule
|
4784
|
+
# groups that are used for WAF intelligent threat mitigation.
|
4785
|
+
# @return [Boolean]
|
4786
|
+
#
|
4787
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ManagedProductDescriptor AWS API Documentation
|
4788
|
+
#
|
4789
|
+
class ManagedProductDescriptor < Struct.new(
|
4790
|
+
:vendor_name,
|
4791
|
+
:managed_rule_set_name,
|
4792
|
+
:product_id,
|
4793
|
+
:product_link,
|
4794
|
+
:product_title,
|
4795
|
+
:product_description,
|
4796
|
+
:sns_topic_arn,
|
4797
|
+
:is_versioning_supported,
|
4798
|
+
:is_advanced_managed_rule_set)
|
4799
|
+
SENSITIVE = []
|
4800
|
+
include Aws::Structure
|
4801
|
+
end
|
4802
|
+
|
4650
4803
|
# Additional information that's used by a managed rule group. Many
|
4651
4804
|
# managed rule groups don't require this.
|
4652
4805
|
#
|
@@ -4760,7 +4913,7 @@ module Aws::WAFV2
|
|
4760
4913
|
#
|
4761
4914
|
# @!attribute [rw] vendor_name
|
4762
4915
|
# The name of the managed rule group vendor. You use this, along with
|
4763
|
-
# the rule group name, to identify
|
4916
|
+
# the rule group name, to identify a rule group.
|
4764
4917
|
# @return [String]
|
4765
4918
|
#
|
4766
4919
|
# @!attribute [rw] name
|
@@ -4838,14 +4991,14 @@ module Aws::WAFV2
|
|
4838
4991
|
# ListAvailableManagedRuleGroups. This provides information like the
|
4839
4992
|
# name and vendor name, that you provide when you add a
|
4840
4993
|
# ManagedRuleGroupStatement to a web ACL. Managed rule groups include
|
4841
|
-
# Amazon Web Services Managed Rules rule groups
|
4842
|
-
#
|
4843
|
-
# rule
|
4844
|
-
# Marketplace.
|
4994
|
+
# Amazon Web Services Managed Rules rule groups and Amazon Web Services
|
4995
|
+
# Marketplace managed rule groups. To use any Amazon Web Services
|
4996
|
+
# Marketplace managed rule group, first subscribe to the rule group
|
4997
|
+
# through Amazon Web Services Marketplace.
|
4845
4998
|
#
|
4846
4999
|
# @!attribute [rw] vendor_name
|
4847
5000
|
# The name of the managed rule group vendor. You use this, along with
|
4848
|
-
# the rule group name, to identify
|
5001
|
+
# the rule group name, to identify a rule group.
|
4849
5002
|
# @return [String]
|
4850
5003
|
#
|
4851
5004
|
# @!attribute [rw] name
|
@@ -8401,15 +8554,15 @@ module Aws::WAFV2
|
|
8401
8554
|
# collection.
|
8402
8555
|
#
|
8403
8556
|
# @!attribute [rw] sampled_requests_enabled
|
8404
|
-
#
|
8405
|
-
#
|
8406
|
-
#
|
8557
|
+
# Indicates whether WAF should store a sampling of the web requests
|
8558
|
+
# that match the rules. You can view the sampled requests through the
|
8559
|
+
# WAF console.
|
8407
8560
|
# @return [Boolean]
|
8408
8561
|
#
|
8409
8562
|
# @!attribute [rw] cloud_watch_metrics_enabled
|
8410
|
-
#
|
8411
|
-
#
|
8412
|
-
#
|
8563
|
+
# Indicates whether the associated resource sends metrics to Amazon
|
8564
|
+
# CloudWatch. For the list of available metrics, see [WAF Metrics][1]
|
8565
|
+
# in the *WAF Developer Guide*.
|
8413
8566
|
#
|
8414
8567
|
# For web ACLs, the metrics are for web requests that have the web ACL
|
8415
8568
|
# default action applied. WAF applies the default action to web
|
data/lib/aws-sdk-wafv2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-wafv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.61.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|