aws-sdk-wafv2 1.75.0 → 1.77.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-wafv2/client.rb +51 -4
- data/lib/aws-sdk-wafv2/client_api.rb +23 -0
- data/lib/aws-sdk-wafv2/endpoints.rb +14 -0
- data/lib/aws-sdk-wafv2/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-wafv2/types.rb +51 -3
- data/lib/aws-sdk-wafv2.rb +1 -1
- data/sig/client.rbs +15 -0
- data/sig/types.rbs +10 -0
- 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: 3ca25bdbc616a3ad598be11f0cfb8b0069553506813f7731fa40bd85c003a526
|
4
|
+
data.tar.gz: b401bfd6fd24c0934e335472b1a7ba181222549f7edb40a09177a7bed3aaaca6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b06a228da5f349710e31a01a5023991048e3d5c5b11d0d5d837343a3009e77efa578a279bd8d24b89c22359bb39cd92100f746477db6dc21161fbd6df64bd56
|
7
|
+
data.tar.gz: 62f93d04f9e389dd76f6d1f10d6d659051bbdd2522c3962dd82b5102e4566443e3344ac8738173aa9dc46162838daefbeb0c54a8afbc565162c29d8dd8abc088
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.77.0 (2024-02-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS WAF now supports configurable time windows for request aggregation with rate-based rules. Customers can now select time windows of 1 minute, 2 minutes or 10 minutes, in addition to the previously supported 5 minutes.
|
8
|
+
|
9
|
+
1.76.0 (2024-02-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - You can now delete an API key that you've created for use with your CAPTCHA JavaScript integration API.
|
13
|
+
|
4
14
|
1.75.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.77.0
|
data/lib/aws-sdk-wafv2/client.rb
CHANGED
@@ -950,6 +950,7 @@ module Aws::WAFV2
|
|
950
950
|
# },
|
951
951
|
# rate_based_statement: {
|
952
952
|
# limit: 1, # required
|
953
|
+
# evaluation_window_sec: 1,
|
953
954
|
# aggregate_key_type: "IP", # required, accepts IP, FORWARDED_IP, CUSTOM_KEYS, CONSTANT
|
954
955
|
# scope_down_statement: {
|
955
956
|
# # recursive Statement
|
@@ -1412,7 +1413,7 @@ module Aws::WAFV2
|
|
1412
1413
|
#
|
1413
1414
|
# Example JSON: `"TokenDomains": ["abc.com", "store.abc.com"]`
|
1414
1415
|
#
|
1415
|
-
# Public suffixes aren't allowed. For example, you can't use `
|
1416
|
+
# Public suffixes aren't allowed. For example, you can't use `gov.au`
|
1416
1417
|
# or `co.uk` as token domains.
|
1417
1418
|
#
|
1418
1419
|
# @return [Types::CreateAPIKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2128,6 +2129,7 @@ module Aws::WAFV2
|
|
2128
2129
|
# },
|
2129
2130
|
# rate_based_statement: {
|
2130
2131
|
# limit: 1, # required
|
2132
|
+
# evaluation_window_sec: 1,
|
2131
2133
|
# aggregate_key_type: "IP", # required, accepts IP, FORWARDED_IP, CUSTOM_KEYS, CONSTANT
|
2132
2134
|
# scope_down_statement: {
|
2133
2135
|
# # recursive Statement
|
@@ -2671,7 +2673,7 @@ module Aws::WAFV2
|
|
2671
2673
|
# Example JSON: `"TokenDomains": \{ "mywebsite.com",
|
2672
2674
|
# "myotherwebsite.com" \}`
|
2673
2675
|
#
|
2674
|
-
# Public suffixes aren't allowed. For example, you can't use `
|
2676
|
+
# Public suffixes aren't allowed. For example, you can't use `gov.au`
|
2675
2677
|
# or `co.uk` as token domains.
|
2676
2678
|
#
|
2677
2679
|
# @option params [Types::AssociationConfig] :association_config
|
@@ -3136,6 +3138,7 @@ module Aws::WAFV2
|
|
3136
3138
|
# },
|
3137
3139
|
# rate_based_statement: {
|
3138
3140
|
# limit: 1, # required
|
3141
|
+
# evaluation_window_sec: 1,
|
3139
3142
|
# aggregate_key_type: "IP", # required, accepts IP, FORWARDED_IP, CUSTOM_KEYS, CONSTANT
|
3140
3143
|
# scope_down_statement: {
|
3141
3144
|
# # recursive Statement
|
@@ -3601,6 +3604,47 @@ module Aws::WAFV2
|
|
3601
3604
|
req.send_request(options)
|
3602
3605
|
end
|
3603
3606
|
|
3607
|
+
# Deletes the specified API key.
|
3608
|
+
#
|
3609
|
+
# After you delete a key, it can take up to 24 hours for WAF to disallow
|
3610
|
+
# use of the key in all regions.
|
3611
|
+
#
|
3612
|
+
# @option params [required, String] :scope
|
3613
|
+
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3614
|
+
# a regional application. A regional application can be an Application
|
3615
|
+
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3616
|
+
# GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
|
3617
|
+
# Amazon Web Services Verified Access instance.
|
3618
|
+
#
|
3619
|
+
# To work with CloudFront, you must also specify the Region US East (N.
|
3620
|
+
# Virginia) as follows:
|
3621
|
+
#
|
3622
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
3623
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
3624
|
+
#
|
3625
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
3626
|
+
#
|
3627
|
+
# @option params [required, String] :api_key
|
3628
|
+
# The encrypted API key that you want to delete.
|
3629
|
+
#
|
3630
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3631
|
+
#
|
3632
|
+
# @example Request syntax with placeholder values
|
3633
|
+
#
|
3634
|
+
# resp = client.delete_api_key({
|
3635
|
+
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
3636
|
+
# api_key: "APIKey", # required
|
3637
|
+
# })
|
3638
|
+
#
|
3639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteAPIKey AWS API Documentation
|
3640
|
+
#
|
3641
|
+
# @overload delete_api_key(params = {})
|
3642
|
+
# @param [Hash] params ({})
|
3643
|
+
def delete_api_key(params = {}, options = {})
|
3644
|
+
req = build_request(:delete_api_key, params)
|
3645
|
+
req.send_request(options)
|
3646
|
+
end
|
3647
|
+
|
3604
3648
|
# Deletes all rule groups that are managed by Firewall Manager for the
|
3605
3649
|
# specified web ACL.
|
3606
3650
|
#
|
@@ -4957,6 +5001,7 @@ module Aws::WAFV2
|
|
4957
5001
|
# resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.text_transformations[0].priority #=> Integer
|
4958
5002
|
# resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE", "BASE64_DECODE", "HEX_DECODE", "MD5", "REPLACE_COMMENTS", "ESCAPE_SEQ_DECODE", "SQL_HEX_DECODE", "CSS_DECODE", "JS_DECODE", "NORMALIZE_PATH", "NORMALIZE_PATH_WIN", "REMOVE_NULLS", "REPLACE_NULLS", "BASE64_DECODE_EXT", "URL_DECODE_UNI", "UTF8_TO_UNICODE"
|
4959
5003
|
# resp.rule_group.rules[0].statement.rate_based_statement.limit #=> Integer
|
5004
|
+
# resp.rule_group.rules[0].statement.rate_based_statement.evaluation_window_sec #=> Integer
|
4960
5005
|
# resp.rule_group.rules[0].statement.rate_based_statement.aggregate_key_type #=> String, one of "IP", "FORWARDED_IP", "CUSTOM_KEYS", "CONSTANT"
|
4961
5006
|
# resp.rule_group.rules[0].statement.rate_based_statement.scope_down_statement #=> Types::Statement
|
4962
5007
|
# resp.rule_group.rules[0].statement.rate_based_statement.forwarded_ip_config.header_name #=> String
|
@@ -7504,6 +7549,7 @@ module Aws::WAFV2
|
|
7504
7549
|
# },
|
7505
7550
|
# rate_based_statement: {
|
7506
7551
|
# limit: 1, # required
|
7552
|
+
# evaluation_window_sec: 1,
|
7507
7553
|
# aggregate_key_type: "IP", # required, accepts IP, FORWARDED_IP, CUSTOM_KEYS, CONSTANT
|
7508
7554
|
# scope_down_statement: {
|
7509
7555
|
# # recursive Statement
|
@@ -8091,7 +8137,7 @@ module Aws::WAFV2
|
|
8091
8137
|
# Example JSON: `"TokenDomains": \{ "mywebsite.com",
|
8092
8138
|
# "myotherwebsite.com" \}`
|
8093
8139
|
#
|
8094
|
-
# Public suffixes aren't allowed. For example, you can't use `
|
8140
|
+
# Public suffixes aren't allowed. For example, you can't use `gov.au`
|
8095
8141
|
# or `co.uk` as token domains.
|
8096
8142
|
#
|
8097
8143
|
# @option params [Types::AssociationConfig] :association_config
|
@@ -8557,6 +8603,7 @@ module Aws::WAFV2
|
|
8557
8603
|
# },
|
8558
8604
|
# rate_based_statement: {
|
8559
8605
|
# limit: 1, # required
|
8606
|
+
# evaluation_window_sec: 1,
|
8560
8607
|
# aggregate_key_type: "IP", # required, accepts IP, FORWARDED_IP, CUSTOM_KEYS, CONSTANT
|
8561
8608
|
# scope_down_statement: {
|
8562
8609
|
# # recursive Statement
|
@@ -9026,7 +9073,7 @@ module Aws::WAFV2
|
|
9026
9073
|
params: params,
|
9027
9074
|
config: config)
|
9028
9075
|
context[:gem_name] = 'aws-sdk-wafv2'
|
9029
|
-
context[:gem_version] = '1.
|
9076
|
+
context[:gem_version] = '1.77.0'
|
9030
9077
|
Seahorse::Client::Request.new(handlers, context)
|
9031
9078
|
end
|
9032
9079
|
|
@@ -79,6 +79,8 @@ module Aws::WAFV2
|
|
79
79
|
CustomResponseBodies = Shapes::MapShape.new(name: 'CustomResponseBodies')
|
80
80
|
CustomResponseBody = Shapes::StructureShape.new(name: 'CustomResponseBody')
|
81
81
|
DefaultAction = Shapes::StructureShape.new(name: 'DefaultAction')
|
82
|
+
DeleteAPIKeyRequest = Shapes::StructureShape.new(name: 'DeleteAPIKeyRequest')
|
83
|
+
DeleteAPIKeyResponse = Shapes::StructureShape.new(name: 'DeleteAPIKeyResponse')
|
82
84
|
DeleteFirewallManagerRuleGroupsRequest = Shapes::StructureShape.new(name: 'DeleteFirewallManagerRuleGroupsRequest')
|
83
85
|
DeleteFirewallManagerRuleGroupsResponse = Shapes::StructureShape.new(name: 'DeleteFirewallManagerRuleGroupsResponse')
|
84
86
|
DeleteIPSetRequest = Shapes::StructureShape.new(name: 'DeleteIPSetRequest')
|
@@ -108,6 +110,7 @@ module Aws::WAFV2
|
|
108
110
|
EntityName = Shapes::StringShape.new(name: 'EntityName')
|
109
111
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
110
112
|
ErrorReason = Shapes::StringShape.new(name: 'ErrorReason')
|
113
|
+
EvaluationWindowSec = Shapes::IntegerShape.new(name: 'EvaluationWindowSec')
|
111
114
|
ExcludedRule = Shapes::StructureShape.new(name: 'ExcludedRule')
|
112
115
|
ExcludedRules = Shapes::ListShape.new(name: 'ExcludedRules')
|
113
116
|
FailureCode = Shapes::IntegerShape.new(name: 'FailureCode')
|
@@ -617,6 +620,12 @@ module Aws::WAFV2
|
|
617
620
|
DefaultAction.add_member(:allow, Shapes::ShapeRef.new(shape: AllowAction, location_name: "Allow"))
|
618
621
|
DefaultAction.struct_class = Types::DefaultAction
|
619
622
|
|
623
|
+
DeleteAPIKeyRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
624
|
+
DeleteAPIKeyRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: APIKey, required: true, location_name: "APIKey"))
|
625
|
+
DeleteAPIKeyRequest.struct_class = Types::DeleteAPIKeyRequest
|
626
|
+
|
627
|
+
DeleteAPIKeyResponse.struct_class = Types::DeleteAPIKeyResponse
|
628
|
+
|
620
629
|
DeleteFirewallManagerRuleGroupsRequest.add_member(:web_acl_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "WebACLArn"))
|
621
630
|
DeleteFirewallManagerRuleGroupsRequest.add_member(:web_acl_lock_token, Shapes::ShapeRef.new(shape: LockToken, required: true, location_name: "WebACLLockToken"))
|
622
631
|
DeleteFirewallManagerRuleGroupsRequest.struct_class = Types::DeleteFirewallManagerRuleGroupsRequest
|
@@ -1207,6 +1216,7 @@ module Aws::WAFV2
|
|
1207
1216
|
QueryString.struct_class = Types::QueryString
|
1208
1217
|
|
1209
1218
|
RateBasedStatement.add_member(:limit, Shapes::ShapeRef.new(shape: RateLimit, required: true, location_name: "Limit"))
|
1219
|
+
RateBasedStatement.add_member(:evaluation_window_sec, Shapes::ShapeRef.new(shape: EvaluationWindowSec, location_name: "EvaluationWindowSec"))
|
1210
1220
|
RateBasedStatement.add_member(:aggregate_key_type, Shapes::ShapeRef.new(shape: RateBasedStatementAggregateKeyType, required: true, location_name: "AggregateKeyType"))
|
1211
1221
|
RateBasedStatement.add_member(:scope_down_statement, Shapes::ShapeRef.new(shape: Statement, location_name: "ScopeDownStatement"))
|
1212
1222
|
RateBasedStatement.add_member(:forwarded_ip_config, Shapes::ShapeRef.new(shape: ForwardedIPConfig, location_name: "ForwardedIPConfig"))
|
@@ -1812,6 +1822,19 @@ module Aws::WAFV2
|
|
1812
1822
|
o.errors << Shapes::ShapeRef.new(shape: WAFExpiredManagedRuleGroupVersionException)
|
1813
1823
|
end)
|
1814
1824
|
|
1825
|
+
api.add_operation(:delete_api_key, Seahorse::Model::Operation.new.tap do |o|
|
1826
|
+
o.name = "DeleteAPIKey"
|
1827
|
+
o.http_method = "POST"
|
1828
|
+
o.http_request_uri = "/"
|
1829
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAPIKeyRequest)
|
1830
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAPIKeyResponse)
|
1831
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
1832
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
1833
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFOptimisticLockException)
|
1834
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
1835
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1836
|
+
end)
|
1837
|
+
|
1815
1838
|
api.add_operation(:delete_firewall_manager_rule_groups, Seahorse::Model::Operation.new.tap do |o|
|
1816
1839
|
o.name = "DeleteFirewallManagerRuleGroups"
|
1817
1840
|
o.http_method = "POST"
|
@@ -110,6 +110,20 @@ module Aws::WAFV2
|
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
|
+
class DeleteAPIKey
|
114
|
+
def self.build(context)
|
115
|
+
unless context.config.regional_endpoint
|
116
|
+
endpoint = context.config.endpoint.to_s
|
117
|
+
end
|
118
|
+
Aws::WAFV2::EndpointParameters.new(
|
119
|
+
region: context.config.region,
|
120
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
121
|
+
use_fips: context.config.use_fips_endpoint,
|
122
|
+
endpoint: endpoint,
|
123
|
+
)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
113
127
|
class DeleteFirewallManagerRuleGroups
|
114
128
|
def self.build(context)
|
115
129
|
unless context.config.regional_endpoint
|
@@ -72,6 +72,8 @@ module Aws::WAFV2
|
|
72
72
|
Aws::WAFV2::Endpoints::CreateRuleGroup.build(context)
|
73
73
|
when :create_web_acl
|
74
74
|
Aws::WAFV2::Endpoints::CreateWebACL.build(context)
|
75
|
+
when :delete_api_key
|
76
|
+
Aws::WAFV2::Endpoints::DeleteAPIKey.build(context)
|
75
77
|
when :delete_firewall_manager_rule_groups
|
76
78
|
Aws::WAFV2::Endpoints::DeleteFirewallManagerRuleGroups.build(context)
|
77
79
|
when :delete_ip_set
|
data/lib/aws-sdk-wafv2/types.rb
CHANGED
@@ -1065,7 +1065,7 @@ module Aws::WAFV2
|
|
1065
1065
|
# Example JSON: `"TokenDomains": ["abc.com", "store.abc.com"]`
|
1066
1066
|
#
|
1067
1067
|
# Public suffixes aren't allowed. For example, you can't use
|
1068
|
-
# `
|
1068
|
+
# `gov.au` or `co.uk` as token domains.
|
1069
1069
|
# @return [Array<String>]
|
1070
1070
|
#
|
1071
1071
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CreateAPIKeyRequest AWS API Documentation
|
@@ -1462,7 +1462,7 @@ module Aws::WAFV2
|
|
1462
1462
|
# "myotherwebsite.com" \}`
|
1463
1463
|
#
|
1464
1464
|
# Public suffixes aren't allowed. For example, you can't use
|
1465
|
-
# `
|
1465
|
+
# `gov.au` or `co.uk` as token domains.
|
1466
1466
|
# @return [Array<String>]
|
1467
1467
|
#
|
1468
1468
|
# @!attribute [rw] association_config
|
@@ -1690,6 +1690,39 @@ module Aws::WAFV2
|
|
1690
1690
|
include Aws::Structure
|
1691
1691
|
end
|
1692
1692
|
|
1693
|
+
# @!attribute [rw] scope
|
1694
|
+
# Specifies whether this is for an Amazon CloudFront distribution or
|
1695
|
+
# for a regional application. A regional application can be an
|
1696
|
+
# Application Load Balancer (ALB), an Amazon API Gateway REST API, an
|
1697
|
+
# AppSync GraphQL API, an Amazon Cognito user pool, an App Runner
|
1698
|
+
# service, or an Amazon Web Services Verified Access instance.
|
1699
|
+
#
|
1700
|
+
# To work with CloudFront, you must also specify the Region US East
|
1701
|
+
# (N. Virginia) as follows:
|
1702
|
+
#
|
1703
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
1704
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
1705
|
+
#
|
1706
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
1707
|
+
# @return [String]
|
1708
|
+
#
|
1709
|
+
# @!attribute [rw] api_key
|
1710
|
+
# The encrypted API key that you want to delete.
|
1711
|
+
# @return [String]
|
1712
|
+
#
|
1713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteAPIKeyRequest AWS API Documentation
|
1714
|
+
#
|
1715
|
+
class DeleteAPIKeyRequest < Struct.new(
|
1716
|
+
:scope,
|
1717
|
+
:api_key)
|
1718
|
+
SENSITIVE = []
|
1719
|
+
include Aws::Structure
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteAPIKeyResponse AWS API Documentation
|
1723
|
+
#
|
1724
|
+
class DeleteAPIKeyResponse < Aws::EmptyStructure; end
|
1725
|
+
|
1693
1726
|
# @!attribute [rw] web_acl_arn
|
1694
1727
|
# The Amazon Resource Name (ARN) of the web ACL.
|
1695
1728
|
# @return [String]
|
@@ -6128,6 +6161,20 @@ module Aws::WAFV2
|
|
6128
6161
|
# method, city pair.
|
6129
6162
|
# @return [Integer]
|
6130
6163
|
#
|
6164
|
+
# @!attribute [rw] evaluation_window_sec
|
6165
|
+
# The amount of time, in seconds, that WAF should include in its
|
6166
|
+
# request counts, looking back from the current time. For example, for
|
6167
|
+
# a setting of 120, when WAF checks the rate, it counts the requests
|
6168
|
+
# for the 2 minutes immediately preceding the current time. Valid
|
6169
|
+
# settings are 60, 120, 300, and 600.
|
6170
|
+
#
|
6171
|
+
# This setting doesn't determine how often WAF checks the rate, but
|
6172
|
+
# how far back it looks each time it checks. WAF checks the rate about
|
6173
|
+
# every 10 seconds.
|
6174
|
+
#
|
6175
|
+
# Default: `300` (5 minutes)
|
6176
|
+
# @return [Integer]
|
6177
|
+
#
|
6131
6178
|
# @!attribute [rw] aggregate_key_type
|
6132
6179
|
# Setting that indicates how to aggregate the request counts.
|
6133
6180
|
#
|
@@ -6207,6 +6254,7 @@ module Aws::WAFV2
|
|
6207
6254
|
#
|
6208
6255
|
class RateBasedStatement < Struct.new(
|
6209
6256
|
:limit,
|
6257
|
+
:evaluation_window_sec,
|
6210
6258
|
:aggregate_key_type,
|
6211
6259
|
:scope_down_statement,
|
6212
6260
|
:forwarded_ip_config,
|
@@ -8959,7 +9007,7 @@ module Aws::WAFV2
|
|
8959
9007
|
# "myotherwebsite.com" \}`
|
8960
9008
|
#
|
8961
9009
|
# Public suffixes aren't allowed. For example, you can't use
|
8962
|
-
# `
|
9010
|
+
# `gov.au` or `co.uk` as token domains.
|
8963
9011
|
# @return [Array<String>]
|
8964
9012
|
#
|
8965
9013
|
# @!attribute [rw] association_config
|
data/lib/aws-sdk-wafv2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -500,6 +500,7 @@ module Aws
|
|
500
500
|
}?,
|
501
501
|
rate_based_statement: {
|
502
502
|
limit: ::Integer,
|
503
|
+
evaluation_window_sec: ::Integer?,
|
503
504
|
aggregate_key_type: ("IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT"),
|
504
505
|
scope_down_statement: untyped?,
|
505
506
|
forwarded_ip_config: {
|
@@ -1378,6 +1379,7 @@ module Aws
|
|
1378
1379
|
}?,
|
1379
1380
|
rate_based_statement: {
|
1380
1381
|
limit: ::Integer,
|
1382
|
+
evaluation_window_sec: ::Integer?,
|
1381
1383
|
aggregate_key_type: ("IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT"),
|
1382
1384
|
scope_down_statement: untyped?,
|
1383
1385
|
forwarded_ip_config: {
|
@@ -2240,6 +2242,7 @@ module Aws
|
|
2240
2242
|
}?,
|
2241
2243
|
rate_based_statement: {
|
2242
2244
|
limit: ::Integer,
|
2245
|
+
evaluation_window_sec: ::Integer?,
|
2243
2246
|
aggregate_key_type: ("IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT"),
|
2244
2247
|
scope_down_statement: untyped?,
|
2245
2248
|
forwarded_ip_config: {
|
@@ -2675,6 +2678,16 @@ module Aws
|
|
2675
2678
|
) -> _CreateWebACLResponseSuccess
|
2676
2679
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebACLResponseSuccess
|
2677
2680
|
|
2681
|
+
interface _DeleteAPIKeyResponseSuccess
|
2682
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAPIKeyResponse]
|
2683
|
+
end
|
2684
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WAFV2/Client.html#delete_api_key-instance_method
|
2685
|
+
def delete_api_key: (
|
2686
|
+
scope: ("CLOUDFRONT" | "REGIONAL"),
|
2687
|
+
api_key: ::String
|
2688
|
+
) -> _DeleteAPIKeyResponseSuccess
|
2689
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAPIKeyResponseSuccess
|
2690
|
+
|
2678
2691
|
interface _DeleteFirewallManagerRuleGroupsResponseSuccess
|
2679
2692
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFirewallManagerRuleGroupsResponse]
|
2680
2693
|
def next_web_acl_lock_token: () -> ::String
|
@@ -3738,6 +3751,7 @@ module Aws
|
|
3738
3751
|
}?,
|
3739
3752
|
rate_based_statement: {
|
3740
3753
|
limit: ::Integer,
|
3754
|
+
evaluation_window_sec: ::Integer?,
|
3741
3755
|
aggregate_key_type: ("IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT"),
|
3742
3756
|
scope_down_statement: untyped?,
|
3743
3757
|
forwarded_ip_config: {
|
@@ -4596,6 +4610,7 @@ module Aws
|
|
4596
4610
|
}?,
|
4597
4611
|
rate_based_statement: {
|
4598
4612
|
limit: ::Integer,
|
4613
|
+
evaluation_window_sec: ::Integer?,
|
4599
4614
|
aggregate_key_type: ("IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT"),
|
4600
4615
|
scope_down_statement: untyped?,
|
4601
4616
|
forwarded_ip_config: {
|
data/sig/types.rbs
CHANGED
@@ -275,6 +275,15 @@ module Aws::WAFV2
|
|
275
275
|
SENSITIVE: []
|
276
276
|
end
|
277
277
|
|
278
|
+
class DeleteAPIKeyRequest
|
279
|
+
attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
|
280
|
+
attr_accessor api_key: ::String
|
281
|
+
SENSITIVE: []
|
282
|
+
end
|
283
|
+
|
284
|
+
class DeleteAPIKeyResponse < Aws::EmptyStructure
|
285
|
+
end
|
286
|
+
|
278
287
|
class DeleteFirewallManagerRuleGroupsRequest
|
279
288
|
attr_accessor web_acl_arn: ::String
|
280
289
|
attr_accessor web_acl_lock_token: ::String
|
@@ -1060,6 +1069,7 @@ module Aws::WAFV2
|
|
1060
1069
|
|
1061
1070
|
class RateBasedStatement
|
1062
1071
|
attr_accessor limit: ::Integer
|
1072
|
+
attr_accessor evaluation_window_sec: ::Integer
|
1063
1073
|
attr_accessor aggregate_key_type: ("IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT")
|
1064
1074
|
attr_accessor scope_down_statement: Types::Statement
|
1065
1075
|
attr_accessor forwarded_ip_config: Types::ForwardedIPConfig
|
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.77.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: 2024-
|
11
|
+
date: 2024-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|