aws-sdk-route53resolver 1.98.0 → 1.100.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.
@@ -54,7 +54,7 @@ module Aws::Route53Resolver
54
54
  autoload :EndpointProvider, 'aws-sdk-route53resolver/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-route53resolver/endpoints'
56
56
 
57
- GEM_VERSION = '1.98.0'
57
+ GEM_VERSION = '1.100.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -139,6 +139,82 @@ module Aws
139
139
  ) -> _AssociateResolverRuleResponseSuccess
140
140
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateResolverRuleResponseSuccess
141
141
 
142
+ interface _BatchCreateFirewallRuleResponseSuccess
143
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchCreateFirewallRuleResponse]
144
+ def created_firewall_rules: () -> ::Array[Types::FirewallRule]
145
+ def create_errors: () -> ::Array[Types::BatchCreateFirewallRuleError]
146
+ end
147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Resolver/Client.html#batch_create_firewall_rule-instance_method
148
+ def batch_create_firewall_rule: (
149
+ create_firewall_rule_entries: Array[
150
+ {
151
+ creator_request_id: ::String,
152
+ firewall_rule_group_id: ::String,
153
+ firewall_domain_list_id: ::String?,
154
+ priority: ::Integer,
155
+ action: ("ALLOW" | "BLOCK" | "ALERT"),
156
+ block_response: ("NODATA" | "NXDOMAIN" | "OVERRIDE")?,
157
+ block_override_domain: ::String?,
158
+ block_override_dns_type: ("CNAME")?,
159
+ block_override_ttl: ::Integer?,
160
+ name: ::String,
161
+ firewall_domain_redirection_action: ("INSPECT_REDIRECTION_DOMAIN" | "TRUST_REDIRECTION_DOMAIN")?,
162
+ qtype: ::String?,
163
+ dns_threat_protection: ("DGA" | "DNS_TUNNELING" | "DICTIONARY_DGA")?,
164
+ confidence_threshold: ("LOW" | "MEDIUM" | "HIGH")?,
165
+ firewall_rule_type: Params::firewall_rule_type?
166
+ }
167
+ ]
168
+ ) -> _BatchCreateFirewallRuleResponseSuccess
169
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchCreateFirewallRuleResponseSuccess
170
+
171
+ interface _BatchDeleteFirewallRuleResponseSuccess
172
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteFirewallRuleResponse]
173
+ def deleted_firewall_rules: () -> ::Array[Types::FirewallRule]
174
+ def delete_errors: () -> ::Array[Types::BatchDeleteFirewallRuleError]
175
+ end
176
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Resolver/Client.html#batch_delete_firewall_rule-instance_method
177
+ def batch_delete_firewall_rule: (
178
+ delete_firewall_rule_entries: Array[
179
+ {
180
+ firewall_rule_group_id: ::String,
181
+ firewall_domain_list_id: ::String?,
182
+ firewall_threat_protection_id: ::String?,
183
+ qtype: ::String?
184
+ }
185
+ ]
186
+ ) -> _BatchDeleteFirewallRuleResponseSuccess
187
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteFirewallRuleResponseSuccess
188
+
189
+ interface _BatchUpdateFirewallRuleResponseSuccess
190
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchUpdateFirewallRuleResponse]
191
+ def updated_firewall_rules: () -> ::Array[Types::FirewallRule]
192
+ def update_errors: () -> ::Array[Types::BatchUpdateFirewallRuleError]
193
+ end
194
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Resolver/Client.html#batch_update_firewall_rule-instance_method
195
+ def batch_update_firewall_rule: (
196
+ update_firewall_rule_entries: Array[
197
+ {
198
+ firewall_rule_group_id: ::String,
199
+ firewall_domain_list_id: ::String?,
200
+ firewall_threat_protection_id: ::String?,
201
+ priority: ::Integer?,
202
+ action: ("ALLOW" | "BLOCK" | "ALERT")?,
203
+ block_response: ("NODATA" | "NXDOMAIN" | "OVERRIDE")?,
204
+ block_override_domain: ::String?,
205
+ block_override_dns_type: ("CNAME")?,
206
+ block_override_ttl: ::Integer?,
207
+ name: ::String?,
208
+ firewall_domain_redirection_action: ("INSPECT_REDIRECTION_DOMAIN" | "TRUST_REDIRECTION_DOMAIN")?,
209
+ qtype: ::String?,
210
+ dns_threat_protection: ("DGA" | "DNS_TUNNELING" | "DICTIONARY_DGA")?,
211
+ confidence_threshold: ("LOW" | "MEDIUM" | "HIGH")?,
212
+ firewall_rule_type: Params::firewall_rule_type?
213
+ }
214
+ ]
215
+ ) -> _BatchUpdateFirewallRuleResponseSuccess
216
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateFirewallRuleResponseSuccess
217
+
142
218
  interface _CreateFirewallDomainListResponseSuccess
143
219
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateFirewallDomainListResponse]
144
220
  def firewall_domain_list: () -> Types::FirewallDomainList
@@ -175,7 +251,8 @@ module Aws
175
251
  ?firewall_domain_redirection_action: ("INSPECT_REDIRECTION_DOMAIN" | "TRUST_REDIRECTION_DOMAIN"),
176
252
  ?qtype: ::String,
177
253
  ?dns_threat_protection: ("DGA" | "DNS_TUNNELING" | "DICTIONARY_DGA"),
178
- ?confidence_threshold: ("LOW" | "MEDIUM" | "HIGH")
254
+ ?confidence_threshold: ("LOW" | "MEDIUM" | "HIGH"),
255
+ ?firewall_rule_type: Params::firewall_rule_type
179
256
  ) -> _CreateFirewallRuleResponseSuccess
180
257
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFirewallRuleResponseSuccess
181
258
 
@@ -649,6 +726,19 @@ module Aws
649
726
  ) -> _ListFirewallRuleGroupsResponseSuccess
650
727
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFirewallRuleGroupsResponseSuccess
651
728
 
729
+ interface _ListFirewallRuleTypesResponseSuccess
730
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFirewallRuleTypesResponse]
731
+ def firewall_rule_types: () -> ::Array[Types::FirewallRuleTypeDefinition]
732
+ def next_token: () -> ::String
733
+ end
734
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Resolver/Client.html#list_firewall_rule_types-instance_method
735
+ def list_firewall_rule_types: (
736
+ ?rule_type: ::String,
737
+ ?max_results: ::Integer,
738
+ ?next_token: ::String
739
+ ) -> _ListFirewallRuleTypesResponseSuccess
740
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFirewallRuleTypesResponseSuccess
741
+
652
742
  interface _ListFirewallRulesResponseSuccess
653
743
  include ::Seahorse::Client::_ResponseSuccess[Types::ListFirewallRulesResponse]
654
744
  def next_token: () -> ::String
@@ -938,7 +1028,8 @@ module Aws
938
1028
  ?firewall_domain_redirection_action: ("INSPECT_REDIRECTION_DOMAIN" | "TRUST_REDIRECTION_DOMAIN"),
939
1029
  ?qtype: ::String,
940
1030
  ?dns_threat_protection: ("DGA" | "DNS_TUNNELING" | "DICTIONARY_DGA"),
941
- ?confidence_threshold: ("LOW" | "MEDIUM" | "HIGH")
1031
+ ?confidence_threshold: ("LOW" | "MEDIUM" | "HIGH"),
1032
+ ?firewall_rule_type: Params::firewall_rule_type
942
1033
  ) -> _UpdateFirewallRuleResponseSuccess
943
1034
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFirewallRuleResponseSuccess
944
1035
 
data/sig/params.rbs ADDED
@@ -0,0 +1,26 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Route53Resolver
10
+ module Params
11
+ type firewall_rule_type = {
12
+ firewall_advanced_content_category: {
13
+ category: ::String
14
+ }?,
15
+ firewall_advanced_threat_category: {
16
+ category: ::String
17
+ }?,
18
+ dns_threat_protection: {
19
+ value: ::String,
20
+ confidence_threshold: ("LOW" | "MEDIUM" | "HIGH")
21
+ }?
22
+ }
23
+
24
+ end
25
+ end
26
+ end
data/sig/types.rbs CHANGED
@@ -63,6 +63,60 @@ module Aws::Route53Resolver
63
63
  SENSITIVE: []
64
64
  end
65
65
 
66
+ class BatchCreateFirewallRuleError
67
+ attr_accessor firewall_rule: Types::CreateFirewallRuleEntry
68
+ attr_accessor code: ::String
69
+ attr_accessor message: ::String
70
+ SENSITIVE: []
71
+ end
72
+
73
+ class BatchCreateFirewallRuleRequest
74
+ attr_accessor create_firewall_rule_entries: ::Array[Types::CreateFirewallRuleEntry]
75
+ SENSITIVE: []
76
+ end
77
+
78
+ class BatchCreateFirewallRuleResponse
79
+ attr_accessor created_firewall_rules: ::Array[Types::FirewallRule]
80
+ attr_accessor create_errors: ::Array[Types::BatchCreateFirewallRuleError]
81
+ SENSITIVE: []
82
+ end
83
+
84
+ class BatchDeleteFirewallRuleError
85
+ attr_accessor firewall_rule: Types::DeleteFirewallRuleEntry
86
+ attr_accessor code: ::String
87
+ attr_accessor message: ::String
88
+ SENSITIVE: []
89
+ end
90
+
91
+ class BatchDeleteFirewallRuleRequest
92
+ attr_accessor delete_firewall_rule_entries: ::Array[Types::DeleteFirewallRuleEntry]
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class BatchDeleteFirewallRuleResponse
97
+ attr_accessor deleted_firewall_rules: ::Array[Types::FirewallRule]
98
+ attr_accessor delete_errors: ::Array[Types::BatchDeleteFirewallRuleError]
99
+ SENSITIVE: []
100
+ end
101
+
102
+ class BatchUpdateFirewallRuleError
103
+ attr_accessor firewall_rule: Types::UpdateFirewallRuleEntry
104
+ attr_accessor code: ::String
105
+ attr_accessor message: ::String
106
+ SENSITIVE: []
107
+ end
108
+
109
+ class BatchUpdateFirewallRuleRequest
110
+ attr_accessor update_firewall_rule_entries: ::Array[Types::UpdateFirewallRuleEntry]
111
+ SENSITIVE: []
112
+ end
113
+
114
+ class BatchUpdateFirewallRuleResponse
115
+ attr_accessor updated_firewall_rules: ::Array[Types::FirewallRule]
116
+ attr_accessor update_errors: ::Array[Types::BatchUpdateFirewallRuleError]
117
+ SENSITIVE: []
118
+ end
119
+
66
120
  class ConflictException
67
121
  attr_accessor message: ::String
68
122
  SENSITIVE: []
@@ -80,6 +134,25 @@ module Aws::Route53Resolver
80
134
  SENSITIVE: []
81
135
  end
82
136
 
137
+ class CreateFirewallRuleEntry
138
+ attr_accessor creator_request_id: ::String
139
+ attr_accessor firewall_rule_group_id: ::String
140
+ attr_accessor firewall_domain_list_id: ::String
141
+ attr_accessor priority: ::Integer
142
+ attr_accessor action: ("ALLOW" | "BLOCK" | "ALERT")
143
+ attr_accessor block_response: ("NODATA" | "NXDOMAIN" | "OVERRIDE")
144
+ attr_accessor block_override_domain: ::String
145
+ attr_accessor block_override_dns_type: ("CNAME")
146
+ attr_accessor block_override_ttl: ::Integer
147
+ attr_accessor name: ::String
148
+ attr_accessor firewall_domain_redirection_action: ("INSPECT_REDIRECTION_DOMAIN" | "TRUST_REDIRECTION_DOMAIN")
149
+ attr_accessor qtype: ::String
150
+ attr_accessor dns_threat_protection: ("DGA" | "DNS_TUNNELING" | "DICTIONARY_DGA")
151
+ attr_accessor confidence_threshold: ("LOW" | "MEDIUM" | "HIGH")
152
+ attr_accessor firewall_rule_type: Types::FirewallRuleType
153
+ SENSITIVE: []
154
+ end
155
+
83
156
  class CreateFirewallRuleGroupRequest
84
157
  attr_accessor creator_request_id: ::String
85
158
  attr_accessor name: ::String
@@ -107,6 +180,7 @@ module Aws::Route53Resolver
107
180
  attr_accessor qtype: ::String
108
181
  attr_accessor dns_threat_protection: ("DGA" | "DNS_TUNNELING" | "DICTIONARY_DGA")
109
182
  attr_accessor confidence_threshold: ("LOW" | "MEDIUM" | "HIGH")
183
+ attr_accessor firewall_rule_type: Types::FirewallRuleType
110
184
  SENSITIVE: []
111
185
  end
112
186
 
@@ -193,6 +267,14 @@ module Aws::Route53Resolver
193
267
  SENSITIVE: []
194
268
  end
195
269
 
270
+ class DeleteFirewallRuleEntry
271
+ attr_accessor firewall_rule_group_id: ::String
272
+ attr_accessor firewall_domain_list_id: ::String
273
+ attr_accessor firewall_threat_protection_id: ::String
274
+ attr_accessor qtype: ::String
275
+ SENSITIVE: []
276
+ end
277
+
196
278
  class DeleteFirewallRuleGroupRequest
197
279
  attr_accessor firewall_rule_group_id: ::String
198
280
  SENSITIVE: []
@@ -299,12 +381,28 @@ module Aws::Route53Resolver
299
381
  SENSITIVE: []
300
382
  end
301
383
 
384
+ class DnsThreatProtectionRuleTypeConfig
385
+ attr_accessor value: ::String
386
+ attr_accessor confidence_threshold: ("LOW" | "MEDIUM" | "HIGH")
387
+ SENSITIVE: []
388
+ end
389
+
302
390
  class Filter
303
391
  attr_accessor name: ::String
304
392
  attr_accessor values: ::Array[::String]
305
393
  SENSITIVE: []
306
394
  end
307
395
 
396
+ class FirewallAdvancedContentCategoryConfig
397
+ attr_accessor category: ::String
398
+ SENSITIVE: []
399
+ end
400
+
401
+ class FirewallAdvancedThreatCategoryConfig
402
+ attr_accessor category: ::String
403
+ SENSITIVE: []
404
+ end
405
+
308
406
  class FirewallConfig
309
407
  attr_accessor id: ::String
310
408
  attr_accessor resource_id: ::String
@@ -324,6 +422,8 @@ module Aws::Route53Resolver
324
422
  attr_accessor creator_request_id: ::String
325
423
  attr_accessor creation_time: ::String
326
424
  attr_accessor modification_time: ::String
425
+ attr_accessor category: ::String
426
+ attr_accessor managed_list_type: ("THREAT" | "CONTENT")
327
427
  SENSITIVE: []
328
428
  end
329
429
 
@@ -333,6 +433,8 @@ module Aws::Route53Resolver
333
433
  attr_accessor name: ::String
334
434
  attr_accessor creator_request_id: ::String
335
435
  attr_accessor managed_owner_name: ::String
436
+ attr_accessor managed_list_type: ("THREAT" | "CONTENT")
437
+ attr_accessor category: ::String
336
438
  SENSITIVE: []
337
439
  end
338
440
 
@@ -354,6 +456,7 @@ module Aws::Route53Resolver
354
456
  attr_accessor qtype: ::String
355
457
  attr_accessor dns_threat_protection: ("DGA" | "DNS_TUNNELING" | "DICTIONARY_DGA")
356
458
  attr_accessor confidence_threshold: ("LOW" | "MEDIUM" | "HIGH")
459
+ attr_accessor firewall_rule_type: Types::FirewallRuleType
357
460
  SENSITIVE: []
358
461
  end
359
462
 
@@ -399,6 +502,21 @@ module Aws::Route53Resolver
399
502
  SENSITIVE: []
400
503
  end
401
504
 
505
+ class FirewallRuleType
506
+ attr_accessor firewall_advanced_content_category: Types::FirewallAdvancedContentCategoryConfig
507
+ attr_accessor firewall_advanced_threat_category: Types::FirewallAdvancedThreatCategoryConfig
508
+ attr_accessor dns_threat_protection: Types::DnsThreatProtectionRuleTypeConfig
509
+ SENSITIVE: []
510
+ end
511
+
512
+ class FirewallRuleTypeDefinition
513
+ attr_accessor rule_type: ::String
514
+ attr_accessor value: ::String
515
+ attr_accessor display_name: ::String
516
+ attr_accessor description: ::String
517
+ SENSITIVE: []
518
+ end
519
+
402
520
  class GetFirewallConfigRequest
403
521
  attr_accessor resource_id: ::String
404
522
  SENSITIVE: []
@@ -693,6 +811,19 @@ module Aws::Route53Resolver
693
811
  SENSITIVE: []
694
812
  end
695
813
 
814
+ class ListFirewallRuleTypesRequest
815
+ attr_accessor rule_type: ::String
816
+ attr_accessor max_results: ::Integer
817
+ attr_accessor next_token: ::String
818
+ SENSITIVE: []
819
+ end
820
+
821
+ class ListFirewallRuleTypesResponse
822
+ attr_accessor firewall_rule_types: ::Array[Types::FirewallRuleTypeDefinition]
823
+ attr_accessor next_token: ::String
824
+ SENSITIVE: []
825
+ end
826
+
696
827
  class ListFirewallRulesRequest
697
828
  attr_accessor firewall_rule_group_id: ::String
698
829
  attr_accessor priority: ::Integer
@@ -1096,6 +1227,25 @@ module Aws::Route53Resolver
1096
1227
  SENSITIVE: []
1097
1228
  end
1098
1229
 
1230
+ class UpdateFirewallRuleEntry
1231
+ attr_accessor firewall_rule_group_id: ::String
1232
+ attr_accessor firewall_domain_list_id: ::String
1233
+ attr_accessor firewall_threat_protection_id: ::String
1234
+ attr_accessor priority: ::Integer
1235
+ attr_accessor action: ("ALLOW" | "BLOCK" | "ALERT")
1236
+ attr_accessor block_response: ("NODATA" | "NXDOMAIN" | "OVERRIDE")
1237
+ attr_accessor block_override_domain: ::String
1238
+ attr_accessor block_override_dns_type: ("CNAME")
1239
+ attr_accessor block_override_ttl: ::Integer
1240
+ attr_accessor name: ::String
1241
+ attr_accessor firewall_domain_redirection_action: ("INSPECT_REDIRECTION_DOMAIN" | "TRUST_REDIRECTION_DOMAIN")
1242
+ attr_accessor qtype: ::String
1243
+ attr_accessor dns_threat_protection: ("DGA" | "DNS_TUNNELING" | "DICTIONARY_DGA")
1244
+ attr_accessor confidence_threshold: ("LOW" | "MEDIUM" | "HIGH")
1245
+ attr_accessor firewall_rule_type: Types::FirewallRuleType
1246
+ SENSITIVE: []
1247
+ end
1248
+
1099
1249
  class UpdateFirewallRuleGroupAssociationRequest
1100
1250
  attr_accessor firewall_rule_group_association_id: ::String
1101
1251
  attr_accessor priority: ::Integer
@@ -1124,6 +1274,7 @@ module Aws::Route53Resolver
1124
1274
  attr_accessor qtype: ::String
1125
1275
  attr_accessor dns_threat_protection: ("DGA" | "DNS_TUNNELING" | "DICTIONARY_DGA")
1126
1276
  attr_accessor confidence_threshold: ("LOW" | "MEDIUM" | "HIGH")
1277
+ attr_accessor firewall_rule_type: Types::FirewallRuleType
1127
1278
  SENSITIVE: []
1128
1279
  end
1129
1280
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-route53resolver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.98.0
4
+ version: 1.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.247.0
21
+ version: 3.248.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.247.0
31
+ version: 3.248.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -67,6 +67,7 @@ files:
67
67
  - lib/aws-sdk-route53resolver/types.rb
68
68
  - sig/client.rbs
69
69
  - sig/errors.rbs
70
+ - sig/params.rbs
70
71
  - sig/resource.rbs
71
72
  - sig/types.rbs
72
73
  - sig/waiters.rbs