aws-sdk-networkfirewall 1.9.0 → 1.13.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: 860a02054447f553368b182daf83b50ba650cdc13914e3ad94fd7864824a7c6d
4
- data.tar.gz: 9fc65ff6595ee9816d7ecfbafc9b1d5755e0e17307660299620ca0864b4fe980
3
+ metadata.gz: bd44678eaff90fe9184784a43266ba888534c3c6a9e6fe678820ab58da6f50d0
4
+ data.tar.gz: 4db552e1670c4aee1534576d1a69e59f5e90334f2c1a59c77950d15c0869b168
5
5
  SHA512:
6
- metadata.gz: db672804df64fef21dfeb886df3263e885594a41f9a385b03cb0059103b89671a1dc992708af0cb5c7930dc5890869b206c177a4f1b6f262f3849d58b1bb6f85
7
- data.tar.gz: b988aad2ee18fc784f04f12587fa5e9b98b8fe6f2bf3cb7ea78dc2bd0470b95871be8a9dc65933030d87a73f00a701ddb301d346c39779f0ed0fd25501eb4d6e
6
+ metadata.gz: 8b97cc56988f976c497469e73d8ddc1f71edb737386793825df186cc1abad6808727cf096de8554b6dbac8a8d2a338ffbdb62831a4f196bcc34c22d44a1ce37c
7
+ data.tar.gz: 73e1630ad55f48b62a16d2d7de0900b1a6220ef9ab4f79f8e60bf20d7667a6502158ec4907a33a4ac33fa74ebd4de81702083c3ebf3c48fc6f791e970ea4b10d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2021-12-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.12.0 (2021-12-09)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for managed rule groups.
13
+
14
+ 1.11.0 (2021-11-30)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.10.0 (2021-11-04)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.9.0 (2021-10-18)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.13.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/defaults_mode.rb'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::NetworkFirewall
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
78
80
 
@@ -119,7 +121,9 @@ module Aws::NetworkFirewall
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::NetworkFirewall
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -285,6 +293,15 @@ module Aws::NetworkFirewall
285
293
  # ** Please note ** When response stubbing is enabled, no HTTP
286
294
  # requests are made, and retries are disabled.
287
295
  #
296
+ # @option options [Boolean] :use_dualstack_endpoint
297
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
298
+ # will be used if available.
299
+ #
300
+ # @option options [Boolean] :use_fips_endpoint
301
+ # When set to `true`, fips compatible endpoints will be used if available.
302
+ # When a `fips` region is used, the region is normalized and this config
303
+ # is set to `true`.
304
+ #
288
305
  # @option options [Boolean] :validate_params (true)
289
306
  # When `true`, request parameters are validated before
290
307
  # sending the request.
@@ -296,7 +313,7 @@ module Aws::NetworkFirewall
296
313
  # seconds to wait when opening a HTTP session before raising a
297
314
  # `Timeout::Error`.
298
315
  #
299
- # @option options [Integer] :http_read_timeout (60) The default
316
+ # @option options [Float] :http_read_timeout (60) The default
300
317
  # number of seconds to wait for response data. This value can
301
318
  # safely be set per-request on the session.
302
319
  #
@@ -312,6 +329,9 @@ module Aws::NetworkFirewall
312
329
  # disables this behaviour. This value can safely be set per
313
330
  # request on the session.
314
331
  #
332
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
333
+ # in seconds.
334
+ #
315
335
  # @option options [Boolean] :http_wire_trace (false) When `true`,
316
336
  # HTTP debug output will be sent to the `:logger`.
317
337
  #
@@ -693,6 +713,9 @@ module Aws::NetworkFirewall
693
713
  # {
694
714
  # resource_arn: "ResourceArn", # required
695
715
  # priority: 1,
716
+ # override: {
717
+ # action: "DROP_TO_ALERT", # accepts DROP_TO_ALERT
718
+ # },
696
719
  # },
697
720
  # ],
698
721
  # stateful_default_actions: ["CollectionMember_String"],
@@ -1308,6 +1331,7 @@ module Aws::NetworkFirewall
1308
1331
  # resp.firewall_policy.stateful_rule_group_references #=> Array
1309
1332
  # resp.firewall_policy.stateful_rule_group_references[0].resource_arn #=> String
1310
1333
  # resp.firewall_policy.stateful_rule_group_references[0].priority #=> Integer
1334
+ # resp.firewall_policy.stateful_rule_group_references[0].override.action #=> String, one of "DROP_TO_ALERT"
1311
1335
  # resp.firewall_policy.stateful_default_actions #=> Array
1312
1336
  # resp.firewall_policy.stateful_default_actions[0] #=> String
1313
1337
  # resp.firewall_policy.stateful_engine_options.rule_order #=> String, one of "DEFAULT_ACTION_ORDER", "STRICT_ORDER"
@@ -1506,6 +1530,68 @@ module Aws::NetworkFirewall
1506
1530
  req.send_request(options)
1507
1531
  end
1508
1532
 
1533
+ # High-level information about a rule group, returned by operations like
1534
+ # create and describe. You can use the information provided in the
1535
+ # metadata to retrieve and manage a rule group. You can retrieve all
1536
+ # objects for a rule group by calling DescribeRuleGroup.
1537
+ #
1538
+ # @option params [String] :rule_group_name
1539
+ # The descriptive name of the rule group. You can't change the name of
1540
+ # a rule group after you create it.
1541
+ #
1542
+ # You must specify the ARN or the name, and you can specify both.
1543
+ #
1544
+ # @option params [String] :rule_group_arn
1545
+ # The descriptive name of the rule group. You can't change the name of
1546
+ # a rule group after you create it.
1547
+ #
1548
+ # You must specify the ARN or the name, and you can specify both.
1549
+ #
1550
+ # @option params [String] :type
1551
+ # Indicates whether the rule group is stateless or stateful. If the rule
1552
+ # group is stateless, it contains stateless rules. If it is stateful, it
1553
+ # contains stateful rules.
1554
+ #
1555
+ # <note markdown="1"> This setting is required for requests that do not include the
1556
+ # `RuleGroupARN`.
1557
+ #
1558
+ # </note>
1559
+ #
1560
+ # @return [Types::DescribeRuleGroupMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1561
+ #
1562
+ # * {Types::DescribeRuleGroupMetadataResponse#rule_group_arn #rule_group_arn} => String
1563
+ # * {Types::DescribeRuleGroupMetadataResponse#rule_group_name #rule_group_name} => String
1564
+ # * {Types::DescribeRuleGroupMetadataResponse#description #description} => String
1565
+ # * {Types::DescribeRuleGroupMetadataResponse#type #type} => String
1566
+ # * {Types::DescribeRuleGroupMetadataResponse#capacity #capacity} => Integer
1567
+ # * {Types::DescribeRuleGroupMetadataResponse#stateful_rule_options #stateful_rule_options} => Types::StatefulRuleOptions
1568
+ #
1569
+ # @example Request syntax with placeholder values
1570
+ #
1571
+ # resp = client.describe_rule_group_metadata({
1572
+ # rule_group_name: "ResourceName",
1573
+ # rule_group_arn: "ResourceArn",
1574
+ # type: "STATELESS", # accepts STATELESS, STATEFUL
1575
+ # })
1576
+ #
1577
+ # @example Response structure
1578
+ #
1579
+ # resp.rule_group_arn #=> String
1580
+ # resp.rule_group_name #=> String
1581
+ # resp.description #=> String
1582
+ # resp.type #=> String, one of "STATELESS", "STATEFUL"
1583
+ # resp.capacity #=> Integer
1584
+ # resp.stateful_rule_options.rule_order #=> String, one of "DEFAULT_ACTION_ORDER", "STRICT_ORDER"
1585
+ #
1586
+ # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeRuleGroupMetadata AWS API Documentation
1587
+ #
1588
+ # @overload describe_rule_group_metadata(params = {})
1589
+ # @param [Hash] params ({})
1590
+ def describe_rule_group_metadata(params = {}, options = {})
1591
+ req = build_request(:describe_rule_group_metadata, params)
1592
+ req.send_request(options)
1593
+ end
1594
+
1509
1595
  # Removes the specified subnet associations from the firewall. This
1510
1596
  # removes the firewall endpoints from the subnets and removes any
1511
1597
  # network filtering protections that the endpoints were providing.
@@ -1696,6 +1782,11 @@ module Aws::NetworkFirewall
1696
1782
  # Network Firewall provides a `NextToken` value that you can use in a
1697
1783
  # subsequent call to get the next batch of objects.
1698
1784
  #
1785
+ # @option params [String] :scope
1786
+ # The scope of the request. The default setting of `ACCOUNT` or a
1787
+ # setting of `NULL` returns all of the rule groups in your account. A
1788
+ # setting of `MANAGED` returns all available managed rule groups.
1789
+ #
1699
1790
  # @return [Types::ListRuleGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1700
1791
  #
1701
1792
  # * {Types::ListRuleGroupsResponse#next_token #next_token} => String
@@ -1708,6 +1799,7 @@ module Aws::NetworkFirewall
1708
1799
  # resp = client.list_rule_groups({
1709
1800
  # next_token: "PaginationToken",
1710
1801
  # max_results: 1,
1802
+ # scope: "MANAGED", # accepts MANAGED, ACCOUNT
1711
1803
  # })
1712
1804
  #
1713
1805
  # @example Response structure
@@ -2165,6 +2257,9 @@ module Aws::NetworkFirewall
2165
2257
  # {
2166
2258
  # resource_arn: "ResourceArn", # required
2167
2259
  # priority: 1,
2260
+ # override: {
2261
+ # action: "DROP_TO_ALERT", # accepts DROP_TO_ALERT
2262
+ # },
2168
2263
  # },
2169
2264
  # ],
2170
2265
  # stateful_default_actions: ["CollectionMember_String"],
@@ -2200,6 +2295,11 @@ module Aws::NetworkFirewall
2200
2295
  req.send_request(options)
2201
2296
  end
2202
2297
 
2298
+ # Modifies the flag, `ChangeProtection`, which indicates whether it is
2299
+ # possible to change the firewall. If the flag is set to `TRUE`, the
2300
+ # firewall is protected from changes. This setting helps protect against
2301
+ # accidentally changing a firewall that's in use.
2302
+ #
2203
2303
  # @option params [String] :update_token
2204
2304
  # An optional token that you can use for optimistic locking. Network
2205
2305
  # Firewall returns a token to your requests that access the firewall.
@@ -2658,7 +2758,7 @@ module Aws::NetworkFirewall
2658
2758
  params: params,
2659
2759
  config: config)
2660
2760
  context[:gem_name] = 'aws-sdk-networkfirewall'
2661
- context[:gem_version] = '1.9.0'
2761
+ context[:gem_version] = '1.13.0'
2662
2762
  Seahorse::Client::Request.new(handlers, context)
2663
2763
  end
2664
2764
 
@@ -54,6 +54,8 @@ module Aws::NetworkFirewall
54
54
  DescribeLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeLoggingConfigurationResponse')
55
55
  DescribeResourcePolicyRequest = Shapes::StructureShape.new(name: 'DescribeResourcePolicyRequest')
56
56
  DescribeResourcePolicyResponse = Shapes::StructureShape.new(name: 'DescribeResourcePolicyResponse')
57
+ DescribeRuleGroupMetadataRequest = Shapes::StructureShape.new(name: 'DescribeRuleGroupMetadataRequest')
58
+ DescribeRuleGroupMetadataResponse = Shapes::StructureShape.new(name: 'DescribeRuleGroupMetadataResponse')
57
59
  DescribeRuleGroupRequest = Shapes::StructureShape.new(name: 'DescribeRuleGroupRequest')
58
60
  DescribeRuleGroupResponse = Shapes::StructureShape.new(name: 'DescribeRuleGroupResponse')
59
61
  Description = Shapes::StringShape.new(name: 'Description')
@@ -106,6 +108,7 @@ module Aws::NetworkFirewall
106
108
  LoggingConfiguration = Shapes::StructureShape.new(name: 'LoggingConfiguration')
107
109
  MatchAttributes = Shapes::StructureShape.new(name: 'MatchAttributes')
108
110
  NumberOfAssociations = Shapes::IntegerShape.new(name: 'NumberOfAssociations')
111
+ OverrideAction = Shapes::StringShape.new(name: 'OverrideAction')
109
112
  PaginationMaxResults = Shapes::IntegerShape.new(name: 'PaginationMaxResults')
110
113
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
111
114
  PerObjectStatus = Shapes::StructureShape.new(name: 'PerObjectStatus')
@@ -125,6 +128,7 @@ module Aws::NetworkFirewall
125
128
  PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
126
129
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
127
130
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
131
+ ResourceManagedStatus = Shapes::StringShape.new(name: 'ResourceManagedStatus')
128
132
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
129
133
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
130
134
  ResourceOwnerCheckException = Shapes::StructureShape.new(name: 'ResourceOwnerCheckException')
@@ -153,6 +157,7 @@ module Aws::NetworkFirewall
153
157
  StatefulEngineOptions = Shapes::StructureShape.new(name: 'StatefulEngineOptions')
154
158
  StatefulRule = Shapes::StructureShape.new(name: 'StatefulRule')
155
159
  StatefulRuleDirection = Shapes::StringShape.new(name: 'StatefulRuleDirection')
160
+ StatefulRuleGroupOverride = Shapes::StructureShape.new(name: 'StatefulRuleGroupOverride')
156
161
  StatefulRuleGroupReference = Shapes::StructureShape.new(name: 'StatefulRuleGroupReference')
157
162
  StatefulRuleGroupReferences = Shapes::ListShape.new(name: 'StatefulRuleGroupReferences')
158
163
  StatefulRuleOptions = Shapes::StructureShape.new(name: 'StatefulRuleOptions')
@@ -351,6 +356,19 @@ module Aws::NetworkFirewall
351
356
  DescribeResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyString, location_name: "Policy"))
352
357
  DescribeResourcePolicyResponse.struct_class = Types::DescribeResourcePolicyResponse
353
358
 
359
+ DescribeRuleGroupMetadataRequest.add_member(:rule_group_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "RuleGroupName"))
360
+ DescribeRuleGroupMetadataRequest.add_member(:rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "RuleGroupArn"))
361
+ DescribeRuleGroupMetadataRequest.add_member(:type, Shapes::ShapeRef.new(shape: RuleGroupType, location_name: "Type"))
362
+ DescribeRuleGroupMetadataRequest.struct_class = Types::DescribeRuleGroupMetadataRequest
363
+
364
+ DescribeRuleGroupMetadataResponse.add_member(:rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "RuleGroupArn"))
365
+ DescribeRuleGroupMetadataResponse.add_member(:rule_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "RuleGroupName"))
366
+ DescribeRuleGroupMetadataResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
367
+ DescribeRuleGroupMetadataResponse.add_member(:type, Shapes::ShapeRef.new(shape: RuleGroupType, location_name: "Type"))
368
+ DescribeRuleGroupMetadataResponse.add_member(:capacity, Shapes::ShapeRef.new(shape: RuleCapacity, location_name: "Capacity"))
369
+ DescribeRuleGroupMetadataResponse.add_member(:stateful_rule_options, Shapes::ShapeRef.new(shape: StatefulRuleOptions, location_name: "StatefulRuleOptions"))
370
+ DescribeRuleGroupMetadataResponse.struct_class = Types::DescribeRuleGroupMetadataResponse
371
+
354
372
  DescribeRuleGroupRequest.add_member(:rule_group_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "RuleGroupName"))
355
373
  DescribeRuleGroupRequest.add_member(:rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "RuleGroupArn"))
356
374
  DescribeRuleGroupRequest.add_member(:type, Shapes::ShapeRef.new(shape: RuleGroupType, location_name: "Type"))
@@ -484,6 +502,7 @@ module Aws::NetworkFirewall
484
502
 
485
503
  ListRuleGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
486
504
  ListRuleGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationMaxResults, location_name: "MaxResults"))
505
+ ListRuleGroupsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: ResourceManagedStatus, location_name: "Scope"))
487
506
  ListRuleGroupsRequest.struct_class = Types::ListRuleGroupsRequest
488
507
 
489
508
  ListRuleGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
@@ -618,8 +637,12 @@ module Aws::NetworkFirewall
618
637
  StatefulRule.add_member(:rule_options, Shapes::ShapeRef.new(shape: RuleOptions, required: true, location_name: "RuleOptions"))
619
638
  StatefulRule.struct_class = Types::StatefulRule
620
639
 
640
+ StatefulRuleGroupOverride.add_member(:action, Shapes::ShapeRef.new(shape: OverrideAction, location_name: "Action"))
641
+ StatefulRuleGroupOverride.struct_class = Types::StatefulRuleGroupOverride
642
+
621
643
  StatefulRuleGroupReference.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
622
644
  StatefulRuleGroupReference.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, location_name: "Priority", metadata: {"box"=>true}))
645
+ StatefulRuleGroupReference.add_member(:override, Shapes::ShapeRef.new(shape: StatefulRuleGroupOverride, location_name: "Override"))
623
646
  StatefulRuleGroupReference.struct_class = Types::StatefulRuleGroupReference
624
647
 
625
648
  StatefulRuleGroupReferences.member = Shapes::ShapeRef.new(shape: StatefulRuleGroupReference)
@@ -988,6 +1011,18 @@ module Aws::NetworkFirewall
988
1011
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
989
1012
  end)
990
1013
 
1014
+ api.add_operation(:describe_rule_group_metadata, Seahorse::Model::Operation.new.tap do |o|
1015
+ o.name = "DescribeRuleGroupMetadata"
1016
+ o.http_method = "POST"
1017
+ o.http_request_uri = "/"
1018
+ o.input = Shapes::ShapeRef.new(shape: DescribeRuleGroupMetadataRequest)
1019
+ o.output = Shapes::ShapeRef.new(shape: DescribeRuleGroupMetadataResponse)
1020
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1021
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1022
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1023
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1024
+ end)
1025
+
991
1026
  api.add_operation(:disassociate_subnets, Seahorse::Model::Operation.new.tap do |o|
992
1027
  o.name = "DisassociateSubnets"
993
1028
  o.http_method = "POST"
@@ -1059,6 +1094,8 @@ module Aws::NetworkFirewall
1059
1094
  o.http_request_uri = "/"
1060
1095
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1061
1096
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1097
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1098
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1062
1099
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1063
1100
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1064
1101
  o[:pager] = Aws::Pager.new(
@@ -1088,6 +1125,8 @@ module Aws::NetworkFirewall
1088
1125
  o.http_request_uri = "/"
1089
1126
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1090
1127
  o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1128
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1129
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1091
1130
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1092
1131
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1093
1132
  end)
@@ -1098,6 +1137,8 @@ module Aws::NetworkFirewall
1098
1137
  o.http_request_uri = "/"
1099
1138
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1100
1139
  o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1140
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1141
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1101
1142
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1102
1143
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1103
1144
  end)
@@ -361,6 +361,9 @@ module Aws::NetworkFirewall
361
361
  # {
362
362
  # resource_arn: "ResourceArn", # required
363
363
  # priority: 1,
364
+ # override: {
365
+ # action: "DROP_TO_ALERT", # accepts DROP_TO_ALERT
366
+ # },
364
367
  # },
365
368
  # ],
366
369
  # stateful_default_actions: ["CollectionMember_String"],
@@ -1291,6 +1294,109 @@ module Aws::NetworkFirewall
1291
1294
  include Aws::Structure
1292
1295
  end
1293
1296
 
1297
+ # @note When making an API call, you may pass DescribeRuleGroupMetadataRequest
1298
+ # data as a hash:
1299
+ #
1300
+ # {
1301
+ # rule_group_name: "ResourceName",
1302
+ # rule_group_arn: "ResourceArn",
1303
+ # type: "STATELESS", # accepts STATELESS, STATEFUL
1304
+ # }
1305
+ #
1306
+ # @!attribute [rw] rule_group_name
1307
+ # The descriptive name of the rule group. You can't change the name
1308
+ # of a rule group after you create it.
1309
+ #
1310
+ # You must specify the ARN or the name, and you can specify both.
1311
+ # @return [String]
1312
+ #
1313
+ # @!attribute [rw] rule_group_arn
1314
+ # The descriptive name of the rule group. You can't change the name
1315
+ # of a rule group after you create it.
1316
+ #
1317
+ # You must specify the ARN or the name, and you can specify both.
1318
+ # @return [String]
1319
+ #
1320
+ # @!attribute [rw] type
1321
+ # Indicates whether the rule group is stateless or stateful. If the
1322
+ # rule group is stateless, it contains stateless rules. If it is
1323
+ # stateful, it contains stateful rules.
1324
+ #
1325
+ # <note markdown="1"> This setting is required for requests that do not include the
1326
+ # `RuleGroupARN`.
1327
+ #
1328
+ # </note>
1329
+ # @return [String]
1330
+ #
1331
+ # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeRuleGroupMetadataRequest AWS API Documentation
1332
+ #
1333
+ class DescribeRuleGroupMetadataRequest < Struct.new(
1334
+ :rule_group_name,
1335
+ :rule_group_arn,
1336
+ :type)
1337
+ SENSITIVE = []
1338
+ include Aws::Structure
1339
+ end
1340
+
1341
+ # @!attribute [rw] rule_group_arn
1342
+ # The descriptive name of the rule group. You can't change the name
1343
+ # of a rule group after you create it.
1344
+ #
1345
+ # You must specify the ARN or the name, and you can specify both.
1346
+ # @return [String]
1347
+ #
1348
+ # @!attribute [rw] rule_group_name
1349
+ # The descriptive name of the rule group. You can't change the name
1350
+ # of a rule group after you create it.
1351
+ #
1352
+ # You must specify the ARN or the name, and you can specify both.
1353
+ # @return [String]
1354
+ #
1355
+ # @!attribute [rw] description
1356
+ # Returns the metadata objects for the specified rule group.
1357
+ # @return [String]
1358
+ #
1359
+ # @!attribute [rw] type
1360
+ # Indicates whether the rule group is stateless or stateful. If the
1361
+ # rule group is stateless, it contains stateless rules. If it is
1362
+ # stateful, it contains stateful rules.
1363
+ #
1364
+ # <note markdown="1"> This setting is required for requests that do not include the
1365
+ # `RuleGroupARN`.
1366
+ #
1367
+ # </note>
1368
+ # @return [String]
1369
+ #
1370
+ # @!attribute [rw] capacity
1371
+ # The maximum operating resources that this rule group can use. Rule
1372
+ # group capacity is fixed at creation. When you update a rule group,
1373
+ # you are limited to this capacity. When you reference a rule group
1374
+ # from a firewall policy, Network Firewall reserves this capacity for
1375
+ # the rule group.
1376
+ #
1377
+ # You can retrieve the capacity that would be required for a rule
1378
+ # group before you create the rule group by calling CreateRuleGroup
1379
+ # with `DryRun` set to `TRUE`.
1380
+ # @return [Integer]
1381
+ #
1382
+ # @!attribute [rw] stateful_rule_options
1383
+ # Additional options governing how Network Firewall handles the rule
1384
+ # group. You can only use these for stateful rule groups.
1385
+ # @return [Types::StatefulRuleOptions]
1386
+ #
1387
+ # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeRuleGroupMetadataResponse AWS API Documentation
1388
+ #
1389
+ class DescribeRuleGroupMetadataResponse < Struct.new(
1390
+ :rule_group_arn,
1391
+ :rule_group_name,
1392
+ :description,
1393
+ :type,
1394
+ :capacity,
1395
+ :stateful_rule_options)
1396
+ SENSITIVE = []
1397
+ include Aws::Structure
1398
+ end
1399
+
1294
1400
  # @note When making an API call, you may pass DescribeRuleGroupRequest
1295
1401
  # data as a hash:
1296
1402
  #
@@ -1667,6 +1773,9 @@ module Aws::NetworkFirewall
1667
1773
  # {
1668
1774
  # resource_arn: "ResourceArn", # required
1669
1775
  # priority: 1,
1776
+ # override: {
1777
+ # action: "DROP_TO_ALERT", # accepts DROP_TO_ALERT
1778
+ # },
1670
1779
  # },
1671
1780
  # ],
1672
1781
  # stateful_default_actions: ["CollectionMember_String"],
@@ -1728,7 +1837,25 @@ module Aws::NetworkFirewall
1728
1837
  #
1729
1838
  # @!attribute [rw] stateful_default_actions
1730
1839
  # The default actions to take on a packet that doesn't match any
1731
- # stateful rules.
1840
+ # stateful rules. The stateful default action is optional, and is only
1841
+ # valid when using the strict rule order.
1842
+ #
1843
+ # Valid values of the stateful default action:
1844
+ #
1845
+ # * aws:drop\_strict
1846
+ #
1847
+ # * aws:drop\_established
1848
+ #
1849
+ # * aws:alert\_strict
1850
+ #
1851
+ # * aws:alert\_established
1852
+ #
1853
+ # For more information, see [Strict evaluation order][1] in the *AWS
1854
+ # Network Firewall Developer Guide*.
1855
+ #
1856
+ #
1857
+ #
1858
+ # [1]: https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-strict-rule-evaluation-order.html
1732
1859
  # @return [Array<String>]
1733
1860
  #
1734
1861
  # @!attribute [rw] stateful_engine_options
@@ -2243,6 +2370,7 @@ module Aws::NetworkFirewall
2243
2370
  # {
2244
2371
  # next_token: "PaginationToken",
2245
2372
  # max_results: 1,
2373
+ # scope: "MANAGED", # accepts MANAGED, ACCOUNT
2246
2374
  # }
2247
2375
  #
2248
2376
  # @!attribute [rw] next_token
@@ -2260,11 +2388,18 @@ module Aws::NetworkFirewall
2260
2388
  # use in a subsequent call to get the next batch of objects.
2261
2389
  # @return [Integer]
2262
2390
  #
2391
+ # @!attribute [rw] scope
2392
+ # The scope of the request. The default setting of `ACCOUNT` or a
2393
+ # setting of `NULL` returns all of the rule groups in your account. A
2394
+ # setting of `MANAGED` returns all available managed rule groups.
2395
+ # @return [String]
2396
+ #
2263
2397
  # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListRuleGroupsRequest AWS API Documentation
2264
2398
  #
2265
2399
  class ListRuleGroupsRequest < Struct.new(
2266
2400
  :next_token,
2267
- :max_results)
2401
+ :max_results,
2402
+ :scope)
2268
2403
  SENSITIVE = []
2269
2404
  include Aws::Structure
2270
2405
  end
@@ -3309,9 +3444,8 @@ module Aws::NetworkFirewall
3309
3444
  # }
3310
3445
  #
3311
3446
  # @!attribute [rw] targets
3312
- # The domains that you want to inspect for in your traffic flows. To
3313
- # provide multiple domains, separate them with commas. Valid domain
3314
- # specifications are the following:
3447
+ # The domains that you want to inspect for in your traffic flows.
3448
+ # Valid domain specifications are the following:
3315
3449
  #
3316
3450
  # * Explicit names. For example, `abc.example.com` matches only the
3317
3451
  # domain `abc.example.com`.
@@ -3354,13 +3488,15 @@ module Aws::NetworkFirewall
3354
3488
  #
3355
3489
  # @!attribute [rw] rule_order
3356
3490
  # Indicates how to manage the order of stateful rule evaluation for
3357
- # the policy. By default, Network Firewall leaves the rule evaluation
3358
- # order up to the Suricata rule processing engine. If you set this to
3359
- # `STRICT_ORDER`, your rules are evaluated in the exact order that you
3360
- # provide them in the policy. With strict ordering, the rule groups
3361
- # are evaluated by order of priority, starting from the lowest number,
3362
- # and the rules in each rule group are processed in the order that
3363
- # they're defined.
3491
+ # the policy. `DEFAULT_ACTION_ORDER` is the default behavior. Stateful
3492
+ # rules are provided to the rule engine as Suricata compatible
3493
+ # strings, and Suricata evaluates them based on certain settings. For
3494
+ # more information, see [Evaluation order for stateful rules][1] in
3495
+ # the *AWS Network Firewall Developer Guide*.
3496
+ #
3497
+ #
3498
+ #
3499
+ # [1]: https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html
3364
3500
  # @return [String]
3365
3501
  #
3366
3502
  # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/StatefulEngineOptions AWS API Documentation
@@ -3446,6 +3582,29 @@ module Aws::NetworkFirewall
3446
3582
  include Aws::Structure
3447
3583
  end
3448
3584
 
3585
+ # The setting that allows the policy owner to change the behavior of the
3586
+ # rule group within a policy.
3587
+ #
3588
+ # @note When making an API call, you may pass StatefulRuleGroupOverride
3589
+ # data as a hash:
3590
+ #
3591
+ # {
3592
+ # action: "DROP_TO_ALERT", # accepts DROP_TO_ALERT
3593
+ # }
3594
+ #
3595
+ # @!attribute [rw] action
3596
+ # The action that changes the rule group from `DROP` to `ALERT`. This
3597
+ # only applies to managed rule groups.
3598
+ # @return [String]
3599
+ #
3600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/StatefulRuleGroupOverride AWS API Documentation
3601
+ #
3602
+ class StatefulRuleGroupOverride < Struct.new(
3603
+ :action)
3604
+ SENSITIVE = []
3605
+ include Aws::Structure
3606
+ end
3607
+
3449
3608
  # Identifier for a single stateful rule group, used in a firewall policy
3450
3609
  # to refer to a rule group.
3451
3610
  #
@@ -3455,6 +3614,9 @@ module Aws::NetworkFirewall
3455
3614
  # {
3456
3615
  # resource_arn: "ResourceArn", # required
3457
3616
  # priority: 1,
3617
+ # override: {
3618
+ # action: "DROP_TO_ALERT", # accepts DROP_TO_ALERT
3619
+ # },
3458
3620
  # }
3459
3621
  #
3460
3622
  # @!attribute [rw] resource_arn
@@ -3478,11 +3640,17 @@ module Aws::NetworkFirewall
3478
3640
  # on.
3479
3641
  # @return [Integer]
3480
3642
  #
3643
+ # @!attribute [rw] override
3644
+ # The action that allows the policy owner to override the behavior of
3645
+ # the rule group within a policy.
3646
+ # @return [Types::StatefulRuleGroupOverride]
3647
+ #
3481
3648
  # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/StatefulRuleGroupReference AWS API Documentation
3482
3649
  #
3483
3650
  class StatefulRuleGroupReference < Struct.new(
3484
3651
  :resource_arn,
3485
- :priority)
3652
+ :priority,
3653
+ :override)
3486
3654
  SENSITIVE = []
3487
3655
  include Aws::Structure
3488
3656
  end
@@ -3499,10 +3667,15 @@ module Aws::NetworkFirewall
3499
3667
  #
3500
3668
  # @!attribute [rw] rule_order
3501
3669
  # Indicates how to manage the order of the rule evaluation for the
3502
- # rule group. By default, Network Firewall leaves the rule evaluation
3503
- # order up to the Suricata rule processing engine. If you set this to
3504
- # `STRICT_ORDER`, your rules are evaluated in the exact order that
3505
- # they're listed in your Suricata rules string.
3670
+ # rule group. `DEFAULT_ACTION_ORDER` is the default behavior. Stateful
3671
+ # rules are provided to the rule engine as Suricata compatible
3672
+ # strings, and Suricata evaluates them based on certain settings. For
3673
+ # more information, see [Evaluation order for stateful rules][1] in
3674
+ # the *AWS Network Firewall Developer Guide*.
3675
+ #
3676
+ #
3677
+ #
3678
+ # [1]: https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html
3506
3679
  # @return [String]
3507
3680
  #
3508
3681
  # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/StatefulRuleOptions AWS API Documentation
@@ -4009,6 +4182,11 @@ module Aws::NetworkFirewall
4009
4182
  # @return [String]
4010
4183
  #
4011
4184
  # @!attribute [rw] delete_protection
4185
+ # A flag indicating whether it is possible to delete the firewall. A
4186
+ # setting of `TRUE` indicates that the firewall is protected against
4187
+ # deletion. Use this setting to protect against accidentally deleting
4188
+ # a firewall that is in use. When you create a firewall, the operation
4189
+ # initializes this flag to `TRUE`.
4012
4190
  # @return [Boolean]
4013
4191
  #
4014
4192
  # @!attribute [rw] update_token
@@ -4289,6 +4467,9 @@ module Aws::NetworkFirewall
4289
4467
  # {
4290
4468
  # resource_arn: "ResourceArn", # required
4291
4469
  # priority: 1,
4470
+ # override: {
4471
+ # action: "DROP_TO_ALERT", # accepts DROP_TO_ALERT
4472
+ # },
4292
4473
  # },
4293
4474
  # ],
4294
4475
  # stateful_default_actions: ["CollectionMember_String"],
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-networkfirewall/customizations'
48
48
  # @!group service
49
49
  module Aws::NetworkFirewall
50
50
 
51
- GEM_VERSION = '1.9.0'
51
+ GEM_VERSION = '1.13.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-networkfirewall
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.13.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: 2021-10-18 00:00:00.000000000 Z
11
+ date: 2021-12-21 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.121.2
22
+ version: 3.125.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.121.2
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement