aws-sdk-networkfirewall 1.16.0 → 1.17.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-networkfirewall/client.rb +58 -7
- data/lib/aws-sdk-networkfirewall/client_api.rb +17 -1
- data/lib/aws-sdk-networkfirewall/types.rb +127 -13
- data/lib/aws-sdk-networkfirewall.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: 60568c36adf25b6241c56a258da43d9508a482b29824db13da6fc88ea6c19954
|
4
|
+
data.tar.gz: a558af3d1058a75f0cadb7059cff44998938105e925af9cc7406e16736cd5666
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6fb0da54ec27b4367ce6b01bae549d0345b4b308e6d62fa6eb604eabc3d8150894445a456abcf2463cfb614ea7c609eaedf96e1fe379d72d96e06cd7a2b9c17
|
7
|
+
data.tar.gz: 213ce4bcb8657bad5bc2e6b4c44197f13f10deafc02a9eb8ff5f6b4a25203b71ca0c748c79686f159b60cf8df70d7619321ba97c3f9b6a872e23977eaf804f02
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.0
|
@@ -615,7 +615,7 @@ module Aws::NetworkFirewall
|
|
615
615
|
# ],
|
616
616
|
# encryption_configuration: {
|
617
617
|
# key_id: "KeyId",
|
618
|
-
# type: "CUSTOMER_KMS", # accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
618
|
+
# type: "CUSTOMER_KMS", # required, accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
619
619
|
# },
|
620
620
|
# })
|
621
621
|
#
|
@@ -752,7 +752,7 @@ module Aws::NetworkFirewall
|
|
752
752
|
# dry_run: false,
|
753
753
|
# encryption_configuration: {
|
754
754
|
# key_id: "KeyId",
|
755
|
-
# type: "CUSTOMER_KMS", # accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
755
|
+
# type: "CUSTOMER_KMS", # required, accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
756
756
|
# },
|
757
757
|
# })
|
758
758
|
#
|
@@ -772,6 +772,7 @@ module Aws::NetworkFirewall
|
|
772
772
|
# resp.firewall_policy_response.number_of_associations #=> Integer
|
773
773
|
# resp.firewall_policy_response.encryption_configuration.key_id #=> String
|
774
774
|
# resp.firewall_policy_response.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
775
|
+
# resp.firewall_policy_response.last_modified_time #=> Time
|
775
776
|
#
|
776
777
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CreateFirewallPolicy AWS API Documentation
|
777
778
|
#
|
@@ -894,6 +895,11 @@ module Aws::NetworkFirewall
|
|
894
895
|
# A complex type that contains settings for encryption of your rule
|
895
896
|
# group resources.
|
896
897
|
#
|
898
|
+
# @option params [Types::SourceMetadata] :source_metadata
|
899
|
+
# A complex type that contains metadata about the rule group that your
|
900
|
+
# own rule group is copied from. You can use the metadata to keep track
|
901
|
+
# of updates made to the originating rule group.
|
902
|
+
#
|
897
903
|
# @return [Types::CreateRuleGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
898
904
|
#
|
899
905
|
# * {Types::CreateRuleGroupResponse#update_token #update_token} => String
|
@@ -1015,7 +1021,11 @@ module Aws::NetworkFirewall
|
|
1015
1021
|
# dry_run: false,
|
1016
1022
|
# encryption_configuration: {
|
1017
1023
|
# key_id: "KeyId",
|
1018
|
-
# type: "CUSTOMER_KMS", # accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
1024
|
+
# type: "CUSTOMER_KMS", # required, accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
1025
|
+
# },
|
1026
|
+
# source_metadata: {
|
1027
|
+
# source_arn: "ResourceArn",
|
1028
|
+
# source_update_token: "UpdateToken",
|
1019
1029
|
# },
|
1020
1030
|
# })
|
1021
1031
|
#
|
@@ -1036,6 +1046,10 @@ module Aws::NetworkFirewall
|
|
1036
1046
|
# resp.rule_group_response.number_of_associations #=> Integer
|
1037
1047
|
# resp.rule_group_response.encryption_configuration.key_id #=> String
|
1038
1048
|
# resp.rule_group_response.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
1049
|
+
# resp.rule_group_response.source_metadata.source_arn #=> String
|
1050
|
+
# resp.rule_group_response.source_metadata.source_update_token #=> String
|
1051
|
+
# resp.rule_group_response.sns_topic #=> String
|
1052
|
+
# resp.rule_group_response.last_modified_time #=> Time
|
1039
1053
|
#
|
1040
1054
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CreateRuleGroup AWS API Documentation
|
1041
1055
|
#
|
@@ -1161,6 +1175,7 @@ module Aws::NetworkFirewall
|
|
1161
1175
|
# resp.firewall_policy_response.number_of_associations #=> Integer
|
1162
1176
|
# resp.firewall_policy_response.encryption_configuration.key_id #=> String
|
1163
1177
|
# resp.firewall_policy_response.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
1178
|
+
# resp.firewall_policy_response.last_modified_time #=> Time
|
1164
1179
|
#
|
1165
1180
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DeleteFirewallPolicy AWS API Documentation
|
1166
1181
|
#
|
@@ -1246,6 +1261,10 @@ module Aws::NetworkFirewall
|
|
1246
1261
|
# resp.rule_group_response.number_of_associations #=> Integer
|
1247
1262
|
# resp.rule_group_response.encryption_configuration.key_id #=> String
|
1248
1263
|
# resp.rule_group_response.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
1264
|
+
# resp.rule_group_response.source_metadata.source_arn #=> String
|
1265
|
+
# resp.rule_group_response.source_metadata.source_update_token #=> String
|
1266
|
+
# resp.rule_group_response.sns_topic #=> String
|
1267
|
+
# resp.rule_group_response.last_modified_time #=> Time
|
1249
1268
|
#
|
1250
1269
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DeleteRuleGroup AWS API Documentation
|
1251
1270
|
#
|
@@ -1362,6 +1381,7 @@ module Aws::NetworkFirewall
|
|
1362
1381
|
# resp.firewall_policy_response.number_of_associations #=> Integer
|
1363
1382
|
# resp.firewall_policy_response.encryption_configuration.key_id #=> String
|
1364
1383
|
# resp.firewall_policy_response.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
1384
|
+
# resp.firewall_policy_response.last_modified_time #=> Time
|
1365
1385
|
# resp.firewall_policy.stateless_rule_group_references #=> Array
|
1366
1386
|
# resp.firewall_policy.stateless_rule_group_references[0].resource_arn #=> String
|
1367
1387
|
# resp.firewall_policy.stateless_rule_group_references[0].priority #=> Integer
|
@@ -1567,6 +1587,10 @@ module Aws::NetworkFirewall
|
|
1567
1587
|
# resp.rule_group_response.number_of_associations #=> Integer
|
1568
1588
|
# resp.rule_group_response.encryption_configuration.key_id #=> String
|
1569
1589
|
# resp.rule_group_response.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
1590
|
+
# resp.rule_group_response.source_metadata.source_arn #=> String
|
1591
|
+
# resp.rule_group_response.source_metadata.source_update_token #=> String
|
1592
|
+
# resp.rule_group_response.sns_topic #=> String
|
1593
|
+
# resp.rule_group_response.last_modified_time #=> Time
|
1570
1594
|
#
|
1571
1595
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeRuleGroup AWS API Documentation
|
1572
1596
|
#
|
@@ -1612,6 +1636,7 @@ module Aws::NetworkFirewall
|
|
1612
1636
|
# * {Types::DescribeRuleGroupMetadataResponse#type #type} => String
|
1613
1637
|
# * {Types::DescribeRuleGroupMetadataResponse#capacity #capacity} => Integer
|
1614
1638
|
# * {Types::DescribeRuleGroupMetadataResponse#stateful_rule_options #stateful_rule_options} => Types::StatefulRuleOptions
|
1639
|
+
# * {Types::DescribeRuleGroupMetadataResponse#last_modified_time #last_modified_time} => Time
|
1615
1640
|
#
|
1616
1641
|
# @example Request syntax with placeholder values
|
1617
1642
|
#
|
@@ -1629,6 +1654,7 @@ module Aws::NetworkFirewall
|
|
1629
1654
|
# resp.type #=> String, one of "STATELESS", "STATEFUL"
|
1630
1655
|
# resp.capacity #=> Integer
|
1631
1656
|
# resp.stateful_rule_options.rule_order #=> String, one of "DEFAULT_ACTION_ORDER", "STRICT_ORDER"
|
1657
|
+
# resp.last_modified_time #=> Time
|
1632
1658
|
#
|
1633
1659
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeRuleGroupMetadata AWS API Documentation
|
1634
1660
|
#
|
@@ -1834,6 +1860,15 @@ module Aws::NetworkFirewall
|
|
1834
1860
|
# setting of `NULL` returns all of the rule groups in your account. A
|
1835
1861
|
# setting of `MANAGED` returns all available managed rule groups.
|
1836
1862
|
#
|
1863
|
+
# @option params [String] :managed_type
|
1864
|
+
# Indicates the general category of the Amazon Web Services managed rule
|
1865
|
+
# group.
|
1866
|
+
#
|
1867
|
+
# @option params [String] :type
|
1868
|
+
# Indicates whether the rule group is stateless or stateful. If the rule
|
1869
|
+
# group is stateless, it contains stateless rules. If it is stateful, it
|
1870
|
+
# contains stateful rules.
|
1871
|
+
#
|
1837
1872
|
# @return [Types::ListRuleGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1838
1873
|
#
|
1839
1874
|
# * {Types::ListRuleGroupsResponse#next_token #next_token} => String
|
@@ -1847,6 +1882,8 @@ module Aws::NetworkFirewall
|
|
1847
1882
|
# next_token: "PaginationToken",
|
1848
1883
|
# max_results: 1,
|
1849
1884
|
# scope: "MANAGED", # accepts MANAGED, ACCOUNT
|
1885
|
+
# managed_type: "AWS_MANAGED_THREAT_SIGNATURES", # accepts AWS_MANAGED_THREAT_SIGNATURES, AWS_MANAGED_DOMAIN_LISTS
|
1886
|
+
# type: "STATELESS", # accepts STATELESS, STATEFUL
|
1850
1887
|
# })
|
1851
1888
|
#
|
1852
1889
|
# @example Response structure
|
@@ -2278,7 +2315,7 @@ module Aws::NetworkFirewall
|
|
2278
2315
|
# firewall_name: "ResourceName",
|
2279
2316
|
# encryption_configuration: {
|
2280
2317
|
# key_id: "KeyId",
|
2281
|
-
# type: "CUSTOMER_KMS", # accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
2318
|
+
# type: "CUSTOMER_KMS", # required, accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
2282
2319
|
# },
|
2283
2320
|
# })
|
2284
2321
|
#
|
@@ -2402,7 +2439,7 @@ module Aws::NetworkFirewall
|
|
2402
2439
|
# dry_run: false,
|
2403
2440
|
# encryption_configuration: {
|
2404
2441
|
# key_id: "KeyId",
|
2405
|
-
# type: "CUSTOMER_KMS", # accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
2442
|
+
# type: "CUSTOMER_KMS", # required, accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
2406
2443
|
# },
|
2407
2444
|
# })
|
2408
2445
|
#
|
@@ -2422,6 +2459,7 @@ module Aws::NetworkFirewall
|
|
2422
2459
|
# resp.firewall_policy_response.number_of_associations #=> Integer
|
2423
2460
|
# resp.firewall_policy_response.encryption_configuration.key_id #=> String
|
2424
2461
|
# resp.firewall_policy_response.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
2462
|
+
# resp.firewall_policy_response.last_modified_time #=> Time
|
2425
2463
|
#
|
2426
2464
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateFirewallPolicy AWS API Documentation
|
2427
2465
|
#
|
@@ -2676,6 +2714,11 @@ module Aws::NetworkFirewall
|
|
2676
2714
|
# A complex type that contains settings for encryption of your rule
|
2677
2715
|
# group resources.
|
2678
2716
|
#
|
2717
|
+
# @option params [Types::SourceMetadata] :source_metadata
|
2718
|
+
# A complex type that contains metadata about the rule group that your
|
2719
|
+
# own rule group is copied from. You can use the metadata to keep track
|
2720
|
+
# of updates made to the originating rule group.
|
2721
|
+
#
|
2679
2722
|
# @return [Types::UpdateRuleGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2680
2723
|
#
|
2681
2724
|
# * {Types::UpdateRuleGroupResponse#update_token #update_token} => String
|
@@ -2792,7 +2835,11 @@ module Aws::NetworkFirewall
|
|
2792
2835
|
# dry_run: false,
|
2793
2836
|
# encryption_configuration: {
|
2794
2837
|
# key_id: "KeyId",
|
2795
|
-
# type: "CUSTOMER_KMS", # accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
2838
|
+
# type: "CUSTOMER_KMS", # required, accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
2839
|
+
# },
|
2840
|
+
# source_metadata: {
|
2841
|
+
# source_arn: "ResourceArn",
|
2842
|
+
# source_update_token: "UpdateToken",
|
2796
2843
|
# },
|
2797
2844
|
# })
|
2798
2845
|
#
|
@@ -2813,6 +2860,10 @@ module Aws::NetworkFirewall
|
|
2813
2860
|
# resp.rule_group_response.number_of_associations #=> Integer
|
2814
2861
|
# resp.rule_group_response.encryption_configuration.key_id #=> String
|
2815
2862
|
# resp.rule_group_response.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
2863
|
+
# resp.rule_group_response.source_metadata.source_arn #=> String
|
2864
|
+
# resp.rule_group_response.source_metadata.source_update_token #=> String
|
2865
|
+
# resp.rule_group_response.sns_topic #=> String
|
2866
|
+
# resp.rule_group_response.last_modified_time #=> Time
|
2816
2867
|
#
|
2817
2868
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateRuleGroup AWS API Documentation
|
2818
2869
|
#
|
@@ -2905,7 +2956,7 @@ module Aws::NetworkFirewall
|
|
2905
2956
|
params: params,
|
2906
2957
|
config: config)
|
2907
2958
|
context[:gem_name] = 'aws-sdk-networkfirewall'
|
2908
|
-
context[:gem_version] = '1.
|
2959
|
+
context[:gem_version] = '1.17.0'
|
2909
2960
|
Seahorse::Client::Request.new(handlers, context)
|
2910
2961
|
end
|
2911
2962
|
|
@@ -93,6 +93,7 @@ module Aws::NetworkFirewall
|
|
93
93
|
InvalidTokenException = Shapes::StructureShape.new(name: 'InvalidTokenException')
|
94
94
|
KeyId = Shapes::StringShape.new(name: 'KeyId')
|
95
95
|
Keyword = Shapes::StringShape.new(name: 'Keyword')
|
96
|
+
LastUpdateTime = Shapes::TimestampShape.new(name: 'LastUpdateTime')
|
96
97
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
97
98
|
ListFirewallPoliciesRequest = Shapes::StructureShape.new(name: 'ListFirewallPoliciesRequest')
|
98
99
|
ListFirewallPoliciesResponse = Shapes::StructureShape.new(name: 'ListFirewallPoliciesResponse')
|
@@ -132,6 +133,7 @@ module Aws::NetworkFirewall
|
|
132
133
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
133
134
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
134
135
|
ResourceManagedStatus = Shapes::StringShape.new(name: 'ResourceManagedStatus')
|
136
|
+
ResourceManagedType = Shapes::StringShape.new(name: 'ResourceManagedType')
|
135
137
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
136
138
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
137
139
|
ResourceOwnerCheckException = Shapes::StructureShape.new(name: 'ResourceOwnerCheckException')
|
@@ -155,6 +157,7 @@ module Aws::NetworkFirewall
|
|
155
157
|
Setting = Shapes::StringShape.new(name: 'Setting')
|
156
158
|
Settings = Shapes::ListShape.new(name: 'Settings')
|
157
159
|
Source = Shapes::StringShape.new(name: 'Source')
|
160
|
+
SourceMetadata = Shapes::StructureShape.new(name: 'SourceMetadata')
|
158
161
|
StatefulAction = Shapes::StringShape.new(name: 'StatefulAction')
|
159
162
|
StatefulActions = Shapes::ListShape.new(name: 'StatefulActions')
|
160
163
|
StatefulEngineOptions = Shapes::StructureShape.new(name: 'StatefulEngineOptions')
|
@@ -292,6 +295,7 @@ module Aws::NetworkFirewall
|
|
292
295
|
CreateRuleGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
293
296
|
CreateRuleGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
294
297
|
CreateRuleGroupRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
298
|
+
CreateRuleGroupRequest.add_member(:source_metadata, Shapes::ShapeRef.new(shape: SourceMetadata, location_name: "SourceMetadata"))
|
295
299
|
CreateRuleGroupRequest.struct_class = Types::CreateRuleGroupRequest
|
296
300
|
|
297
301
|
CreateRuleGroupResponse.add_member(:update_token, Shapes::ShapeRef.new(shape: UpdateToken, required: true, location_name: "UpdateToken"))
|
@@ -375,6 +379,7 @@ module Aws::NetworkFirewall
|
|
375
379
|
DescribeRuleGroupMetadataResponse.add_member(:type, Shapes::ShapeRef.new(shape: RuleGroupType, location_name: "Type"))
|
376
380
|
DescribeRuleGroupMetadataResponse.add_member(:capacity, Shapes::ShapeRef.new(shape: RuleCapacity, location_name: "Capacity"))
|
377
381
|
DescribeRuleGroupMetadataResponse.add_member(:stateful_rule_options, Shapes::ShapeRef.new(shape: StatefulRuleOptions, location_name: "StatefulRuleOptions"))
|
382
|
+
DescribeRuleGroupMetadataResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastUpdateTime, location_name: "LastModifiedTime"))
|
378
383
|
DescribeRuleGroupMetadataResponse.struct_class = Types::DescribeRuleGroupMetadataResponse
|
379
384
|
|
380
385
|
DescribeRuleGroupRequest.add_member(:rule_group_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "RuleGroupName"))
|
@@ -405,7 +410,7 @@ module Aws::NetworkFirewall
|
|
405
410
|
DisassociateSubnetsResponse.struct_class = Types::DisassociateSubnetsResponse
|
406
411
|
|
407
412
|
EncryptionConfiguration.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyId, location_name: "KeyId"))
|
408
|
-
EncryptionConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "Type"))
|
413
|
+
EncryptionConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "Type"))
|
409
414
|
EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
|
410
415
|
|
411
416
|
Firewall.add_member(:firewall_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "FirewallName"))
|
@@ -451,6 +456,7 @@ module Aws::NetworkFirewall
|
|
451
456
|
FirewallPolicyResponse.add_member(:consumed_stateful_rule_capacity, Shapes::ShapeRef.new(shape: RuleCapacity, location_name: "ConsumedStatefulRuleCapacity"))
|
452
457
|
FirewallPolicyResponse.add_member(:number_of_associations, Shapes::ShapeRef.new(shape: NumberOfAssociations, location_name: "NumberOfAssociations"))
|
453
458
|
FirewallPolicyResponse.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
459
|
+
FirewallPolicyResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastUpdateTime, location_name: "LastModifiedTime"))
|
454
460
|
FirewallPolicyResponse.struct_class = Types::FirewallPolicyResponse
|
455
461
|
|
456
462
|
FirewallStatus.add_member(:status, Shapes::ShapeRef.new(shape: FirewallStatusValue, required: true, location_name: "Status"))
|
@@ -517,6 +523,8 @@ module Aws::NetworkFirewall
|
|
517
523
|
ListRuleGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
518
524
|
ListRuleGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationMaxResults, location_name: "MaxResults"))
|
519
525
|
ListRuleGroupsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: ResourceManagedStatus, location_name: "Scope"))
|
526
|
+
ListRuleGroupsRequest.add_member(:managed_type, Shapes::ShapeRef.new(shape: ResourceManagedType, location_name: "ManagedType"))
|
527
|
+
ListRuleGroupsRequest.add_member(:type, Shapes::ShapeRef.new(shape: RuleGroupType, location_name: "Type"))
|
520
528
|
ListRuleGroupsRequest.struct_class = Types::ListRuleGroupsRequest
|
521
529
|
|
522
530
|
ListRuleGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
@@ -613,6 +621,9 @@ module Aws::NetworkFirewall
|
|
613
621
|
RuleGroupResponse.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: RuleCapacity, location_name: "ConsumedCapacity"))
|
614
622
|
RuleGroupResponse.add_member(:number_of_associations, Shapes::ShapeRef.new(shape: NumberOfAssociations, location_name: "NumberOfAssociations"))
|
615
623
|
RuleGroupResponse.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
624
|
+
RuleGroupResponse.add_member(:source_metadata, Shapes::ShapeRef.new(shape: SourceMetadata, location_name: "SourceMetadata"))
|
625
|
+
RuleGroupResponse.add_member(:sns_topic, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "SnsTopic"))
|
626
|
+
RuleGroupResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastUpdateTime, location_name: "LastModifiedTime"))
|
616
627
|
RuleGroupResponse.struct_class = Types::RuleGroupResponse
|
617
628
|
|
618
629
|
RuleGroups.member = Shapes::ShapeRef.new(shape: RuleGroupMetadata)
|
@@ -642,6 +653,10 @@ module Aws::NetworkFirewall
|
|
642
653
|
|
643
654
|
Settings.member = Shapes::ShapeRef.new(shape: Setting)
|
644
655
|
|
656
|
+
SourceMetadata.add_member(:source_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "SourceArn"))
|
657
|
+
SourceMetadata.add_member(:source_update_token, Shapes::ShapeRef.new(shape: UpdateToken, location_name: "SourceUpdateToken"))
|
658
|
+
SourceMetadata.struct_class = Types::SourceMetadata
|
659
|
+
|
645
660
|
StatefulActions.member = Shapes::ShapeRef.new(shape: CollectionMember_String)
|
646
661
|
|
647
662
|
StatefulEngineOptions.add_member(:rule_order, Shapes::ShapeRef.new(shape: RuleOrder, location_name: "RuleOrder"))
|
@@ -814,6 +829,7 @@ module Aws::NetworkFirewall
|
|
814
829
|
UpdateRuleGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
815
830
|
UpdateRuleGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
816
831
|
UpdateRuleGroupRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
832
|
+
UpdateRuleGroupRequest.add_member(:source_metadata, Shapes::ShapeRef.new(shape: SourceMetadata, location_name: "SourceMetadata"))
|
817
833
|
UpdateRuleGroupRequest.struct_class = Types::UpdateRuleGroupRequest
|
818
834
|
|
819
835
|
UpdateRuleGroupResponse.add_member(:update_token, Shapes::ShapeRef.new(shape: UpdateToken, required: true, location_name: "UpdateToken"))
|
@@ -381,7 +381,7 @@ module Aws::NetworkFirewall
|
|
381
381
|
# dry_run: false,
|
382
382
|
# encryption_configuration: {
|
383
383
|
# key_id: "KeyId",
|
384
|
-
# type: "CUSTOMER_KMS", # accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
384
|
+
# type: "CUSTOMER_KMS", # required, accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
385
385
|
# },
|
386
386
|
# }
|
387
387
|
#
|
@@ -489,7 +489,7 @@ module Aws::NetworkFirewall
|
|
489
489
|
# ],
|
490
490
|
# encryption_configuration: {
|
491
491
|
# key_id: "KeyId",
|
492
|
-
# type: "CUSTOMER_KMS", # accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
492
|
+
# type: "CUSTOMER_KMS", # required, accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
493
493
|
# },
|
494
494
|
# }
|
495
495
|
#
|
@@ -708,7 +708,11 @@ module Aws::NetworkFirewall
|
|
708
708
|
# dry_run: false,
|
709
709
|
# encryption_configuration: {
|
710
710
|
# key_id: "KeyId",
|
711
|
-
# type: "CUSTOMER_KMS", # accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
711
|
+
# type: "CUSTOMER_KMS", # required, accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
712
|
+
# },
|
713
|
+
# source_metadata: {
|
714
|
+
# source_arn: "ResourceArn",
|
715
|
+
# source_update_token: "UpdateToken",
|
712
716
|
# },
|
713
717
|
# }
|
714
718
|
#
|
@@ -828,6 +832,12 @@ module Aws::NetworkFirewall
|
|
828
832
|
# group resources.
|
829
833
|
# @return [Types::EncryptionConfiguration]
|
830
834
|
#
|
835
|
+
# @!attribute [rw] source_metadata
|
836
|
+
# A complex type that contains metadata about the rule group that your
|
837
|
+
# own rule group is copied from. You can use the metadata to keep
|
838
|
+
# track of updates made to the originating rule group.
|
839
|
+
# @return [Types::SourceMetadata]
|
840
|
+
#
|
831
841
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CreateRuleGroupRequest AWS API Documentation
|
832
842
|
#
|
833
843
|
class CreateRuleGroupRequest < Struct.new(
|
@@ -839,7 +849,8 @@ module Aws::NetworkFirewall
|
|
839
849
|
:capacity,
|
840
850
|
:tags,
|
841
851
|
:dry_run,
|
842
|
-
:encryption_configuration
|
852
|
+
:encryption_configuration,
|
853
|
+
:source_metadata)
|
843
854
|
SENSITIVE = []
|
844
855
|
include Aws::Structure
|
845
856
|
end
|
@@ -1414,6 +1425,10 @@ module Aws::NetworkFirewall
|
|
1414
1425
|
# group. You can only use these for stateful rule groups.
|
1415
1426
|
# @return [Types::StatefulRuleOptions]
|
1416
1427
|
#
|
1428
|
+
# @!attribute [rw] last_modified_time
|
1429
|
+
# The last time that the rule group was changed.
|
1430
|
+
# @return [Time]
|
1431
|
+
#
|
1417
1432
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeRuleGroupMetadataResponse AWS API Documentation
|
1418
1433
|
#
|
1419
1434
|
class DescribeRuleGroupMetadataResponse < Struct.new(
|
@@ -1422,7 +1437,8 @@ module Aws::NetworkFirewall
|
|
1422
1437
|
:description,
|
1423
1438
|
:type,
|
1424
1439
|
:capacity,
|
1425
|
-
:stateful_rule_options
|
1440
|
+
:stateful_rule_options,
|
1441
|
+
:last_modified_time)
|
1426
1442
|
SENSITIVE = []
|
1427
1443
|
include Aws::Structure
|
1428
1444
|
end
|
@@ -1674,7 +1690,7 @@ module Aws::NetworkFirewall
|
|
1674
1690
|
#
|
1675
1691
|
# {
|
1676
1692
|
# key_id: "KeyId",
|
1677
|
-
# type: "CUSTOMER_KMS", # accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
1693
|
+
# type: "CUSTOMER_KMS", # required, accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
1678
1694
|
# }
|
1679
1695
|
#
|
1680
1696
|
# @!attribute [rw] key_id
|
@@ -2044,6 +2060,10 @@ module Aws::NetworkFirewall
|
|
2044
2060
|
# configuration settings for your firewall policy.
|
2045
2061
|
# @return [Types::EncryptionConfiguration]
|
2046
2062
|
#
|
2063
|
+
# @!attribute [rw] last_modified_time
|
2064
|
+
# The last time that the firewall policy was changed.
|
2065
|
+
# @return [Time]
|
2066
|
+
#
|
2047
2067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/FirewallPolicyResponse AWS API Documentation
|
2048
2068
|
#
|
2049
2069
|
class FirewallPolicyResponse < Struct.new(
|
@@ -2056,7 +2076,8 @@ module Aws::NetworkFirewall
|
|
2056
2076
|
:consumed_stateless_rule_capacity,
|
2057
2077
|
:consumed_stateful_rule_capacity,
|
2058
2078
|
:number_of_associations,
|
2059
|
-
:encryption_configuration
|
2079
|
+
:encryption_configuration,
|
2080
|
+
:last_modified_time)
|
2060
2081
|
SENSITIVE = []
|
2061
2082
|
include Aws::Structure
|
2062
2083
|
end
|
@@ -2463,6 +2484,8 @@ module Aws::NetworkFirewall
|
|
2463
2484
|
# next_token: "PaginationToken",
|
2464
2485
|
# max_results: 1,
|
2465
2486
|
# scope: "MANAGED", # accepts MANAGED, ACCOUNT
|
2487
|
+
# managed_type: "AWS_MANAGED_THREAT_SIGNATURES", # accepts AWS_MANAGED_THREAT_SIGNATURES, AWS_MANAGED_DOMAIN_LISTS
|
2488
|
+
# type: "STATELESS", # accepts STATELESS, STATEFUL
|
2466
2489
|
# }
|
2467
2490
|
#
|
2468
2491
|
# @!attribute [rw] next_token
|
@@ -2486,12 +2509,25 @@ module Aws::NetworkFirewall
|
|
2486
2509
|
# setting of `MANAGED` returns all available managed rule groups.
|
2487
2510
|
# @return [String]
|
2488
2511
|
#
|
2512
|
+
# @!attribute [rw] managed_type
|
2513
|
+
# Indicates the general category of the Amazon Web Services managed
|
2514
|
+
# rule group.
|
2515
|
+
# @return [String]
|
2516
|
+
#
|
2517
|
+
# @!attribute [rw] type
|
2518
|
+
# Indicates whether the rule group is stateless or stateful. If the
|
2519
|
+
# rule group is stateless, it contains stateless rules. If it is
|
2520
|
+
# stateful, it contains stateful rules.
|
2521
|
+
# @return [String]
|
2522
|
+
#
|
2489
2523
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListRuleGroupsRequest AWS API Documentation
|
2490
2524
|
#
|
2491
2525
|
class ListRuleGroupsRequest < Struct.new(
|
2492
2526
|
:next_token,
|
2493
2527
|
:max_results,
|
2494
|
-
:scope
|
2528
|
+
:scope,
|
2529
|
+
:managed_type,
|
2530
|
+
:type)
|
2495
2531
|
SENSITIVE = []
|
2496
2532
|
include Aws::Structure
|
2497
2533
|
end
|
@@ -3302,6 +3338,29 @@ module Aws::NetworkFirewall
|
|
3302
3338
|
# configuration settings for your rule group.
|
3303
3339
|
# @return [Types::EncryptionConfiguration]
|
3304
3340
|
#
|
3341
|
+
# @!attribute [rw] source_metadata
|
3342
|
+
# A complex type that contains metadata about the rule group that your
|
3343
|
+
# own rule group is copied from. You can use the metadata to track the
|
3344
|
+
# version updates made to the originating rule group.
|
3345
|
+
# @return [Types::SourceMetadata]
|
3346
|
+
#
|
3347
|
+
# @!attribute [rw] sns_topic
|
3348
|
+
# The Amazon resource name (ARN) of the Amazon Simple Notification
|
3349
|
+
# Service SNS topic that's used to record changes to the managed rule
|
3350
|
+
# group. You can subscribe to the SNS topic to receive notifications
|
3351
|
+
# when the managed rule group is modified, such as for new versions
|
3352
|
+
# and for version expiration. For more information, see the [Amazon
|
3353
|
+
# Simple Notification Service Developer Guide.][1].
|
3354
|
+
#
|
3355
|
+
#
|
3356
|
+
#
|
3357
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/welcome.html
|
3358
|
+
# @return [String]
|
3359
|
+
#
|
3360
|
+
# @!attribute [rw] last_modified_time
|
3361
|
+
# The last time that the rule group was changed.
|
3362
|
+
# @return [Time]
|
3363
|
+
#
|
3305
3364
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/RuleGroupResponse AWS API Documentation
|
3306
3365
|
#
|
3307
3366
|
class RuleGroupResponse < Struct.new(
|
@@ -3315,7 +3374,10 @@ module Aws::NetworkFirewall
|
|
3315
3374
|
:tags,
|
3316
3375
|
:consumed_capacity,
|
3317
3376
|
:number_of_associations,
|
3318
|
-
:encryption_configuration
|
3377
|
+
:encryption_configuration,
|
3378
|
+
:source_metadata,
|
3379
|
+
:sns_topic,
|
3380
|
+
:last_modified_time)
|
3319
3381
|
SENSITIVE = []
|
3320
3382
|
include Aws::Structure
|
3321
3383
|
end
|
@@ -3573,6 +3635,47 @@ module Aws::NetworkFirewall
|
|
3573
3635
|
include Aws::Structure
|
3574
3636
|
end
|
3575
3637
|
|
3638
|
+
# High-level information about the managed rule group that your own rule
|
3639
|
+
# group is copied from. You can use the the metadata to track version
|
3640
|
+
# updates made to the originating rule group. You can retrieve all
|
3641
|
+
# objects for a rule group by calling [DescribeRuleGroup][1].
|
3642
|
+
#
|
3643
|
+
#
|
3644
|
+
#
|
3645
|
+
# [1]: https://docs.aws.amazon.com/network-firewall/latest/APIReference/API_DescribeRuleGroup.html
|
3646
|
+
#
|
3647
|
+
# @note When making an API call, you may pass SourceMetadata
|
3648
|
+
# data as a hash:
|
3649
|
+
#
|
3650
|
+
# {
|
3651
|
+
# source_arn: "ResourceArn",
|
3652
|
+
# source_update_token: "UpdateToken",
|
3653
|
+
# }
|
3654
|
+
#
|
3655
|
+
# @!attribute [rw] source_arn
|
3656
|
+
# The Amazon Resource Name (ARN) of the rule group that your own rule
|
3657
|
+
# group is copied from.
|
3658
|
+
# @return [String]
|
3659
|
+
#
|
3660
|
+
# @!attribute [rw] source_update_token
|
3661
|
+
# The update token of the Amazon Web Services managed rule group that
|
3662
|
+
# your own rule group is copied from. To determine the update token
|
3663
|
+
# for the managed rule group, call [DescribeRuleGroup][1].
|
3664
|
+
#
|
3665
|
+
#
|
3666
|
+
#
|
3667
|
+
# [1]: https://docs.aws.amazon.com/network-firewall/latest/APIReference/API_DescribeRuleGroup.html#networkfirewall-DescribeRuleGroup-response-UpdateToken
|
3668
|
+
# @return [String]
|
3669
|
+
#
|
3670
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/SourceMetadata AWS API Documentation
|
3671
|
+
#
|
3672
|
+
class SourceMetadata < Struct.new(
|
3673
|
+
:source_arn,
|
3674
|
+
:source_update_token)
|
3675
|
+
SENSITIVE = []
|
3676
|
+
include Aws::Structure
|
3677
|
+
end
|
3678
|
+
|
3576
3679
|
# Configuration settings for the handling of the stateful rule groups in
|
3577
3680
|
# a firewall policy.
|
3578
3681
|
#
|
@@ -4429,7 +4532,7 @@ module Aws::NetworkFirewall
|
|
4429
4532
|
# firewall_name: "ResourceName",
|
4430
4533
|
# encryption_configuration: {
|
4431
4534
|
# key_id: "KeyId",
|
4432
|
-
# type: "CUSTOMER_KMS", # accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
4535
|
+
# type: "CUSTOMER_KMS", # required, accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
4433
4536
|
# },
|
4434
4537
|
# }
|
4435
4538
|
#
|
@@ -4703,7 +4806,7 @@ module Aws::NetworkFirewall
|
|
4703
4806
|
# dry_run: false,
|
4704
4807
|
# encryption_configuration: {
|
4705
4808
|
# key_id: "KeyId",
|
4706
|
-
# type: "CUSTOMER_KMS", # accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
4809
|
+
# type: "CUSTOMER_KMS", # required, accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
4707
4810
|
# },
|
4708
4811
|
# }
|
4709
4812
|
#
|
@@ -4989,7 +5092,11 @@ module Aws::NetworkFirewall
|
|
4989
5092
|
# dry_run: false,
|
4990
5093
|
# encryption_configuration: {
|
4991
5094
|
# key_id: "KeyId",
|
4992
|
-
# type: "CUSTOMER_KMS", # accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
5095
|
+
# type: "CUSTOMER_KMS", # required, accepts CUSTOMER_KMS, AWS_OWNED_KMS_KEY
|
5096
|
+
# },
|
5097
|
+
# source_metadata: {
|
5098
|
+
# source_arn: "ResourceArn",
|
5099
|
+
# source_update_token: "UpdateToken",
|
4993
5100
|
# },
|
4994
5101
|
# }
|
4995
5102
|
#
|
@@ -5081,6 +5188,12 @@ module Aws::NetworkFirewall
|
|
5081
5188
|
# group resources.
|
5082
5189
|
# @return [Types::EncryptionConfiguration]
|
5083
5190
|
#
|
5191
|
+
# @!attribute [rw] source_metadata
|
5192
|
+
# A complex type that contains metadata about the rule group that your
|
5193
|
+
# own rule group is copied from. You can use the metadata to keep
|
5194
|
+
# track of updates made to the originating rule group.
|
5195
|
+
# @return [Types::SourceMetadata]
|
5196
|
+
#
|
5084
5197
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateRuleGroupRequest AWS API Documentation
|
5085
5198
|
#
|
5086
5199
|
class UpdateRuleGroupRequest < Struct.new(
|
@@ -5092,7 +5205,8 @@ module Aws::NetworkFirewall
|
|
5092
5205
|
:type,
|
5093
5206
|
:description,
|
5094
5207
|
:dry_run,
|
5095
|
-
:encryption_configuration
|
5208
|
+
:encryption_configuration,
|
5209
|
+
:source_metadata)
|
5096
5210
|
SENSITIVE = []
|
5097
5211
|
include Aws::Structure
|
5098
5212
|
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.
|
4
|
+
version: 1.17.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-04-
|
11
|
+
date: 2022-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|