aws-sdk-route53resolver 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
@@ -0,0 +1,14 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Route53Resolver
9
+ module Errors
10
+
11
+ extend Aws::Errors::DynamicErrors
12
+
13
+ end
14
+ end
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Route53Resolver
9
+ class Resource
10
+
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
16
+
17
+ # @return [Client]
18
+ def client
19
+ @client
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,1556 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Route53Resolver
9
+ module Types
10
+
11
+ # @note When making an API call, you may pass AssociateResolverEndpointIpAddressRequest
12
+ # data as a hash:
13
+ #
14
+ # {
15
+ # resolver_endpoint_id: "ResourceId", # required
16
+ # ip_address: { # required
17
+ # ip_id: "ResourceId",
18
+ # subnet_id: "SubnetId",
19
+ # ip: "Ip",
20
+ # },
21
+ # }
22
+ #
23
+ # @!attribute [rw] resolver_endpoint_id
24
+ # The ID of the resolver endpoint that you want to associate IP
25
+ # addresses with.
26
+ # @return [String]
27
+ #
28
+ # @!attribute [rw] ip_address
29
+ # Either the IPv4 address that you want to add to a resolver endpoint
30
+ # or a subnet ID. If you specify a subnet ID, Resolver chooses an IP
31
+ # address for you from the available IPs in the specified subnet.
32
+ # @return [Types::IpAddressUpdate]
33
+ #
34
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverEndpointIpAddressRequest AWS API Documentation
35
+ #
36
+ class AssociateResolverEndpointIpAddressRequest < Struct.new(
37
+ :resolver_endpoint_id,
38
+ :ip_address)
39
+ include Aws::Structure
40
+ end
41
+
42
+ # @!attribute [rw] resolver_endpoint
43
+ # The response to an `AssociateResolverEndpointIpAddress` request.
44
+ # @return [Types::ResolverEndpoint]
45
+ #
46
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverEndpointIpAddressResponse AWS API Documentation
47
+ #
48
+ class AssociateResolverEndpointIpAddressResponse < Struct.new(
49
+ :resolver_endpoint)
50
+ include Aws::Structure
51
+ end
52
+
53
+ # @note When making an API call, you may pass AssociateResolverRuleRequest
54
+ # data as a hash:
55
+ #
56
+ # {
57
+ # resolver_rule_id: "ResourceId", # required
58
+ # name: "Name",
59
+ # vpc_id: "ResourceId", # required
60
+ # }
61
+ #
62
+ # @!attribute [rw] resolver_rule_id
63
+ # The ID of the resolver rule that you want to associate with the VPC.
64
+ # To list the existing resolver rules, use ListResolverRules.
65
+ # @return [String]
66
+ #
67
+ # @!attribute [rw] name
68
+ # A name for the association that you're creating between a resolver
69
+ # rule and a VPC.
70
+ # @return [String]
71
+ #
72
+ # @!attribute [rw] vpc_id
73
+ # The ID of the VPC that you want to associate the resolver rule with.
74
+ # @return [String]
75
+ #
76
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverRuleRequest AWS API Documentation
77
+ #
78
+ class AssociateResolverRuleRequest < Struct.new(
79
+ :resolver_rule_id,
80
+ :name,
81
+ :vpc_id)
82
+ include Aws::Structure
83
+ end
84
+
85
+ # @!attribute [rw] resolver_rule_association
86
+ # Information about the `AssociateResolverRule` request, including the
87
+ # status of the request.
88
+ # @return [Types::ResolverRuleAssociation]
89
+ #
90
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverRuleResponse AWS API Documentation
91
+ #
92
+ class AssociateResolverRuleResponse < Struct.new(
93
+ :resolver_rule_association)
94
+ include Aws::Structure
95
+ end
96
+
97
+ # @note When making an API call, you may pass CreateResolverEndpointRequest
98
+ # data as a hash:
99
+ #
100
+ # {
101
+ # creator_request_id: "CreatorRequestId", # required
102
+ # name: "Name",
103
+ # security_group_ids: ["ResourceId"], # required
104
+ # direction: "INBOUND", # required, accepts INBOUND, OUTBOUND
105
+ # ip_addresses: [ # required
106
+ # {
107
+ # subnet_id: "SubnetId", # required
108
+ # ip: "Ip",
109
+ # },
110
+ # ],
111
+ # tags: [
112
+ # {
113
+ # key: "TagKey",
114
+ # value: "TagValue",
115
+ # },
116
+ # ],
117
+ # }
118
+ #
119
+ # @!attribute [rw] creator_request_id
120
+ # A unique string that identifies the request and that allows failed
121
+ # requests to be retried without the risk of executing the operation
122
+ # twice. `CreatorRequestId` can be any unique string, for example, a
123
+ # date/time stamp.
124
+ # @return [String]
125
+ #
126
+ # @!attribute [rw] name
127
+ # A friendly name that lets you easily find a configuration in the
128
+ # Resolver dashboard in the Route 53 console.
129
+ # @return [String]
130
+ #
131
+ # @!attribute [rw] security_group_ids
132
+ # The ID of one or more security groups that you want to use to
133
+ # control access to this VPC. The security group that you specify must
134
+ # include one or more inbound rules (for inbound resolver endpoints)
135
+ # or outbound rules (for outbound resolver endpoints).
136
+ # @return [Array<String>]
137
+ #
138
+ # @!attribute [rw] direction
139
+ # Specify the applicable value:
140
+ #
141
+ # * `INBOUND`\: Resolver forwards DNS queries to the DNS service for a
142
+ # VPC from your network or another VPC
143
+ #
144
+ # * `OUTBOUND`\: Resolver forwards DNS queries from the DNS service
145
+ # for a VPC to your network or another VPC
146
+ # @return [String]
147
+ #
148
+ # @!attribute [rw] ip_addresses
149
+ # The subnets and IP addresses in your VPC that you want DNS queries
150
+ # to pass through on the way from your VPCs to your network (for
151
+ # outbound endpoints) or on the way from your network to your VPCs
152
+ # (for inbound resolver endpoints).
153
+ # @return [Array<Types::IpAddressRequest>]
154
+ #
155
+ # @!attribute [rw] tags
156
+ # A list of the tag keys and values that you want to associate with
157
+ # the endpoint.
158
+ # @return [Array<Types::Tag>]
159
+ #
160
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverEndpointRequest AWS API Documentation
161
+ #
162
+ class CreateResolverEndpointRequest < Struct.new(
163
+ :creator_request_id,
164
+ :name,
165
+ :security_group_ids,
166
+ :direction,
167
+ :ip_addresses,
168
+ :tags)
169
+ include Aws::Structure
170
+ end
171
+
172
+ # @!attribute [rw] resolver_endpoint
173
+ # Information about the `CreateResolverEndpoint` request, including
174
+ # the status of the request.
175
+ # @return [Types::ResolverEndpoint]
176
+ #
177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverEndpointResponse AWS API Documentation
178
+ #
179
+ class CreateResolverEndpointResponse < Struct.new(
180
+ :resolver_endpoint)
181
+ include Aws::Structure
182
+ end
183
+
184
+ # @note When making an API call, you may pass CreateResolverRuleRequest
185
+ # data as a hash:
186
+ #
187
+ # {
188
+ # creator_request_id: "CreatorRequestId", # required
189
+ # name: "Name",
190
+ # rule_type: "FORWARD", # required, accepts FORWARD, SYSTEM, RECURSIVE
191
+ # domain_name: "DomainName", # required
192
+ # target_ips: [
193
+ # {
194
+ # ip: "Ip", # required
195
+ # port: 1,
196
+ # },
197
+ # ],
198
+ # resolver_endpoint_id: "ResourceId",
199
+ # tags: [
200
+ # {
201
+ # key: "TagKey",
202
+ # value: "TagValue",
203
+ # },
204
+ # ],
205
+ # }
206
+ #
207
+ # @!attribute [rw] creator_request_id
208
+ # A unique string that identifies the request and that allows failed
209
+ # requests to be retried without the risk of executing the operation
210
+ # twice. `CreatorRequestId` can be any unique string, for example, a
211
+ # date/time stamp.
212
+ # @return [String]
213
+ #
214
+ # @!attribute [rw] name
215
+ # A friendly name that lets you easily find a rule in the Resolver
216
+ # dashboard in the Route 53 console.
217
+ # @return [String]
218
+ #
219
+ # @!attribute [rw] rule_type
220
+ # Specify `FORWARD`. Other resolver rule types aren't supported.
221
+ # @return [String]
222
+ #
223
+ # @!attribute [rw] domain_name
224
+ # DNS queries for this domain name are forwarded to the IP addresses
225
+ # that you specify in `TargetIps`. If a query matches multiple
226
+ # resolver rules (example.com and www.example.com), outbound DNS
227
+ # queries are routed using the resolver rule that contains the most
228
+ # specific domain name (www.example.com).
229
+ # @return [String]
230
+ #
231
+ # @!attribute [rw] target_ips
232
+ # The IPs that you want Resolver to forward DNS queries to. You can
233
+ # specify only IPv4 addresses. Separate IP addresses with a comma.
234
+ # @return [Array<Types::TargetAddress>]
235
+ #
236
+ # @!attribute [rw] resolver_endpoint_id
237
+ # The ID of the outbound resolver endpoint that you want to use to
238
+ # route DNS queries to the IP addresses that you specify in
239
+ # `TargetIps`.
240
+ # @return [String]
241
+ #
242
+ # @!attribute [rw] tags
243
+ # A list of the tag keys and values that you want to associate with
244
+ # the endpoint.
245
+ # @return [Array<Types::Tag>]
246
+ #
247
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRuleRequest AWS API Documentation
248
+ #
249
+ class CreateResolverRuleRequest < Struct.new(
250
+ :creator_request_id,
251
+ :name,
252
+ :rule_type,
253
+ :domain_name,
254
+ :target_ips,
255
+ :resolver_endpoint_id,
256
+ :tags)
257
+ include Aws::Structure
258
+ end
259
+
260
+ # @!attribute [rw] resolver_rule
261
+ # Information about the `CreateResolverRule` request, including the
262
+ # status of the request.
263
+ # @return [Types::ResolverRule]
264
+ #
265
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRuleResponse AWS API Documentation
266
+ #
267
+ class CreateResolverRuleResponse < Struct.new(
268
+ :resolver_rule)
269
+ include Aws::Structure
270
+ end
271
+
272
+ # @note When making an API call, you may pass DeleteResolverEndpointRequest
273
+ # data as a hash:
274
+ #
275
+ # {
276
+ # resolver_endpoint_id: "ResourceId", # required
277
+ # }
278
+ #
279
+ # @!attribute [rw] resolver_endpoint_id
280
+ # The ID of the resolver endpoint that you want to delete.
281
+ # @return [String]
282
+ #
283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverEndpointRequest AWS API Documentation
284
+ #
285
+ class DeleteResolverEndpointRequest < Struct.new(
286
+ :resolver_endpoint_id)
287
+ include Aws::Structure
288
+ end
289
+
290
+ # @!attribute [rw] resolver_endpoint
291
+ # Information about the `DeleteResolverEndpoint` request, including
292
+ # the status of the request.
293
+ # @return [Types::ResolverEndpoint]
294
+ #
295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverEndpointResponse AWS API Documentation
296
+ #
297
+ class DeleteResolverEndpointResponse < Struct.new(
298
+ :resolver_endpoint)
299
+ include Aws::Structure
300
+ end
301
+
302
+ # @note When making an API call, you may pass DeleteResolverRuleRequest
303
+ # data as a hash:
304
+ #
305
+ # {
306
+ # resolver_rule_id: "ResourceId", # required
307
+ # }
308
+ #
309
+ # @!attribute [rw] resolver_rule_id
310
+ # The ID of the resolver rule that you want to delete.
311
+ # @return [String]
312
+ #
313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRuleRequest AWS API Documentation
314
+ #
315
+ class DeleteResolverRuleRequest < Struct.new(
316
+ :resolver_rule_id)
317
+ include Aws::Structure
318
+ end
319
+
320
+ # @!attribute [rw] resolver_rule
321
+ # Information about the `DeleteResolverRule` request, including the
322
+ # status of the request.
323
+ # @return [Types::ResolverRule]
324
+ #
325
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRuleResponse AWS API Documentation
326
+ #
327
+ class DeleteResolverRuleResponse < Struct.new(
328
+ :resolver_rule)
329
+ include Aws::Structure
330
+ end
331
+
332
+ # @note When making an API call, you may pass DisassociateResolverEndpointIpAddressRequest
333
+ # data as a hash:
334
+ #
335
+ # {
336
+ # resolver_endpoint_id: "ResourceId", # required
337
+ # ip_address: { # required
338
+ # ip_id: "ResourceId",
339
+ # subnet_id: "SubnetId",
340
+ # ip: "Ip",
341
+ # },
342
+ # }
343
+ #
344
+ # @!attribute [rw] resolver_endpoint_id
345
+ # The ID of the resolver endpoint that you want to disassociate an IP
346
+ # address from.
347
+ # @return [String]
348
+ #
349
+ # @!attribute [rw] ip_address
350
+ # The IPv4 address that you want to remove from a resolver endpoint.
351
+ # @return [Types::IpAddressUpdate]
352
+ #
353
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverEndpointIpAddressRequest AWS API Documentation
354
+ #
355
+ class DisassociateResolverEndpointIpAddressRequest < Struct.new(
356
+ :resolver_endpoint_id,
357
+ :ip_address)
358
+ include Aws::Structure
359
+ end
360
+
361
+ # @!attribute [rw] resolver_endpoint
362
+ # The response to an `DisassociateResolverEndpointIpAddress` request.
363
+ # @return [Types::ResolverEndpoint]
364
+ #
365
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverEndpointIpAddressResponse AWS API Documentation
366
+ #
367
+ class DisassociateResolverEndpointIpAddressResponse < Struct.new(
368
+ :resolver_endpoint)
369
+ include Aws::Structure
370
+ end
371
+
372
+ # @note When making an API call, you may pass DisassociateResolverRuleRequest
373
+ # data as a hash:
374
+ #
375
+ # {
376
+ # vpc_id: "ResourceId", # required
377
+ # resolver_rule_id: "ResourceId", # required
378
+ # }
379
+ #
380
+ # @!attribute [rw] vpc_id
381
+ # The ID of the VPC that you want to disassociate the resolver rule
382
+ # from.
383
+ # @return [String]
384
+ #
385
+ # @!attribute [rw] resolver_rule_id
386
+ # The ID of the resolver rule that you want to disassociate from the
387
+ # specified VPC.
388
+ # @return [String]
389
+ #
390
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverRuleRequest AWS API Documentation
391
+ #
392
+ class DisassociateResolverRuleRequest < Struct.new(
393
+ :vpc_id,
394
+ :resolver_rule_id)
395
+ include Aws::Structure
396
+ end
397
+
398
+ # @!attribute [rw] resolver_rule_association
399
+ # Information about the `DisassociateResolverRule` request, including
400
+ # the status of the request.
401
+ # @return [Types::ResolverRuleAssociation]
402
+ #
403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverRuleResponse AWS API Documentation
404
+ #
405
+ class DisassociateResolverRuleResponse < Struct.new(
406
+ :resolver_rule_association)
407
+ include Aws::Structure
408
+ end
409
+
410
+ # For `List` operations, an optional specification to return a subset of
411
+ # objects, such as resolver endpoints or resolver rules.
412
+ #
413
+ # @note When making an API call, you may pass Filter
414
+ # data as a hash:
415
+ #
416
+ # {
417
+ # name: "FilterName",
418
+ # values: ["FilterValue"],
419
+ # }
420
+ #
421
+ # @!attribute [rw] name
422
+ # When you're using a `List` operation and you want the operation to
423
+ # return a subset of objects, such as resolver endpoints or resolver
424
+ # rules, the name of the parameter that you want to use to filter
425
+ # objects. For example, to list only inbound resolver endpoints,
426
+ # specify `Direction` for the value of `Name`.
427
+ # @return [String]
428
+ #
429
+ # @!attribute [rw] values
430
+ # When you're using a `List` operation and you want the operation to
431
+ # return a subset of objects, such as resolver endpoints or resolver
432
+ # rules, the value of the parameter that you want to use to filter
433
+ # objects. For example, to list only inbound resolver endpoints,
434
+ # specify `INBOUND` for the value of `Values`.
435
+ # @return [Array<String>]
436
+ #
437
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/Filter AWS API Documentation
438
+ #
439
+ class Filter < Struct.new(
440
+ :name,
441
+ :values)
442
+ include Aws::Structure
443
+ end
444
+
445
+ # @note When making an API call, you may pass GetResolverEndpointRequest
446
+ # data as a hash:
447
+ #
448
+ # {
449
+ # resolver_endpoint_id: "ResourceId", # required
450
+ # }
451
+ #
452
+ # @!attribute [rw] resolver_endpoint_id
453
+ # The ID of the resolver endpoint that you want to get information
454
+ # about.
455
+ # @return [String]
456
+ #
457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverEndpointRequest AWS API Documentation
458
+ #
459
+ class GetResolverEndpointRequest < Struct.new(
460
+ :resolver_endpoint_id)
461
+ include Aws::Structure
462
+ end
463
+
464
+ # @!attribute [rw] resolver_endpoint
465
+ # Information about the resolver endpoint that you specified in a
466
+ # `GetResolverEndpoint` request.
467
+ # @return [Types::ResolverEndpoint]
468
+ #
469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverEndpointResponse AWS API Documentation
470
+ #
471
+ class GetResolverEndpointResponse < Struct.new(
472
+ :resolver_endpoint)
473
+ include Aws::Structure
474
+ end
475
+
476
+ # @note When making an API call, you may pass GetResolverRuleAssociationRequest
477
+ # data as a hash:
478
+ #
479
+ # {
480
+ # resolver_rule_association_id: "ResourceId", # required
481
+ # }
482
+ #
483
+ # @!attribute [rw] resolver_rule_association_id
484
+ # The ID of the resolver rule association that you want to get
485
+ # information about.
486
+ # @return [String]
487
+ #
488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleAssociationRequest AWS API Documentation
489
+ #
490
+ class GetResolverRuleAssociationRequest < Struct.new(
491
+ :resolver_rule_association_id)
492
+ include Aws::Structure
493
+ end
494
+
495
+ # @!attribute [rw] resolver_rule_association
496
+ # Information about the resolver rule association that you specified
497
+ # in a `GetResolverRuleAssociation` request.
498
+ # @return [Types::ResolverRuleAssociation]
499
+ #
500
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleAssociationResponse AWS API Documentation
501
+ #
502
+ class GetResolverRuleAssociationResponse < Struct.new(
503
+ :resolver_rule_association)
504
+ include Aws::Structure
505
+ end
506
+
507
+ # @note When making an API call, you may pass GetResolverRulePolicyRequest
508
+ # data as a hash:
509
+ #
510
+ # {
511
+ # arn: "Arn", # required
512
+ # }
513
+ #
514
+ # @!attribute [rw] arn
515
+ # The ID of the resolver rule policy that you want to get information
516
+ # about.
517
+ # @return [String]
518
+ #
519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRulePolicyRequest AWS API Documentation
520
+ #
521
+ class GetResolverRulePolicyRequest < Struct.new(
522
+ :arn)
523
+ include Aws::Structure
524
+ end
525
+
526
+ # @!attribute [rw] resolver_rule_policy
527
+ # Information about the resolver rule policy that you specified in a
528
+ # `GetResolverRulePolicy` request.
529
+ # @return [String]
530
+ #
531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRulePolicyResponse AWS API Documentation
532
+ #
533
+ class GetResolverRulePolicyResponse < Struct.new(
534
+ :resolver_rule_policy)
535
+ include Aws::Structure
536
+ end
537
+
538
+ # @note When making an API call, you may pass GetResolverRuleRequest
539
+ # data as a hash:
540
+ #
541
+ # {
542
+ # resolver_rule_id: "ResourceId", # required
543
+ # }
544
+ #
545
+ # @!attribute [rw] resolver_rule_id
546
+ # The ID of the resolver rule that you want to get information about.
547
+ # @return [String]
548
+ #
549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleRequest AWS API Documentation
550
+ #
551
+ class GetResolverRuleRequest < Struct.new(
552
+ :resolver_rule_id)
553
+ include Aws::Structure
554
+ end
555
+
556
+ # @!attribute [rw] resolver_rule
557
+ # Information about the resolver rule that you specified in a
558
+ # `GetResolverRule` request.
559
+ # @return [Types::ResolverRule]
560
+ #
561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleResponse AWS API Documentation
562
+ #
563
+ class GetResolverRuleResponse < Struct.new(
564
+ :resolver_rule)
565
+ include Aws::Structure
566
+ end
567
+
568
+ # In an CreateResolverEndpoint request, a subnet and IP address that you
569
+ # want to use for DNS queries.
570
+ #
571
+ # @note When making an API call, you may pass IpAddressRequest
572
+ # data as a hash:
573
+ #
574
+ # {
575
+ # subnet_id: "SubnetId", # required
576
+ # ip: "Ip",
577
+ # }
578
+ #
579
+ # @!attribute [rw] subnet_id
580
+ # The subnet that contains the IP address.
581
+ # @return [String]
582
+ #
583
+ # @!attribute [rw] ip
584
+ # The IP address that you want to use for DNS queries.
585
+ # @return [String]
586
+ #
587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/IpAddressRequest AWS API Documentation
588
+ #
589
+ class IpAddressRequest < Struct.new(
590
+ :subnet_id,
591
+ :ip)
592
+ include Aws::Structure
593
+ end
594
+
595
+ # In the response to a GetResolverEndpoint request, information about
596
+ # the IP addresses that the resolver endpoint uses for DNS queries.
597
+ #
598
+ # @!attribute [rw] ip_id
599
+ # The ID of one IP address.
600
+ # @return [String]
601
+ #
602
+ # @!attribute [rw] subnet_id
603
+ # The ID of one subnet.
604
+ # @return [String]
605
+ #
606
+ # @!attribute [rw] ip
607
+ # One IP address that the resolver endpoint uses for DNS queries.
608
+ # @return [String]
609
+ #
610
+ # @!attribute [rw] status
611
+ # A status code that gives the current status of the request.
612
+ # @return [String]
613
+ #
614
+ # @!attribute [rw] status_message
615
+ # A message that provides additional information about the status of
616
+ # the request.
617
+ # @return [String]
618
+ #
619
+ # @!attribute [rw] creation_time
620
+ # The date and time that the IP address was created, in Unix time
621
+ # format and Coordinated Universal Time (UTC).
622
+ # @return [String]
623
+ #
624
+ # @!attribute [rw] modification_time
625
+ # The date and time that the IP address was last modified, in Unix
626
+ # time format and Coordinated Universal Time (UTC).
627
+ # @return [String]
628
+ #
629
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/IpAddressResponse AWS API Documentation
630
+ #
631
+ class IpAddressResponse < Struct.new(
632
+ :ip_id,
633
+ :subnet_id,
634
+ :ip,
635
+ :status,
636
+ :status_message,
637
+ :creation_time,
638
+ :modification_time)
639
+ include Aws::Structure
640
+ end
641
+
642
+ # In an UpdateResolverEndpoint request, information about an IP address
643
+ # to update.
644
+ #
645
+ # @note When making an API call, you may pass IpAddressUpdate
646
+ # data as a hash:
647
+ #
648
+ # {
649
+ # ip_id: "ResourceId",
650
+ # subnet_id: "SubnetId",
651
+ # ip: "Ip",
652
+ # }
653
+ #
654
+ # @!attribute [rw] ip_id
655
+ # *Only when removing an IP address from a resolver endpoint*\: The ID
656
+ # of the IP address that you want to remove. To get this ID, use
657
+ # GetResolverEndpoint.
658
+ # @return [String]
659
+ #
660
+ # @!attribute [rw] subnet_id
661
+ # The ID of the subnet that includes the IP address that you want to
662
+ # update. To get this ID, use GetResolverEndpoint.
663
+ # @return [String]
664
+ #
665
+ # @!attribute [rw] ip
666
+ # The new IP address.
667
+ # @return [String]
668
+ #
669
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/IpAddressUpdate AWS API Documentation
670
+ #
671
+ class IpAddressUpdate < Struct.new(
672
+ :ip_id,
673
+ :subnet_id,
674
+ :ip)
675
+ include Aws::Structure
676
+ end
677
+
678
+ # @note When making an API call, you may pass ListResolverEndpointIpAddressesRequest
679
+ # data as a hash:
680
+ #
681
+ # {
682
+ # resolver_endpoint_id: "ResourceId", # required
683
+ # max_results: 1,
684
+ # next_token: "NextToken",
685
+ # }
686
+ #
687
+ # @!attribute [rw] resolver_endpoint_id
688
+ # The ID of the resolver endpoint that you want to get IP addresses
689
+ # for.
690
+ # @return [String]
691
+ #
692
+ # @!attribute [rw] max_results
693
+ # The maximum number of IP addresses that you want to return in the
694
+ # response to a `ListResolverEndpointIpAddresses` request. If you
695
+ # don't specify a value for `MaxResults`, Resolver returns up to 100
696
+ # IP addresses.
697
+ # @return [Integer]
698
+ #
699
+ # @!attribute [rw] next_token
700
+ # For the first `ListResolverEndpointIpAddresses` request, omit this
701
+ # value.
702
+ #
703
+ # If the specified resolver endpoint has more than `MaxResults` IP
704
+ # addresses, you can submit another `ListResolverEndpointIpAddresses`
705
+ # request to get the next group of IP addresses. In the next request,
706
+ # specify the value of `NextToken` from the previous response.
707
+ # @return [String]
708
+ #
709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointIpAddressesRequest AWS API Documentation
710
+ #
711
+ class ListResolverEndpointIpAddressesRequest < Struct.new(
712
+ :resolver_endpoint_id,
713
+ :max_results,
714
+ :next_token)
715
+ include Aws::Structure
716
+ end
717
+
718
+ # @!attribute [rw] next_token
719
+ # If the specified endpoint has more than `MaxResults` IP addresses,
720
+ # you can submit another `ListResolverEndpointIpAddresses` request to
721
+ # get the next group of IP addresses. In the next request, specify the
722
+ # value of `NextToken` from the previous response.
723
+ # @return [String]
724
+ #
725
+ # @!attribute [rw] max_results
726
+ # The value that you specified for `MaxResults` in the request.
727
+ # @return [Integer]
728
+ #
729
+ # @!attribute [rw] ip_addresses
730
+ # The IP addresses that DNS queries pass through on their way to your
731
+ # network (outbound endpoint) or on the way to Resolver (inbound
732
+ # endpoint).
733
+ # @return [Array<Types::IpAddressResponse>]
734
+ #
735
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointIpAddressesResponse AWS API Documentation
736
+ #
737
+ class ListResolverEndpointIpAddressesResponse < Struct.new(
738
+ :next_token,
739
+ :max_results,
740
+ :ip_addresses)
741
+ include Aws::Structure
742
+ end
743
+
744
+ # @note When making an API call, you may pass ListResolverEndpointsRequest
745
+ # data as a hash:
746
+ #
747
+ # {
748
+ # max_results: 1,
749
+ # next_token: "NextToken",
750
+ # filters: [
751
+ # {
752
+ # name: "FilterName",
753
+ # values: ["FilterValue"],
754
+ # },
755
+ # ],
756
+ # }
757
+ #
758
+ # @!attribute [rw] max_results
759
+ # The maximum number of resolver endpoints that you want to return in
760
+ # the response to a `ListResolverEndpoints` request. If you don't
761
+ # specify a value for `MaxResults`, Resolver returns up to 100
762
+ # resolver endpoints.
763
+ # @return [Integer]
764
+ #
765
+ # @!attribute [rw] next_token
766
+ # For the first `ListResolverEndpoints` request, omit this value.
767
+ #
768
+ # If you have more than `MaxResults` resolver endpoints, you can
769
+ # submit another `ListResolverEndpoints` request to get the next group
770
+ # of resolver endpoints. In the next request, specify the value of
771
+ # `NextToken` from the previous response.
772
+ # @return [String]
773
+ #
774
+ # @!attribute [rw] filters
775
+ # An optional specification to return a subset of resolver endpoints,
776
+ # such as all inbound resolver endpoints.
777
+ #
778
+ # <note markdown="1"> If you submit a second or subsequent `ListResolverEndpoints` request
779
+ # and specify the `NextToken` parameter, you must use the same values
780
+ # for `Filters`, if any, as in the previous request.
781
+ #
782
+ # </note>
783
+ # @return [Array<Types::Filter>]
784
+ #
785
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointsRequest AWS API Documentation
786
+ #
787
+ class ListResolverEndpointsRequest < Struct.new(
788
+ :max_results,
789
+ :next_token,
790
+ :filters)
791
+ include Aws::Structure
792
+ end
793
+
794
+ # @!attribute [rw] next_token
795
+ # If more than `MaxResults` IP addresses match the specified criteria,
796
+ # you can submit another `ListResolverEndpoint` request to get the
797
+ # next group of results. In the next request, specify the value of
798
+ # `NextToken` from the previous response.
799
+ # @return [String]
800
+ #
801
+ # @!attribute [rw] max_results
802
+ # The value that you specified for `MaxResults` in the request.
803
+ # @return [Integer]
804
+ #
805
+ # @!attribute [rw] resolver_endpoints
806
+ # The resolver endpoints that were created by using the current AWS
807
+ # account, and that match the specified filters, if any.
808
+ # @return [Array<Types::ResolverEndpoint>]
809
+ #
810
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointsResponse AWS API Documentation
811
+ #
812
+ class ListResolverEndpointsResponse < Struct.new(
813
+ :next_token,
814
+ :max_results,
815
+ :resolver_endpoints)
816
+ include Aws::Structure
817
+ end
818
+
819
+ # @note When making an API call, you may pass ListResolverRuleAssociationsRequest
820
+ # data as a hash:
821
+ #
822
+ # {
823
+ # max_results: 1,
824
+ # next_token: "NextToken",
825
+ # filters: [
826
+ # {
827
+ # name: "FilterName",
828
+ # values: ["FilterValue"],
829
+ # },
830
+ # ],
831
+ # }
832
+ #
833
+ # @!attribute [rw] max_results
834
+ # The maximum number of rule associations that you want to return in
835
+ # the response to a `ListResolverRuleAssociations` request. If you
836
+ # don't specify a value for `MaxResults`, Resolver returns up to 100
837
+ # rule associations.
838
+ # @return [Integer]
839
+ #
840
+ # @!attribute [rw] next_token
841
+ # For the first `ListResolverRuleAssociation` request, omit this
842
+ # value.
843
+ #
844
+ # If you have more than `MaxResults` rule associations, you can submit
845
+ # another `ListResolverRuleAssociation` request to get the next group
846
+ # of rule associations. In the next request, specify the value of
847
+ # `NextToken` from the previous response.
848
+ # @return [String]
849
+ #
850
+ # @!attribute [rw] filters
851
+ # An optional specification to return a subset of resolver rules, such
852
+ # as resolver rules that are associated with the same VPC ID.
853
+ #
854
+ # <note markdown="1"> If you submit a second or subsequent `ListResolverRuleAssociations`
855
+ # request and specify the `NextToken` parameter, you must use the same
856
+ # values for `Filters`, if any, as in the previous request.
857
+ #
858
+ # </note>
859
+ # @return [Array<Types::Filter>]
860
+ #
861
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRuleAssociationsRequest AWS API Documentation
862
+ #
863
+ class ListResolverRuleAssociationsRequest < Struct.new(
864
+ :max_results,
865
+ :next_token,
866
+ :filters)
867
+ include Aws::Structure
868
+ end
869
+
870
+ # @!attribute [rw] next_token
871
+ # If more than `MaxResults` rule associations match the specified
872
+ # criteria, you can submit another `ListResolverRuleAssociation`
873
+ # request to get the next group of results. In the next request,
874
+ # specify the value of `NextToken` from the previous response.
875
+ # @return [String]
876
+ #
877
+ # @!attribute [rw] max_results
878
+ # The value that you specified for `MaxResults` in the request.
879
+ # @return [Integer]
880
+ #
881
+ # @!attribute [rw] resolver_rule_associations
882
+ # The associations that were created between resolver rules and VPCs
883
+ # using the current AWS account, and that match the specified filters,
884
+ # if any.
885
+ # @return [Array<Types::ResolverRuleAssociation>]
886
+ #
887
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRuleAssociationsResponse AWS API Documentation
888
+ #
889
+ class ListResolverRuleAssociationsResponse < Struct.new(
890
+ :next_token,
891
+ :max_results,
892
+ :resolver_rule_associations)
893
+ include Aws::Structure
894
+ end
895
+
896
+ # @note When making an API call, you may pass ListResolverRulesRequest
897
+ # data as a hash:
898
+ #
899
+ # {
900
+ # max_results: 1,
901
+ # next_token: "NextToken",
902
+ # filters: [
903
+ # {
904
+ # name: "FilterName",
905
+ # values: ["FilterValue"],
906
+ # },
907
+ # ],
908
+ # }
909
+ #
910
+ # @!attribute [rw] max_results
911
+ # The maximum number of resolver rules that you want to return in the
912
+ # response to a `ListResolverRules` request. If you don't specify a
913
+ # value for `MaxResults`, Resolver returns up to 100 resolver rules.
914
+ # @return [Integer]
915
+ #
916
+ # @!attribute [rw] next_token
917
+ # For the first `ListResolverRules` request, omit this value.
918
+ #
919
+ # If you have more than `MaxResults` resolver rules, you can submit
920
+ # another `ListResolverRules` request to get the next group of
921
+ # resolver rules. In the next request, specify the value of
922
+ # `NextToken` from the previous response.
923
+ # @return [String]
924
+ #
925
+ # @!attribute [rw] filters
926
+ # An optional specification to return a subset of resolver rules, such
927
+ # as all resolver rules that are associated with the same resolver
928
+ # endpoint.
929
+ #
930
+ # <note markdown="1"> If you submit a second or subsequent `ListResolverRules` request and
931
+ # specify the `NextToken` parameter, you must use the same values for
932
+ # `Filters`, if any, as in the previous request.
933
+ #
934
+ # </note>
935
+ # @return [Array<Types::Filter>]
936
+ #
937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRulesRequest AWS API Documentation
938
+ #
939
+ class ListResolverRulesRequest < Struct.new(
940
+ :max_results,
941
+ :next_token,
942
+ :filters)
943
+ include Aws::Structure
944
+ end
945
+
946
+ # @!attribute [rw] next_token
947
+ # If more than `MaxResults` resolver rules match the specified
948
+ # criteria, you can submit another `ListResolverRules` request to get
949
+ # the next group of results. In the next request, specify the value of
950
+ # `NextToken` from the previous response.
951
+ # @return [String]
952
+ #
953
+ # @!attribute [rw] max_results
954
+ # The value that you specified for `MaxResults` in the request.
955
+ # @return [Integer]
956
+ #
957
+ # @!attribute [rw] resolver_rules
958
+ # The resolver rules that were created using the current AWS account
959
+ # and that match the specified filters, if any.
960
+ # @return [Array<Types::ResolverRule>]
961
+ #
962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRulesResponse AWS API Documentation
963
+ #
964
+ class ListResolverRulesResponse < Struct.new(
965
+ :next_token,
966
+ :max_results,
967
+ :resolver_rules)
968
+ include Aws::Structure
969
+ end
970
+
971
+ # @note When making an API call, you may pass ListTagsForResourceRequest
972
+ # data as a hash:
973
+ #
974
+ # {
975
+ # resource_arn: "Arn", # required
976
+ # max_results: 1,
977
+ # next_token: "NextToken",
978
+ # }
979
+ #
980
+ # @!attribute [rw] resource_arn
981
+ # The Amazon Resource Name (ARN) for the resource that you want to
982
+ # list tags for.
983
+ # @return [String]
984
+ #
985
+ # @!attribute [rw] max_results
986
+ # The maximum number of tags that you want to return in the response
987
+ # to a `ListTagsForResource` request. If you don't specify a value
988
+ # for `MaxResults`, Resolver returns up to 100 tags.
989
+ # @return [Integer]
990
+ #
991
+ # @!attribute [rw] next_token
992
+ # For the first `ListTagsForResource` request, omit this value.
993
+ #
994
+ # If you have more than `MaxResults` tags, you can submit another
995
+ # `ListTagsForResource` request to get the next group of tags for the
996
+ # resource. In the next request, specify the value of `NextToken` from
997
+ # the previous response.
998
+ # @return [String]
999
+ #
1000
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListTagsForResourceRequest AWS API Documentation
1001
+ #
1002
+ class ListTagsForResourceRequest < Struct.new(
1003
+ :resource_arn,
1004
+ :max_results,
1005
+ :next_token)
1006
+ include Aws::Structure
1007
+ end
1008
+
1009
+ # @!attribute [rw] tags
1010
+ # The tags that are associated with the resource that you specified in
1011
+ # the `ListTagsForResource` request.
1012
+ # @return [Array<Types::Tag>]
1013
+ #
1014
+ # @!attribute [rw] next_token
1015
+ # If more than `MaxResults` tags match the specified criteria, you can
1016
+ # submit another `ListTagsForResource` request to get the next group
1017
+ # of results. In the next request, specify the value of `NextToken`
1018
+ # from the previous response.
1019
+ # @return [String]
1020
+ #
1021
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListTagsForResourceResponse AWS API Documentation
1022
+ #
1023
+ class ListTagsForResourceResponse < Struct.new(
1024
+ :tags,
1025
+ :next_token)
1026
+ include Aws::Structure
1027
+ end
1028
+
1029
+ # @note When making an API call, you may pass PutResolverRulePolicyRequest
1030
+ # data as a hash:
1031
+ #
1032
+ # {
1033
+ # arn: "Arn", # required
1034
+ # resolver_rule_policy: "ResolverRulePolicy", # required
1035
+ # }
1036
+ #
1037
+ # @!attribute [rw] arn
1038
+ # The Amazon Resource Name (ARN) of the account that you want to grant
1039
+ # permissions to.
1040
+ # @return [String]
1041
+ #
1042
+ # @!attribute [rw] resolver_rule_policy
1043
+ # An AWS Identity and Access Management policy statement that lists
1044
+ # the permissions that you want to grant to another AWS account.
1045
+ # @return [String]
1046
+ #
1047
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverRulePolicyRequest AWS API Documentation
1048
+ #
1049
+ class PutResolverRulePolicyRequest < Struct.new(
1050
+ :arn,
1051
+ :resolver_rule_policy)
1052
+ include Aws::Structure
1053
+ end
1054
+
1055
+ # The response to a `PutResolverRulePolicy` request.
1056
+ #
1057
+ # @!attribute [rw] return_value
1058
+ # Whether the `PutResolverRulePolicy` request was successful.
1059
+ # @return [Boolean]
1060
+ #
1061
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverRulePolicyResponse AWS API Documentation
1062
+ #
1063
+ class PutResolverRulePolicyResponse < Struct.new(
1064
+ :return_value)
1065
+ include Aws::Structure
1066
+ end
1067
+
1068
+ # In the response to a CreateResolverEndpoint, DeleteResolverEndpoint,
1069
+ # GetResolverEndpoint, ListResolverEndpoints, or UpdateResolverEndpoint
1070
+ # request, a complex type that contains settings for an existing inbound
1071
+ # or outbound resolver endpoint.
1072
+ #
1073
+ # @!attribute [rw] id
1074
+ # The ID of the resolver endpoint.
1075
+ # @return [String]
1076
+ #
1077
+ # @!attribute [rw] creator_request_id
1078
+ # A unique string that identifies the request that created the
1079
+ # resolver endpoint. The `CreatorRequestId` allows failed requests to
1080
+ # be retried without the risk of executing the operation twice.
1081
+ # @return [String]
1082
+ #
1083
+ # @!attribute [rw] arn
1084
+ # The ARN (Amazon Resource Name) for the resolver endpoint.
1085
+ # @return [String]
1086
+ #
1087
+ # @!attribute [rw] name
1088
+ # The name that you assigned to the resolver endpoint when you
1089
+ # submitted a CreateResolverEndpoint request.
1090
+ # @return [String]
1091
+ #
1092
+ # @!attribute [rw] security_group_ids
1093
+ # The ID of one or more security groups that control access to this
1094
+ # VPC. The security group must include one or more inbound resolver
1095
+ # rules.
1096
+ # @return [Array<String>]
1097
+ #
1098
+ # @!attribute [rw] direction
1099
+ # Indicates whether the resolver endpoint allows inbound or outbound
1100
+ # DNS queries:
1101
+ #
1102
+ # * `INBOUND`\: allows DNS queries to your VPC from your network or
1103
+ # another VPC
1104
+ #
1105
+ # * `OUTBOUND`\: allows DNS queries from your VPC to your network or
1106
+ # another VPC
1107
+ # @return [String]
1108
+ #
1109
+ # @!attribute [rw] ip_address_count
1110
+ # The number of IP addresses that the resolver endpoint can use for
1111
+ # DNS queries.
1112
+ # @return [Integer]
1113
+ #
1114
+ # @!attribute [rw] host_vpc_id
1115
+ # The ID of the VPC that you want to create the resolver endpoint in.
1116
+ # @return [String]
1117
+ #
1118
+ # @!attribute [rw] status
1119
+ # A code that specifies the current status of the resolver endpoint.
1120
+ # @return [String]
1121
+ #
1122
+ # @!attribute [rw] status_message
1123
+ # A detailed description of the status of the resolver endpoint.
1124
+ # @return [String]
1125
+ #
1126
+ # @!attribute [rw] creation_time
1127
+ # The date and time that the endpoint was created, in Unix time format
1128
+ # and Coordinated Universal Time (UTC).
1129
+ # @return [String]
1130
+ #
1131
+ # @!attribute [rw] modification_time
1132
+ # The date and time that the endpoint was last modified, in Unix time
1133
+ # format and Coordinated Universal Time (UTC).
1134
+ # @return [String]
1135
+ #
1136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverEndpoint AWS API Documentation
1137
+ #
1138
+ class ResolverEndpoint < Struct.new(
1139
+ :id,
1140
+ :creator_request_id,
1141
+ :arn,
1142
+ :name,
1143
+ :security_group_ids,
1144
+ :direction,
1145
+ :ip_address_count,
1146
+ :host_vpc_id,
1147
+ :status,
1148
+ :status_message,
1149
+ :creation_time,
1150
+ :modification_time)
1151
+ include Aws::Structure
1152
+ end
1153
+
1154
+ # For queries that originate in your VPC, detailed information about a
1155
+ # resolver rule, which specifies how to route DNS queries out of the
1156
+ # VPC. The `ResolverRule` parameter appears in the response to a
1157
+ # CreateResolverRule, DeleteResolverRule, GetResolverRule,
1158
+ # ListResolverRules, or UpdateResolverRule request.
1159
+ #
1160
+ # @!attribute [rw] id
1161
+ # The ID that Resolver assigned to the resolver rule when you created
1162
+ # it.
1163
+ # @return [String]
1164
+ #
1165
+ # @!attribute [rw] creator_request_id
1166
+ # A unique string that you specified when you created the resolver
1167
+ # rule. `CreatorRequestId`identifies the request and allows failed
1168
+ # requests to be retried without the risk of executing the operation
1169
+ # twice.
1170
+ # @return [String]
1171
+ #
1172
+ # @!attribute [rw] arn
1173
+ # The ARN (Amazon Resource Name) for the resolver rule specified by
1174
+ # `Id`.
1175
+ # @return [String]
1176
+ #
1177
+ # @!attribute [rw] domain_name
1178
+ # DNS queries for this domain name are forwarded to the IP addresses
1179
+ # that are specified in `TargetIps`. If a query matches multiple
1180
+ # resolver rules (example.com and www.example.com), the query is
1181
+ # routed using the resolver rule that contains the most specific
1182
+ # domain name (www.example.com).
1183
+ # @return [String]
1184
+ #
1185
+ # @!attribute [rw] status
1186
+ # A code that specifies the current status of the resolver rule.
1187
+ # @return [String]
1188
+ #
1189
+ # @!attribute [rw] status_message
1190
+ # A detailed description of the status of a resolver rule.
1191
+ # @return [String]
1192
+ #
1193
+ # @!attribute [rw] rule_type
1194
+ # This value is always `FORWARD`. Other resolver rule types aren't
1195
+ # supported.
1196
+ # @return [String]
1197
+ #
1198
+ # @!attribute [rw] name
1199
+ # The name for the resolver rule, which you specified when you created
1200
+ # the resolver rule.
1201
+ # @return [String]
1202
+ #
1203
+ # @!attribute [rw] target_ips
1204
+ # An array that contains the IP addresses and ports that you want to
1205
+ # forward
1206
+ # @return [Array<Types::TargetAddress>]
1207
+ #
1208
+ # @!attribute [rw] resolver_endpoint_id
1209
+ # The ID of the endpoint that the rule is associated with.
1210
+ # @return [String]
1211
+ #
1212
+ # @!attribute [rw] owner_id
1213
+ # When a rule is shared with another AWS account, the account ID of
1214
+ # the account that the rule is shared with.
1215
+ # @return [String]
1216
+ #
1217
+ # @!attribute [rw] share_status
1218
+ # Whether the rules is shared and, if so, whether the current account
1219
+ # is sharing the rule with another account, or another account is
1220
+ # sharing the rule with the current account.
1221
+ # @return [String]
1222
+ #
1223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverRule AWS API Documentation
1224
+ #
1225
+ class ResolverRule < Struct.new(
1226
+ :id,
1227
+ :creator_request_id,
1228
+ :arn,
1229
+ :domain_name,
1230
+ :status,
1231
+ :status_message,
1232
+ :rule_type,
1233
+ :name,
1234
+ :target_ips,
1235
+ :resolver_endpoint_id,
1236
+ :owner_id,
1237
+ :share_status)
1238
+ include Aws::Structure
1239
+ end
1240
+
1241
+ # In the response to an AssociateResolverRule, DisassociateResolverRule,
1242
+ # or ListResolverRuleAssociations request, information about an
1243
+ # association between a resolver rule and a VPC.
1244
+ #
1245
+ # @!attribute [rw] id
1246
+ # The ID of the association between a resolver rule and a VPC.
1247
+ # Resolver assigns this value when you submit an AssociateResolverRule
1248
+ # request.
1249
+ # @return [String]
1250
+ #
1251
+ # @!attribute [rw] resolver_rule_id
1252
+ # The ID of the resolver rule that you associated with the VPC that is
1253
+ # specified by `VPCId`.
1254
+ # @return [String]
1255
+ #
1256
+ # @!attribute [rw] name
1257
+ # The name of an association between a resolver rule and a VPC.
1258
+ # @return [String]
1259
+ #
1260
+ # @!attribute [rw] vpc_id
1261
+ # The ID of the VPC that you associated the resolver rule with.
1262
+ # @return [String]
1263
+ #
1264
+ # @!attribute [rw] status
1265
+ # A code that specifies the current status of the association between
1266
+ # a resolver rule and a VPC.
1267
+ # @return [String]
1268
+ #
1269
+ # @!attribute [rw] status_message
1270
+ # A detailed description of the status of the association between a
1271
+ # resolver rule and a VPC.
1272
+ # @return [String]
1273
+ #
1274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverRuleAssociation AWS API Documentation
1275
+ #
1276
+ class ResolverRuleAssociation < Struct.new(
1277
+ :id,
1278
+ :resolver_rule_id,
1279
+ :name,
1280
+ :vpc_id,
1281
+ :status,
1282
+ :status_message)
1283
+ include Aws::Structure
1284
+ end
1285
+
1286
+ # In an UpdateResolverRule request, information about the changes that
1287
+ # you want to make.
1288
+ #
1289
+ # @note When making an API call, you may pass ResolverRuleConfig
1290
+ # data as a hash:
1291
+ #
1292
+ # {
1293
+ # name: "Name",
1294
+ # target_ips: [
1295
+ # {
1296
+ # ip: "Ip", # required
1297
+ # port: 1,
1298
+ # },
1299
+ # ],
1300
+ # resolver_endpoint_id: "ResourceId",
1301
+ # }
1302
+ #
1303
+ # @!attribute [rw] name
1304
+ # The new name for the resolver rule. The name that you specify
1305
+ # appears in the Resolver dashboard in the Route 53 console.
1306
+ # @return [String]
1307
+ #
1308
+ # @!attribute [rw] target_ips
1309
+ # For DNS queries that originate in your VPC, the new IP addresses
1310
+ # that you want to route outbound DNS queries to.
1311
+ # @return [Array<Types::TargetAddress>]
1312
+ #
1313
+ # @!attribute [rw] resolver_endpoint_id
1314
+ # The ID of the new outbound resolver endpoint that you want to use to
1315
+ # route DNS queries to the IP addresses that you specify in
1316
+ # `TargetIps`.
1317
+ # @return [String]
1318
+ #
1319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverRuleConfig AWS API Documentation
1320
+ #
1321
+ class ResolverRuleConfig < Struct.new(
1322
+ :name,
1323
+ :target_ips,
1324
+ :resolver_endpoint_id)
1325
+ include Aws::Structure
1326
+ end
1327
+
1328
+ # One tag that you want to add to the specified resource. A tag consists
1329
+ # of a `Key` (a name for the tag) and a `Value`.
1330
+ #
1331
+ # @note When making an API call, you may pass Tag
1332
+ # data as a hash:
1333
+ #
1334
+ # {
1335
+ # key: "TagKey",
1336
+ # value: "TagValue",
1337
+ # }
1338
+ #
1339
+ # @!attribute [rw] key
1340
+ # The name for the tag. For example, if you want to associate Resolver
1341
+ # resources with the account IDs of your customers for billing
1342
+ # purposes, the value of `Key` might be `account-id`.
1343
+ # @return [String]
1344
+ #
1345
+ # @!attribute [rw] value
1346
+ # The value for the tag. For example, if `Key` is `account-id`, then
1347
+ # `Value` might be the ID of the customer account that you're
1348
+ # creating the resource for.
1349
+ # @return [String]
1350
+ #
1351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/Tag AWS API Documentation
1352
+ #
1353
+ class Tag < Struct.new(
1354
+ :key,
1355
+ :value)
1356
+ include Aws::Structure
1357
+ end
1358
+
1359
+ # @note When making an API call, you may pass TagResourceRequest
1360
+ # data as a hash:
1361
+ #
1362
+ # {
1363
+ # resource_arn: "Arn", # required
1364
+ # tags: [ # required
1365
+ # {
1366
+ # key: "TagKey",
1367
+ # value: "TagValue",
1368
+ # },
1369
+ # ],
1370
+ # }
1371
+ #
1372
+ # @!attribute [rw] resource_arn
1373
+ # The Amazon Resource Name (ARN) for the resource that you want to add
1374
+ # tags to. To get the ARN for a resource, use the applicable `Get` or
1375
+ # `List` command:
1376
+ #
1377
+ # * GetResolverEndpoint
1378
+ #
1379
+ # * GetResolverRule
1380
+ #
1381
+ # * GetResolverRuleAssociation
1382
+ #
1383
+ # * ListResolverEndpoints
1384
+ #
1385
+ # * ListResolverRuleAssociations
1386
+ #
1387
+ # * ListResolverRules
1388
+ # @return [String]
1389
+ #
1390
+ # @!attribute [rw] tags
1391
+ # The tags that you want to add to the specified resource.
1392
+ # @return [Array<Types::Tag>]
1393
+ #
1394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TagResourceRequest AWS API Documentation
1395
+ #
1396
+ class TagResourceRequest < Struct.new(
1397
+ :resource_arn,
1398
+ :tags)
1399
+ include Aws::Structure
1400
+ end
1401
+
1402
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TagResourceResponse AWS API Documentation
1403
+ #
1404
+ class TagResourceResponse < Aws::EmptyStructure; end
1405
+
1406
+ # In a CreateResolverRule request, an array of the IPs that you want to
1407
+ # forward DNS queries to.
1408
+ #
1409
+ # @note When making an API call, you may pass TargetAddress
1410
+ # data as a hash:
1411
+ #
1412
+ # {
1413
+ # ip: "Ip", # required
1414
+ # port: 1,
1415
+ # }
1416
+ #
1417
+ # @!attribute [rw] ip
1418
+ # One IP address that you want to forward DNS queries to. You can
1419
+ # specify only IPv4 addresses.
1420
+ # @return [String]
1421
+ #
1422
+ # @!attribute [rw] port
1423
+ # The port at `Ip` that you want to forward DNS queries to.
1424
+ # @return [Integer]
1425
+ #
1426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TargetAddress AWS API Documentation
1427
+ #
1428
+ class TargetAddress < Struct.new(
1429
+ :ip,
1430
+ :port)
1431
+ include Aws::Structure
1432
+ end
1433
+
1434
+ # @note When making an API call, you may pass UntagResourceRequest
1435
+ # data as a hash:
1436
+ #
1437
+ # {
1438
+ # resource_arn: "Arn", # required
1439
+ # tag_keys: ["TagKey"], # required
1440
+ # }
1441
+ #
1442
+ # @!attribute [rw] resource_arn
1443
+ # The Amazon Resource Name (ARN) for the resource that you want to
1444
+ # remove tags from. To get the ARN for a resource, use the applicable
1445
+ # `Get` or `List` command:
1446
+ #
1447
+ # * GetResolverEndpoint
1448
+ #
1449
+ # * GetResolverRule
1450
+ #
1451
+ # * GetResolverRuleAssociation
1452
+ #
1453
+ # * ListResolverEndpoints
1454
+ #
1455
+ # * ListResolverRuleAssociations
1456
+ #
1457
+ # * ListResolverRules
1458
+ # @return [String]
1459
+ #
1460
+ # @!attribute [rw] tag_keys
1461
+ # The tags that you want to remove to the specified resource.
1462
+ # @return [Array<String>]
1463
+ #
1464
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UntagResourceRequest AWS API Documentation
1465
+ #
1466
+ class UntagResourceRequest < Struct.new(
1467
+ :resource_arn,
1468
+ :tag_keys)
1469
+ include Aws::Structure
1470
+ end
1471
+
1472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UntagResourceResponse AWS API Documentation
1473
+ #
1474
+ class UntagResourceResponse < Aws::EmptyStructure; end
1475
+
1476
+ # @note When making an API call, you may pass UpdateResolverEndpointRequest
1477
+ # data as a hash:
1478
+ #
1479
+ # {
1480
+ # resolver_endpoint_id: "ResourceId", # required
1481
+ # name: "Name",
1482
+ # }
1483
+ #
1484
+ # @!attribute [rw] resolver_endpoint_id
1485
+ # The ID of the resolver endpoint that you want to update.
1486
+ # @return [String]
1487
+ #
1488
+ # @!attribute [rw] name
1489
+ # The name of the resolver endpoint that you want to update.
1490
+ # @return [String]
1491
+ #
1492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpointRequest AWS API Documentation
1493
+ #
1494
+ class UpdateResolverEndpointRequest < Struct.new(
1495
+ :resolver_endpoint_id,
1496
+ :name)
1497
+ include Aws::Structure
1498
+ end
1499
+
1500
+ # @!attribute [rw] resolver_endpoint
1501
+ # The response to an `UpdateResolverEndpoint` request.
1502
+ # @return [Types::ResolverEndpoint]
1503
+ #
1504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpointResponse AWS API Documentation
1505
+ #
1506
+ class UpdateResolverEndpointResponse < Struct.new(
1507
+ :resolver_endpoint)
1508
+ include Aws::Structure
1509
+ end
1510
+
1511
+ # @note When making an API call, you may pass UpdateResolverRuleRequest
1512
+ # data as a hash:
1513
+ #
1514
+ # {
1515
+ # resolver_rule_id: "ResourceId", # required
1516
+ # config: { # required
1517
+ # name: "Name",
1518
+ # target_ips: [
1519
+ # {
1520
+ # ip: "Ip", # required
1521
+ # port: 1,
1522
+ # },
1523
+ # ],
1524
+ # resolver_endpoint_id: "ResourceId",
1525
+ # },
1526
+ # }
1527
+ #
1528
+ # @!attribute [rw] resolver_rule_id
1529
+ # The ID of the resolver rule that you want to update.
1530
+ # @return [String]
1531
+ #
1532
+ # @!attribute [rw] config
1533
+ # The new settings for the resolver rule.
1534
+ # @return [Types::ResolverRuleConfig]
1535
+ #
1536
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRuleRequest AWS API Documentation
1537
+ #
1538
+ class UpdateResolverRuleRequest < Struct.new(
1539
+ :resolver_rule_id,
1540
+ :config)
1541
+ include Aws::Structure
1542
+ end
1543
+
1544
+ # @!attribute [rw] resolver_rule
1545
+ # The response to an `UpdateResolverRule` request.
1546
+ # @return [Types::ResolverRule]
1547
+ #
1548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRuleResponse AWS API Documentation
1549
+ #
1550
+ class UpdateResolverRuleResponse < Struct.new(
1551
+ :resolver_rule)
1552
+ include Aws::Structure
1553
+ end
1554
+
1555
+ end
1556
+ end