aws-sdk-wafv2 1.88.0 → 1.90.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 +27 -5
- data/lib/aws-sdk-wafv2.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cbefcd1bf2b25c791dda7567553d484a07faf9151d07a9ed133fb9eab8d016b
|
4
|
+
data.tar.gz: 62323e58a352abc5e197104e96f553ebc19f6f30e2e5672b567c3126950f65af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc661bb4e87b459120ac1597ce56233af28e4b10a1396f6505388bca303afe0042224d392b3941edc9e28405f6aab26ec719ac18a99e7a65f9642f72923fb43f
|
7
|
+
data.tar.gz: 8e4145362fdfeae4f01991eebc20eeba6ee1f6c647fed3d9c7f66b10727bc25cfa42250b93ce5706e1f6354212d41f3caf25478fb83feb89df5f4f4e95a1b709
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.90.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.89.0 (2024-08-29)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - The minimum request rate for a rate-based rule is now 10. Before this, it was 100.
|
13
|
+
|
4
14
|
1.88.0 (2024-07-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.90.0
|
data/lib/aws-sdk-wafv2/client.rb
CHANGED
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::WAFV2
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
88
90
|
add_plugin(Aws::WAFV2::Plugins::Endpoints)
|
@@ -337,6 +339,16 @@ module Aws::WAFV2
|
|
337
339
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
338
340
|
# requests are made, and retries are disabled.
|
339
341
|
#
|
342
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
343
|
+
# Allows you to provide a telemetry provider, which is used to
|
344
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
345
|
+
# will not record or emit any telemetry data. The SDK supports the
|
346
|
+
# following telemetry providers:
|
347
|
+
#
|
348
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
349
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
350
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
351
|
+
#
|
340
352
|
# @option options [Aws::TokenProvider] :token_provider
|
341
353
|
# A Bearer Token Provider. This can be an instance of any one of the
|
342
354
|
# following classes:
|
@@ -6640,10 +6652,10 @@ module Aws::WAFV2
|
|
6640
6652
|
req.send_request(options)
|
6641
6653
|
end
|
6642
6654
|
|
6643
|
-
#
|
6644
|
-
# rule group across accounts.
|
6655
|
+
# Use this to share a rule group with other accounts.
|
6645
6656
|
#
|
6646
|
-
#
|
6657
|
+
# This action attaches an IAM policy to the specified resource. You must
|
6658
|
+
# be the owner of the rule group to perform this operation.
|
6647
6659
|
#
|
6648
6660
|
# This action is subject to the following restrictions:
|
6649
6661
|
#
|
@@ -6655,6 +6667,11 @@ module Aws::WAFV2
|
|
6655
6667
|
#
|
6656
6668
|
# * The user making the request must be the owner of the rule group.
|
6657
6669
|
#
|
6670
|
+
# If a rule group has been shared with your account, you can access it
|
6671
|
+
# through the call `GetRuleGroup`, and you can reference it in
|
6672
|
+
# `CreateWebACL` and `UpdateWebACL`. Rule groups that are shared with
|
6673
|
+
# you don't appear in your WAF console rule groups listing.
|
6674
|
+
#
|
6658
6675
|
# @option params [required, String] :resource_arn
|
6659
6676
|
# The Amazon Resource Name (ARN) of the RuleGroup to which you want to
|
6660
6677
|
# attach the policy.
|
@@ -9186,14 +9203,19 @@ module Aws::WAFV2
|
|
9186
9203
|
# @api private
|
9187
9204
|
def build_request(operation_name, params = {})
|
9188
9205
|
handlers = @handlers.for(operation_name)
|
9206
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
9207
|
+
Aws::Telemetry.module_to_tracer_name('Aws::WAFV2')
|
9208
|
+
)
|
9189
9209
|
context = Seahorse::Client::RequestContext.new(
|
9190
9210
|
operation_name: operation_name,
|
9191
9211
|
operation: config.api.operation(operation_name),
|
9192
9212
|
client: self,
|
9193
9213
|
params: params,
|
9194
|
-
config: config
|
9214
|
+
config: config,
|
9215
|
+
tracer: tracer
|
9216
|
+
)
|
9195
9217
|
context[:gem_name] = 'aws-sdk-wafv2'
|
9196
|
-
context[:gem_version] = '1.
|
9218
|
+
context[:gem_version] = '1.90.0'
|
9197
9219
|
Seahorse::Client::Request.new(handlers, context)
|
9198
9220
|
end
|
9199
9221
|
|
data/lib/aws-sdk-wafv2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -51,6 +51,7 @@ module Aws
|
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?simple_json: bool,
|
53
53
|
?stub_responses: untyped,
|
54
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
55
|
?token_provider: untyped,
|
55
56
|
?use_dualstack_endpoint: bool,
|
56
57
|
?use_fips_endpoint: bool,
|
data/sig/resource.rbs
CHANGED
@@ -51,6 +51,7 @@ module Aws
|
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?simple_json: bool,
|
53
53
|
?stub_responses: untyped,
|
54
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
55
|
?token_provider: untyped,
|
55
56
|
?use_dualstack_endpoint: bool,
|
56
57
|
?use_fips_endpoint: bool,
|
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.90.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-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.203.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|