aws-sdk-wafv2 1.37.0 → 1.38.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 +7 -3
- data/lib/aws-sdk-wafv2/client_api.rb +3 -0
- data/lib/aws-sdk-wafv2/types.rb +33 -5
- 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: 7047edd549f138d29c3f1609dadeaf654dd99b9b0271528356f29a57a50e9de4
|
4
|
+
data.tar.gz: 5682de748288abbc251273469e8f41f6a8d57ba82e643fb87a9c6dba207b93bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9602e69dfebe0b7244ecf86375aaa1755f8dae41ac5101050c77a13d10792dd8e53510dc2a020996e59cd737c463f53d1173eff0e615630e51b23ad368572368
|
7
|
+
data.tar.gz: b726a539aab0046ba8598d6e3469b1fa35433e310c77f0bc7d9b9a9b4edd4dad35150fef1b9ad51f228c8148032286accdc393c82722d0a5ab722546ccc8e9e7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.38.0 (2022-04-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add a new CurrentDefaultVersion field to ListAvailableManagedRuleGroupVersions API response; add a new VersioningSupported boolean to each ManagedRuleGroup returned from ListAvailableManagedRuleGroups API response.
|
8
|
+
|
4
9
|
1.37.0 (2022-02-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.38.0
|
data/lib/aws-sdk-wafv2/client.rb
CHANGED
@@ -4086,6 +4086,7 @@ module Aws::WAFV2
|
|
4086
4086
|
#
|
4087
4087
|
# * {Types::ListAvailableManagedRuleGroupVersionsResponse#next_marker #next_marker} => String
|
4088
4088
|
# * {Types::ListAvailableManagedRuleGroupVersionsResponse#versions #versions} => Array<Types::ManagedRuleGroupVersion>
|
4089
|
+
# * {Types::ListAvailableManagedRuleGroupVersionsResponse#current_default_version #current_default_version} => String
|
4089
4090
|
#
|
4090
4091
|
# @example Request syntax with placeholder values
|
4091
4092
|
#
|
@@ -4103,6 +4104,7 @@ module Aws::WAFV2
|
|
4103
4104
|
# resp.versions #=> Array
|
4104
4105
|
# resp.versions[0].name #=> String
|
4105
4106
|
# resp.versions[0].last_update_timestamp #=> Time
|
4107
|
+
# resp.current_default_version #=> String
|
4106
4108
|
#
|
4107
4109
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListAvailableManagedRuleGroupVersions AWS API Documentation
|
4108
4110
|
#
|
@@ -4164,6 +4166,7 @@ module Aws::WAFV2
|
|
4164
4166
|
# resp.managed_rule_groups #=> Array
|
4165
4167
|
# resp.managed_rule_groups[0].vendor_name #=> String
|
4166
4168
|
# resp.managed_rule_groups[0].name #=> String
|
4169
|
+
# resp.managed_rule_groups[0].versioning_supported #=> Boolean
|
4167
4170
|
# resp.managed_rule_groups[0].description #=> String
|
4168
4171
|
#
|
4169
4172
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListAvailableManagedRuleGroups AWS API Documentation
|
@@ -4997,8 +5000,9 @@ module Aws::WAFV2
|
|
4997
5000
|
# * `Effect` must specify `Allow`.
|
4998
5001
|
#
|
4999
5002
|
# * `Action` must specify `wafv2:CreateWebACL`, `wafv2:UpdateWebACL`,
|
5000
|
-
# and `wafv2:PutFirewallManagerRuleGroups
|
5001
|
-
#
|
5003
|
+
# and `wafv2:PutFirewallManagerRuleGroups` and may optionally specify
|
5004
|
+
# `wafv2:GetRuleGroup`. WAF rejects any extra actions or wildcard
|
5005
|
+
# actions in the policy.
|
5002
5006
|
#
|
5003
5007
|
# * The policy must not include a `Resource` parameter.
|
5004
5008
|
#
|
@@ -6442,7 +6446,7 @@ module Aws::WAFV2
|
|
6442
6446
|
params: params,
|
6443
6447
|
config: config)
|
6444
6448
|
context[:gem_name] = 'aws-sdk-wafv2'
|
6445
|
-
context[:gem_version] = '1.
|
6449
|
+
context[:gem_version] = '1.38.0'
|
6446
6450
|
Seahorse::Client::Request.new(handlers, context)
|
6447
6451
|
end
|
6448
6452
|
|
@@ -753,6 +753,7 @@ module Aws::WAFV2
|
|
753
753
|
|
754
754
|
ListAvailableManagedRuleGroupVersionsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
|
755
755
|
ListAvailableManagedRuleGroupVersionsResponse.add_member(:versions, Shapes::ShapeRef.new(shape: ManagedRuleGroupVersions, location_name: "Versions"))
|
756
|
+
ListAvailableManagedRuleGroupVersionsResponse.add_member(:current_default_version, Shapes::ShapeRef.new(shape: VersionKeyString, location_name: "CurrentDefaultVersion"))
|
756
757
|
ListAvailableManagedRuleGroupVersionsResponse.struct_class = Types::ListAvailableManagedRuleGroupVersionsResponse
|
757
758
|
|
758
759
|
ListAvailableManagedRuleGroupsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
@@ -878,6 +879,7 @@ module Aws::WAFV2
|
|
878
879
|
|
879
880
|
ManagedRuleGroupSummary.add_member(:vendor_name, Shapes::ShapeRef.new(shape: VendorName, location_name: "VendorName"))
|
880
881
|
ManagedRuleGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, location_name: "Name"))
|
882
|
+
ManagedRuleGroupSummary.add_member(:versioning_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "VersioningSupported"))
|
881
883
|
ManagedRuleGroupSummary.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "Description"))
|
882
884
|
ManagedRuleGroupSummary.struct_class = Types::ManagedRuleGroupSummary
|
883
885
|
|
@@ -1708,6 +1710,7 @@ module Aws::WAFV2
|
|
1708
1710
|
o.output = Shapes::ShapeRef.new(shape: ListAvailableManagedRuleGroupVersionsResponse)
|
1709
1711
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
1710
1712
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
1713
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
1711
1714
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1712
1715
|
end)
|
1713
1716
|
|
data/lib/aws-sdk-wafv2/types.rb
CHANGED
@@ -5133,11 +5133,16 @@ module Aws::WAFV2
|
|
5133
5133
|
# rule group.
|
5134
5134
|
# @return [Array<Types::ManagedRuleGroupVersion>]
|
5135
5135
|
#
|
5136
|
+
# @!attribute [rw] current_default_version
|
5137
|
+
# The name of the version that's currently set as the default.
|
5138
|
+
# @return [String]
|
5139
|
+
#
|
5136
5140
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListAvailableManagedRuleGroupVersionsResponse AWS API Documentation
|
5137
5141
|
#
|
5138
5142
|
class ListAvailableManagedRuleGroupVersionsResponse < Struct.new(
|
5139
5143
|
:next_marker,
|
5140
|
-
:versions
|
5144
|
+
:versions,
|
5145
|
+
:current_default_version)
|
5141
5146
|
SENSITIVE = []
|
5142
5147
|
include Aws::Structure
|
5143
5148
|
end
|
@@ -5984,6 +5989,13 @@ module Aws::WAFV2
|
|
5984
5989
|
# `AWSManagedRulesATPRuleSet`, to provide information about the sign-in
|
5985
5990
|
# page of your application.
|
5986
5991
|
#
|
5992
|
+
# You can provide multiple individual `ManagedRuleGroupConfig` objects
|
5993
|
+
# for any rule group configuration, for example `UsernameField` and
|
5994
|
+
# `PasswordField`. The configuration that you provide depends on the
|
5995
|
+
# needs of the managed rule group. For the ATP managed rule group, you
|
5996
|
+
# provide the following individual configuration objects: `LoginPath`,
|
5997
|
+
# `PasswordField`, `PayloadType` and `UsernameField`.
|
5998
|
+
#
|
5987
5999
|
# @note When making an API call, you may pass ManagedRuleGroupConfig
|
5988
6000
|
# data as a hash:
|
5989
6001
|
#
|
@@ -6405,6 +6417,13 @@ module Aws::WAFV2
|
|
6405
6417
|
# Use this for the account takeover prevention managed rule group
|
6406
6418
|
# `AWSManagedRulesATPRuleSet`, to provide information about the
|
6407
6419
|
# sign-in page of your application.
|
6420
|
+
#
|
6421
|
+
# You can provide multiple individual `ManagedRuleGroupConfig` objects
|
6422
|
+
# for any rule group configuration, for example `UsernameField` and
|
6423
|
+
# `PasswordField`. The configuration that you provide depends on the
|
6424
|
+
# needs of the managed rule group. For the ATP managed rule group, you
|
6425
|
+
# provide the following individual configuration objects: `LoginPath`,
|
6426
|
+
# `PasswordField`, `PayloadType` and `UsernameField`.
|
6408
6427
|
# @return [Array<Types::ManagedRuleGroupConfig>]
|
6409
6428
|
#
|
6410
6429
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ManagedRuleGroupStatement AWS API Documentation
|
@@ -6439,6 +6458,12 @@ module Aws::WAFV2
|
|
6439
6458
|
# vendor name, to identify the rule group.
|
6440
6459
|
# @return [String]
|
6441
6460
|
#
|
6461
|
+
# @!attribute [rw] versioning_supported
|
6462
|
+
# Indicates whether the managed rule group is versioned. If it is, you
|
6463
|
+
# can retrieve the versions list by calling
|
6464
|
+
# ListAvailableManagedRuleGroupVersions.
|
6465
|
+
# @return [Boolean]
|
6466
|
+
#
|
6442
6467
|
# @!attribute [rw] description
|
6443
6468
|
# The description of the managed rule group, provided by Amazon Web
|
6444
6469
|
# Services Managed Rules or the Amazon Web Services Marketplace seller
|
@@ -6450,6 +6475,7 @@ module Aws::WAFV2
|
|
6450
6475
|
class ManagedRuleGroupSummary < Struct.new(
|
6451
6476
|
:vendor_name,
|
6452
6477
|
:name,
|
6478
|
+
:versioning_supported,
|
6453
6479
|
:description)
|
6454
6480
|
SENSITIVE = []
|
6455
6481
|
include Aws::Structure
|
@@ -7704,8 +7730,9 @@ module Aws::WAFV2
|
|
7704
7730
|
# * `Effect` must specify `Allow`.
|
7705
7731
|
#
|
7706
7732
|
# * `Action` must specify `wafv2:CreateWebACL`, `wafv2:UpdateWebACL`,
|
7707
|
-
# and `wafv2:PutFirewallManagerRuleGroups
|
7708
|
-
#
|
7733
|
+
# and `wafv2:PutFirewallManagerRuleGroups` and may optionally
|
7734
|
+
# specify `wafv2:GetRuleGroup`. WAF rejects any extra actions or
|
7735
|
+
# wildcard actions in the policy.
|
7709
7736
|
#
|
7710
7737
|
# * The policy must not include a `Resource` parameter.
|
7711
7738
|
#
|
@@ -13474,8 +13501,9 @@ module Aws::WAFV2
|
|
13474
13501
|
# * `Effect` must specify `Allow`.
|
13475
13502
|
#
|
13476
13503
|
# * `Action` must specify `wafv2:CreateWebACL`, `wafv2:UpdateWebACL`,
|
13477
|
-
# and `wafv2:PutFirewallManagerRuleGroups
|
13478
|
-
#
|
13504
|
+
# and `wafv2:PutFirewallManagerRuleGroups` and may optionally specify
|
13505
|
+
# `wafv2:GetRuleGroup`. WAF rejects any extra actions or wildcard
|
13506
|
+
# actions in the policy.
|
13479
13507
|
#
|
13480
13508
|
# * The policy must not include a `Resource` parameter.
|
13481
13509
|
#
|
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.38.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: 2022-
|
11
|
+
date: 2022-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|