aws-sdk-route53resolver 1.17.0 → 1.22.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,7 @@ module Aws::Route53Resolver
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccessDeniedException}
30
31
  # * {InternalServiceErrorException}
31
32
  # * {InvalidNextTokenException}
32
33
  # * {InvalidParameterException}
@@ -47,6 +48,21 @@ module Aws::Route53Resolver
47
48
 
48
49
  extend Aws::Errors::DynamicErrors
49
50
 
51
+ class AccessDeniedException < ServiceError
52
+
53
+ # @param [Seahorse::Client::RequestContext] context
54
+ # @param [String] message
55
+ # @param [Aws::Route53Resolver::Types::AccessDeniedException] data
56
+ def initialize(context, message, data = Aws::EmptyStructure.new)
57
+ super(context, message, data)
58
+ end
59
+
60
+ # @return [String]
61
+ def message
62
+ @message || @data[:message]
63
+ end
64
+ end
65
+
50
66
  class InternalServiceErrorException < ServiceError
51
67
 
52
68
  # @param [Seahorse::Client::RequestContext] context
@@ -10,6 +10,20 @@
10
10
  module Aws::Route53Resolver
11
11
  module Types
12
12
 
13
+ # The current account doesn't have the IAM permissions required to
14
+ # perform the specified Resolver operation.
15
+ #
16
+ # @!attribute [rw] message
17
+ # @return [String]
18
+ #
19
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AccessDeniedException AWS API Documentation
20
+ #
21
+ class AccessDeniedException < Struct.new(
22
+ :message)
23
+ SENSITIVE = []
24
+ include Aws::Structure
25
+ end
26
+
13
27
  # @note When making an API call, you may pass AssociateResolverEndpointIpAddressRequest
14
28
  # data as a hash:
15
29
  #
@@ -23,12 +37,12 @@ module Aws::Route53Resolver
23
37
  # }
24
38
  #
25
39
  # @!attribute [rw] resolver_endpoint_id
26
- # The ID of the resolver endpoint that you want to associate IP
40
+ # The ID of the Resolver endpoint that you want to associate IP
27
41
  # addresses with.
28
42
  # @return [String]
29
43
  #
30
44
  # @!attribute [rw] ip_address
31
- # Either the IPv4 address that you want to add to a resolver endpoint
45
+ # Either the IPv4 address that you want to add to a Resolver endpoint
32
46
  # or a subnet ID. If you specify a subnet ID, Resolver chooses an IP
33
47
  # address for you from the available IPs in the specified subnet.
34
48
  # @return [Types::IpAddressUpdate]
@@ -54,6 +68,51 @@ module Aws::Route53Resolver
54
68
  include Aws::Structure
55
69
  end
56
70
 
71
+ # @note When making an API call, you may pass AssociateResolverQueryLogConfigRequest
72
+ # data as a hash:
73
+ #
74
+ # {
75
+ # resolver_query_log_config_id: "ResourceId", # required
76
+ # resource_id: "ResourceId", # required
77
+ # }
78
+ #
79
+ # @!attribute [rw] resolver_query_log_config_id
80
+ # The ID of the query logging configuration that you want to associate
81
+ # a VPC with.
82
+ # @return [String]
83
+ #
84
+ # @!attribute [rw] resource_id
85
+ # The ID of an Amazon VPC that you want this query logging
86
+ # configuration to log queries for.
87
+ #
88
+ # <note markdown="1"> The VPCs and the query logging configuration must be in the same
89
+ # Region.
90
+ #
91
+ # </note>
92
+ # @return [String]
93
+ #
94
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverQueryLogConfigRequest AWS API Documentation
95
+ #
96
+ class AssociateResolverQueryLogConfigRequest < Struct.new(
97
+ :resolver_query_log_config_id,
98
+ :resource_id)
99
+ SENSITIVE = []
100
+ include Aws::Structure
101
+ end
102
+
103
+ # @!attribute [rw] resolver_query_log_config_association
104
+ # A complex type that contains settings for a specified association
105
+ # between an Amazon VPC and a query logging configuration.
106
+ # @return [Types::ResolverQueryLogConfigAssociation]
107
+ #
108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverQueryLogConfigResponse AWS API Documentation
109
+ #
110
+ class AssociateResolverQueryLogConfigResponse < Struct.new(
111
+ :resolver_query_log_config_association)
112
+ SENSITIVE = []
113
+ include Aws::Structure
114
+ end
115
+
57
116
  # @note When making an API call, you may pass AssociateResolverRuleRequest
58
117
  # data as a hash:
59
118
  #
@@ -64,17 +123,21 @@ module Aws::Route53Resolver
64
123
  # }
65
124
  #
66
125
  # @!attribute [rw] resolver_rule_id
67
- # The ID of the resolver rule that you want to associate with the VPC.
68
- # To list the existing resolver rules, use ListResolverRules.
126
+ # The ID of the Resolver rule that you want to associate with the VPC.
127
+ # To list the existing Resolver rules, use [ListResolverRules][1].
128
+ #
129
+ #
130
+ #
131
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
69
132
  # @return [String]
70
133
  #
71
134
  # @!attribute [rw] name
72
- # A name for the association that you're creating between a resolver
135
+ # A name for the association that you're creating between a Resolver
73
136
  # rule and a VPC.
74
137
  # @return [String]
75
138
  #
76
139
  # @!attribute [rw] vpc_id
77
- # The ID of the VPC that you want to associate the resolver rule with.
140
+ # The ID of the VPC that you want to associate the Resolver rule with.
78
141
  # @return [String]
79
142
  #
80
143
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverRuleRequest AWS API Documentation
@@ -116,8 +179,8 @@ module Aws::Route53Resolver
116
179
  # ],
117
180
  # tags: [
118
181
  # {
119
- # key: "TagKey",
120
- # value: "TagValue",
182
+ # key: "TagKey", # required
183
+ # value: "TagValue", # required
121
184
  # },
122
185
  # ],
123
186
  # }
@@ -137,25 +200,27 @@ module Aws::Route53Resolver
137
200
  # @!attribute [rw] security_group_ids
138
201
  # The ID of one or more security groups that you want to use to
139
202
  # control access to this VPC. The security group that you specify must
140
- # include one or more inbound rules (for inbound resolver endpoints)
141
- # or outbound rules (for outbound resolver endpoints).
203
+ # include one or more inbound rules (for inbound Resolver endpoints)
204
+ # or outbound rules (for outbound Resolver endpoints). Inbound and
205
+ # outbound rules must allow TCP and UDP access. For inbound access,
206
+ # open port 53. For outbound access, open the port that you're using
207
+ # for DNS queries on your network.
142
208
  # @return [Array<String>]
143
209
  #
144
210
  # @!attribute [rw] direction
145
211
  # Specify the applicable value:
146
212
  #
147
213
  # * `INBOUND`\: Resolver forwards DNS queries to the DNS service for a
148
- # VPC from your network or another VPC
214
+ # VPC from your network
149
215
  #
150
216
  # * `OUTBOUND`\: Resolver forwards DNS queries from the DNS service
151
- # for a VPC to your network or another VPC
217
+ # for a VPC to your network
152
218
  # @return [String]
153
219
  #
154
220
  # @!attribute [rw] ip_addresses
155
- # The subnets and IP addresses in your VPC that you want DNS queries
156
- # to pass through on the way from your VPCs to your network (for
157
- # outbound endpoints) or on the way from your network to your VPCs
158
- # (for inbound resolver endpoints).
221
+ # The subnets and IP addresses in your VPC that DNS queries originate
222
+ # from (for outbound endpoints) or that you forward DNS queries to
223
+ # (for inbound endpoints). The subnet ID uniquely identifies a VPC.
159
224
  # @return [Array<Types::IpAddressRequest>]
160
225
  #
161
226
  # @!attribute [rw] tags
@@ -189,6 +254,87 @@ module Aws::Route53Resolver
189
254
  include Aws::Structure
190
255
  end
191
256
 
257
+ # @note When making an API call, you may pass CreateResolverQueryLogConfigRequest
258
+ # data as a hash:
259
+ #
260
+ # {
261
+ # name: "ResolverQueryLogConfigName", # required
262
+ # destination_arn: "DestinationArn", # required
263
+ # creator_request_id: "CreatorRequestId", # required
264
+ # tags: [
265
+ # {
266
+ # key: "TagKey", # required
267
+ # value: "TagValue", # required
268
+ # },
269
+ # ],
270
+ # }
271
+ #
272
+ # @!attribute [rw] name
273
+ # The name that you want to give the query logging configuration
274
+ # @return [String]
275
+ #
276
+ # @!attribute [rw] destination_arn
277
+ # The ARN of the resource that you want Resolver to send query logs.
278
+ # You can send query logs to an S3 bucket, a CloudWatch Logs log
279
+ # group, or a Kinesis Data Firehose delivery stream. Examples of valid
280
+ # values include the following:
281
+ #
282
+ # * **S3 bucket**\:
283
+ #
284
+ # `arn:aws:s3:::examplebucket`
285
+ #
286
+ # You can optionally append a file prefix to the end of the ARN.
287
+ #
288
+ # `arn:aws:s3:::examplebucket/development/`
289
+ #
290
+ # * **CloudWatch Logs log group**\:
291
+ #
292
+ # `arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:*`
293
+ #
294
+ # * **Kinesis Data Firehose delivery stream**\:
295
+ #
296
+ # `arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name`
297
+ # @return [String]
298
+ #
299
+ # @!attribute [rw] creator_request_id
300
+ # A unique string that identifies the request and that allows failed
301
+ # requests to be retried without the risk of executing the operation
302
+ # twice. `CreatorRequestId` can be any unique string, for example, a
303
+ # date/time stamp.
304
+ #
305
+ # **A suitable default value is auto-generated.** You should normally
306
+ # not need to pass this option.
307
+ # @return [String]
308
+ #
309
+ # @!attribute [rw] tags
310
+ # A list of the tag keys and values that you want to associate with
311
+ # the query logging configuration.
312
+ # @return [Array<Types::Tag>]
313
+ #
314
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverQueryLogConfigRequest AWS API Documentation
315
+ #
316
+ class CreateResolverQueryLogConfigRequest < Struct.new(
317
+ :name,
318
+ :destination_arn,
319
+ :creator_request_id,
320
+ :tags)
321
+ SENSITIVE = []
322
+ include Aws::Structure
323
+ end
324
+
325
+ # @!attribute [rw] resolver_query_log_config
326
+ # Information about the `CreateResolverQueryLogConfig` request,
327
+ # including the status of the request.
328
+ # @return [Types::ResolverQueryLogConfig]
329
+ #
330
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverQueryLogConfigResponse AWS API Documentation
331
+ #
332
+ class CreateResolverQueryLogConfigResponse < Struct.new(
333
+ :resolver_query_log_config)
334
+ SENSITIVE = []
335
+ include Aws::Structure
336
+ end
337
+
192
338
  # @note When making an API call, you may pass CreateResolverRuleRequest
193
339
  # data as a hash:
194
340
  #
@@ -206,8 +352,8 @@ module Aws::Route53Resolver
206
352
  # resolver_endpoint_id: "ResourceId",
207
353
  # tags: [
208
354
  # {
209
- # key: "TagKey",
210
- # value: "TagValue",
355
+ # key: "TagKey", # required
356
+ # value: "TagValue", # required
211
357
  # },
212
358
  # ],
213
359
  # }
@@ -225,24 +371,41 @@ module Aws::Route53Resolver
225
371
  # @return [String]
226
372
  #
227
373
  # @!attribute [rw] rule_type
228
- # Specify `FORWARD`. Other resolver rule types aren't supported.
374
+ # When you want to forward DNS queries for specified domain name to
375
+ # resolvers on your network, specify `FORWARD`.
376
+ #
377
+ # When you have a forwarding rule to forward DNS queries for a domain
378
+ # to your network and you want Resolver to process queries for a
379
+ # subdomain of that domain, specify `SYSTEM`.
380
+ #
381
+ # For example, to forward DNS queries for example.com to resolvers on
382
+ # your network, you create a rule and specify `FORWARD` for
383
+ # `RuleType`. To then have Resolver process queries for
384
+ # apex.example.com, you create a rule and specify `SYSTEM` for
385
+ # `RuleType`.
386
+ #
387
+ # Currently, only Resolver can create rules that have a value of
388
+ # `RECURSIVE` for `RuleType`.
229
389
  # @return [String]
230
390
  #
231
391
  # @!attribute [rw] domain_name
232
392
  # DNS queries for this domain name are forwarded to the IP addresses
233
393
  # that you specify in `TargetIps`. If a query matches multiple
234
- # resolver rules (example.com and www.example.com), outbound DNS
235
- # queries are routed using the resolver rule that contains the most
394
+ # Resolver rules (example.com and www.example.com), outbound DNS
395
+ # queries are routed using the Resolver rule that contains the most
236
396
  # specific domain name (www.example.com).
237
397
  # @return [String]
238
398
  #
239
399
  # @!attribute [rw] target_ips
240
400
  # The IPs that you want Resolver to forward DNS queries to. You can
241
401
  # specify only IPv4 addresses. Separate IP addresses with a comma.
402
+ #
403
+ # `TargetIps` is available only when the value of `Rule type` is
404
+ # `FORWARD`.
242
405
  # @return [Array<Types::TargetAddress>]
243
406
  #
244
407
  # @!attribute [rw] resolver_endpoint_id
245
- # The ID of the outbound resolver endpoint that you want to use to
408
+ # The ID of the outbound Resolver endpoint that you want to use to
246
409
  # route DNS queries to the IP addresses that you specify in
247
410
  # `TargetIps`.
248
411
  # @return [String]
@@ -287,7 +450,7 @@ module Aws::Route53Resolver
287
450
  # }
288
451
  #
289
452
  # @!attribute [rw] resolver_endpoint_id
290
- # The ID of the resolver endpoint that you want to delete.
453
+ # The ID of the Resolver endpoint that you want to delete.
291
454
  # @return [String]
292
455
  #
293
456
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverEndpointRequest AWS API Documentation
@@ -311,6 +474,38 @@ module Aws::Route53Resolver
311
474
  include Aws::Structure
312
475
  end
313
476
 
477
+ # @note When making an API call, you may pass DeleteResolverQueryLogConfigRequest
478
+ # data as a hash:
479
+ #
480
+ # {
481
+ # resolver_query_log_config_id: "ResourceId", # required
482
+ # }
483
+ #
484
+ # @!attribute [rw] resolver_query_log_config_id
485
+ # The ID of the query logging configuration that you want to delete.
486
+ # @return [String]
487
+ #
488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverQueryLogConfigRequest AWS API Documentation
489
+ #
490
+ class DeleteResolverQueryLogConfigRequest < Struct.new(
491
+ :resolver_query_log_config_id)
492
+ SENSITIVE = []
493
+ include Aws::Structure
494
+ end
495
+
496
+ # @!attribute [rw] resolver_query_log_config
497
+ # Information about the query logging configuration that you deleted,
498
+ # including the status of the request.
499
+ # @return [Types::ResolverQueryLogConfig]
500
+ #
501
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverQueryLogConfigResponse AWS API Documentation
502
+ #
503
+ class DeleteResolverQueryLogConfigResponse < Struct.new(
504
+ :resolver_query_log_config)
505
+ SENSITIVE = []
506
+ include Aws::Structure
507
+ end
508
+
314
509
  # @note When making an API call, you may pass DeleteResolverRuleRequest
315
510
  # data as a hash:
316
511
  #
@@ -319,7 +514,7 @@ module Aws::Route53Resolver
319
514
  # }
320
515
  #
321
516
  # @!attribute [rw] resolver_rule_id
322
- # The ID of the resolver rule that you want to delete.
517
+ # The ID of the Resolver rule that you want to delete.
323
518
  # @return [String]
324
519
  #
325
520
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRuleRequest AWS API Documentation
@@ -356,12 +551,12 @@ module Aws::Route53Resolver
356
551
  # }
357
552
  #
358
553
  # @!attribute [rw] resolver_endpoint_id
359
- # The ID of the resolver endpoint that you want to disassociate an IP
554
+ # The ID of the Resolver endpoint that you want to disassociate an IP
360
555
  # address from.
361
556
  # @return [String]
362
557
  #
363
558
  # @!attribute [rw] ip_address
364
- # The IPv4 address that you want to remove from a resolver endpoint.
559
+ # The IPv4 address that you want to remove from a Resolver endpoint.
365
560
  # @return [Types::IpAddressUpdate]
366
561
  #
367
562
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverEndpointIpAddressRequest AWS API Documentation
@@ -385,6 +580,46 @@ module Aws::Route53Resolver
385
580
  include Aws::Structure
386
581
  end
387
582
 
583
+ # @note When making an API call, you may pass DisassociateResolverQueryLogConfigRequest
584
+ # data as a hash:
585
+ #
586
+ # {
587
+ # resolver_query_log_config_id: "ResourceId", # required
588
+ # resource_id: "ResourceId", # required
589
+ # }
590
+ #
591
+ # @!attribute [rw] resolver_query_log_config_id
592
+ # The ID of the query logging configuration that you want to
593
+ # disassociate a specified VPC from.
594
+ # @return [String]
595
+ #
596
+ # @!attribute [rw] resource_id
597
+ # The ID of the Amazon VPC that you want to disassociate from a
598
+ # specified query logging configuration.
599
+ # @return [String]
600
+ #
601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverQueryLogConfigRequest AWS API Documentation
602
+ #
603
+ class DisassociateResolverQueryLogConfigRequest < Struct.new(
604
+ :resolver_query_log_config_id,
605
+ :resource_id)
606
+ SENSITIVE = []
607
+ include Aws::Structure
608
+ end
609
+
610
+ # @!attribute [rw] resolver_query_log_config_association
611
+ # A complex type that contains settings for the association that you
612
+ # deleted between an Amazon VPC and a query logging configuration.
613
+ # @return [Types::ResolverQueryLogConfigAssociation]
614
+ #
615
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverQueryLogConfigResponse AWS API Documentation
616
+ #
617
+ class DisassociateResolverQueryLogConfigResponse < Struct.new(
618
+ :resolver_query_log_config_association)
619
+ SENSITIVE = []
620
+ include Aws::Structure
621
+ end
622
+
388
623
  # @note When making an API call, you may pass DisassociateResolverRuleRequest
389
624
  # data as a hash:
390
625
  #
@@ -394,12 +629,12 @@ module Aws::Route53Resolver
394
629
  # }
395
630
  #
396
631
  # @!attribute [rw] vpc_id
397
- # The ID of the VPC that you want to disassociate the resolver rule
632
+ # The ID of the VPC that you want to disassociate the Resolver rule
398
633
  # from.
399
634
  # @return [String]
400
635
  #
401
636
  # @!attribute [rw] resolver_rule_id
402
- # The ID of the resolver rule that you want to disassociate from the
637
+ # The ID of the Resolver rule that you want to disassociate from the
403
638
  # specified VPC.
404
639
  # @return [String]
405
640
  #
@@ -425,8 +660,26 @@ module Aws::Route53Resolver
425
660
  include Aws::Structure
426
661
  end
427
662
 
428
- # For `List` operations, an optional specification to return a subset of
429
- # objects, such as resolver endpoints or resolver rules.
663
+ # For Resolver list operations ([ListResolverEndpoints][1],
664
+ # [ListResolverRules][2], [ListResolverRuleAssociations][3],
665
+ # [ListResolverQueryLogConfigs][4],
666
+ # [ListResolverQueryLogConfigAssociations][5]), and
667
+ # [ListResolverDnssecConfigs][6]), an optional specification to return a
668
+ # subset of objects.
669
+ #
670
+ # To filter objects, such as Resolver endpoints or Resolver rules, you
671
+ # specify `Name` and `Values`. For example, to list only inbound
672
+ # Resolver endpoints, specify `Direction` for `Name` and specify
673
+ # `INBOUND` for `Values`.
674
+ #
675
+ #
676
+ #
677
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
678
+ # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
679
+ # [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
680
+ # [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigs.html
681
+ # [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigAssociations.html
682
+ # [6]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverDnssecConfigs.html
430
683
  #
431
684
  # @note When making an API call, you may pass Filter
432
685
  # data as a hash:
@@ -437,19 +690,194 @@ module Aws::Route53Resolver
437
690
  # }
438
691
  #
439
692
  # @!attribute [rw] name
440
- # When you're using a `List` operation and you want the operation to
441
- # return a subset of objects, such as resolver endpoints or resolver
442
- # rules, the name of the parameter that you want to use to filter
443
- # objects. For example, to list only inbound resolver endpoints,
444
- # specify `Direction` for the value of `Name`.
693
+ # The name of the parameter that you want to use to filter objects.
694
+ #
695
+ # The valid values for `Name` depend on the action that you're
696
+ # including the filter in, [ListResolverEndpoints][1],
697
+ # [ListResolverRules][2], [ListResolverRuleAssociations][3],
698
+ # [ListResolverQueryLogConfigs][4], or
699
+ # [ListResolverQueryLogConfigAssociations][5].
700
+ #
701
+ # <note markdown="1"> In early versions of Resolver, values for `Name` were listed as
702
+ # uppercase, with underscore (\_) delimiters. For example,
703
+ # `CreatorRequestId` was originally listed as `CREATOR_REQUEST_ID`.
704
+ # Uppercase values for `Name` are still supported.
705
+ #
706
+ # </note>
707
+ #
708
+ # **ListResolverEndpoints**
709
+ #
710
+ # Valid values for `Name` include the following:
711
+ #
712
+ # * `CreatorRequestId`\: The value that you specified when you created
713
+ # the Resolver endpoint.
714
+ #
715
+ # * `Direction`\: Whether you want to return inbound or outbound
716
+ # Resolver endpoints. If you specify `DIRECTION` for `Name`, specify
717
+ # `INBOUND` or `OUTBOUND` for `Values`.
718
+ #
719
+ # * `HostVpcId`\: The ID of the VPC that inbound DNS queries pass
720
+ # through on the way from your network to your VPCs in a region, or
721
+ # the VPC that outbound queries pass through on the way from your
722
+ # VPCs to your network. In a [CreateResolverEndpoint][6] request,
723
+ # `SubnetId` indirectly identifies the VPC. In a
724
+ # [GetResolverEndpoint][7] request, the VPC ID for a Resolver
725
+ # endpoint is returned in the `HostVPCId` element.
726
+ #
727
+ # * `IpAddressCount`\: The number of IP addresses that you have
728
+ # associated with the Resolver endpoint.
729
+ #
730
+ # * `Name`\: The name of the Resolver endpoint.
731
+ #
732
+ # * `SecurityGroupIds`\: The IDs of the VPC security groups that you
733
+ # specified when you created the Resolver endpoint.
734
+ #
735
+ # * `Status`\: The status of the Resolver endpoint. If you specify
736
+ # `Status` for `Name`, specify one of the following status codes for
737
+ # `Values`\: `CREATING`, `OPERATIONAL`, `UPDATING`,
738
+ # `AUTO_RECOVERING`, `ACTION_NEEDED`, or `DELETING`. For more
739
+ # information, see `Status` in [ResolverEndpoint][8].
740
+ #
741
+ # **ListResolverRules**
742
+ #
743
+ # Valid values for `Name` include the following:
744
+ #
745
+ # * `CreatorRequestId`\: The value that you specified when you created
746
+ # the Resolver rule.
747
+ #
748
+ # * `DomainName`\: The domain name for which Resolver is forwarding
749
+ # DNS queries to your network. In the value that you specify for
750
+ # `Values`, include a trailing dot (.) after the domain name. For
751
+ # example, if the domain name is example.com, specify the following
752
+ # value. Note the "." after `com`\:
753
+ #
754
+ # `example.com.`
755
+ #
756
+ # * `Name`\: The name of the Resolver rule.
757
+ #
758
+ # * `ResolverEndpointId`\: The ID of the Resolver endpoint that the
759
+ # Resolver rule is associated with.
760
+ #
761
+ # <note markdown="1"> You can filter on the Resolver endpoint only for rules that have a
762
+ # value of `FORWARD` for `RuleType`.
763
+ #
764
+ # </note>
765
+ #
766
+ # * `Status`\: The status of the Resolver rule. If you specify
767
+ # `Status` for `Name`, specify one of the following status codes for
768
+ # `Values`\: `COMPLETE`, `DELETING`, `UPDATING`, or `FAILED`.
769
+ #
770
+ # * `Type`\: The type of the Resolver rule. If you specify `TYPE` for
771
+ # `Name`, specify `FORWARD` or `SYSTEM` for `Values`.
772
+ #
773
+ # **ListResolverRuleAssociations**
774
+ #
775
+ # Valid values for `Name` include the following:
776
+ #
777
+ # * `Name`\: The name of the Resolver rule association.
778
+ #
779
+ # * `ResolverRuleId`\: The ID of the Resolver rule that is associated
780
+ # with one or more VPCs.
781
+ #
782
+ # * `Status`\: The status of the Resolver rule association. If you
783
+ # specify `Status` for `Name`, specify one of the following status
784
+ # codes for `Values`\: `CREATING`, `COMPLETE`, `DELETING`, or
785
+ # `FAILED`.
786
+ #
787
+ # * `VPCId`\: The ID of the VPC that the Resolver rule is associated
788
+ # with.
789
+ #
790
+ # **ListResolverQueryLogConfigs**
791
+ #
792
+ # Valid values for `Name` include the following:
793
+ #
794
+ # * `Arn`\: The ARN for the query logging configuration.
795
+ #
796
+ # * `AssociationCount`\: The number of VPCs that are associated with
797
+ # the query logging configuration.
798
+ #
799
+ # * `CreationTime`\: The date and time that the query logging
800
+ # configuration was created, in Unix time format and Coordinated
801
+ # Universal Time (UTC).
802
+ #
803
+ # * `CreatorRequestId`\: A unique string that identifies the request
804
+ # that created the query logging configuration.
805
+ #
806
+ # * `Destination`\: The AWS service that you want to forward query
807
+ # logs to. Valid values include the following:
808
+ #
809
+ # * `S3`
810
+ #
811
+ # * `CloudWatchLogs`
812
+ #
813
+ # * `KinesisFirehose`
814
+ #
815
+ # * `DestinationArn`\: The ARN of the location that Resolver is
816
+ # sending query logs to. This value can be the ARN for an S3 bucket,
817
+ # a CloudWatch Logs log group, or a Kinesis Data Firehose delivery
818
+ # stream.
819
+ #
820
+ # * `Id`\: The ID of the query logging configuration
821
+ #
822
+ # * `Name`\: The name of the query logging configuration
823
+ #
824
+ # * `OwnerId`\: The AWS account ID for the account that created the
825
+ # query logging configuration.
826
+ #
827
+ # * `ShareStatus`\: An indication of whether the query logging
828
+ # configuration is shared with other AWS accounts, or was shared
829
+ # with the current account by another AWS account. Valid values
830
+ # include: `NOT_SHARED`, `SHARED_WITH_ME`, or `SHARED_BY_ME`.
831
+ #
832
+ # * `Status`\: The status of the query logging configuration. If you
833
+ # specify `Status` for `Name`, specify the applicable status code
834
+ # for `Values`\: `CREATING`, `CREATED`, `DELETING`, or `FAILED`. For
835
+ # more information, see [Status][9].
836
+ #
837
+ # **ListResolverQueryLogConfigAssociations**
838
+ #
839
+ # Valid values for `Name` include the following:
840
+ #
841
+ # * `CreationTime`\: The date and time that the VPC was associated
842
+ # with the query logging configuration, in Unix time format and
843
+ # Coordinated Universal Time (UTC).
844
+ #
845
+ # * `Error`\: If the value of `Status` is `FAILED`, specify the cause:
846
+ # `DESTINATION_NOT_FOUND` or `ACCESS_DENIED`.
847
+ #
848
+ # * `Id`\: The ID of the query logging association.
849
+ #
850
+ # * `ResolverQueryLogConfigId`\: The ID of the query logging
851
+ # configuration that a VPC is associated with.
852
+ #
853
+ # * `ResourceId`\: The ID of the Amazon VPC that is associated with
854
+ # the query logging configuration.
855
+ #
856
+ # * `Status`\: The status of the query logging association. If you
857
+ # specify `Status` for `Name`, specify the applicable status code
858
+ # for `Values`\: `CREATING`, `CREATED`, `DELETING`, or `FAILED`. For
859
+ # more information, see [Status][10].
860
+ #
861
+ #
862
+ #
863
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
864
+ # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
865
+ # [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
866
+ # [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigs.html
867
+ # [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigAssociations.html
868
+ # [6]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html
869
+ # [7]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
870
+ # [8]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ResolverEndpoint.html
871
+ # [9]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ResolverQueryLogConfig.html#Route53Resolver-Type-route53resolver_ResolverQueryLogConfig-Status
872
+ # [10]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ResolverQueryLogConfigAssociation.html#Route53Resolver-Type-route53resolver_ResolverQueryLogConfigAssociation-Status
445
873
  # @return [String]
446
874
  #
447
875
  # @!attribute [rw] values
448
876
  # When you're using a `List` operation and you want the operation to
449
- # return a subset of objects, such as resolver endpoints or resolver
877
+ # return a subset of objects, such as Resolver endpoints or Resolver
450
878
  # rules, the value of the parameter that you want to use to filter
451
- # objects. For example, to list only inbound resolver endpoints,
452
- # specify `INBOUND` for the value of `Values`.
879
+ # objects. For example, to list only inbound Resolver endpoints,
880
+ # specify `Direction` for `Name` and specify `INBOUND` for `Values`.
453
881
  # @return [Array<String>]
454
882
  #
455
883
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/Filter AWS API Documentation
@@ -461,6 +889,38 @@ module Aws::Route53Resolver
461
889
  include Aws::Structure
462
890
  end
463
891
 
892
+ # @note When making an API call, you may pass GetResolverDnssecConfigRequest
893
+ # data as a hash:
894
+ #
895
+ # {
896
+ # resource_id: "ResourceId", # required
897
+ # }
898
+ #
899
+ # @!attribute [rw] resource_id
900
+ # The ID of the virtual private cloud (VPC) for the DNSSEC validation
901
+ # status.
902
+ # @return [String]
903
+ #
904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverDnssecConfigRequest AWS API Documentation
905
+ #
906
+ class GetResolverDnssecConfigRequest < Struct.new(
907
+ :resource_id)
908
+ SENSITIVE = []
909
+ include Aws::Structure
910
+ end
911
+
912
+ # @!attribute [rw] resolver_dnssec_config
913
+ # The information about a configuration for DNSSEC validation.
914
+ # @return [Types::ResolverDnssecConfig]
915
+ #
916
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverDnssecConfigResponse AWS API Documentation
917
+ #
918
+ class GetResolverDnssecConfigResponse < Struct.new(
919
+ :resolver_dnssec_config)
920
+ SENSITIVE = []
921
+ include Aws::Structure
922
+ end
923
+
464
924
  # @note When making an API call, you may pass GetResolverEndpointRequest
465
925
  # data as a hash:
466
926
  #
@@ -469,7 +929,7 @@ module Aws::Route53Resolver
469
929
  # }
470
930
  #
471
931
  # @!attribute [rw] resolver_endpoint_id
472
- # The ID of the resolver endpoint that you want to get information
932
+ # The ID of the Resolver endpoint that you want to get information
473
933
  # about.
474
934
  # @return [String]
475
935
  #
@@ -482,7 +942,7 @@ module Aws::Route53Resolver
482
942
  end
483
943
 
484
944
  # @!attribute [rw] resolver_endpoint
485
- # Information about the resolver endpoint that you specified in a
945
+ # Information about the Resolver endpoint that you specified in a
486
946
  # `GetResolverEndpoint` request.
487
947
  # @return [Types::ResolverEndpoint]
488
948
  #
@@ -494,6 +954,107 @@ module Aws::Route53Resolver
494
954
  include Aws::Structure
495
955
  end
496
956
 
957
+ # @note When making an API call, you may pass GetResolverQueryLogConfigAssociationRequest
958
+ # data as a hash:
959
+ #
960
+ # {
961
+ # resolver_query_log_config_association_id: "ResourceId", # required
962
+ # }
963
+ #
964
+ # @!attribute [rw] resolver_query_log_config_association_id
965
+ # The ID of the Resolver query logging configuration association that
966
+ # you want to get information about.
967
+ # @return [String]
968
+ #
969
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigAssociationRequest AWS API Documentation
970
+ #
971
+ class GetResolverQueryLogConfigAssociationRequest < Struct.new(
972
+ :resolver_query_log_config_association_id)
973
+ SENSITIVE = []
974
+ include Aws::Structure
975
+ end
976
+
977
+ # @!attribute [rw] resolver_query_log_config_association
978
+ # Information about the Resolver query logging configuration
979
+ # association that you specified in a `GetQueryLogConfigAssociation`
980
+ # request.
981
+ # @return [Types::ResolverQueryLogConfigAssociation]
982
+ #
983
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigAssociationResponse AWS API Documentation
984
+ #
985
+ class GetResolverQueryLogConfigAssociationResponse < Struct.new(
986
+ :resolver_query_log_config_association)
987
+ SENSITIVE = []
988
+ include Aws::Structure
989
+ end
990
+
991
+ # @note When making an API call, you may pass GetResolverQueryLogConfigPolicyRequest
992
+ # data as a hash:
993
+ #
994
+ # {
995
+ # arn: "Arn", # required
996
+ # }
997
+ #
998
+ # @!attribute [rw] arn
999
+ # The ARN of the query logging configuration that you want to get the
1000
+ # query logging policy for.
1001
+ # @return [String]
1002
+ #
1003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigPolicyRequest AWS API Documentation
1004
+ #
1005
+ class GetResolverQueryLogConfigPolicyRequest < Struct.new(
1006
+ :arn)
1007
+ SENSITIVE = []
1008
+ include Aws::Structure
1009
+ end
1010
+
1011
+ # @!attribute [rw] resolver_query_log_config_policy
1012
+ # Information about the query logging policy for the query logging
1013
+ # configuration that you specified in a
1014
+ # `GetResolverQueryLogConfigPolicy` request.
1015
+ # @return [String]
1016
+ #
1017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigPolicyResponse AWS API Documentation
1018
+ #
1019
+ class GetResolverQueryLogConfigPolicyResponse < Struct.new(
1020
+ :resolver_query_log_config_policy)
1021
+ SENSITIVE = []
1022
+ include Aws::Structure
1023
+ end
1024
+
1025
+ # @note When making an API call, you may pass GetResolverQueryLogConfigRequest
1026
+ # data as a hash:
1027
+ #
1028
+ # {
1029
+ # resolver_query_log_config_id: "ResourceId", # required
1030
+ # }
1031
+ #
1032
+ # @!attribute [rw] resolver_query_log_config_id
1033
+ # The ID of the Resolver query logging configuration that you want to
1034
+ # get information about.
1035
+ # @return [String]
1036
+ #
1037
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigRequest AWS API Documentation
1038
+ #
1039
+ class GetResolverQueryLogConfigRequest < Struct.new(
1040
+ :resolver_query_log_config_id)
1041
+ SENSITIVE = []
1042
+ include Aws::Structure
1043
+ end
1044
+
1045
+ # @!attribute [rw] resolver_query_log_config
1046
+ # Information about the Resolver query logging configuration that you
1047
+ # specified in a `GetQueryLogConfig` request.
1048
+ # @return [Types::ResolverQueryLogConfig]
1049
+ #
1050
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigResponse AWS API Documentation
1051
+ #
1052
+ class GetResolverQueryLogConfigResponse < Struct.new(
1053
+ :resolver_query_log_config)
1054
+ SENSITIVE = []
1055
+ include Aws::Structure
1056
+ end
1057
+
497
1058
  # @note When making an API call, you may pass GetResolverRuleAssociationRequest
498
1059
  # data as a hash:
499
1060
  #
@@ -502,7 +1063,7 @@ module Aws::Route53Resolver
502
1063
  # }
503
1064
  #
504
1065
  # @!attribute [rw] resolver_rule_association_id
505
- # The ID of the resolver rule association that you want to get
1066
+ # The ID of the Resolver rule association that you want to get
506
1067
  # information about.
507
1068
  # @return [String]
508
1069
  #
@@ -515,7 +1076,7 @@ module Aws::Route53Resolver
515
1076
  end
516
1077
 
517
1078
  # @!attribute [rw] resolver_rule_association
518
- # Information about the resolver rule association that you specified
1079
+ # Information about the Resolver rule association that you specified
519
1080
  # in a `GetResolverRuleAssociation` request.
520
1081
  # @return [Types::ResolverRuleAssociation]
521
1082
  #
@@ -535,8 +1096,8 @@ module Aws::Route53Resolver
535
1096
  # }
536
1097
  #
537
1098
  # @!attribute [rw] arn
538
- # The ID of the resolver rule policy that you want to get information
539
- # about.
1099
+ # The ID of the Resolver rule that you want to get the Resolver rule
1100
+ # policy for.
540
1101
  # @return [String]
541
1102
  #
542
1103
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRulePolicyRequest AWS API Documentation
@@ -548,7 +1109,7 @@ module Aws::Route53Resolver
548
1109
  end
549
1110
 
550
1111
  # @!attribute [rw] resolver_rule_policy
551
- # Information about the resolver rule policy that you specified in a
1112
+ # The Resolver rule policy for the rule that you specified in a
552
1113
  # `GetResolverRulePolicy` request.
553
1114
  # @return [String]
554
1115
  #
@@ -568,7 +1129,7 @@ module Aws::Route53Resolver
568
1129
  # }
569
1130
  #
570
1131
  # @!attribute [rw] resolver_rule_id
571
- # The ID of the resolver rule that you want to get information about.
1132
+ # The ID of the Resolver rule that you want to get information about.
572
1133
  # @return [String]
573
1134
  #
574
1135
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleRequest AWS API Documentation
@@ -580,7 +1141,7 @@ module Aws::Route53Resolver
580
1141
  end
581
1142
 
582
1143
  # @!attribute [rw] resolver_rule
583
- # Information about the resolver rule that you specified in a
1144
+ # Information about the Resolver rule that you specified in a
584
1145
  # `GetResolverRule` request.
585
1146
  # @return [Types::ResolverRule]
586
1147
  #
@@ -638,7 +1199,7 @@ module Aws::Route53Resolver
638
1199
  include Aws::Structure
639
1200
  end
640
1201
 
641
- # The specified resolver rule policy is invalid.
1202
+ # The specified Resolver rule policy is invalid.
642
1203
  #
643
1204
  # @!attribute [rw] message
644
1205
  # @return [String]
@@ -677,8 +1238,14 @@ module Aws::Route53Resolver
677
1238
  include Aws::Structure
678
1239
  end
679
1240
 
680
- # In an CreateResolverEndpoint request, a subnet and IP address that you
681
- # want to use for DNS queries.
1241
+ # In a [CreateResolverEndpoint][1] request, the IP address that DNS
1242
+ # queries originate from (for outbound endpoints) or that you forward
1243
+ # DNS queries to (for inbound endpoints). `IpAddressRequest` also
1244
+ # includes the ID of the subnet that contains the IP address.
1245
+ #
1246
+ #
1247
+ #
1248
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html
682
1249
  #
683
1250
  # @note When making an API call, you may pass IpAddressRequest
684
1251
  # data as a hash:
@@ -689,7 +1256,7 @@ module Aws::Route53Resolver
689
1256
  # }
690
1257
  #
691
1258
  # @!attribute [rw] subnet_id
692
- # The subnet that contains the IP address.
1259
+ # The ID of the subnet that contains the IP address.
693
1260
  # @return [String]
694
1261
  #
695
1262
  # @!attribute [rw] ip
@@ -705,8 +1272,13 @@ module Aws::Route53Resolver
705
1272
  include Aws::Structure
706
1273
  end
707
1274
 
708
- # In the response to a GetResolverEndpoint request, information about
709
- # the IP addresses that the resolver endpoint uses for DNS queries.
1275
+ # In the response to a [GetResolverEndpoint][1] request, information
1276
+ # about the IP addresses that the Resolver endpoint uses for DNS
1277
+ # queries.
1278
+ #
1279
+ #
1280
+ #
1281
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
710
1282
  #
711
1283
  # @!attribute [rw] ip_id
712
1284
  # The ID of one IP address.
@@ -717,7 +1289,7 @@ module Aws::Route53Resolver
717
1289
  # @return [String]
718
1290
  #
719
1291
  # @!attribute [rw] ip
720
- # One IP address that the resolver endpoint uses for DNS queries.
1292
+ # One IP address that the Resolver endpoint uses for DNS queries.
721
1293
  # @return [String]
722
1294
  #
723
1295
  # @!attribute [rw] status
@@ -753,8 +1325,12 @@ module Aws::Route53Resolver
753
1325
  include Aws::Structure
754
1326
  end
755
1327
 
756
- # In an UpdateResolverEndpoint request, information about an IP address
757
- # to update.
1328
+ # In an [UpdateResolverEndpoint][1] request, information about an IP
1329
+ # address to update.
1330
+ #
1331
+ #
1332
+ #
1333
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_UpdateResolverEndpoint.html
758
1334
  #
759
1335
  # @note When making an API call, you may pass IpAddressUpdate
760
1336
  # data as a hash:
@@ -766,14 +1342,22 @@ module Aws::Route53Resolver
766
1342
  # }
767
1343
  #
768
1344
  # @!attribute [rw] ip_id
769
- # *Only when removing an IP address from a resolver endpoint*\: The ID
1345
+ # *Only when removing an IP address from a Resolver endpoint*\: The ID
770
1346
  # of the IP address that you want to remove. To get this ID, use
771
- # GetResolverEndpoint.
1347
+ # [GetResolverEndpoint][1].
1348
+ #
1349
+ #
1350
+ #
1351
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
772
1352
  # @return [String]
773
1353
  #
774
1354
  # @!attribute [rw] subnet_id
775
1355
  # The ID of the subnet that includes the IP address that you want to
776
- # update. To get this ID, use GetResolverEndpoint.
1356
+ # update. To get this ID, use [GetResolverEndpoint][1].
1357
+ #
1358
+ #
1359
+ #
1360
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
777
1361
  # @return [String]
778
1362
  #
779
1363
  # @!attribute [rw] ip
@@ -809,6 +1393,88 @@ module Aws::Route53Resolver
809
1393
  include Aws::Structure
810
1394
  end
811
1395
 
1396
+ # @note When making an API call, you may pass ListResolverDnssecConfigsRequest
1397
+ # data as a hash:
1398
+ #
1399
+ # {
1400
+ # max_results: 1,
1401
+ # next_token: "NextToken",
1402
+ # filters: [
1403
+ # {
1404
+ # name: "FilterName",
1405
+ # values: ["FilterValue"],
1406
+ # },
1407
+ # ],
1408
+ # }
1409
+ #
1410
+ # @!attribute [rw] max_results
1411
+ # *Optional*\: An integer that specifies the maximum number of DNSSEC
1412
+ # configuration results that you want Amazon Route 53 to return. If
1413
+ # you don't specify a value for `MaxResults`, Route 53 returns up to
1414
+ # 100 configuration per page.
1415
+ # @return [Integer]
1416
+ #
1417
+ # @!attribute [rw] next_token
1418
+ # (Optional) If the current AWS account has more than `MaxResults`
1419
+ # DNSSEC configurations, use `NextToken` to get the second and
1420
+ # subsequent pages of results.
1421
+ #
1422
+ # For the first `ListResolverDnssecConfigs` request, omit this value.
1423
+ #
1424
+ # For the second and subsequent requests, get the value of `NextToken`
1425
+ # from the previous response and specify that value for `NextToken` in
1426
+ # the request.
1427
+ # @return [String]
1428
+ #
1429
+ # @!attribute [rw] filters
1430
+ # An optional specification to return a subset of objects.
1431
+ # @return [Array<Types::Filter>]
1432
+ #
1433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverDnssecConfigsRequest AWS API Documentation
1434
+ #
1435
+ class ListResolverDnssecConfigsRequest < Struct.new(
1436
+ :max_results,
1437
+ :next_token,
1438
+ :filters)
1439
+ SENSITIVE = []
1440
+ include Aws::Structure
1441
+ end
1442
+
1443
+ # @!attribute [rw] next_token
1444
+ # If a response includes the last of the DNSSEC configurations that
1445
+ # are associated with the current AWS account, `NextToken` doesn't
1446
+ # appear in the response.
1447
+ #
1448
+ # If a response doesn't include the last of the configurations, you
1449
+ # can get more configurations by submitting another
1450
+ # [ListResolverDnssecConfigs][1] request. Get the value of `NextToken`
1451
+ # that Amazon Route 53 returned in the previous response and include
1452
+ # it in `NextToken` in the next request.
1453
+ #
1454
+ #
1455
+ #
1456
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListResolverDnssecConfigs.html
1457
+ # @return [String]
1458
+ #
1459
+ # @!attribute [rw] resolver_dnssec_configs
1460
+ # An array that contains one [ResolverDnssecConfig][1] element for
1461
+ # each configuration for DNSSEC validation that is associated with the
1462
+ # current AWS account.
1463
+ #
1464
+ #
1465
+ #
1466
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_ResolverDnssecConfig.html
1467
+ # @return [Array<Types::ResolverDnssecConfig>]
1468
+ #
1469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverDnssecConfigsResponse AWS API Documentation
1470
+ #
1471
+ class ListResolverDnssecConfigsResponse < Struct.new(
1472
+ :next_token,
1473
+ :resolver_dnssec_configs)
1474
+ SENSITIVE = []
1475
+ include Aws::Structure
1476
+ end
1477
+
812
1478
  # @note When making an API call, you may pass ListResolverEndpointIpAddressesRequest
813
1479
  # data as a hash:
814
1480
  #
@@ -819,7 +1485,7 @@ module Aws::Route53Resolver
819
1485
  # }
820
1486
  #
821
1487
  # @!attribute [rw] resolver_endpoint_id
822
- # The ID of the resolver endpoint that you want to get IP addresses
1488
+ # The ID of the Resolver endpoint that you want to get IP addresses
823
1489
  # for.
824
1490
  # @return [String]
825
1491
  #
@@ -834,7 +1500,7 @@ module Aws::Route53Resolver
834
1500
  # For the first `ListResolverEndpointIpAddresses` request, omit this
835
1501
  # value.
836
1502
  #
837
- # If the specified resolver endpoint has more than `MaxResults` IP
1503
+ # If the specified Resolver endpoint has more than `MaxResults` IP
838
1504
  # addresses, you can submit another `ListResolverEndpointIpAddresses`
839
1505
  # request to get the next group of IP addresses. In the next request,
840
1506
  # specify the value of `NextToken` from the previous response.
@@ -862,9 +1528,9 @@ module Aws::Route53Resolver
862
1528
  # @return [Integer]
863
1529
  #
864
1530
  # @!attribute [rw] ip_addresses
865
- # The IP addresses that DNS queries pass through on their way to your
866
- # network (outbound endpoint) or on the way to Resolver (inbound
867
- # endpoint).
1531
+ # Information about the IP addresses in your VPC that DNS queries
1532
+ # originate from (for outbound endpoints) or that you forward DNS
1533
+ # queries to (for inbound endpoints).
868
1534
  # @return [Array<Types::IpAddressResponse>]
869
1535
  #
870
1536
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointIpAddressesResponse AWS API Documentation
@@ -891,65 +1557,400 @@ module Aws::Route53Resolver
891
1557
  # ],
892
1558
  # }
893
1559
  #
894
- # @!attribute [rw] max_results
895
- # The maximum number of resolver endpoints that you want to return in
896
- # the response to a `ListResolverEndpoints` request. If you don't
897
- # specify a value for `MaxResults`, Resolver returns up to 100
898
- # resolver endpoints.
899
- # @return [Integer]
1560
+ # @!attribute [rw] max_results
1561
+ # The maximum number of Resolver endpoints that you want to return in
1562
+ # the response to a `ListResolverEndpoints` request. If you don't
1563
+ # specify a value for `MaxResults`, Resolver returns up to 100
1564
+ # Resolver endpoints.
1565
+ # @return [Integer]
1566
+ #
1567
+ # @!attribute [rw] next_token
1568
+ # For the first `ListResolverEndpoints` request, omit this value.
1569
+ #
1570
+ # If you have more than `MaxResults` Resolver endpoints, you can
1571
+ # submit another `ListResolverEndpoints` request to get the next group
1572
+ # of Resolver endpoints. In the next request, specify the value of
1573
+ # `NextToken` from the previous response.
1574
+ # @return [String]
1575
+ #
1576
+ # @!attribute [rw] filters
1577
+ # An optional specification to return a subset of Resolver endpoints,
1578
+ # such as all inbound Resolver endpoints.
1579
+ #
1580
+ # <note markdown="1"> If you submit a second or subsequent `ListResolverEndpoints` request
1581
+ # and specify the `NextToken` parameter, you must use the same values
1582
+ # for `Filters`, if any, as in the previous request.
1583
+ #
1584
+ # </note>
1585
+ # @return [Array<Types::Filter>]
1586
+ #
1587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointsRequest AWS API Documentation
1588
+ #
1589
+ class ListResolverEndpointsRequest < Struct.new(
1590
+ :max_results,
1591
+ :next_token,
1592
+ :filters)
1593
+ SENSITIVE = []
1594
+ include Aws::Structure
1595
+ end
1596
+
1597
+ # @!attribute [rw] next_token
1598
+ # If more than `MaxResults` IP addresses match the specified criteria,
1599
+ # you can submit another `ListResolverEndpoint` request to get the
1600
+ # next group of results. In the next request, specify the value of
1601
+ # `NextToken` from the previous response.
1602
+ # @return [String]
1603
+ #
1604
+ # @!attribute [rw] max_results
1605
+ # The value that you specified for `MaxResults` in the request.
1606
+ # @return [Integer]
1607
+ #
1608
+ # @!attribute [rw] resolver_endpoints
1609
+ # The Resolver endpoints that were created by using the current AWS
1610
+ # account, and that match the specified filters, if any.
1611
+ # @return [Array<Types::ResolverEndpoint>]
1612
+ #
1613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointsResponse AWS API Documentation
1614
+ #
1615
+ class ListResolverEndpointsResponse < Struct.new(
1616
+ :next_token,
1617
+ :max_results,
1618
+ :resolver_endpoints)
1619
+ SENSITIVE = []
1620
+ include Aws::Structure
1621
+ end
1622
+
1623
+ # @note When making an API call, you may pass ListResolverQueryLogConfigAssociationsRequest
1624
+ # data as a hash:
1625
+ #
1626
+ # {
1627
+ # max_results: 1,
1628
+ # next_token: "NextToken",
1629
+ # filters: [
1630
+ # {
1631
+ # name: "FilterName",
1632
+ # values: ["FilterValue"],
1633
+ # },
1634
+ # ],
1635
+ # sort_by: "SortByKey",
1636
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
1637
+ # }
1638
+ #
1639
+ # @!attribute [rw] max_results
1640
+ # The maximum number of query logging associations that you want to
1641
+ # return in the response to a `ListResolverQueryLogConfigAssociations`
1642
+ # request. If you don't specify a value for `MaxResults`, Resolver
1643
+ # returns up to 100 query logging associations.
1644
+ # @return [Integer]
1645
+ #
1646
+ # @!attribute [rw] next_token
1647
+ # For the first `ListResolverQueryLogConfigAssociations` request, omit
1648
+ # this value.
1649
+ #
1650
+ # If there are more than `MaxResults` query logging associations that
1651
+ # match the values that you specify for `Filters`, you can submit
1652
+ # another `ListResolverQueryLogConfigAssociations` request to get the
1653
+ # next group of associations. In the next request, specify the value
1654
+ # of `NextToken` from the previous response.
1655
+ # @return [String]
1656
+ #
1657
+ # @!attribute [rw] filters
1658
+ # An optional specification to return a subset of query logging
1659
+ # associations.
1660
+ #
1661
+ # <note markdown="1"> If you submit a second or subsequent
1662
+ # `ListResolverQueryLogConfigAssociations` request and specify the
1663
+ # `NextToken` parameter, you must use the same values for `Filters`,
1664
+ # if any, as in the previous request.
1665
+ #
1666
+ # </note>
1667
+ # @return [Array<Types::Filter>]
1668
+ #
1669
+ # @!attribute [rw] sort_by
1670
+ # The element that you want Resolver to sort query logging
1671
+ # associations by.
1672
+ #
1673
+ # <note markdown="1"> If you submit a second or subsequent
1674
+ # `ListResolverQueryLogConfigAssociations` request and specify the
1675
+ # `NextToken` parameter, you must use the same value for `SortBy`, if
1676
+ # any, as in the previous request.
1677
+ #
1678
+ # </note>
1679
+ #
1680
+ # Valid values include the following elements:
1681
+ #
1682
+ # * `CreationTime`\: The ID of the query logging association.
1683
+ #
1684
+ # * `Error`\: If the value of `Status` is `FAILED`, the value of
1685
+ # `Error` indicates the cause:
1686
+ #
1687
+ # * `DESTINATION_NOT_FOUND`\: The specified destination (for
1688
+ # example, an Amazon S3 bucket) was deleted.
1689
+ #
1690
+ # * `ACCESS_DENIED`\: Permissions don't allow sending logs to the
1691
+ # destination.
1692
+ #
1693
+ # If `Status` is a value other than `FAILED`, `ERROR` is null.
1694
+ #
1695
+ # * `Id`\: The ID of the query logging association
1696
+ #
1697
+ # * `ResolverQueryLogConfigId`\: The ID of the query logging
1698
+ # configuration
1699
+ #
1700
+ # * `ResourceId`\: The ID of the VPC that is associated with the query
1701
+ # logging configuration
1702
+ #
1703
+ # * `Status`\: The current status of the configuration. Valid values
1704
+ # include the following:
1705
+ #
1706
+ # * `CREATING`\: Resolver is creating an association between an
1707
+ # Amazon VPC and a query logging configuration.
1708
+ #
1709
+ # * `CREATED`\: The association between an Amazon VPC and a query
1710
+ # logging configuration was successfully created. Resolver is
1711
+ # logging queries that originate in the specified VPC.
1712
+ #
1713
+ # * `DELETING`\: Resolver is deleting this query logging
1714
+ # association.
1715
+ #
1716
+ # * `FAILED`\: Resolver either couldn't create or couldn't delete
1717
+ # the query logging association. Here are two common causes:
1718
+ #
1719
+ # * The specified destination (for example, an Amazon S3 bucket)
1720
+ # was deleted.
1721
+ #
1722
+ # * Permissions don't allow sending logs to the destination.
1723
+ # @return [String]
1724
+ #
1725
+ # @!attribute [rw] sort_order
1726
+ # If you specified a value for `SortBy`, the order that you want query
1727
+ # logging associations to be listed in, `ASCENDING` or `DESCENDING`.
1728
+ #
1729
+ # <note markdown="1"> If you submit a second or subsequent
1730
+ # `ListResolverQueryLogConfigAssociations` request and specify the
1731
+ # `NextToken` parameter, you must use the same value for `SortOrder`,
1732
+ # if any, as in the previous request.
1733
+ #
1734
+ # </note>
1735
+ # @return [String]
1736
+ #
1737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigAssociationsRequest AWS API Documentation
1738
+ #
1739
+ class ListResolverQueryLogConfigAssociationsRequest < Struct.new(
1740
+ :max_results,
1741
+ :next_token,
1742
+ :filters,
1743
+ :sort_by,
1744
+ :sort_order)
1745
+ SENSITIVE = []
1746
+ include Aws::Structure
1747
+ end
1748
+
1749
+ # @!attribute [rw] next_token
1750
+ # If there are more than `MaxResults` query logging associations, you
1751
+ # can submit another `ListResolverQueryLogConfigAssociations` request
1752
+ # to get the next group of associations. In the next request, specify
1753
+ # the value of `NextToken` from the previous response.
1754
+ # @return [String]
1755
+ #
1756
+ # @!attribute [rw] total_count
1757
+ # The total number of query logging associations that were created by
1758
+ # the current account in the specified Region. This count can differ
1759
+ # from the number of associations that are returned in a
1760
+ # `ListResolverQueryLogConfigAssociations` response, depending on the
1761
+ # values that you specify in the request.
1762
+ # @return [Integer]
1763
+ #
1764
+ # @!attribute [rw] total_filtered_count
1765
+ # The total number of query logging associations that were created by
1766
+ # the current account in the specified Region and that match the
1767
+ # filters that were specified in the
1768
+ # `ListResolverQueryLogConfigAssociations` request. For the total
1769
+ # number of associations that were created by the current account in
1770
+ # the specified Region, see `TotalCount`.
1771
+ # @return [Integer]
1772
+ #
1773
+ # @!attribute [rw] resolver_query_log_config_associations
1774
+ # A list that contains one `ResolverQueryLogConfigAssociations`
1775
+ # element for each query logging association that matches the values
1776
+ # that you specified for `Filter`.
1777
+ # @return [Array<Types::ResolverQueryLogConfigAssociation>]
1778
+ #
1779
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigAssociationsResponse AWS API Documentation
1780
+ #
1781
+ class ListResolverQueryLogConfigAssociationsResponse < Struct.new(
1782
+ :next_token,
1783
+ :total_count,
1784
+ :total_filtered_count,
1785
+ :resolver_query_log_config_associations)
1786
+ SENSITIVE = []
1787
+ include Aws::Structure
1788
+ end
1789
+
1790
+ # @note When making an API call, you may pass ListResolverQueryLogConfigsRequest
1791
+ # data as a hash:
1792
+ #
1793
+ # {
1794
+ # max_results: 1,
1795
+ # next_token: "NextToken",
1796
+ # filters: [
1797
+ # {
1798
+ # name: "FilterName",
1799
+ # values: ["FilterValue"],
1800
+ # },
1801
+ # ],
1802
+ # sort_by: "SortByKey",
1803
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
1804
+ # }
1805
+ #
1806
+ # @!attribute [rw] max_results
1807
+ # The maximum number of query logging configurations that you want to
1808
+ # return in the response to a `ListResolverQueryLogConfigs` request.
1809
+ # If you don't specify a value for `MaxResults`, Resolver returns up
1810
+ # to 100 query logging configurations.
1811
+ # @return [Integer]
1812
+ #
1813
+ # @!attribute [rw] next_token
1814
+ # For the first `ListResolverQueryLogConfigs` request, omit this
1815
+ # value.
1816
+ #
1817
+ # If there are more than `MaxResults` query logging configurations
1818
+ # that match the values that you specify for `Filters`, you can submit
1819
+ # another `ListResolverQueryLogConfigs` request to get the next group
1820
+ # of configurations. In the next request, specify the value of
1821
+ # `NextToken` from the previous response.
1822
+ # @return [String]
1823
+ #
1824
+ # @!attribute [rw] filters
1825
+ # An optional specification to return a subset of query logging
1826
+ # configurations.
1827
+ #
1828
+ # <note markdown="1"> If you submit a second or subsequent `ListResolverQueryLogConfigs`
1829
+ # request and specify the `NextToken` parameter, you must use the same
1830
+ # values for `Filters`, if any, as in the previous request.
1831
+ #
1832
+ # </note>
1833
+ # @return [Array<Types::Filter>]
1834
+ #
1835
+ # @!attribute [rw] sort_by
1836
+ # The element that you want Resolver to sort query logging
1837
+ # configurations by.
1838
+ #
1839
+ # <note markdown="1"> If you submit a second or subsequent `ListResolverQueryLogConfigs`
1840
+ # request and specify the `NextToken` parameter, you must use the same
1841
+ # value for `SortBy`, if any, as in the previous request.
1842
+ #
1843
+ # </note>
1844
+ #
1845
+ # Valid values include the following elements:
1846
+ #
1847
+ # * `Arn`\: The ARN of the query logging configuration
1848
+ #
1849
+ # * `AssociationCount`\: The number of VPCs that are associated with
1850
+ # the specified configuration
1851
+ #
1852
+ # * `CreationTime`\: The date and time that Resolver returned when the
1853
+ # configuration was created
1854
+ #
1855
+ # * `CreatorRequestId`\: The value that was specified for
1856
+ # `CreatorRequestId` when the configuration was created
1857
+ #
1858
+ # * `DestinationArn`\: The location that logs are sent to
1859
+ #
1860
+ # * `Id`\: The ID of the configuration
1861
+ #
1862
+ # * `Name`\: The name of the configuration
1863
+ #
1864
+ # * `OwnerId`\: The AWS account number of the account that created the
1865
+ # configuration
1866
+ #
1867
+ # * `ShareStatus`\: Whether the configuration is shared with other AWS
1868
+ # accounts or shared with the current account by another AWS
1869
+ # account. Sharing is configured through AWS Resource Access Manager
1870
+ # (AWS RAM).
900
1871
  #
901
- # @!attribute [rw] next_token
902
- # For the first `ListResolverEndpoints` request, omit this value.
1872
+ # * `Status`\: The current status of the configuration. Valid values
1873
+ # include the following:
903
1874
  #
904
- # If you have more than `MaxResults` resolver endpoints, you can
905
- # submit another `ListResolverEndpoints` request to get the next group
906
- # of resolver endpoints. In the next request, specify the value of
907
- # `NextToken` from the previous response.
1875
+ # * `CREATING`\: Resolver is creating the query logging
1876
+ # configuration.
1877
+ #
1878
+ # * `CREATED`\: The query logging configuration was successfully
1879
+ # created. Resolver is logging queries that originate in the
1880
+ # specified VPC.
1881
+ #
1882
+ # * `DELETING`\: Resolver is deleting this query logging
1883
+ # configuration.
1884
+ #
1885
+ # * `FAILED`\: Resolver either couldn't create or couldn't delete
1886
+ # the query logging configuration. Here are two common causes:
1887
+ #
1888
+ # * The specified destination (for example, an Amazon S3 bucket)
1889
+ # was deleted.
1890
+ #
1891
+ # * Permissions don't allow sending logs to the destination.
908
1892
  # @return [String]
909
1893
  #
910
- # @!attribute [rw] filters
911
- # An optional specification to return a subset of resolver endpoints,
912
- # such as all inbound resolver endpoints.
1894
+ # @!attribute [rw] sort_order
1895
+ # If you specified a value for `SortBy`, the order that you want query
1896
+ # logging configurations to be listed in, `ASCENDING` or `DESCENDING`.
913
1897
  #
914
- # <note markdown="1"> If you submit a second or subsequent `ListResolverEndpoints` request
915
- # and specify the `NextToken` parameter, you must use the same values
916
- # for `Filters`, if any, as in the previous request.
1898
+ # <note markdown="1"> If you submit a second or subsequent `ListResolverQueryLogConfigs`
1899
+ # request and specify the `NextToken` parameter, you must use the same
1900
+ # value for `SortOrder`, if any, as in the previous request.
917
1901
  #
918
1902
  # </note>
919
- # @return [Array<Types::Filter>]
1903
+ # @return [String]
920
1904
  #
921
- # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointsRequest AWS API Documentation
1905
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigsRequest AWS API Documentation
922
1906
  #
923
- class ListResolverEndpointsRequest < Struct.new(
1907
+ class ListResolverQueryLogConfigsRequest < Struct.new(
924
1908
  :max_results,
925
1909
  :next_token,
926
- :filters)
1910
+ :filters,
1911
+ :sort_by,
1912
+ :sort_order)
927
1913
  SENSITIVE = []
928
1914
  include Aws::Structure
929
1915
  end
930
1916
 
931
1917
  # @!attribute [rw] next_token
932
- # If more than `MaxResults` IP addresses match the specified criteria,
933
- # you can submit another `ListResolverEndpoint` request to get the
934
- # next group of results. In the next request, specify the value of
935
- # `NextToken` from the previous response.
1918
+ # If there are more than `MaxResults` query logging configurations,
1919
+ # you can submit another `ListResolverQueryLogConfigs` request to get
1920
+ # the next group of configurations. In the next request, specify the
1921
+ # value of `NextToken` from the previous response.
936
1922
  # @return [String]
937
1923
  #
938
- # @!attribute [rw] max_results
939
- # The value that you specified for `MaxResults` in the request.
1924
+ # @!attribute [rw] total_count
1925
+ # The total number of query logging configurations that were created
1926
+ # by the current account in the specified Region. This count can
1927
+ # differ from the number of query logging configurations that are
1928
+ # returned in a `ListResolverQueryLogConfigs` response, depending on
1929
+ # the values that you specify in the request.
940
1930
  # @return [Integer]
941
1931
  #
942
- # @!attribute [rw] resolver_endpoints
943
- # The resolver endpoints that were created by using the current AWS
944
- # account, and that match the specified filters, if any.
945
- # @return [Array<Types::ResolverEndpoint>]
1932
+ # @!attribute [rw] total_filtered_count
1933
+ # The total number of query logging configurations that were created
1934
+ # by the current account in the specified Region and that match the
1935
+ # filters that were specified in the `ListResolverQueryLogConfigs`
1936
+ # request. For the total number of query logging configurations that
1937
+ # were created by the current account in the specified Region, see
1938
+ # `TotalCount`.
1939
+ # @return [Integer]
946
1940
  #
947
- # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointsResponse AWS API Documentation
1941
+ # @!attribute [rw] resolver_query_log_configs
1942
+ # A list that contains one `ResolverQueryLogConfig` element for each
1943
+ # query logging configuration that matches the values that you
1944
+ # specified for `Filter`.
1945
+ # @return [Array<Types::ResolverQueryLogConfig>]
948
1946
  #
949
- class ListResolverEndpointsResponse < Struct.new(
1947
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigsResponse AWS API Documentation
1948
+ #
1949
+ class ListResolverQueryLogConfigsResponse < Struct.new(
950
1950
  :next_token,
951
- :max_results,
952
- :resolver_endpoints)
1951
+ :total_count,
1952
+ :total_filtered_count,
1953
+ :resolver_query_log_configs)
953
1954
  SENSITIVE = []
954
1955
  include Aws::Structure
955
1956
  end
@@ -986,8 +1987,8 @@ module Aws::Route53Resolver
986
1987
  # @return [String]
987
1988
  #
988
1989
  # @!attribute [rw] filters
989
- # An optional specification to return a subset of resolver rules, such
990
- # as resolver rules that are associated with the same VPC ID.
1990
+ # An optional specification to return a subset of Resolver rules, such
1991
+ # as Resolver rules that are associated with the same VPC ID.
991
1992
  #
992
1993
  # <note markdown="1"> If you submit a second or subsequent `ListResolverRuleAssociations`
993
1994
  # request and specify the `NextToken` parameter, you must use the same
@@ -1018,7 +2019,7 @@ module Aws::Route53Resolver
1018
2019
  # @return [Integer]
1019
2020
  #
1020
2021
  # @!attribute [rw] resolver_rule_associations
1021
- # The associations that were created between resolver rules and VPCs
2022
+ # The associations that were created between Resolver rules and VPCs
1022
2023
  # using the current AWS account, and that match the specified filters,
1023
2024
  # if any.
1024
2025
  # @return [Array<Types::ResolverRuleAssociation>]
@@ -1048,23 +2049,23 @@ module Aws::Route53Resolver
1048
2049
  # }
1049
2050
  #
1050
2051
  # @!attribute [rw] max_results
1051
- # The maximum number of resolver rules that you want to return in the
2052
+ # The maximum number of Resolver rules that you want to return in the
1052
2053
  # response to a `ListResolverRules` request. If you don't specify a
1053
- # value for `MaxResults`, Resolver returns up to 100 resolver rules.
2054
+ # value for `MaxResults`, Resolver returns up to 100 Resolver rules.
1054
2055
  # @return [Integer]
1055
2056
  #
1056
2057
  # @!attribute [rw] next_token
1057
2058
  # For the first `ListResolverRules` request, omit this value.
1058
2059
  #
1059
- # If you have more than `MaxResults` resolver rules, you can submit
2060
+ # If you have more than `MaxResults` Resolver rules, you can submit
1060
2061
  # another `ListResolverRules` request to get the next group of
1061
- # resolver rules. In the next request, specify the value of
2062
+ # Resolver rules. In the next request, specify the value of
1062
2063
  # `NextToken` from the previous response.
1063
2064
  # @return [String]
1064
2065
  #
1065
2066
  # @!attribute [rw] filters
1066
- # An optional specification to return a subset of resolver rules, such
1067
- # as all resolver rules that are associated with the same resolver
2067
+ # An optional specification to return a subset of Resolver rules, such
2068
+ # as all Resolver rules that are associated with the same Resolver
1068
2069
  # endpoint.
1069
2070
  #
1070
2071
  # <note markdown="1"> If you submit a second or subsequent `ListResolverRules` request and
@@ -1085,7 +2086,7 @@ module Aws::Route53Resolver
1085
2086
  end
1086
2087
 
1087
2088
  # @!attribute [rw] next_token
1088
- # If more than `MaxResults` resolver rules match the specified
2089
+ # If more than `MaxResults` Resolver rules match the specified
1089
2090
  # criteria, you can submit another `ListResolverRules` request to get
1090
2091
  # the next group of results. In the next request, specify the value of
1091
2092
  # `NextToken` from the previous response.
@@ -1096,7 +2097,7 @@ module Aws::Route53Resolver
1096
2097
  # @return [Integer]
1097
2098
  #
1098
2099
  # @!attribute [rw] resolver_rules
1099
- # The resolver rules that were created using the current AWS account
2100
+ # The Resolver rules that were created using the current AWS account
1100
2101
  # and that match the specified filters, if any.
1101
2102
  # @return [Array<Types::ResolverRule>]
1102
2103
  #
@@ -1170,6 +2171,63 @@ module Aws::Route53Resolver
1170
2171
  include Aws::Structure
1171
2172
  end
1172
2173
 
2174
+ # @note When making an API call, you may pass PutResolverQueryLogConfigPolicyRequest
2175
+ # data as a hash:
2176
+ #
2177
+ # {
2178
+ # arn: "Arn", # required
2179
+ # resolver_query_log_config_policy: "ResolverQueryLogConfigPolicy", # required
2180
+ # }
2181
+ #
2182
+ # @!attribute [rw] arn
2183
+ # The Amazon Resource Name (ARN) of the account that you want to share
2184
+ # rules with.
2185
+ # @return [String]
2186
+ #
2187
+ # @!attribute [rw] resolver_query_log_config_policy
2188
+ # An AWS Identity and Access Management policy statement that lists
2189
+ # the query logging configurations that you want to share with another
2190
+ # AWS account and the operations that you want the account to be able
2191
+ # to perform. You can specify the following operations in the
2192
+ # `Actions` section of the statement:
2193
+ #
2194
+ # * `route53resolver:AssociateResolverQueryLogConfig`
2195
+ #
2196
+ # * `route53resolver:DisassociateResolverQueryLogConfig`
2197
+ #
2198
+ # * `route53resolver:ListResolverQueryLogConfigAssociations`
2199
+ #
2200
+ # * `route53resolver:ListResolverQueryLogConfigs`
2201
+ #
2202
+ # In the `Resource` section of the statement, you specify the ARNs for
2203
+ # the query logging configurations that you want to share with the
2204
+ # account that you specified in `Arn`.
2205
+ # @return [String]
2206
+ #
2207
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverQueryLogConfigPolicyRequest AWS API Documentation
2208
+ #
2209
+ class PutResolverQueryLogConfigPolicyRequest < Struct.new(
2210
+ :arn,
2211
+ :resolver_query_log_config_policy)
2212
+ SENSITIVE = []
2213
+ include Aws::Structure
2214
+ end
2215
+
2216
+ # The response to a `PutResolverQueryLogConfigPolicy` request.
2217
+ #
2218
+ # @!attribute [rw] return_value
2219
+ # Whether the `PutResolverQueryLogConfigPolicy` request was
2220
+ # successful.
2221
+ # @return [Boolean]
2222
+ #
2223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverQueryLogConfigPolicyResponse AWS API Documentation
2224
+ #
2225
+ class PutResolverQueryLogConfigPolicyResponse < Struct.new(
2226
+ :return_value)
2227
+ SENSITIVE = []
2228
+ include Aws::Structure
2229
+ end
2230
+
1173
2231
  # @note When making an API call, you may pass PutResolverRulePolicyRequest
1174
2232
  # data as a hash:
1175
2233
  #
@@ -1179,13 +2237,30 @@ module Aws::Route53Resolver
1179
2237
  # }
1180
2238
  #
1181
2239
  # @!attribute [rw] arn
1182
- # The Amazon Resource Name (ARN) of the account that you want to grant
1183
- # permissions to.
2240
+ # The Amazon Resource Name (ARN) of the rule that you want to share
2241
+ # with another account.
1184
2242
  # @return [String]
1185
2243
  #
1186
2244
  # @!attribute [rw] resolver_rule_policy
1187
2245
  # An AWS Identity and Access Management policy statement that lists
1188
- # the permissions that you want to grant to another AWS account.
2246
+ # the rules that you want to share with another AWS account and the
2247
+ # operations that you want the account to be able to perform. You can
2248
+ # specify the following operations in the `Action` section of the
2249
+ # statement:
2250
+ #
2251
+ # * `route53resolver:GetResolverRule`
2252
+ #
2253
+ # * `route53resolver:AssociateResolverRule`
2254
+ #
2255
+ # * `route53resolver:DisassociateResolverRule`
2256
+ #
2257
+ # * `route53resolver:ListResolverRules`
2258
+ #
2259
+ # * `route53resolver:ListResolverRuleAssociations`
2260
+ #
2261
+ # In the `Resource` section of the statement, specify the ARN for the
2262
+ # rule that you want to share with another account. Specify the same
2263
+ # ARN that you specified in `Arn`.
1189
2264
  # @return [String]
1190
2265
  #
1191
2266
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverRulePolicyRequest AWS API Documentation
@@ -1211,62 +2286,159 @@ module Aws::Route53Resolver
1211
2286
  include Aws::Structure
1212
2287
  end
1213
2288
 
1214
- # In the response to a CreateResolverEndpoint, DeleteResolverEndpoint,
1215
- # GetResolverEndpoint, ListResolverEndpoints, or UpdateResolverEndpoint
1216
- # request, a complex type that contains settings for an existing inbound
1217
- # or outbound resolver endpoint.
2289
+ # A complex type that contains information about a configuration for
2290
+ # DNSSEC validation.
2291
+ #
2292
+ # @!attribute [rw] id
2293
+ # The ID for a configuration for DNSSEC validation.
2294
+ # @return [String]
2295
+ #
2296
+ # @!attribute [rw] owner_id
2297
+ # The owner account ID of the virtual private cloud (VPC) for a
2298
+ # configuration for DNSSEC validation.
2299
+ # @return [String]
2300
+ #
2301
+ # @!attribute [rw] resource_id
2302
+ # The ID of the virtual private cloud (VPC) that you're configuring
2303
+ # the DNSSEC validation status for.
2304
+ # @return [String]
2305
+ #
2306
+ # @!attribute [rw] validation_status
2307
+ # The validation status for a DNSSEC configuration. The status can be
2308
+ # one of the following:
2309
+ #
2310
+ # * **ENABLING:** DNSSEC validation is being enabled but is not
2311
+ # complete.
2312
+ #
2313
+ # * **ENABLED:** DNSSEC validation is enabled.
2314
+ #
2315
+ # * **DISABLING:** DNSSEC validation is being disabled but is not
2316
+ # complete.
2317
+ #
2318
+ # * **DISABLED** DNSSEC validation is disabled.
2319
+ # @return [String]
2320
+ #
2321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverDnssecConfig AWS API Documentation
2322
+ #
2323
+ class ResolverDnssecConfig < Struct.new(
2324
+ :id,
2325
+ :owner_id,
2326
+ :resource_id,
2327
+ :validation_status)
2328
+ SENSITIVE = []
2329
+ include Aws::Structure
2330
+ end
2331
+
2332
+ # In the response to a [CreateResolverEndpoint][1],
2333
+ # [DeleteResolverEndpoint][2], [GetResolverEndpoint][3],
2334
+ # [ListResolverEndpoints][4], or [UpdateResolverEndpoint][5] request, a
2335
+ # complex type that contains settings for an existing inbound or
2336
+ # outbound Resolver endpoint.
2337
+ #
2338
+ #
2339
+ #
2340
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html
2341
+ # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DeleteResolverEndpoint.html
2342
+ # [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
2343
+ # [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
2344
+ # [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_UpdateResolverEndpoint.html
1218
2345
  #
1219
2346
  # @!attribute [rw] id
1220
- # The ID of the resolver endpoint.
2347
+ # The ID of the Resolver endpoint.
1221
2348
  # @return [String]
1222
2349
  #
1223
2350
  # @!attribute [rw] creator_request_id
1224
2351
  # A unique string that identifies the request that created the
1225
- # resolver endpoint. The `CreatorRequestId` allows failed requests to
2352
+ # Resolver endpoint. The `CreatorRequestId` allows failed requests to
1226
2353
  # be retried without the risk of executing the operation twice.
1227
2354
  # @return [String]
1228
2355
  #
1229
2356
  # @!attribute [rw] arn
1230
- # The ARN (Amazon Resource Name) for the resolver endpoint.
2357
+ # The ARN (Amazon Resource Name) for the Resolver endpoint.
1231
2358
  # @return [String]
1232
2359
  #
1233
2360
  # @!attribute [rw] name
1234
- # The name that you assigned to the resolver endpoint when you
1235
- # submitted a CreateResolverEndpoint request.
2361
+ # The name that you assigned to the Resolver endpoint when you
2362
+ # submitted a [CreateResolverEndpoint][1] request.
2363
+ #
2364
+ #
2365
+ #
2366
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html
1236
2367
  # @return [String]
1237
2368
  #
1238
2369
  # @!attribute [rw] security_group_ids
1239
2370
  # The ID of one or more security groups that control access to this
1240
- # VPC. The security group must include one or more inbound resolver
1241
- # rules.
2371
+ # VPC. The security group must include one or more inbound rules (for
2372
+ # inbound endpoints) or outbound rules (for outbound endpoints).
2373
+ # Inbound and outbound rules must allow TCP and UDP access. For
2374
+ # inbound access, open port 53. For outbound access, open the port
2375
+ # that you're using for DNS queries on your network.
1242
2376
  # @return [Array<String>]
1243
2377
  #
1244
2378
  # @!attribute [rw] direction
1245
- # Indicates whether the resolver endpoint allows inbound or outbound
2379
+ # Indicates whether the Resolver endpoint allows inbound or outbound
1246
2380
  # DNS queries:
1247
2381
  #
1248
- # * `INBOUND`\: allows DNS queries to your VPC from your network or
1249
- # another VPC
2382
+ # * `INBOUND`\: allows DNS queries to your VPC from your network
1250
2383
  #
1251
- # * `OUTBOUND`\: allows DNS queries from your VPC to your network or
1252
- # another VPC
2384
+ # * `OUTBOUND`\: allows DNS queries from your VPC to your network
1253
2385
  # @return [String]
1254
2386
  #
1255
2387
  # @!attribute [rw] ip_address_count
1256
- # The number of IP addresses that the resolver endpoint can use for
2388
+ # The number of IP addresses that the Resolver endpoint can use for
1257
2389
  # DNS queries.
1258
2390
  # @return [Integer]
1259
2391
  #
1260
2392
  # @!attribute [rw] host_vpc_id
1261
- # The ID of the VPC that you want to create the resolver endpoint in.
2393
+ # The ID of the VPC that you want to create the Resolver endpoint in.
1262
2394
  # @return [String]
1263
2395
  #
1264
2396
  # @!attribute [rw] status
1265
- # A code that specifies the current status of the resolver endpoint.
2397
+ # A code that specifies the current status of the Resolver endpoint.
2398
+ # Valid values include the following:
2399
+ #
2400
+ # * `CREATING`\: Resolver is creating and configuring one or more
2401
+ # Amazon VPC network interfaces for this endpoint.
2402
+ #
2403
+ # * `OPERATIONAL`\: The Amazon VPC network interfaces for this
2404
+ # endpoint are correctly configured and able to pass inbound or
2405
+ # outbound DNS queries between your network and Resolver.
2406
+ #
2407
+ # * `UPDATING`\: Resolver is associating or disassociating one or more
2408
+ # network interfaces with this endpoint.
2409
+ #
2410
+ # * `AUTO_RECOVERING`\: Resolver is trying to recover one or more of
2411
+ # the network interfaces that are associated with this endpoint.
2412
+ # During the recovery process, the endpoint functions with limited
2413
+ # capacity because of the limit on the number of DNS queries per IP
2414
+ # address (per network interface). For the current limit, see
2415
+ # [Limits on Route 53 Resolver][1].
2416
+ #
2417
+ # * `ACTION_NEEDED`\: This endpoint is unhealthy, and Resolver can't
2418
+ # automatically recover it. To resolve the problem, we recommend
2419
+ # that you check each IP address that you associated with the
2420
+ # endpoint. For each IP address that isn't available, add another
2421
+ # IP address and then delete the IP address that isn't available.
2422
+ # (An endpoint must always include at least two IP addresses.) A
2423
+ # status of `ACTION_NEEDED` can have a variety of causes. Here are
2424
+ # two common causes:
2425
+ #
2426
+ # * One or more of the network interfaces that are associated with
2427
+ # the endpoint were deleted using Amazon VPC.
2428
+ #
2429
+ # * The network interface couldn't be created for some reason
2430
+ # that's outside the control of Resolver.
2431
+ #
2432
+ # * `DELETING`\: Resolver is deleting this endpoint and the associated
2433
+ # network interfaces.
2434
+ #
2435
+ #
2436
+ #
2437
+ # [1]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities-resolver
1266
2438
  # @return [String]
1267
2439
  #
1268
2440
  # @!attribute [rw] status_message
1269
- # A detailed description of the status of the resolver endpoint.
2441
+ # A detailed description of the status of the Resolver endpoint.
1270
2442
  # @return [String]
1271
2443
  #
1272
2444
  # @!attribute [rw] creation_time
@@ -1298,58 +2470,264 @@ module Aws::Route53Resolver
1298
2470
  include Aws::Structure
1299
2471
  end
1300
2472
 
2473
+ # In the response to a [CreateResolverQueryLogConfig][1],
2474
+ # [DeleteResolverQueryLogConfig][2], [GetResolverQueryLogConfig][3], or
2475
+ # [ListResolverQueryLogConfigs][4] request, a complex type that contains
2476
+ # settings for one query logging configuration.
2477
+ #
2478
+ #
2479
+ #
2480
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverQueryLogConfig.html
2481
+ # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DeleteResolverQueryLogConfig.html
2482
+ # [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverQueryLogConfig.html
2483
+ # [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigs.html
2484
+ #
2485
+ # @!attribute [rw] id
2486
+ # The ID for the query logging configuration.
2487
+ # @return [String]
2488
+ #
2489
+ # @!attribute [rw] owner_id
2490
+ # The AWS account ID for the account that created the query logging
2491
+ # configuration.
2492
+ # @return [String]
2493
+ #
2494
+ # @!attribute [rw] status
2495
+ # The status of the specified query logging configuration. Valid
2496
+ # values include the following:
2497
+ #
2498
+ # * `CREATING`\: Resolver is creating the query logging configuration.
2499
+ #
2500
+ # * `CREATED`\: The query logging configuration was successfully
2501
+ # created. Resolver is logging queries that originate in the
2502
+ # specified VPC.
2503
+ #
2504
+ # * `DELETING`\: Resolver is deleting this query logging
2505
+ # configuration.
2506
+ #
2507
+ # * `FAILED`\: Resolver can't deliver logs to the location that is
2508
+ # specified in the query logging configuration. Here are two common
2509
+ # causes:
2510
+ #
2511
+ # * The specified destination (for example, an Amazon S3 bucket) was
2512
+ # deleted.
2513
+ #
2514
+ # * Permissions don't allow sending logs to the destination.
2515
+ # @return [String]
2516
+ #
2517
+ # @!attribute [rw] share_status
2518
+ # An indication of whether the query logging configuration is shared
2519
+ # with other AWS accounts, or was shared with the current account by
2520
+ # another AWS account. Sharing is configured through AWS Resource
2521
+ # Access Manager (AWS RAM).
2522
+ # @return [String]
2523
+ #
2524
+ # @!attribute [rw] association_count
2525
+ # The number of VPCs that are associated with the query logging
2526
+ # configuration.
2527
+ # @return [Integer]
2528
+ #
2529
+ # @!attribute [rw] arn
2530
+ # The ARN for the query logging configuration.
2531
+ # @return [String]
2532
+ #
2533
+ # @!attribute [rw] name
2534
+ # The name of the query logging configuration.
2535
+ # @return [String]
2536
+ #
2537
+ # @!attribute [rw] destination_arn
2538
+ # The ARN of the resource that you want Resolver to send query logs:
2539
+ # an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data
2540
+ # Firehose delivery stream.
2541
+ # @return [String]
2542
+ #
2543
+ # @!attribute [rw] creator_request_id
2544
+ # A unique string that identifies the request that created the query
2545
+ # logging configuration. The `CreatorRequestId` allows failed requests
2546
+ # to be retried without the risk of executing the operation twice.
2547
+ # @return [String]
2548
+ #
2549
+ # @!attribute [rw] creation_time
2550
+ # The date and time that the query logging configuration was created,
2551
+ # in Unix time format and Coordinated Universal Time (UTC).
2552
+ # @return [String]
2553
+ #
2554
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverQueryLogConfig AWS API Documentation
2555
+ #
2556
+ class ResolverQueryLogConfig < Struct.new(
2557
+ :id,
2558
+ :owner_id,
2559
+ :status,
2560
+ :share_status,
2561
+ :association_count,
2562
+ :arn,
2563
+ :name,
2564
+ :destination_arn,
2565
+ :creator_request_id,
2566
+ :creation_time)
2567
+ SENSITIVE = []
2568
+ include Aws::Structure
2569
+ end
2570
+
2571
+ # In the response to an [AssociateResolverQueryLogConfig][1],
2572
+ # [DisassociateResolverQueryLogConfig][2],
2573
+ # [GetResolverQueryLogConfigAssociation][3], or
2574
+ # [ListResolverQueryLogConfigAssociations][4], request, a complex type
2575
+ # that contains settings for a specified association between an Amazon
2576
+ # VPC and a query logging configuration.
2577
+ #
2578
+ #
2579
+ #
2580
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverQueryLogConfig.html
2581
+ # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverQueryLogConfig.html
2582
+ # [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverQueryLogConfigAssociation.html
2583
+ # [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigAssociations.html
2584
+ #
2585
+ # @!attribute [rw] id
2586
+ # The ID of the query logging association.
2587
+ # @return [String]
2588
+ #
2589
+ # @!attribute [rw] resolver_query_log_config_id
2590
+ # The ID of the query logging configuration that a VPC is associated
2591
+ # with.
2592
+ # @return [String]
2593
+ #
2594
+ # @!attribute [rw] resource_id
2595
+ # The ID of the Amazon VPC that is associated with the query logging
2596
+ # configuration.
2597
+ # @return [String]
2598
+ #
2599
+ # @!attribute [rw] status
2600
+ # The status of the specified query logging association. Valid values
2601
+ # include the following:
2602
+ #
2603
+ # * `CREATING`\: Resolver is creating an association between an Amazon
2604
+ # VPC and a query logging configuration.
2605
+ #
2606
+ # * `CREATED`\: The association between an Amazon VPC and a query
2607
+ # logging configuration was successfully created. Resolver is
2608
+ # logging queries that originate in the specified VPC.
2609
+ #
2610
+ # * `DELETING`\: Resolver is deleting this query logging association.
2611
+ #
2612
+ # * `FAILED`\: Resolver either couldn't create or couldn't delete
2613
+ # the query logging association.
2614
+ # @return [String]
2615
+ #
2616
+ # @!attribute [rw] error
2617
+ # If the value of `Status` is `FAILED`, the value of `Error` indicates
2618
+ # the cause:
2619
+ #
2620
+ # * `DESTINATION_NOT_FOUND`\: The specified destination (for example,
2621
+ # an Amazon S3 bucket) was deleted.
2622
+ #
2623
+ # * `ACCESS_DENIED`\: Permissions don't allow sending logs to the
2624
+ # destination.
2625
+ #
2626
+ # If the value of `Status` is a value other than `FAILED`, `Error` is
2627
+ # null.
2628
+ # @return [String]
2629
+ #
2630
+ # @!attribute [rw] error_message
2631
+ # Contains additional information about the error. If the value or
2632
+ # `Error` is null, the value of `ErrorMessage` also is null.
2633
+ # @return [String]
2634
+ #
2635
+ # @!attribute [rw] creation_time
2636
+ # The date and time that the VPC was associated with the query logging
2637
+ # configuration, in Unix time format and Coordinated Universal Time
2638
+ # (UTC).
2639
+ # @return [String]
2640
+ #
2641
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverQueryLogConfigAssociation AWS API Documentation
2642
+ #
2643
+ class ResolverQueryLogConfigAssociation < Struct.new(
2644
+ :id,
2645
+ :resolver_query_log_config_id,
2646
+ :resource_id,
2647
+ :status,
2648
+ :error,
2649
+ :error_message,
2650
+ :creation_time)
2651
+ SENSITIVE = []
2652
+ include Aws::Structure
2653
+ end
2654
+
1301
2655
  # For queries that originate in your VPC, detailed information about a
1302
- # resolver rule, which specifies how to route DNS queries out of the
2656
+ # Resolver rule, which specifies how to route DNS queries out of the
1303
2657
  # VPC. The `ResolverRule` parameter appears in the response to a
1304
- # CreateResolverRule, DeleteResolverRule, GetResolverRule,
1305
- # ListResolverRules, or UpdateResolverRule request.
2658
+ # [CreateResolverRule][1], [DeleteResolverRule][2],
2659
+ # [GetResolverRule][3], [ListResolverRules][4], or
2660
+ # [UpdateResolverRule][5] request.
2661
+ #
2662
+ #
2663
+ #
2664
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverRule.html
2665
+ # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DeleteResolverRule.html
2666
+ # [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRule.html
2667
+ # [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
2668
+ # [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_UpdateResolverRule.html
1306
2669
  #
1307
2670
  # @!attribute [rw] id
1308
- # The ID that Resolver assigned to the resolver rule when you created
2671
+ # The ID that Resolver assigned to the Resolver rule when you created
1309
2672
  # it.
1310
2673
  # @return [String]
1311
2674
  #
1312
2675
  # @!attribute [rw] creator_request_id
1313
- # A unique string that you specified when you created the resolver
1314
- # rule. `CreatorRequestId`identifies the request and allows failed
2676
+ # A unique string that you specified when you created the Resolver
2677
+ # rule. `CreatorRequestId` identifies the request and allows failed
1315
2678
  # requests to be retried without the risk of executing the operation
1316
2679
  # twice.
1317
2680
  # @return [String]
1318
2681
  #
1319
2682
  # @!attribute [rw] arn
1320
- # The ARN (Amazon Resource Name) for the resolver rule specified by
2683
+ # The ARN (Amazon Resource Name) for the Resolver rule specified by
1321
2684
  # `Id`.
1322
2685
  # @return [String]
1323
2686
  #
1324
2687
  # @!attribute [rw] domain_name
1325
2688
  # DNS queries for this domain name are forwarded to the IP addresses
1326
2689
  # that are specified in `TargetIps`. If a query matches multiple
1327
- # resolver rules (example.com and www.example.com), the query is
1328
- # routed using the resolver rule that contains the most specific
2690
+ # Resolver rules (example.com and www.example.com), the query is
2691
+ # routed using the Resolver rule that contains the most specific
1329
2692
  # domain name (www.example.com).
1330
2693
  # @return [String]
1331
2694
  #
1332
2695
  # @!attribute [rw] status
1333
- # A code that specifies the current status of the resolver rule.
2696
+ # A code that specifies the current status of the Resolver rule.
1334
2697
  # @return [String]
1335
2698
  #
1336
2699
  # @!attribute [rw] status_message
1337
- # A detailed description of the status of a resolver rule.
2700
+ # A detailed description of the status of a Resolver rule.
1338
2701
  # @return [String]
1339
2702
  #
1340
2703
  # @!attribute [rw] rule_type
1341
- # This value is always `FORWARD`. Other resolver rule types aren't
1342
- # supported.
2704
+ # When you want to forward DNS queries for specified domain name to
2705
+ # resolvers on your network, specify `FORWARD`.
2706
+ #
2707
+ # When you have a forwarding rule to forward DNS queries for a domain
2708
+ # to your network and you want Resolver to process queries for a
2709
+ # subdomain of that domain, specify `SYSTEM`.
2710
+ #
2711
+ # For example, to forward DNS queries for example.com to resolvers on
2712
+ # your network, you create a rule and specify `FORWARD` for
2713
+ # `RuleType`. To then have Resolver process queries for
2714
+ # apex.example.com, you create a rule and specify `SYSTEM` for
2715
+ # `RuleType`.
2716
+ #
2717
+ # Currently, only Resolver can create rules that have a value of
2718
+ # `RECURSIVE` for `RuleType`.
1343
2719
  # @return [String]
1344
2720
  #
1345
2721
  # @!attribute [rw] name
1346
- # The name for the resolver rule, which you specified when you created
1347
- # the resolver rule.
2722
+ # The name for the Resolver rule, which you specified when you created
2723
+ # the Resolver rule.
1348
2724
  # @return [String]
1349
2725
  #
1350
2726
  # @!attribute [rw] target_ips
1351
- # An array that contains the IP addresses and ports that you want to
1352
- # forward
2727
+ # An array that contains the IP addresses and ports that an outbound
2728
+ # endpoint forwards DNS queries to. Typically, these are the IP
2729
+ # addresses of DNS resolvers on your network. Specify IPv4 addresses.
2730
+ # IPv6 is not supported.
1353
2731
  # @return [Array<Types::TargetAddress>]
1354
2732
  #
1355
2733
  # @!attribute [rw] resolver_endpoint_id
@@ -1367,6 +2745,16 @@ module Aws::Route53Resolver
1367
2745
  # sharing the rule with the current account.
1368
2746
  # @return [String]
1369
2747
  #
2748
+ # @!attribute [rw] creation_time
2749
+ # The date and time that the Resolver rule was created, in Unix time
2750
+ # format and Coordinated Universal Time (UTC).
2751
+ # @return [String]
2752
+ #
2753
+ # @!attribute [rw] modification_time
2754
+ # The date and time that the Resolver rule was last updated, in Unix
2755
+ # time format and Coordinated Universal Time (UTC).
2756
+ # @return [String]
2757
+ #
1370
2758
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverRule AWS API Documentation
1371
2759
  #
1372
2760
  class ResolverRule < Struct.new(
@@ -1381,42 +2769,56 @@ module Aws::Route53Resolver
1381
2769
  :target_ips,
1382
2770
  :resolver_endpoint_id,
1383
2771
  :owner_id,
1384
- :share_status)
2772
+ :share_status,
2773
+ :creation_time,
2774
+ :modification_time)
1385
2775
  SENSITIVE = []
1386
2776
  include Aws::Structure
1387
2777
  end
1388
2778
 
1389
- # In the response to an AssociateResolverRule, DisassociateResolverRule,
1390
- # or ListResolverRuleAssociations request, information about an
1391
- # association between a resolver rule and a VPC.
2779
+ # In the response to an [AssociateResolverRule][1],
2780
+ # [DisassociateResolverRule][2], or [ListResolverRuleAssociations][3]
2781
+ # request, provides information about an association between a Resolver
2782
+ # rule and a VPC. The association determines which DNS queries that
2783
+ # originate in the VPC are forwarded to your network.
2784
+ #
2785
+ #
2786
+ #
2787
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html
2788
+ # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html
2789
+ # [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
1392
2790
  #
1393
2791
  # @!attribute [rw] id
1394
- # The ID of the association between a resolver rule and a VPC.
1395
- # Resolver assigns this value when you submit an AssociateResolverRule
1396
- # request.
2792
+ # The ID of the association between a Resolver rule and a VPC.
2793
+ # Resolver assigns this value when you submit an
2794
+ # [AssociateResolverRule][1] request.
2795
+ #
2796
+ #
2797
+ #
2798
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html
1397
2799
  # @return [String]
1398
2800
  #
1399
2801
  # @!attribute [rw] resolver_rule_id
1400
- # The ID of the resolver rule that you associated with the VPC that is
2802
+ # The ID of the Resolver rule that you associated with the VPC that is
1401
2803
  # specified by `VPCId`.
1402
2804
  # @return [String]
1403
2805
  #
1404
2806
  # @!attribute [rw] name
1405
- # The name of an association between a resolver rule and a VPC.
2807
+ # The name of an association between a Resolver rule and a VPC.
1406
2808
  # @return [String]
1407
2809
  #
1408
2810
  # @!attribute [rw] vpc_id
1409
- # The ID of the VPC that you associated the resolver rule with.
2811
+ # The ID of the VPC that you associated the Resolver rule with.
1410
2812
  # @return [String]
1411
2813
  #
1412
2814
  # @!attribute [rw] status
1413
2815
  # A code that specifies the current status of the association between
1414
- # a resolver rule and a VPC.
2816
+ # a Resolver rule and a VPC.
1415
2817
  # @return [String]
1416
2818
  #
1417
2819
  # @!attribute [rw] status_message
1418
2820
  # A detailed description of the status of the association between a
1419
- # resolver rule and a VPC.
2821
+ # Resolver rule and a VPC.
1420
2822
  # @return [String]
1421
2823
  #
1422
2824
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverRuleAssociation AWS API Documentation
@@ -1432,8 +2834,12 @@ module Aws::Route53Resolver
1432
2834
  include Aws::Structure
1433
2835
  end
1434
2836
 
1435
- # In an UpdateResolverRule request, information about the changes that
1436
- # you want to make.
2837
+ # In an [UpdateResolverRule][1] request, information about the changes
2838
+ # that you want to make.
2839
+ #
2840
+ #
2841
+ #
2842
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_UpdateResolverRule.html
1437
2843
  #
1438
2844
  # @note When making an API call, you may pass ResolverRuleConfig
1439
2845
  # data as a hash:
@@ -1450,7 +2856,7 @@ module Aws::Route53Resolver
1450
2856
  # }
1451
2857
  #
1452
2858
  # @!attribute [rw] name
1453
- # The new name for the resolver rule. The name that you specify
2859
+ # The new name for the Resolver rule. The name that you specify
1454
2860
  # appears in the Resolver dashboard in the Route 53 console.
1455
2861
  # @return [String]
1456
2862
  #
@@ -1460,7 +2866,7 @@ module Aws::Route53Resolver
1460
2866
  # @return [Array<Types::TargetAddress>]
1461
2867
  #
1462
2868
  # @!attribute [rw] resolver_endpoint_id
1463
- # The ID of the new outbound resolver endpoint that you want to use to
2869
+ # The ID of the new outbound Resolver endpoint that you want to use to
1464
2870
  # route DNS queries to the IP addresses that you specify in
1465
2871
  # `TargetIps`.
1466
2872
  # @return [String]
@@ -1558,8 +2964,8 @@ module Aws::Route53Resolver
1558
2964
  # data as a hash:
1559
2965
  #
1560
2966
  # {
1561
- # key: "TagKey",
1562
- # value: "TagValue",
2967
+ # key: "TagKey", # required
2968
+ # value: "TagValue", # required
1563
2969
  # }
1564
2970
  #
1565
2971
  # @!attribute [rw] key
@@ -1590,8 +2996,8 @@ module Aws::Route53Resolver
1590
2996
  # resource_arn: "Arn", # required
1591
2997
  # tags: [ # required
1592
2998
  # {
1593
- # key: "TagKey",
1594
- # value: "TagValue",
2999
+ # key: "TagKey", # required
3000
+ # value: "TagValue", # required
1595
3001
  # },
1596
3002
  # ],
1597
3003
  # }
@@ -1601,17 +3007,26 @@ module Aws::Route53Resolver
1601
3007
  # tags to. To get the ARN for a resource, use the applicable `Get` or
1602
3008
  # `List` command:
1603
3009
  #
1604
- # * GetResolverEndpoint
3010
+ # * [GetResolverEndpoint][1]
3011
+ #
3012
+ # * [GetResolverRule][2]
1605
3013
  #
1606
- # * GetResolverRule
3014
+ # * [GetResolverRuleAssociation][3]
1607
3015
  #
1608
- # * GetResolverRuleAssociation
3016
+ # * [ListResolverEndpoints][4]
1609
3017
  #
1610
- # * ListResolverEndpoints
3018
+ # * [ListResolverRuleAssociations][5]
1611
3019
  #
1612
- # * ListResolverRuleAssociations
3020
+ # * [ListResolverRules][6]
1613
3021
  #
1614
- # * ListResolverRules
3022
+ #
3023
+ #
3024
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
3025
+ # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRule.html
3026
+ # [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRuleAssociation.html
3027
+ # [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
3028
+ # [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
3029
+ # [6]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
1615
3030
  # @return [String]
1616
3031
  #
1617
3032
  # @!attribute [rw] tags
@@ -1631,8 +3046,12 @@ module Aws::Route53Resolver
1631
3046
  #
1632
3047
  class TagResourceResponse < Aws::EmptyStructure; end
1633
3048
 
1634
- # In a CreateResolverRule request, an array of the IPs that you want to
1635
- # forward DNS queries to.
3049
+ # In a [CreateResolverRule][1] request, an array of the IPs that you
3050
+ # want to forward DNS queries to.
3051
+ #
3052
+ #
3053
+ #
3054
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverRule.html
1636
3055
  #
1637
3056
  # @note When making an API call, you may pass TargetAddress
1638
3057
  # data as a hash:
@@ -1699,17 +3118,26 @@ module Aws::Route53Resolver
1699
3118
  # remove tags from. To get the ARN for a resource, use the applicable
1700
3119
  # `Get` or `List` command:
1701
3120
  #
1702
- # * GetResolverEndpoint
3121
+ # * [GetResolverEndpoint][1]
3122
+ #
3123
+ # * [GetResolverRule][2]
3124
+ #
3125
+ # * [GetResolverRuleAssociation][3]
3126
+ #
3127
+ # * [ListResolverEndpoints][4]
1703
3128
  #
1704
- # * GetResolverRule
3129
+ # * [ListResolverRuleAssociations][5]
1705
3130
  #
1706
- # * GetResolverRuleAssociation
3131
+ # * [ListResolverRules][6]
1707
3132
  #
1708
- # * ListResolverEndpoints
1709
3133
  #
1710
- # * ListResolverRuleAssociations
1711
3134
  #
1712
- # * ListResolverRules
3135
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
3136
+ # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRule.html
3137
+ # [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRuleAssociation.html
3138
+ # [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
3139
+ # [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
3140
+ # [6]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
1713
3141
  # @return [String]
1714
3142
  #
1715
3143
  # @!attribute [rw] tag_keys
@@ -1729,6 +3157,47 @@ module Aws::Route53Resolver
1729
3157
  #
1730
3158
  class UntagResourceResponse < Aws::EmptyStructure; end
1731
3159
 
3160
+ # @note When making an API call, you may pass UpdateResolverDnssecConfigRequest
3161
+ # data as a hash:
3162
+ #
3163
+ # {
3164
+ # resource_id: "ResourceId", # required
3165
+ # validation: "ENABLE", # required, accepts ENABLE, DISABLE
3166
+ # }
3167
+ #
3168
+ # @!attribute [rw] resource_id
3169
+ # The ID of the virtual private cloud (VPC) that you're updating the
3170
+ # DNSSEC validation status for.
3171
+ # @return [String]
3172
+ #
3173
+ # @!attribute [rw] validation
3174
+ # The new value that you are specifying for DNSSEC validation for the
3175
+ # VPC. The value can be `ENABLE` or `DISABLE`. Be aware that it can
3176
+ # take time for a validation status change to be completed.
3177
+ # @return [String]
3178
+ #
3179
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverDnssecConfigRequest AWS API Documentation
3180
+ #
3181
+ class UpdateResolverDnssecConfigRequest < Struct.new(
3182
+ :resource_id,
3183
+ :validation)
3184
+ SENSITIVE = []
3185
+ include Aws::Structure
3186
+ end
3187
+
3188
+ # @!attribute [rw] resolver_dnssec_config
3189
+ # A complex type that contains settings for the specified DNSSEC
3190
+ # configuration.
3191
+ # @return [Types::ResolverDnssecConfig]
3192
+ #
3193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverDnssecConfigResponse AWS API Documentation
3194
+ #
3195
+ class UpdateResolverDnssecConfigResponse < Struct.new(
3196
+ :resolver_dnssec_config)
3197
+ SENSITIVE = []
3198
+ include Aws::Structure
3199
+ end
3200
+
1732
3201
  # @note When making an API call, you may pass UpdateResolverEndpointRequest
1733
3202
  # data as a hash:
1734
3203
  #
@@ -1738,11 +3207,11 @@ module Aws::Route53Resolver
1738
3207
  # }
1739
3208
  #
1740
3209
  # @!attribute [rw] resolver_endpoint_id
1741
- # The ID of the resolver endpoint that you want to update.
3210
+ # The ID of the Resolver endpoint that you want to update.
1742
3211
  # @return [String]
1743
3212
  #
1744
3213
  # @!attribute [rw] name
1745
- # The name of the resolver endpoint that you want to update.
3214
+ # The name of the Resolver endpoint that you want to update.
1746
3215
  # @return [String]
1747
3216
  #
1748
3217
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpointRequest AWS API Documentation
@@ -1784,11 +3253,11 @@ module Aws::Route53Resolver
1784
3253
  # }
1785
3254
  #
1786
3255
  # @!attribute [rw] resolver_rule_id
1787
- # The ID of the resolver rule that you want to update.
3256
+ # The ID of the Resolver rule that you want to update.
1788
3257
  # @return [String]
1789
3258
  #
1790
3259
  # @!attribute [rw] config
1791
- # The new settings for the resolver rule.
3260
+ # The new settings for the Resolver rule.
1792
3261
  # @return [Types::ResolverRuleConfig]
1793
3262
  #
1794
3263
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRuleRequest AWS API Documentation