aws-sdk-wafv2 1.34.0 → 1.37.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d099f15eedfbbdd9dc24e4c5f8e702fb582a030da23809cd33a2ad516e3ff3a3
4
- data.tar.gz: 0ca782e16bcfa57e743c3dbc70c726e694332691be2f9dc8a8238f1521ab9530
3
+ metadata.gz: 1a81a06da8452413ef0139478da16525e04684f006e920c16e9e3edd2b178fe2
4
+ data.tar.gz: 043c70bd70794b5943a40a87bd3d3074338a83639c003a1aca3d78556e257c06
5
5
  SHA512:
6
- metadata.gz: 62ef45a3b0dbb802eaa2b0fe38d5e8b596fc204708558233b80ed6183098ffa5ec4a3b1fca965a6aec9a61fc12972bdb822991ee56b4d1ccc96c2ff168e3a285
7
- data.tar.gz: 65da37bd0740729524c7da56757c8ac9c4b581d81ce5b2ffab266273d049a8e33fd85b6a8a8d3c90e8785cd54151317ad1297abcb16e1bbf2800ce207139783d
6
+ metadata.gz: bf30743d91f961915d4d65ba627f48e4ee3ea6076cc9becae6f948407bd430292188f9d1e619b85712a0555320b06966a79441fd82f1f9fc00a98b24e472f9f9
7
+ data.tar.gz: 26ce8ae0e3b0ace86b1b36977e9cd8e9a4fa11bc1f3df6785af49027f51e67a09567a5859aaf3c766cbf7cf49b82f4d7a21d994357da572a6788ffcf90b0e5c2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2022-02-24)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.36.0 (2022-02-22)
10
+ ------------------
11
+
12
+ * Feature - Updated descriptions for logging configuration.
13
+
14
+ 1.35.0 (2022-02-10)
15
+ ------------------
16
+
17
+ * Feature - Adds support for AWS WAF Fraud Control account takeover prevention (ATP), with configuration options for the new managed rule group AWSManagedRulesATPRuleSet and support for application integration SDKs for Android and iOS mobile apps.
18
+
4
19
  1.34.0 (2022-02-03)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.34.0
1
+ 1.37.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::WAFV2
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -700,6 +702,18 @@ module Aws::WAFV2
700
702
  # scope_down_statement: {
701
703
  # # recursive Statement
702
704
  # },
705
+ # managed_rule_group_configs: [
706
+ # {
707
+ # login_path: "LoginPathString",
708
+ # payload_type: "JSON", # accepts JSON, FORM_ENCODED
709
+ # username_field: {
710
+ # identifier: "FieldIdentifier", # required
711
+ # },
712
+ # password_field: {
713
+ # identifier: "FieldIdentifier", # required
714
+ # },
715
+ # },
716
+ # ],
703
717
  # },
704
718
  # label_match_statement: {
705
719
  # scope: "LABEL", # required, accepts LABEL, NAMESPACE
@@ -863,11 +877,11 @@ module Aws::WAFV2
863
877
  # The version of the IP addresses, either `IPV4` or `IPV6`.
864
878
  #
865
879
  # @option params [required, Array<String>] :addresses
866
- # Contains an array of strings that specify one or more IP addresses or
867
- # blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
880
+ # Contains an array of strings that specifies zero or more IP addresses
881
+ # or blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
868
882
  # notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.
869
883
  #
870
- # Examples:
884
+ # Example address strings:
871
885
  #
872
886
  # * To configure WAF to allow, block, or count requests that originated
873
887
  # from the IP address 192.0.2.44, specify `192.0.2.44/32`.
@@ -888,6 +902,17 @@ module Aws::WAFV2
888
902
  # For more information about CIDR notation, see the Wikipedia entry
889
903
  # [Classless Inter-Domain Routing][1].
890
904
  #
905
+ # Example JSON `Addresses` specifications:
906
+ #
907
+ # * Empty array: `"Addresses": []`
908
+ #
909
+ # * Array with one address: `"Addresses": ["192.0.2.44/32"]`
910
+ #
911
+ # * Array with three addresses: `"Addresses": ["192.0.2.44/32",
912
+ # "192.0.2.0/24", "192.0.0.0/16"]`
913
+ #
914
+ # * INVALID specification: `"Addresses": [""]` INVALID
915
+ #
891
916
  #
892
917
  #
893
918
  # [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
@@ -1342,6 +1367,18 @@ module Aws::WAFV2
1342
1367
  # scope_down_statement: {
1343
1368
  # # recursive Statement
1344
1369
  # },
1370
+ # managed_rule_group_configs: [
1371
+ # {
1372
+ # login_path: "LoginPathString",
1373
+ # payload_type: "JSON", # accepts JSON, FORM_ENCODED
1374
+ # username_field: {
1375
+ # identifier: "FieldIdentifier", # required
1376
+ # },
1377
+ # password_field: {
1378
+ # identifier: "FieldIdentifier", # required
1379
+ # },
1380
+ # },
1381
+ # ],
1345
1382
  # },
1346
1383
  # label_match_statement: {
1347
1384
  # scope: "LABEL", # required, accepts LABEL, NAMESPACE
@@ -1855,6 +1892,18 @@ module Aws::WAFV2
1855
1892
  # scope_down_statement: {
1856
1893
  # # recursive Statement
1857
1894
  # },
1895
+ # managed_rule_group_configs: [
1896
+ # {
1897
+ # login_path: "LoginPathString",
1898
+ # payload_type: "JSON", # accepts JSON, FORM_ENCODED
1899
+ # username_field: {
1900
+ # identifier: "FieldIdentifier", # required
1901
+ # },
1902
+ # password_field: {
1903
+ # identifier: "FieldIdentifier", # required
1904
+ # },
1905
+ # },
1906
+ # ],
1858
1907
  # },
1859
1908
  # label_match_statement: {
1860
1909
  # scope: "LABEL", # required, accepts LABEL, NAMESPACE
@@ -2460,6 +2509,50 @@ module Aws::WAFV2
2460
2509
  req.send_request(options)
2461
2510
  end
2462
2511
 
2512
+ # Generates a presigned download URL for the specified release of the
2513
+ # mobile SDK.
2514
+ #
2515
+ # The mobile SDK is not generally available. Customers who have access
2516
+ # to the mobile SDK can use it to establish and manage Security Token
2517
+ # Service (STS) security tokens for use in HTTP(S) requests from a
2518
+ # mobile device to WAF. For more information, see [WAF client
2519
+ # application integration][1] in the *WAF Developer Guide*.
2520
+ #
2521
+ #
2522
+ #
2523
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
2524
+ #
2525
+ # @option params [required, String] :platform
2526
+ # The device platform.
2527
+ #
2528
+ # @option params [required, String] :release_version
2529
+ # The release version. For the latest available version, specify
2530
+ # `LATEST`.
2531
+ #
2532
+ # @return [Types::GenerateMobileSdkReleaseUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2533
+ #
2534
+ # * {Types::GenerateMobileSdkReleaseUrlResponse#url #url} => String
2535
+ #
2536
+ # @example Request syntax with placeholder values
2537
+ #
2538
+ # resp = client.generate_mobile_sdk_release_url({
2539
+ # platform: "IOS", # required, accepts IOS, ANDROID
2540
+ # release_version: "VersionKeyString", # required
2541
+ # })
2542
+ #
2543
+ # @example Response structure
2544
+ #
2545
+ # resp.url #=> String
2546
+ #
2547
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GenerateMobileSdkReleaseUrl AWS API Documentation
2548
+ #
2549
+ # @overload generate_mobile_sdk_release_url(params = {})
2550
+ # @param [Hash] params ({})
2551
+ def generate_mobile_sdk_release_url(params = {}, options = {})
2552
+ req = build_request(:generate_mobile_sdk_release_url, params)
2553
+ req.send_request(options)
2554
+ end
2555
+
2463
2556
  # Retrieves the specified IPSet.
2464
2557
  #
2465
2558
  # @option params [required, String] :name
@@ -2642,6 +2735,55 @@ module Aws::WAFV2
2642
2735
  req.send_request(options)
2643
2736
  end
2644
2737
 
2738
+ # Retrieves information for the specified mobile SDK release, including
2739
+ # release notes and tags.
2740
+ #
2741
+ # The mobile SDK is not generally available. Customers who have access
2742
+ # to the mobile SDK can use it to establish and manage Security Token
2743
+ # Service (STS) security tokens for use in HTTP(S) requests from a
2744
+ # mobile device to WAF. For more information, see [WAF client
2745
+ # application integration][1] in the *WAF Developer Guide*.
2746
+ #
2747
+ #
2748
+ #
2749
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
2750
+ #
2751
+ # @option params [required, String] :platform
2752
+ # The device platform.
2753
+ #
2754
+ # @option params [required, String] :release_version
2755
+ # The release version. For the latest available version, specify
2756
+ # `LATEST`.
2757
+ #
2758
+ # @return [Types::GetMobileSdkReleaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2759
+ #
2760
+ # * {Types::GetMobileSdkReleaseResponse#mobile_sdk_release #mobile_sdk_release} => Types::MobileSdkRelease
2761
+ #
2762
+ # @example Request syntax with placeholder values
2763
+ #
2764
+ # resp = client.get_mobile_sdk_release({
2765
+ # platform: "IOS", # required, accepts IOS, ANDROID
2766
+ # release_version: "VersionKeyString", # required
2767
+ # })
2768
+ #
2769
+ # @example Response structure
2770
+ #
2771
+ # resp.mobile_sdk_release.release_version #=> String
2772
+ # resp.mobile_sdk_release.timestamp #=> Time
2773
+ # resp.mobile_sdk_release.release_notes #=> String
2774
+ # resp.mobile_sdk_release.tags #=> Array
2775
+ # resp.mobile_sdk_release.tags[0].key #=> String
2776
+ # resp.mobile_sdk_release.tags[0].value #=> String
2777
+ #
2778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetMobileSdkRelease AWS API Documentation
2779
+ #
2780
+ # @overload get_mobile_sdk_release(params = {})
2781
+ # @param [Hash] params ({})
2782
+ def get_mobile_sdk_release(params = {}, options = {})
2783
+ req = build_request(:get_mobile_sdk_release, params)
2784
+ req.send_request(options)
2785
+ end
2786
+
2645
2787
  # Returns the IAM policy that is attached to the specified rule group.
2646
2788
  #
2647
2789
  # You must be the owner of the rule group to perform this operation.
@@ -2945,6 +3087,11 @@ module Aws::WAFV2
2945
3087
  # resp.rule_group.rules[0].statement.managed_rule_group_statement.excluded_rules #=> Array
2946
3088
  # resp.rule_group.rules[0].statement.managed_rule_group_statement.excluded_rules[0].name #=> String
2947
3089
  # resp.rule_group.rules[0].statement.managed_rule_group_statement.scope_down_statement #=> Types::Statement
3090
+ # resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
3091
+ # resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
3092
+ # resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
3093
+ # resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
3094
+ # resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
2948
3095
  # resp.rule_group.rules[0].statement.label_match_statement.scope #=> String, one of "LABEL", "NAMESPACE"
2949
3096
  # resp.rule_group.rules[0].statement.label_match_statement.key #=> String
2950
3097
  # resp.rule_group.rules[0].statement.regex_match_statement.regex_string #=> String
@@ -3138,6 +3285,7 @@ module Aws::WAFV2
3138
3285
  #
3139
3286
  # * {Types::GetWebACLResponse#web_acl #web_acl} => Types::WebACL
3140
3287
  # * {Types::GetWebACLResponse#lock_token #lock_token} => String
3288
+ # * {Types::GetWebACLResponse#application_integration_url #application_integration_url} => String
3141
3289
  #
3142
3290
  # @example Request syntax with placeholder values
3143
3291
  #
@@ -3241,6 +3389,11 @@ module Aws::WAFV2
3241
3389
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules #=> Array
3242
3390
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules[0].name #=> String
3243
3391
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.scope_down_statement #=> Types::Statement
3392
+ # resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
3393
+ # resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
3394
+ # resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
3395
+ # resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
3396
+ # resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
3244
3397
  # resp.web_acl.rules[0].statement.label_match_statement.scope #=> String, one of "LABEL", "NAMESPACE"
3245
3398
  # resp.web_acl.rules[0].statement.label_match_statement.key #=> String
3246
3399
  # resp.web_acl.rules[0].statement.regex_match_statement.regex_string #=> String
@@ -3372,6 +3525,11 @@ module Aws::WAFV2
3372
3525
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations #=> Array
3373
3526
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations[0].priority #=> Integer
3374
3527
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_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"
3528
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
3529
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
3530
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
3531
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
3532
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
3375
3533
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.arn #=> String
3376
3534
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules #=> Array
3377
3535
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules[0].name #=> String
@@ -3473,6 +3631,11 @@ module Aws::WAFV2
3473
3631
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations #=> Array
3474
3632
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations[0].priority #=> Integer
3475
3633
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_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"
3634
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
3635
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
3636
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
3637
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
3638
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
3476
3639
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.arn #=> String
3477
3640
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules #=> Array
3478
3641
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules[0].name #=> String
@@ -3489,6 +3652,7 @@ module Aws::WAFV2
3489
3652
  # resp.web_acl.custom_response_bodies["EntityName"].content #=> String
3490
3653
  # resp.web_acl.captcha_config.immunity_time_property.immunity_time #=> Integer
3491
3654
  # resp.lock_token #=> String
3655
+ # resp.application_integration_url #=> String
3492
3656
  #
3493
3657
  # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetWebACL AWS API Documentation
3494
3658
  #
@@ -3608,6 +3772,11 @@ module Aws::WAFV2
3608
3772
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules #=> Array
3609
3773
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules[0].name #=> String
3610
3774
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.scope_down_statement #=> Types::Statement
3775
+ # resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
3776
+ # resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
3777
+ # resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
3778
+ # resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
3779
+ # resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
3611
3780
  # resp.web_acl.rules[0].statement.label_match_statement.scope #=> String, one of "LABEL", "NAMESPACE"
3612
3781
  # resp.web_acl.rules[0].statement.label_match_statement.key #=> String
3613
3782
  # resp.web_acl.rules[0].statement.regex_match_statement.regex_string #=> String
@@ -3739,6 +3908,11 @@ module Aws::WAFV2
3739
3908
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations #=> Array
3740
3909
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations[0].priority #=> Integer
3741
3910
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_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"
3911
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
3912
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
3913
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
3914
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
3915
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
3742
3916
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.arn #=> String
3743
3917
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules #=> Array
3744
3918
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules[0].name #=> String
@@ -3840,6 +4014,11 @@ module Aws::WAFV2
3840
4014
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations #=> Array
3841
4015
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations[0].priority #=> Integer
3842
4016
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_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"
4017
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
4018
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
4019
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
4020
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
4021
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
3843
4022
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.arn #=> String
3844
4023
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules #=> Array
3845
4024
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules[0].name #=> String
@@ -4205,6 +4384,64 @@ module Aws::WAFV2
4205
4384
  req.send_request(options)
4206
4385
  end
4207
4386
 
4387
+ # Retrieves a list of the available releases for the mobile SDK and the
4388
+ # specified device platform.
4389
+ #
4390
+ # The mobile SDK is not generally available. Customers who have access
4391
+ # to the mobile SDK can use it to establish and manage Security Token
4392
+ # Service (STS) security tokens for use in HTTP(S) requests from a
4393
+ # mobile device to WAF. For more information, see [WAF client
4394
+ # application integration][1] in the *WAF Developer Guide*.
4395
+ #
4396
+ #
4397
+ #
4398
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
4399
+ #
4400
+ # @option params [required, String] :platform
4401
+ # The device platform to retrieve the list for.
4402
+ #
4403
+ # @option params [String] :next_marker
4404
+ # When you request a list of objects with a `Limit` setting, if the
4405
+ # number of objects that are still available for retrieval exceeds the
4406
+ # limit, WAF returns a `NextMarker` value in the response. To retrieve
4407
+ # the next batch of objects, provide the marker from the prior call in
4408
+ # your next request.
4409
+ #
4410
+ # @option params [Integer] :limit
4411
+ # The maximum number of objects that you want WAF to return for this
4412
+ # request. If more objects are available, in the response, WAF provides
4413
+ # a `NextMarker` value that you can use in a subsequent call to get the
4414
+ # next batch of objects.
4415
+ #
4416
+ # @return [Types::ListMobileSdkReleasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4417
+ #
4418
+ # * {Types::ListMobileSdkReleasesResponse#release_summaries #release_summaries} => Array&lt;Types::ReleaseSummary&gt;
4419
+ # * {Types::ListMobileSdkReleasesResponse#next_marker #next_marker} => String
4420
+ #
4421
+ # @example Request syntax with placeholder values
4422
+ #
4423
+ # resp = client.list_mobile_sdk_releases({
4424
+ # platform: "IOS", # required, accepts IOS, ANDROID
4425
+ # next_marker: "NextMarker",
4426
+ # limit: 1,
4427
+ # })
4428
+ #
4429
+ # @example Response structure
4430
+ #
4431
+ # resp.release_summaries #=> Array
4432
+ # resp.release_summaries[0].release_version #=> String
4433
+ # resp.release_summaries[0].timestamp #=> Time
4434
+ # resp.next_marker #=> String
4435
+ #
4436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListMobileSdkReleases AWS API Documentation
4437
+ #
4438
+ # @overload list_mobile_sdk_releases(params = {})
4439
+ # @param [Hash] params ({})
4440
+ def list_mobile_sdk_releases(params = {}, options = {})
4441
+ req = build_request(:list_mobile_sdk_releases, params)
4442
+ req.send_request(options)
4443
+ end
4444
+
4208
4445
  # Retrieves an array of RegexPatternSetSummary objects for the regex
4209
4446
  # pattern sets that you manage.
4210
4447
  #
@@ -4489,7 +4726,11 @@ module Aws::WAFV2
4489
4726
  # Enables the specified LoggingConfiguration, to start logging from a
4490
4727
  # web ACL, according to the configuration provided.
4491
4728
  #
4492
- # You can access information about all traffic that WAF inspects using
4729
+ # <note markdown="1"> You can define one logging destination per web ACL.
4730
+ #
4731
+ # </note>
4732
+ #
4733
+ # You can access information about the traffic that WAF inspects using
4493
4734
  # the following steps:
4494
4735
  #
4495
4736
  # 1. Create your logging destination. You can use an Amazon CloudWatch
@@ -4509,6 +4750,9 @@ module Aws::WAFV2
4509
4750
  # Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis
4510
4751
  # Data Firehose, WAF creates a service-linked role.
4511
4752
  #
4753
+ # For additional information about web ACL logging, see [Logging web ACL
4754
+ # traffic information][1] in the *WAF Developer Guide*.
4755
+ #
4512
4756
  # <note markdown="1"> This operation completely replaces the mutable specifications that you
4513
4757
  # already have for the logging configuration with the ones that you
4514
4758
  # provide to this call. To modify the logging configuration, retrieve it
@@ -4891,11 +5135,11 @@ module Aws::WAFV2
4891
5135
  # A description of the IP set that helps with identification.
4892
5136
  #
4893
5137
  # @option params [required, Array<String>] :addresses
4894
- # Contains an array of strings that specify one or more IP addresses or
4895
- # blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
5138
+ # Contains an array of strings that specifies zero or more IP addresses
5139
+ # or blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
4896
5140
  # notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.
4897
5141
  #
4898
- # Examples:
5142
+ # Example address strings:
4899
5143
  #
4900
5144
  # * To configure WAF to allow, block, or count requests that originated
4901
5145
  # from the IP address 192.0.2.44, specify `192.0.2.44/32`.
@@ -4916,6 +5160,17 @@ module Aws::WAFV2
4916
5160
  # For more information about CIDR notation, see the Wikipedia entry
4917
5161
  # [Classless Inter-Domain Routing][1].
4918
5162
  #
5163
+ # Example JSON `Addresses` specifications:
5164
+ #
5165
+ # * Empty array: `"Addresses": []`
5166
+ #
5167
+ # * Array with one address: `"Addresses": ["192.0.2.44/32"]`
5168
+ #
5169
+ # * Array with three addresses: `"Addresses": ["192.0.2.44/32",
5170
+ # "192.0.2.0/24", "192.0.0.0/16"]`
5171
+ #
5172
+ # * INVALID specification: `"Addresses": [""]` INVALID
5173
+ #
4919
5174
  #
4920
5175
  #
4921
5176
  # [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
@@ -5476,6 +5731,18 @@ module Aws::WAFV2
5476
5731
  # scope_down_statement: {
5477
5732
  # # recursive Statement
5478
5733
  # },
5734
+ # managed_rule_group_configs: [
5735
+ # {
5736
+ # login_path: "LoginPathString",
5737
+ # payload_type: "JSON", # accepts JSON, FORM_ENCODED
5738
+ # username_field: {
5739
+ # identifier: "FieldIdentifier", # required
5740
+ # },
5741
+ # password_field: {
5742
+ # identifier: "FieldIdentifier", # required
5743
+ # },
5744
+ # },
5745
+ # ],
5479
5746
  # },
5480
5747
  # label_match_statement: {
5481
5748
  # scope: "LABEL", # required, accepts LABEL, NAMESPACE
@@ -6001,6 +6268,18 @@ module Aws::WAFV2
6001
6268
  # scope_down_statement: {
6002
6269
  # # recursive Statement
6003
6270
  # },
6271
+ # managed_rule_group_configs: [
6272
+ # {
6273
+ # login_path: "LoginPathString",
6274
+ # payload_type: "JSON", # accepts JSON, FORM_ENCODED
6275
+ # username_field: {
6276
+ # identifier: "FieldIdentifier", # required
6277
+ # },
6278
+ # password_field: {
6279
+ # identifier: "FieldIdentifier", # required
6280
+ # },
6281
+ # },
6282
+ # ],
6004
6283
  # },
6005
6284
  # label_match_statement: {
6006
6285
  # scope: "LABEL", # required, accepts LABEL, NAMESPACE
@@ -6163,7 +6442,7 @@ module Aws::WAFV2
6163
6442
  params: params,
6164
6443
  config: config)
6165
6444
  context[:gem_name] = 'aws-sdk-wafv2'
6166
- context[:gem_version] = '1.34.0'
6445
+ context[:gem_version] = '1.37.0'
6167
6446
  Seahorse::Client::Request.new(handlers, context)
6168
6447
  end
6169
6448