aws-sdk-waf 1.0.0.rc1 → 1.0.0.rc2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 076cc5edce8a83211ff83fd7f51134fee59095e7
4
- data.tar.gz: 8920c018fd2074393f5cda683868b20035d39729
3
+ metadata.gz: 456c3df9f4e35bae60be8cbe1d0e6df2ab2a5ea6
4
+ data.tar.gz: 47d5a5ed7ea10f7ae5f282a5f8aa7b04ea8a8ba1
5
5
  SHA512:
6
- metadata.gz: 47c8054e08d5a065eacac2eba211b261533e7fbbe278d7a688a23f6caeb3b9f0ed4d901956ff011a17561221713c47506a4973f45dc9ef84efab35450457aaf9
7
- data.tar.gz: 15bf14a790ffe0589fcf0019545418e678981dd9879e7062e94c74bbfd18614f75889715130063f95b06f6b8dc56236a6e1c28545f5cbd810370abeaf2b2fef7
6
+ metadata.gz: e4b281e2372ca3b8031ac06f9cceac763012f8385874cc033f350bcaa32d8d221882227aa1353b9dbb57f9c1320c60568e7d537800d9e6d844da45028e0e3191
7
+ data.tar.gz: 8554090fdf1a21e48f076a5ec79bfb76fec471f6975c7b3ce8f403d550ae8b297d217e73594cb5c275a6459c9dee255ce6c25504f8ffba5cdd6f983d2a326f3b
data/lib/aws-sdk-waf.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-waf/customizations'
42
42
  # @service
43
43
  module Aws::WAF
44
44
 
45
- GEM_VERSION = '1.0.0.rc1'
45
+ GEM_VERSION = '1.0.0.rc2'
46
46
 
47
47
  end
@@ -1053,8 +1053,9 @@ module Aws
1053
1053
  # @option params [required, Types::TimeWindow] :time_window
1054
1054
  # The start date and time and the end date and time of the range for
1055
1055
  # which you want `GetSampledRequests` to return a sample of requests.
1056
- # Specify the date and time in Unix time format (in seconds). You can
1057
- # specify any time range in the previous three hours.
1056
+ # Specify the date and time in the following format:
1057
+ # `"2016-09-27T14:50Z"`. You can specify any time range in the previous
1058
+ # three hours.
1058
1059
  # @option params [required, Integer] :max_items
1059
1060
  # The number of requests that you want AWS WAF to return from among the
1060
1061
  # first 5,000 requests that your AWS resource received during the time
@@ -1576,15 +1577,26 @@ module Aws
1576
1577
  # to change an `IPSetDescriptor` object, you delete the existing
1577
1578
  # object and add a new one.
1578
1579
  #
1579
- # * The IP address version, `IPv4`.
1580
+ # * The IP address version, `IPv4` or `IPv6`.
1580
1581
  #
1581
1582
  # * The IP address in CIDR notation, for example, `192.0.2.0/24` (for
1582
1583
  # the range of IP addresses from `192.0.2.0` to `192.0.2.255`) or
1583
1584
  # `192.0.2.44/32` (for the individual IP address `192.0.2.44`).
1584
1585
  #
1585
- # AWS WAF supports /8, /16, /24, and /32 IP address ranges. For more
1586
- # information about CIDR notation, see the Wikipedia entry [Classless
1587
- # Inter-Domain Routing][1].
1586
+ # AWS WAF supports /8, /16, /24, and /32 IP address ranges for IPv4, and
1587
+ # /24, /32, /48, /56, /64 and /128 for IPv6. For more information about
1588
+ # CIDR notation, see the Wikipedia entry [Classless Inter-Domain
1589
+ # Routing][1].
1590
+ #
1591
+ # IPv6 addresses can be represented using any of the following formats:
1592
+ #
1593
+ # * 1111:0000:0000:0000:0000:0000:0000:0111/128
1594
+ #
1595
+ # * 1111:0:0:0:0:0:0:0111/128
1596
+ #
1597
+ # * 1111::0111/128
1598
+ #
1599
+ # * 1111::111/128
1588
1600
  #
1589
1601
  # You use an `IPSet` to specify which web requests you want to allow or
1590
1602
  # block based on the IP addresses that the requests originated from. For
@@ -2003,12 +2015,9 @@ module Aws
2003
2015
  #
2004
2016
  # * WafAction: Contains `Type`
2005
2017
  # @option params [Types::WafAction] :default_action
2006
- # For the action that is associated with a rule in a `WebACL`, specifies
2007
- # the action that you want AWS WAF to perform when a web request matches
2008
- # all of the conditions in a rule. For the default action in a `WebACL`,
2009
- # specifies the action that you want AWS WAF to take when a web request
2010
- # doesn't match all of the conditions in any of the rules in a
2011
- # `WebACL`.
2018
+ # A default action for the web ACL, either ALLOW or BLOCK. AWS WAF
2019
+ # performs the default action if a request doesn't match the criteria
2020
+ # in any of the rules in a web ACL.
2012
2021
  # @return [Types::UpdateWebACLResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2013
2022
  #
2014
2023
  # * {Types::UpdateWebACLResponse#change_token #ChangeToken} => String
@@ -2142,7 +2151,7 @@ module Aws
2142
2151
  params: params,
2143
2152
  config: config)
2144
2153
  context[:gem_name] = 'aws-sdk-waf'
2145
- context[:gem_version] = '1.0.0.rc1'
2154
+ context[:gem_version] = '1.0.0.rc2'
2146
2155
  Seahorse::Client::Request.new(handlers, context)
2147
2156
  end
2148
2157
 
@@ -1096,8 +1096,9 @@ module Aws
1096
1096
  # @!attribute [rw] time_window
1097
1097
  # The start date and time and the end date and time of the range for
1098
1098
  # which you want `GetSampledRequests` to return a sample of requests.
1099
- # Specify the date and time in Unix time format (in seconds). You can
1100
- # specify any time range in the previous three hours.
1099
+ # Specify the date and time in the following format:
1100
+ # `"2016-09-27T14:50Z"`. You can specify any time range in the
1101
+ # previous three hours.
1101
1102
  # @return [Types::TimeWindow]
1102
1103
  #
1103
1104
  # @!attribute [rw] max_items
@@ -1358,12 +1359,19 @@ module Aws
1358
1359
  end
1359
1360
 
1360
1361
  # Contains one or more IP addresses or blocks of IP addresses specified
1361
- # in Classless Inter-Domain Routing (CIDR) notation. To specify an
1362
- # individual IP address, you specify the four-part IP address followed
1363
- # by a `/32`, for example, 192.0.2.0/31. To block a range of IP
1364
- # addresses, you can specify a `/24`, a `/16`, or a `/8` CIDR. For more
1365
- # information about CIDR notation, perform an Internet search on `cidr
1366
- # notation`.
1362
+ # in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports
1363
+ # /8, /16, /24, and /32 IP address ranges for IPv4, and /24, /32, /48,
1364
+ # /56, /64 and /128 for IPv6.
1365
+ #
1366
+ # To specify an individual IP address, you specify the four-part IP
1367
+ # address followed by a `/32`, for example, 192.0.2.0/31. To block a
1368
+ # range of IP addresses, you can specify a `/128`, `/64`, `/56`, `/48`,
1369
+ # `/32`, `/24`, `/16`, or `/8` CIDR. For more information about CIDR
1370
+ # notation, see the Wikipedia entry [Classless Inter-Domain Routing][1].
1371
+ #
1372
+ #
1373
+ #
1374
+ # [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
1367
1375
  # @!attribute [rw] ip_set_id
1368
1376
  # The `IPSetId` for an `IPSet`. You use `IPSetId` to get information
1369
1377
  # about an `IPSet` (see GetIPSet), update an `IPSet` (see
@@ -1380,8 +1388,8 @@ module Aws
1380
1388
  # @return [String]
1381
1389
  #
1382
1390
  # @!attribute [rw] ip_set_descriptors
1383
- # The IP address type (`IPV4`) and the IP address range (in CIDR
1384
- # notation) that web requests originate from. If the `WebACL` is
1391
+ # The IP address type (`IPV4` or `IPV6`) and the IP address range (in
1392
+ # CIDR notation) that web requests originate from. If the `WebACL` is
1385
1393
  # associated with a CloudFront distribution, this is the value of one
1386
1394
  # of the following fields in CloudFront access logs:
1387
1395
  #
@@ -1398,8 +1406,8 @@ module Aws
1398
1406
  include Aws::Structure
1399
1407
  end
1400
1408
 
1401
- # Specifies the IP address type (`IPV4`) and the IP address range (in
1402
- # CIDR format) that web requests originate from.
1409
+ # Specifies the IP address type (`IPV4` or `IPV6`) and the IP address
1410
+ # range (in CIDR format) that web requests originate from.
1403
1411
  # @note When making an API call, pass IPSetDescriptor
1404
1412
  # data as a hash:
1405
1413
  #
@@ -1408,7 +1416,7 @@ module Aws
1408
1416
  # value: "IPSetDescriptorValue", # required
1409
1417
  # }
1410
1418
  # @!attribute [rw] type
1411
- # Specify `IPV4`.
1419
+ # Specify `IPV4` or `IPV6`.
1412
1420
  # @return [String]
1413
1421
  #
1414
1422
  # @!attribute [rw] value
@@ -1422,11 +1430,22 @@ module Aws
1422
1430
  # originated from IP addresses from 192.0.2.0 to 192.0.2.255,
1423
1431
  # specify `192.0.2.0/24`.
1424
1432
  #
1425
- # AWS WAF supports only /8, /16, /24, and /32 IP addresses.
1426
- #
1427
1433
  # For more information about CIDR notation, see the Wikipedia entry
1428
1434
  # [Classless Inter-Domain Routing][1].
1429
1435
  #
1436
+ # Specify an IPv6 address by using CIDR notation. For example:
1437
+ #
1438
+ # * To configure AWS WAF to allow, block, or count requests that
1439
+ # originated from the IP address
1440
+ # 1111:0000:0000:0000:0000:0000:0000:0111, specify
1441
+ # `1111:0000:0000:0000:0000:0000:0000:0111/128`.
1442
+ #
1443
+ # * To configure AWS WAF to allow, block, or count requests that
1444
+ # originated from IP addresses
1445
+ # 1111:0000:0000:0000:0000:0000:0000:0000 to
1446
+ # 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify
1447
+ # `1111:0000:0000:0000:0000:0000:0000:0000/64`.
1448
+ #
1430
1449
  #
1431
1450
  #
1432
1451
  # [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
@@ -1470,8 +1489,8 @@ module Aws
1470
1489
  # @return [String]
1471
1490
  #
1472
1491
  # @!attribute [rw] ip_set_descriptor
1473
- # The IP address type (`IPV4`) and the IP address range (in CIDR
1474
- # notation) that web requests originate from.
1492
+ # The IP address type (`IPV4` or `IPV6`) and the IP address range (in
1493
+ # CIDR notation) that web requests originate from.
1475
1494
  # @return [Types::IPSetDescriptor]
1476
1495
  class IPSetUpdate < Struct.new(
1477
1496
  :action,
@@ -1886,6 +1905,10 @@ module Aws
1886
1905
  # @return [String]
1887
1906
  #
1888
1907
  # @!attribute [rw] metric_name
1908
+ # A friendly name or description for the metrics for this `Rule`. The
1909
+ # name can contain only alphanumeric characters (A-Z, a-z, 0-9); the
1910
+ # name can't contain whitespace. You can't change `MetricName` after
1911
+ # you create the `Rule`.
1889
1912
  # @return [String]
1890
1913
  #
1891
1914
  # @!attribute [rw] predicates
@@ -2002,7 +2025,7 @@ module Aws
2002
2025
  # size: 1, # required
2003
2026
  # }
2004
2027
  # @!attribute [rw] field_to_match
2005
- # Specifies where in a web request to look for `TargetString`.
2028
+ # Specifies where in a web request to look for the size constraint.
2006
2029
  # @return [Types::FieldToMatch]
2007
2030
  #
2008
2031
  # @!attribute [rw] text_transformation
@@ -2330,7 +2353,8 @@ module Aws
2330
2353
  # text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
2331
2354
  # }
2332
2355
  # @!attribute [rw] field_to_match
2333
- # Specifies where in a web request to look for `TargetString`.
2356
+ # Specifies where in a web request to look for snippets of malicious
2357
+ # SQL code.
2334
2358
  # @return [Types::FieldToMatch]
2335
2359
  #
2336
2360
  # @!attribute [rw] text_transformation
@@ -2436,14 +2460,17 @@ module Aws
2436
2460
  # @!attribute [rw] start_time
2437
2461
  # The beginning of the time range from which you want
2438
2462
  # `GetSampledRequests` to return a sample of the requests that your
2439
- # AWS resource received. You can specify any time range in the
2463
+ # AWS resource received. Specify the date and time in the following
2464
+ # format: `"2016-09-27T14:50Z"`. You can specify any time range in the
2440
2465
  # previous three hours.
2441
2466
  # @return [Time]
2442
2467
  #
2443
2468
  # @!attribute [rw] end_time
2444
2469
  # The end of the time range from which you want `GetSampledRequests`
2445
2470
  # to return a sample of the requests that your AWS resource received.
2446
- # You can specify any time range in the previous three hours.
2471
+ # Specify the date and time in the following format:
2472
+ # `"2016-09-27T14:50Z"`. You can specify any time range in the
2473
+ # previous three hours.
2447
2474
  # @return [Time]
2448
2475
  class TimeWindow < Struct.new(
2449
2476
  :start_time,
@@ -2785,12 +2812,9 @@ module Aws
2785
2812
  # @return [Array<Types::WebACLUpdate>]
2786
2813
  #
2787
2814
  # @!attribute [rw] default_action
2788
- # For the action that is associated with a rule in a `WebACL`,
2789
- # specifies the action that you want AWS WAF to perform when a web
2790
- # request matches all of the conditions in a rule. For the default
2791
- # action in a `WebACL`, specifies the action that you want AWS WAF to
2792
- # take when a web request doesn't match all of the conditions in any
2793
- # of the rules in a `WebACL`.
2815
+ # A default action for the web ACL, either ALLOW or BLOCK. AWS WAF
2816
+ # performs the default action if a request doesn't match the criteria
2817
+ # in any of the rules in a web ACL.
2794
2818
  # @return [Types::WafAction]
2795
2819
  class UpdateWebACLRequest < Struct.new(
2796
2820
  :web_acl_id,
@@ -2925,6 +2949,10 @@ module Aws
2925
2949
  # @return [String]
2926
2950
  #
2927
2951
  # @!attribute [rw] metric_name
2952
+ # A friendly name or description for the metrics for this `WebACL`.
2953
+ # The name can contain only alphanumeric characters (A-Z, a-z, 0-9);
2954
+ # the name can't contain whitespace. You can't change `MetricName`
2955
+ # after you create the `WebACL`.
2928
2956
  # @return [String]
2929
2957
  #
2930
2958
  # @!attribute [rw] default_action
@@ -2990,9 +3018,6 @@ module Aws
2990
3018
  # `Rule` that you want to insert or delete, the priority of the `Rule`
2991
3019
  # in the `WebACL`, and the action that you want AWS WAF to take when a
2992
3020
  # web request matches the `Rule` (`ALLOW`, `BLOCK`, or `COUNT`).
2993
- #
2994
- # To specify whether to insert or delete a `Rule`, use the `Action`
2995
- # parameter in the WebACLUpdate data type.
2996
3021
  # @return [Types::ActivatedRule]
2997
3022
  class WebACLUpdate < Struct.new(
2998
3023
  :action,
@@ -3100,7 +3125,8 @@ module Aws
3100
3125
  # text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
3101
3126
  # }
3102
3127
  # @!attribute [rw] field_to_match
3103
- # Specifies where in a web request to look for `TargetString`.
3128
+ # Specifies where in a web request to look for cross-site scripting
3129
+ # attacks.
3104
3130
  # @return [Types::FieldToMatch]
3105
3131
  #
3106
3132
  # @!attribute [rw] text_transformation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-waf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0.rc2
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: 2016-12-05 00:00:00.000000000 Z
11
+ date: 2016-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core