aws-sdk-route53resolver 1.14.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-route53resolver.rb +4 -2
- data/lib/aws-sdk-route53resolver/client.rb +945 -117
- data/lib/aws-sdk-route53resolver/client_api.rb +313 -2
- data/lib/aws-sdk-route53resolver/errors.rb +18 -0
- data/lib/aws-sdk-route53resolver/resource.rb +2 -0
- data/lib/aws-sdk-route53resolver/types.rb +1502 -166
- metadata +4 -4
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -25,6 +27,7 @@ module Aws::Route53Resolver
|
|
25
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
26
28
|
#
|
27
29
|
# ## Error Classes
|
30
|
+
# * {AccessDeniedException}
|
28
31
|
# * {InternalServiceErrorException}
|
29
32
|
# * {InvalidNextTokenException}
|
30
33
|
# * {InvalidParameterException}
|
@@ -45,6 +48,21 @@ module Aws::Route53Resolver
|
|
45
48
|
|
46
49
|
extend Aws::Errors::DynamicErrors
|
47
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
|
+
|
48
66
|
class InternalServiceErrorException < ServiceError
|
49
67
|
|
50
68
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -8,6 +10,20 @@
|
|
8
10
|
module Aws::Route53Resolver
|
9
11
|
module Types
|
10
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
|
+
|
11
27
|
# @note When making an API call, you may pass AssociateResolverEndpointIpAddressRequest
|
12
28
|
# data as a hash:
|
13
29
|
#
|
@@ -21,12 +37,12 @@ module Aws::Route53Resolver
|
|
21
37
|
# }
|
22
38
|
#
|
23
39
|
# @!attribute [rw] resolver_endpoint_id
|
24
|
-
# The ID of the
|
40
|
+
# The ID of the Resolver endpoint that you want to associate IP
|
25
41
|
# addresses with.
|
26
42
|
# @return [String]
|
27
43
|
#
|
28
44
|
# @!attribute [rw] ip_address
|
29
|
-
# Either the IPv4 address that you want to add to a
|
45
|
+
# Either the IPv4 address that you want to add to a Resolver endpoint
|
30
46
|
# or a subnet ID. If you specify a subnet ID, Resolver chooses an IP
|
31
47
|
# address for you from the available IPs in the specified subnet.
|
32
48
|
# @return [Types::IpAddressUpdate]
|
@@ -36,6 +52,7 @@ module Aws::Route53Resolver
|
|
36
52
|
class AssociateResolverEndpointIpAddressRequest < Struct.new(
|
37
53
|
:resolver_endpoint_id,
|
38
54
|
:ip_address)
|
55
|
+
SENSITIVE = []
|
39
56
|
include Aws::Structure
|
40
57
|
end
|
41
58
|
|
@@ -47,6 +64,52 @@ module Aws::Route53Resolver
|
|
47
64
|
#
|
48
65
|
class AssociateResolverEndpointIpAddressResponse < Struct.new(
|
49
66
|
:resolver_endpoint)
|
67
|
+
SENSITIVE = []
|
68
|
+
include Aws::Structure
|
69
|
+
end
|
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 = []
|
50
113
|
include Aws::Structure
|
51
114
|
end
|
52
115
|
|
@@ -60,17 +123,21 @@ module Aws::Route53Resolver
|
|
60
123
|
# }
|
61
124
|
#
|
62
125
|
# @!attribute [rw] resolver_rule_id
|
63
|
-
# The ID of the
|
64
|
-
# To list the existing
|
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
|
65
132
|
# @return [String]
|
66
133
|
#
|
67
134
|
# @!attribute [rw] name
|
68
|
-
# A name for the association that you're creating between a
|
135
|
+
# A name for the association that you're creating between a Resolver
|
69
136
|
# rule and a VPC.
|
70
137
|
# @return [String]
|
71
138
|
#
|
72
139
|
# @!attribute [rw] vpc_id
|
73
|
-
# The ID of the VPC that you want to associate the
|
140
|
+
# The ID of the VPC that you want to associate the Resolver rule with.
|
74
141
|
# @return [String]
|
75
142
|
#
|
76
143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverRuleRequest AWS API Documentation
|
@@ -79,6 +146,7 @@ module Aws::Route53Resolver
|
|
79
146
|
:resolver_rule_id,
|
80
147
|
:name,
|
81
148
|
:vpc_id)
|
149
|
+
SENSITIVE = []
|
82
150
|
include Aws::Structure
|
83
151
|
end
|
84
152
|
|
@@ -91,6 +159,7 @@ module Aws::Route53Resolver
|
|
91
159
|
#
|
92
160
|
class AssociateResolverRuleResponse < Struct.new(
|
93
161
|
:resolver_rule_association)
|
162
|
+
SENSITIVE = []
|
94
163
|
include Aws::Structure
|
95
164
|
end
|
96
165
|
|
@@ -110,8 +179,8 @@ module Aws::Route53Resolver
|
|
110
179
|
# ],
|
111
180
|
# tags: [
|
112
181
|
# {
|
113
|
-
# key: "TagKey",
|
114
|
-
# value: "TagValue",
|
182
|
+
# key: "TagKey", # required
|
183
|
+
# value: "TagValue", # required
|
115
184
|
# },
|
116
185
|
# ],
|
117
186
|
# }
|
@@ -131,25 +200,27 @@ module Aws::Route53Resolver
|
|
131
200
|
# @!attribute [rw] security_group_ids
|
132
201
|
# The ID of one or more security groups that you want to use to
|
133
202
|
# control access to this VPC. The security group that you specify must
|
134
|
-
# include one or more inbound rules (for inbound
|
135
|
-
# or outbound rules (for outbound
|
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.
|
136
208
|
# @return [Array<String>]
|
137
209
|
#
|
138
210
|
# @!attribute [rw] direction
|
139
211
|
# Specify the applicable value:
|
140
212
|
#
|
141
213
|
# * `INBOUND`\: Resolver forwards DNS queries to the DNS service for a
|
142
|
-
# VPC from your network
|
214
|
+
# VPC from your network
|
143
215
|
#
|
144
216
|
# * `OUTBOUND`\: Resolver forwards DNS queries from the DNS service
|
145
|
-
# for a VPC to your network
|
217
|
+
# for a VPC to your network
|
146
218
|
# @return [String]
|
147
219
|
#
|
148
220
|
# @!attribute [rw] ip_addresses
|
149
|
-
# The subnets and IP addresses in your VPC that
|
150
|
-
#
|
151
|
-
#
|
152
|
-
# (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.
|
153
224
|
# @return [Array<Types::IpAddressRequest>]
|
154
225
|
#
|
155
226
|
# @!attribute [rw] tags
|
@@ -166,6 +237,7 @@ module Aws::Route53Resolver
|
|
166
237
|
:direction,
|
167
238
|
:ip_addresses,
|
168
239
|
:tags)
|
240
|
+
SENSITIVE = []
|
169
241
|
include Aws::Structure
|
170
242
|
end
|
171
243
|
|
@@ -178,6 +250,88 @@ module Aws::Route53Resolver
|
|
178
250
|
#
|
179
251
|
class CreateResolverEndpointResponse < Struct.new(
|
180
252
|
:resolver_endpoint)
|
253
|
+
SENSITIVE = []
|
254
|
+
include Aws::Structure
|
255
|
+
end
|
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 = []
|
181
335
|
include Aws::Structure
|
182
336
|
end
|
183
337
|
|
@@ -198,8 +352,8 @@ module Aws::Route53Resolver
|
|
198
352
|
# resolver_endpoint_id: "ResourceId",
|
199
353
|
# tags: [
|
200
354
|
# {
|
201
|
-
# key: "TagKey",
|
202
|
-
# value: "TagValue",
|
355
|
+
# key: "TagKey", # required
|
356
|
+
# value: "TagValue", # required
|
203
357
|
# },
|
204
358
|
# ],
|
205
359
|
# }
|
@@ -217,24 +371,41 @@ module Aws::Route53Resolver
|
|
217
371
|
# @return [String]
|
218
372
|
#
|
219
373
|
# @!attribute [rw] rule_type
|
220
|
-
#
|
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`.
|
221
389
|
# @return [String]
|
222
390
|
#
|
223
391
|
# @!attribute [rw] domain_name
|
224
392
|
# DNS queries for this domain name are forwarded to the IP addresses
|
225
393
|
# that you specify in `TargetIps`. If a query matches multiple
|
226
|
-
#
|
227
|
-
# queries are routed using the
|
394
|
+
# Resolver rules (example.com and www.example.com), outbound DNS
|
395
|
+
# queries are routed using the Resolver rule that contains the most
|
228
396
|
# specific domain name (www.example.com).
|
229
397
|
# @return [String]
|
230
398
|
#
|
231
399
|
# @!attribute [rw] target_ips
|
232
400
|
# The IPs that you want Resolver to forward DNS queries to. You can
|
233
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`.
|
234
405
|
# @return [Array<Types::TargetAddress>]
|
235
406
|
#
|
236
407
|
# @!attribute [rw] resolver_endpoint_id
|
237
|
-
# The ID of the outbound
|
408
|
+
# The ID of the outbound Resolver endpoint that you want to use to
|
238
409
|
# route DNS queries to the IP addresses that you specify in
|
239
410
|
# `TargetIps`.
|
240
411
|
# @return [String]
|
@@ -254,6 +425,7 @@ module Aws::Route53Resolver
|
|
254
425
|
:target_ips,
|
255
426
|
:resolver_endpoint_id,
|
256
427
|
:tags)
|
428
|
+
SENSITIVE = []
|
257
429
|
include Aws::Structure
|
258
430
|
end
|
259
431
|
|
@@ -266,6 +438,7 @@ module Aws::Route53Resolver
|
|
266
438
|
#
|
267
439
|
class CreateResolverRuleResponse < Struct.new(
|
268
440
|
:resolver_rule)
|
441
|
+
SENSITIVE = []
|
269
442
|
include Aws::Structure
|
270
443
|
end
|
271
444
|
|
@@ -277,13 +450,14 @@ module Aws::Route53Resolver
|
|
277
450
|
# }
|
278
451
|
#
|
279
452
|
# @!attribute [rw] resolver_endpoint_id
|
280
|
-
# The ID of the
|
453
|
+
# The ID of the Resolver endpoint that you want to delete.
|
281
454
|
# @return [String]
|
282
455
|
#
|
283
456
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverEndpointRequest AWS API Documentation
|
284
457
|
#
|
285
458
|
class DeleteResolverEndpointRequest < Struct.new(
|
286
459
|
:resolver_endpoint_id)
|
460
|
+
SENSITIVE = []
|
287
461
|
include Aws::Structure
|
288
462
|
end
|
289
463
|
|
@@ -296,6 +470,39 @@ module Aws::Route53Resolver
|
|
296
470
|
#
|
297
471
|
class DeleteResolverEndpointResponse < Struct.new(
|
298
472
|
:resolver_endpoint)
|
473
|
+
SENSITIVE = []
|
474
|
+
include Aws::Structure
|
475
|
+
end
|
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 = []
|
299
506
|
include Aws::Structure
|
300
507
|
end
|
301
508
|
|
@@ -307,13 +514,14 @@ module Aws::Route53Resolver
|
|
307
514
|
# }
|
308
515
|
#
|
309
516
|
# @!attribute [rw] resolver_rule_id
|
310
|
-
# The ID of the
|
517
|
+
# The ID of the Resolver rule that you want to delete.
|
311
518
|
# @return [String]
|
312
519
|
#
|
313
520
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRuleRequest AWS API Documentation
|
314
521
|
#
|
315
522
|
class DeleteResolverRuleRequest < Struct.new(
|
316
523
|
:resolver_rule_id)
|
524
|
+
SENSITIVE = []
|
317
525
|
include Aws::Structure
|
318
526
|
end
|
319
527
|
|
@@ -326,6 +534,7 @@ module Aws::Route53Resolver
|
|
326
534
|
#
|
327
535
|
class DeleteResolverRuleResponse < Struct.new(
|
328
536
|
:resolver_rule)
|
537
|
+
SENSITIVE = []
|
329
538
|
include Aws::Structure
|
330
539
|
end
|
331
540
|
|
@@ -342,12 +551,12 @@ module Aws::Route53Resolver
|
|
342
551
|
# }
|
343
552
|
#
|
344
553
|
# @!attribute [rw] resolver_endpoint_id
|
345
|
-
# The ID of the
|
554
|
+
# The ID of the Resolver endpoint that you want to disassociate an IP
|
346
555
|
# address from.
|
347
556
|
# @return [String]
|
348
557
|
#
|
349
558
|
# @!attribute [rw] ip_address
|
350
|
-
# The IPv4 address that you want to remove from a
|
559
|
+
# The IPv4 address that you want to remove from a Resolver endpoint.
|
351
560
|
# @return [Types::IpAddressUpdate]
|
352
561
|
#
|
353
562
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverEndpointIpAddressRequest AWS API Documentation
|
@@ -355,6 +564,7 @@ module Aws::Route53Resolver
|
|
355
564
|
class DisassociateResolverEndpointIpAddressRequest < Struct.new(
|
356
565
|
:resolver_endpoint_id,
|
357
566
|
:ip_address)
|
567
|
+
SENSITIVE = []
|
358
568
|
include Aws::Structure
|
359
569
|
end
|
360
570
|
|
@@ -366,6 +576,47 @@ module Aws::Route53Resolver
|
|
366
576
|
#
|
367
577
|
class DisassociateResolverEndpointIpAddressResponse < Struct.new(
|
368
578
|
:resolver_endpoint)
|
579
|
+
SENSITIVE = []
|
580
|
+
include Aws::Structure
|
581
|
+
end
|
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 = []
|
369
620
|
include Aws::Structure
|
370
621
|
end
|
371
622
|
|
@@ -378,12 +629,12 @@ module Aws::Route53Resolver
|
|
378
629
|
# }
|
379
630
|
#
|
380
631
|
# @!attribute [rw] vpc_id
|
381
|
-
# The ID of the VPC that you want to disassociate the
|
632
|
+
# The ID of the VPC that you want to disassociate the Resolver rule
|
382
633
|
# from.
|
383
634
|
# @return [String]
|
384
635
|
#
|
385
636
|
# @!attribute [rw] resolver_rule_id
|
386
|
-
# The ID of the
|
637
|
+
# The ID of the Resolver rule that you want to disassociate from the
|
387
638
|
# specified VPC.
|
388
639
|
# @return [String]
|
389
640
|
#
|
@@ -392,6 +643,7 @@ module Aws::Route53Resolver
|
|
392
643
|
class DisassociateResolverRuleRequest < Struct.new(
|
393
644
|
:vpc_id,
|
394
645
|
:resolver_rule_id)
|
646
|
+
SENSITIVE = []
|
395
647
|
include Aws::Structure
|
396
648
|
end
|
397
649
|
|
@@ -404,11 +656,28 @@ module Aws::Route53Resolver
|
|
404
656
|
#
|
405
657
|
class DisassociateResolverRuleResponse < Struct.new(
|
406
658
|
:resolver_rule_association)
|
659
|
+
SENSITIVE = []
|
407
660
|
include Aws::Structure
|
408
661
|
end
|
409
662
|
|
410
|
-
# For
|
411
|
-
#
|
663
|
+
# For Resolver list operations ([ListResolverEndpoints][1],
|
664
|
+
# [ListResolverRules][2], [ListResolverRuleAssociations][3],
|
665
|
+
# [ListResolverQueryLogConfigs][4], and
|
666
|
+
# [ListResolverQueryLogConfigAssociations][5]), an optional
|
667
|
+
# specification to return a subset of objects.
|
668
|
+
#
|
669
|
+
# To filter objects, such as Resolver endpoints or Resolver rules, you
|
670
|
+
# specify `Name` and `Values`. For example, to list only inbound
|
671
|
+
# Resolver endpoints, specify `Direction` for `Name` and specify
|
672
|
+
# `INBOUND` for `Values`.
|
673
|
+
#
|
674
|
+
#
|
675
|
+
#
|
676
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
|
677
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
|
678
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
|
679
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigs.html
|
680
|
+
# [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigAssociations.html
|
412
681
|
#
|
413
682
|
# @note When making an API call, you may pass Filter
|
414
683
|
# data as a hash:
|
@@ -419,19 +688,194 @@ module Aws::Route53Resolver
|
|
419
688
|
# }
|
420
689
|
#
|
421
690
|
# @!attribute [rw] name
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
691
|
+
# The name of the parameter that you want to use to filter objects.
|
692
|
+
#
|
693
|
+
# The valid values for `Name` depend on the action that you're
|
694
|
+
# including the filter in, [ListResolverEndpoints][1],
|
695
|
+
# [ListResolverRules][2], [ListResolverRuleAssociations][3],
|
696
|
+
# [ListResolverQueryLogConfigs][4], or
|
697
|
+
# [ListResolverQueryLogConfigAssociations][5].
|
698
|
+
#
|
699
|
+
# <note markdown="1"> In early versions of Resolver, values for `Name` were listed as
|
700
|
+
# uppercase, with underscore (\_) delimiters. For example,
|
701
|
+
# `CreatorRequestId` was originally listed as `CREATOR_REQUEST_ID`.
|
702
|
+
# Uppercase values for `Name` are still supported.
|
703
|
+
#
|
704
|
+
# </note>
|
705
|
+
#
|
706
|
+
# **ListResolverEndpoints**
|
707
|
+
#
|
708
|
+
# Valid values for `Name` include the following:
|
709
|
+
#
|
710
|
+
# * `CreatorRequestId`\: The value that you specified when you created
|
711
|
+
# the Resolver endpoint.
|
712
|
+
#
|
713
|
+
# * `Direction`\: Whether you want to return inbound or outbound
|
714
|
+
# Resolver endpoints. If you specify `DIRECTION` for `Name`, specify
|
715
|
+
# `INBOUND` or `OUTBOUND` for `Values`.
|
716
|
+
#
|
717
|
+
# * `HostVpcId`\: The ID of the VPC that inbound DNS queries pass
|
718
|
+
# through on the way from your network to your VPCs in a region, or
|
719
|
+
# the VPC that outbound queries pass through on the way from your
|
720
|
+
# VPCs to your network. In a [CreateResolverEndpoint][6] request,
|
721
|
+
# `SubnetId` indirectly identifies the VPC. In a
|
722
|
+
# [GetResolverEndpoint][7] request, the VPC ID for a Resolver
|
723
|
+
# endpoint is returned in the `HostVPCId` element.
|
724
|
+
#
|
725
|
+
# * `IpAddressCount`\: The number of IP addresses that you have
|
726
|
+
# associated with the Resolver endpoint.
|
727
|
+
#
|
728
|
+
# * `Name`\: The name of the Resolver endpoint.
|
729
|
+
#
|
730
|
+
# * `SecurityGroupIds`\: The IDs of the VPC security groups that you
|
731
|
+
# specified when you created the Resolver endpoint.
|
732
|
+
#
|
733
|
+
# * `Status`\: The status of the Resolver endpoint. If you specify
|
734
|
+
# `Status` for `Name`, specify one of the following status codes for
|
735
|
+
# `Values`\: `CREATING`, `OPERATIONAL`, `UPDATING`,
|
736
|
+
# `AUTO_RECOVERING`, `ACTION_NEEDED`, or `DELETING`. For more
|
737
|
+
# information, see `Status` in [ResolverEndpoint][8].
|
738
|
+
#
|
739
|
+
# **ListResolverRules**
|
740
|
+
#
|
741
|
+
# Valid values for `Name` include the following:
|
742
|
+
#
|
743
|
+
# * `CreatorRequestId`\: The value that you specified when you created
|
744
|
+
# the Resolver rule.
|
745
|
+
#
|
746
|
+
# * `DomainName`\: The domain name for which Resolver is forwarding
|
747
|
+
# DNS queries to your network. In the value that you specify for
|
748
|
+
# `Values`, include a trailing dot (.) after the domain name. For
|
749
|
+
# example, if the domain name is example.com, specify the following
|
750
|
+
# value. Note the "." after `com`\:
|
751
|
+
#
|
752
|
+
# `example.com.`
|
753
|
+
#
|
754
|
+
# * `Name`\: The name of the Resolver rule.
|
755
|
+
#
|
756
|
+
# * `ResolverEndpointId`\: The ID of the Resolver endpoint that the
|
757
|
+
# Resolver rule is associated with.
|
758
|
+
#
|
759
|
+
# <note markdown="1"> You can filter on the Resolver endpoint only for rules that have a
|
760
|
+
# value of `FORWARD` for `RuleType`.
|
761
|
+
#
|
762
|
+
# </note>
|
763
|
+
#
|
764
|
+
# * `Status`\: The status of the Resolver rule. If you specify
|
765
|
+
# `Status` for `Name`, specify one of the following status codes for
|
766
|
+
# `Values`\: `COMPLETE`, `DELETING`, `UPDATING`, or `FAILED`.
|
767
|
+
#
|
768
|
+
# * `Type`\: The type of the Resolver rule. If you specify `TYPE` for
|
769
|
+
# `Name`, specify `FORWARD` or `SYSTEM` for `Values`.
|
770
|
+
#
|
771
|
+
# **ListResolverRuleAssociations**
|
772
|
+
#
|
773
|
+
# Valid values for `Name` include the following:
|
774
|
+
#
|
775
|
+
# * `Name`\: The name of the Resolver rule association.
|
776
|
+
#
|
777
|
+
# * `ResolverRuleId`\: The ID of the Resolver rule that is associated
|
778
|
+
# with one or more VPCs.
|
779
|
+
#
|
780
|
+
# * `Status`\: The status of the Resolver rule association. If you
|
781
|
+
# specify `Status` for `Name`, specify one of the following status
|
782
|
+
# codes for `Values`\: `CREATING`, `COMPLETE`, `DELETING`, or
|
783
|
+
# `FAILED`.
|
784
|
+
#
|
785
|
+
# * `VPCId`\: The ID of the VPC that the Resolver rule is associated
|
786
|
+
# with.
|
787
|
+
#
|
788
|
+
# **ListResolverQueryLogConfigs**
|
789
|
+
#
|
790
|
+
# Valid values for `Name` include the following:
|
791
|
+
#
|
792
|
+
# * `Arn`\: The ARN for the query logging configuration.
|
793
|
+
#
|
794
|
+
# * `AssociationCount`\: The number of VPCs that are associated with
|
795
|
+
# the query logging configuration.
|
796
|
+
#
|
797
|
+
# * `CreationTime`\: The date and time that the query logging
|
798
|
+
# configuration was created, in Unix time format and Coordinated
|
799
|
+
# Universal Time (UTC).
|
800
|
+
#
|
801
|
+
# * `CreatorRequestId`\: A unique string that identifies the request
|
802
|
+
# that created the query logging configuration.
|
803
|
+
#
|
804
|
+
# * `Destination`\: The AWS service that you want to forward query
|
805
|
+
# logs to. Valid values include the following:
|
806
|
+
#
|
807
|
+
# * `S3`
|
808
|
+
#
|
809
|
+
# * `CloudWatchLogs`
|
810
|
+
#
|
811
|
+
# * `KinesisFirehose`
|
812
|
+
#
|
813
|
+
# * `DestinationArn`\: The ARN of the location that Resolver is
|
814
|
+
# sending query logs to. This value can be the ARN for an S3 bucket,
|
815
|
+
# a CloudWatch Logs log group, or a Kinesis Data Firehose delivery
|
816
|
+
# stream.
|
817
|
+
#
|
818
|
+
# * `Id`\: The ID of the query logging configuration
|
819
|
+
#
|
820
|
+
# * `Name`\: The name of the query logging configuration
|
821
|
+
#
|
822
|
+
# * `OwnerId`\: The AWS account ID for the account that created the
|
823
|
+
# query logging configuration.
|
824
|
+
#
|
825
|
+
# * `ShareStatus`\: An indication of whether the query logging
|
826
|
+
# configuration is shared with other AWS accounts, or was shared
|
827
|
+
# with the current account by another AWS account. Valid values
|
828
|
+
# include: `NOT_SHARED`, `SHARED_WITH_ME`, or `SHARED_BY_ME`.
|
829
|
+
#
|
830
|
+
# * `Status`\: The status of the query logging configuration. If you
|
831
|
+
# specify `Status` for `Name`, specify the applicable status code
|
832
|
+
# for `Values`\: `CREATING`, `CREATED`, `DELETING`, or `FAILED`. For
|
833
|
+
# more information, see [Status][9].
|
834
|
+
#
|
835
|
+
# **ListResolverQueryLogConfigAssociations**
|
836
|
+
#
|
837
|
+
# Valid values for `Name` include the following:
|
838
|
+
#
|
839
|
+
# * `CreationTime`\: The date and time that the VPC was associated
|
840
|
+
# with the query logging configuration, in Unix time format and
|
841
|
+
# Coordinated Universal Time (UTC).
|
842
|
+
#
|
843
|
+
# * `Error`\: If the value of `Status` is `FAILED`, specify the cause:
|
844
|
+
# `DESTINATION_NOT_FOUND` or `ACCESS_DENIED`.
|
845
|
+
#
|
846
|
+
# * `Id`\: The ID of the query logging association.
|
847
|
+
#
|
848
|
+
# * `ResolverQueryLogConfigId`\: The ID of the query logging
|
849
|
+
# configuration that a VPC is associated with.
|
850
|
+
#
|
851
|
+
# * `ResourceId`\: The ID of the Amazon VPC that is associated with
|
852
|
+
# the query logging configuration.
|
853
|
+
#
|
854
|
+
# * `Status`\: The status of the query logging association. If you
|
855
|
+
# specify `Status` for `Name`, specify the applicable status code
|
856
|
+
# for `Values`\: `CREATING`, `CREATED`, `DELETING`, or `FAILED`. For
|
857
|
+
# more information, see [Status][10].
|
858
|
+
#
|
859
|
+
#
|
860
|
+
#
|
861
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
|
862
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
|
863
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
|
864
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigs.html
|
865
|
+
# [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigAssociations.html
|
866
|
+
# [6]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html
|
867
|
+
# [7]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
|
868
|
+
# [8]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ResolverEndpoint.html
|
869
|
+
# [9]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ResolverQueryLogConfig.html#Route53Resolver-Type-route53resolver_ResolverQueryLogConfig-Status
|
870
|
+
# [10]: https://docs.aws.amazon.com/API_route53resolver_ResolverQueryLogConfigAssociation.html#Route53Resolver-Type-route53resolver_ResolverQueryLogConfigAssociation-Status
|
427
871
|
# @return [String]
|
428
872
|
#
|
429
873
|
# @!attribute [rw] values
|
430
874
|
# When you're using a `List` operation and you want the operation to
|
431
|
-
# return a subset of objects, such as
|
875
|
+
# return a subset of objects, such as Resolver endpoints or Resolver
|
432
876
|
# rules, the value of the parameter that you want to use to filter
|
433
|
-
# objects. For example, to list only inbound
|
434
|
-
# specify `
|
877
|
+
# objects. For example, to list only inbound Resolver endpoints,
|
878
|
+
# specify `Direction` for `Name` and specify `INBOUND` for `Values`.
|
435
879
|
# @return [Array<String>]
|
436
880
|
#
|
437
881
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/Filter AWS API Documentation
|
@@ -439,6 +883,7 @@ module Aws::Route53Resolver
|
|
439
883
|
class Filter < Struct.new(
|
440
884
|
:name,
|
441
885
|
:values)
|
886
|
+
SENSITIVE = []
|
442
887
|
include Aws::Structure
|
443
888
|
end
|
444
889
|
|
@@ -450,7 +895,7 @@ module Aws::Route53Resolver
|
|
450
895
|
# }
|
451
896
|
#
|
452
897
|
# @!attribute [rw] resolver_endpoint_id
|
453
|
-
# The ID of the
|
898
|
+
# The ID of the Resolver endpoint that you want to get information
|
454
899
|
# about.
|
455
900
|
# @return [String]
|
456
901
|
#
|
@@ -458,11 +903,12 @@ module Aws::Route53Resolver
|
|
458
903
|
#
|
459
904
|
class GetResolverEndpointRequest < Struct.new(
|
460
905
|
:resolver_endpoint_id)
|
906
|
+
SENSITIVE = []
|
461
907
|
include Aws::Structure
|
462
908
|
end
|
463
909
|
|
464
910
|
# @!attribute [rw] resolver_endpoint
|
465
|
-
# Information about the
|
911
|
+
# Information about the Resolver endpoint that you specified in a
|
466
912
|
# `GetResolverEndpoint` request.
|
467
913
|
# @return [Types::ResolverEndpoint]
|
468
914
|
#
|
@@ -470,6 +916,108 @@ module Aws::Route53Resolver
|
|
470
916
|
#
|
471
917
|
class GetResolverEndpointResponse < Struct.new(
|
472
918
|
:resolver_endpoint)
|
919
|
+
SENSITIVE = []
|
920
|
+
include Aws::Structure
|
921
|
+
end
|
922
|
+
|
923
|
+
# @note When making an API call, you may pass GetResolverQueryLogConfigAssociationRequest
|
924
|
+
# data as a hash:
|
925
|
+
#
|
926
|
+
# {
|
927
|
+
# resolver_query_log_config_association_id: "ResourceId", # required
|
928
|
+
# }
|
929
|
+
#
|
930
|
+
# @!attribute [rw] resolver_query_log_config_association_id
|
931
|
+
# The ID of the Resolver query logging configuration association that
|
932
|
+
# you want to get information about.
|
933
|
+
# @return [String]
|
934
|
+
#
|
935
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigAssociationRequest AWS API Documentation
|
936
|
+
#
|
937
|
+
class GetResolverQueryLogConfigAssociationRequest < Struct.new(
|
938
|
+
:resolver_query_log_config_association_id)
|
939
|
+
SENSITIVE = []
|
940
|
+
include Aws::Structure
|
941
|
+
end
|
942
|
+
|
943
|
+
# @!attribute [rw] resolver_query_log_config_association
|
944
|
+
# Information about the Resolver query logging configuration
|
945
|
+
# association that you specified in a `GetQueryLogConfigAssociation`
|
946
|
+
# request.
|
947
|
+
# @return [Types::ResolverQueryLogConfigAssociation]
|
948
|
+
#
|
949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigAssociationResponse AWS API Documentation
|
950
|
+
#
|
951
|
+
class GetResolverQueryLogConfigAssociationResponse < Struct.new(
|
952
|
+
:resolver_query_log_config_association)
|
953
|
+
SENSITIVE = []
|
954
|
+
include Aws::Structure
|
955
|
+
end
|
956
|
+
|
957
|
+
# @note When making an API call, you may pass GetResolverQueryLogConfigPolicyRequest
|
958
|
+
# data as a hash:
|
959
|
+
#
|
960
|
+
# {
|
961
|
+
# arn: "Arn", # required
|
962
|
+
# }
|
963
|
+
#
|
964
|
+
# @!attribute [rw] arn
|
965
|
+
# The ARN of the query logging configuration that you want to get the
|
966
|
+
# query logging policy for.
|
967
|
+
# @return [String]
|
968
|
+
#
|
969
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigPolicyRequest AWS API Documentation
|
970
|
+
#
|
971
|
+
class GetResolverQueryLogConfigPolicyRequest < Struct.new(
|
972
|
+
:arn)
|
973
|
+
SENSITIVE = []
|
974
|
+
include Aws::Structure
|
975
|
+
end
|
976
|
+
|
977
|
+
# @!attribute [rw] resolver_query_log_config_policy
|
978
|
+
# Information about the query logging policy for the query logging
|
979
|
+
# configuration that you specified in a
|
980
|
+
# `GetResolverQueryLogConfigPolicy` request.
|
981
|
+
# @return [String]
|
982
|
+
#
|
983
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigPolicyResponse AWS API Documentation
|
984
|
+
#
|
985
|
+
class GetResolverQueryLogConfigPolicyResponse < Struct.new(
|
986
|
+
:resolver_query_log_config_policy)
|
987
|
+
SENSITIVE = []
|
988
|
+
include Aws::Structure
|
989
|
+
end
|
990
|
+
|
991
|
+
# @note When making an API call, you may pass GetResolverQueryLogConfigRequest
|
992
|
+
# data as a hash:
|
993
|
+
#
|
994
|
+
# {
|
995
|
+
# resolver_query_log_config_id: "ResourceId", # required
|
996
|
+
# }
|
997
|
+
#
|
998
|
+
# @!attribute [rw] resolver_query_log_config_id
|
999
|
+
# The ID of the Resolver query logging configuration that you want to
|
1000
|
+
# get information about.
|
1001
|
+
# @return [String]
|
1002
|
+
#
|
1003
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigRequest AWS API Documentation
|
1004
|
+
#
|
1005
|
+
class GetResolverQueryLogConfigRequest < Struct.new(
|
1006
|
+
:resolver_query_log_config_id)
|
1007
|
+
SENSITIVE = []
|
1008
|
+
include Aws::Structure
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
# @!attribute [rw] resolver_query_log_config
|
1012
|
+
# Information about the Resolver query logging configuration that you
|
1013
|
+
# specified in a `GetQueryLogConfig` request.
|
1014
|
+
# @return [Types::ResolverQueryLogConfig]
|
1015
|
+
#
|
1016
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigResponse AWS API Documentation
|
1017
|
+
#
|
1018
|
+
class GetResolverQueryLogConfigResponse < Struct.new(
|
1019
|
+
:resolver_query_log_config)
|
1020
|
+
SENSITIVE = []
|
473
1021
|
include Aws::Structure
|
474
1022
|
end
|
475
1023
|
|
@@ -481,7 +1029,7 @@ module Aws::Route53Resolver
|
|
481
1029
|
# }
|
482
1030
|
#
|
483
1031
|
# @!attribute [rw] resolver_rule_association_id
|
484
|
-
# The ID of the
|
1032
|
+
# The ID of the Resolver rule association that you want to get
|
485
1033
|
# information about.
|
486
1034
|
# @return [String]
|
487
1035
|
#
|
@@ -489,11 +1037,12 @@ module Aws::Route53Resolver
|
|
489
1037
|
#
|
490
1038
|
class GetResolverRuleAssociationRequest < Struct.new(
|
491
1039
|
:resolver_rule_association_id)
|
1040
|
+
SENSITIVE = []
|
492
1041
|
include Aws::Structure
|
493
1042
|
end
|
494
1043
|
|
495
1044
|
# @!attribute [rw] resolver_rule_association
|
496
|
-
# Information about the
|
1045
|
+
# Information about the Resolver rule association that you specified
|
497
1046
|
# in a `GetResolverRuleAssociation` request.
|
498
1047
|
# @return [Types::ResolverRuleAssociation]
|
499
1048
|
#
|
@@ -501,6 +1050,7 @@ module Aws::Route53Resolver
|
|
501
1050
|
#
|
502
1051
|
class GetResolverRuleAssociationResponse < Struct.new(
|
503
1052
|
:resolver_rule_association)
|
1053
|
+
SENSITIVE = []
|
504
1054
|
include Aws::Structure
|
505
1055
|
end
|
506
1056
|
|
@@ -512,7 +1062,7 @@ module Aws::Route53Resolver
|
|
512
1062
|
# }
|
513
1063
|
#
|
514
1064
|
# @!attribute [rw] arn
|
515
|
-
# The ID of the
|
1065
|
+
# The ID of the Resolver rule policy that you want to get information
|
516
1066
|
# about.
|
517
1067
|
# @return [String]
|
518
1068
|
#
|
@@ -520,11 +1070,12 @@ module Aws::Route53Resolver
|
|
520
1070
|
#
|
521
1071
|
class GetResolverRulePolicyRequest < Struct.new(
|
522
1072
|
:arn)
|
1073
|
+
SENSITIVE = []
|
523
1074
|
include Aws::Structure
|
524
1075
|
end
|
525
1076
|
|
526
1077
|
# @!attribute [rw] resolver_rule_policy
|
527
|
-
# Information about the
|
1078
|
+
# Information about the Resolver rule policy that you specified in a
|
528
1079
|
# `GetResolverRulePolicy` request.
|
529
1080
|
# @return [String]
|
530
1081
|
#
|
@@ -532,6 +1083,7 @@ module Aws::Route53Resolver
|
|
532
1083
|
#
|
533
1084
|
class GetResolverRulePolicyResponse < Struct.new(
|
534
1085
|
:resolver_rule_policy)
|
1086
|
+
SENSITIVE = []
|
535
1087
|
include Aws::Structure
|
536
1088
|
end
|
537
1089
|
|
@@ -543,18 +1095,19 @@ module Aws::Route53Resolver
|
|
543
1095
|
# }
|
544
1096
|
#
|
545
1097
|
# @!attribute [rw] resolver_rule_id
|
546
|
-
# The ID of the
|
1098
|
+
# The ID of the Resolver rule that you want to get information about.
|
547
1099
|
# @return [String]
|
548
1100
|
#
|
549
1101
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleRequest AWS API Documentation
|
550
1102
|
#
|
551
1103
|
class GetResolverRuleRequest < Struct.new(
|
552
1104
|
:resolver_rule_id)
|
1105
|
+
SENSITIVE = []
|
553
1106
|
include Aws::Structure
|
554
1107
|
end
|
555
1108
|
|
556
1109
|
# @!attribute [rw] resolver_rule
|
557
|
-
# Information about the
|
1110
|
+
# Information about the Resolver rule that you specified in a
|
558
1111
|
# `GetResolverRule` request.
|
559
1112
|
# @return [Types::ResolverRule]
|
560
1113
|
#
|
@@ -562,6 +1115,7 @@ module Aws::Route53Resolver
|
|
562
1115
|
#
|
563
1116
|
class GetResolverRuleResponse < Struct.new(
|
564
1117
|
:resolver_rule)
|
1118
|
+
SENSITIVE = []
|
565
1119
|
include Aws::Structure
|
566
1120
|
end
|
567
1121
|
|
@@ -574,6 +1128,7 @@ module Aws::Route53Resolver
|
|
574
1128
|
#
|
575
1129
|
class InternalServiceErrorException < Struct.new(
|
576
1130
|
:message)
|
1131
|
+
SENSITIVE = []
|
577
1132
|
include Aws::Structure
|
578
1133
|
end
|
579
1134
|
|
@@ -587,6 +1142,7 @@ module Aws::Route53Resolver
|
|
587
1142
|
#
|
588
1143
|
class InvalidNextTokenException < Struct.new(
|
589
1144
|
:message)
|
1145
|
+
SENSITIVE = []
|
590
1146
|
include Aws::Structure
|
591
1147
|
end
|
592
1148
|
|
@@ -605,10 +1161,11 @@ module Aws::Route53Resolver
|
|
605
1161
|
class InvalidParameterException < Struct.new(
|
606
1162
|
:message,
|
607
1163
|
:field_name)
|
1164
|
+
SENSITIVE = []
|
608
1165
|
include Aws::Structure
|
609
1166
|
end
|
610
1167
|
|
611
|
-
# The specified
|
1168
|
+
# The specified Resolver rule policy is invalid.
|
612
1169
|
#
|
613
1170
|
# @!attribute [rw] message
|
614
1171
|
# @return [String]
|
@@ -617,6 +1174,7 @@ module Aws::Route53Resolver
|
|
617
1174
|
#
|
618
1175
|
class InvalidPolicyDocument < Struct.new(
|
619
1176
|
:message)
|
1177
|
+
SENSITIVE = []
|
620
1178
|
include Aws::Structure
|
621
1179
|
end
|
622
1180
|
|
@@ -629,6 +1187,7 @@ module Aws::Route53Resolver
|
|
629
1187
|
#
|
630
1188
|
class InvalidRequestException < Struct.new(
|
631
1189
|
:message)
|
1190
|
+
SENSITIVE = []
|
632
1191
|
include Aws::Structure
|
633
1192
|
end
|
634
1193
|
|
@@ -641,11 +1200,18 @@ module Aws::Route53Resolver
|
|
641
1200
|
#
|
642
1201
|
class InvalidTagException < Struct.new(
|
643
1202
|
:message)
|
1203
|
+
SENSITIVE = []
|
644
1204
|
include Aws::Structure
|
645
1205
|
end
|
646
1206
|
|
647
|
-
# In
|
648
|
-
#
|
1207
|
+
# In a [CreateResolverEndpoint][1] request, the IP address that DNS
|
1208
|
+
# queries originate from (for outbound endpoints) or that you forward
|
1209
|
+
# DNS queries to (for inbound endpoints). `IpAddressRequest` also
|
1210
|
+
# includes the ID of the subnet that contains the IP address.
|
1211
|
+
#
|
1212
|
+
#
|
1213
|
+
#
|
1214
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html
|
649
1215
|
#
|
650
1216
|
# @note When making an API call, you may pass IpAddressRequest
|
651
1217
|
# data as a hash:
|
@@ -656,7 +1222,7 @@ module Aws::Route53Resolver
|
|
656
1222
|
# }
|
657
1223
|
#
|
658
1224
|
# @!attribute [rw] subnet_id
|
659
|
-
# The subnet that contains the IP address.
|
1225
|
+
# The ID of the subnet that contains the IP address.
|
660
1226
|
# @return [String]
|
661
1227
|
#
|
662
1228
|
# @!attribute [rw] ip
|
@@ -668,11 +1234,17 @@ module Aws::Route53Resolver
|
|
668
1234
|
class IpAddressRequest < Struct.new(
|
669
1235
|
:subnet_id,
|
670
1236
|
:ip)
|
1237
|
+
SENSITIVE = []
|
671
1238
|
include Aws::Structure
|
672
1239
|
end
|
673
1240
|
|
674
|
-
# In the response to a GetResolverEndpoint request, information
|
675
|
-
# the IP addresses that the
|
1241
|
+
# In the response to a [GetResolverEndpoint][1] request, information
|
1242
|
+
# about the IP addresses that the Resolver endpoint uses for DNS
|
1243
|
+
# queries.
|
1244
|
+
#
|
1245
|
+
#
|
1246
|
+
#
|
1247
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
|
676
1248
|
#
|
677
1249
|
# @!attribute [rw] ip_id
|
678
1250
|
# The ID of one IP address.
|
@@ -683,7 +1255,7 @@ module Aws::Route53Resolver
|
|
683
1255
|
# @return [String]
|
684
1256
|
#
|
685
1257
|
# @!attribute [rw] ip
|
686
|
-
# One IP address that the
|
1258
|
+
# One IP address that the Resolver endpoint uses for DNS queries.
|
687
1259
|
# @return [String]
|
688
1260
|
#
|
689
1261
|
# @!attribute [rw] status
|
@@ -715,11 +1287,16 @@ module Aws::Route53Resolver
|
|
715
1287
|
:status_message,
|
716
1288
|
:creation_time,
|
717
1289
|
:modification_time)
|
1290
|
+
SENSITIVE = []
|
718
1291
|
include Aws::Structure
|
719
1292
|
end
|
720
1293
|
|
721
|
-
# In an UpdateResolverEndpoint request, information about an IP
|
722
|
-
# to update.
|
1294
|
+
# In an [UpdateResolverEndpoint][1] request, information about an IP
|
1295
|
+
# address to update.
|
1296
|
+
#
|
1297
|
+
#
|
1298
|
+
#
|
1299
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_UpdateResolverEndpoint.html
|
723
1300
|
#
|
724
1301
|
# @note When making an API call, you may pass IpAddressUpdate
|
725
1302
|
# data as a hash:
|
@@ -731,14 +1308,22 @@ module Aws::Route53Resolver
|
|
731
1308
|
# }
|
732
1309
|
#
|
733
1310
|
# @!attribute [rw] ip_id
|
734
|
-
# *Only when removing an IP address from a
|
1311
|
+
# *Only when removing an IP address from a Resolver endpoint*\: The ID
|
735
1312
|
# of the IP address that you want to remove. To get this ID, use
|
736
|
-
# GetResolverEndpoint.
|
1313
|
+
# [GetResolverEndpoint][1].
|
1314
|
+
#
|
1315
|
+
#
|
1316
|
+
#
|
1317
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
|
737
1318
|
# @return [String]
|
738
1319
|
#
|
739
1320
|
# @!attribute [rw] subnet_id
|
740
1321
|
# The ID of the subnet that includes the IP address that you want to
|
741
|
-
# update. To get this ID, use GetResolverEndpoint.
|
1322
|
+
# update. To get this ID, use [GetResolverEndpoint][1].
|
1323
|
+
#
|
1324
|
+
#
|
1325
|
+
#
|
1326
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
|
742
1327
|
# @return [String]
|
743
1328
|
#
|
744
1329
|
# @!attribute [rw] ip
|
@@ -751,6 +1336,7 @@ module Aws::Route53Resolver
|
|
751
1336
|
:ip_id,
|
752
1337
|
:subnet_id,
|
753
1338
|
:ip)
|
1339
|
+
SENSITIVE = []
|
754
1340
|
include Aws::Structure
|
755
1341
|
end
|
756
1342
|
|
@@ -769,6 +1355,7 @@ module Aws::Route53Resolver
|
|
769
1355
|
class LimitExceededException < Struct.new(
|
770
1356
|
:message,
|
771
1357
|
:resource_type)
|
1358
|
+
SENSITIVE = []
|
772
1359
|
include Aws::Structure
|
773
1360
|
end
|
774
1361
|
|
@@ -782,7 +1369,7 @@ module Aws::Route53Resolver
|
|
782
1369
|
# }
|
783
1370
|
#
|
784
1371
|
# @!attribute [rw] resolver_endpoint_id
|
785
|
-
# The ID of the
|
1372
|
+
# The ID of the Resolver endpoint that you want to get IP addresses
|
786
1373
|
# for.
|
787
1374
|
# @return [String]
|
788
1375
|
#
|
@@ -797,7 +1384,7 @@ module Aws::Route53Resolver
|
|
797
1384
|
# For the first `ListResolverEndpointIpAddresses` request, omit this
|
798
1385
|
# value.
|
799
1386
|
#
|
800
|
-
# If the specified
|
1387
|
+
# If the specified Resolver endpoint has more than `MaxResults` IP
|
801
1388
|
# addresses, you can submit another `ListResolverEndpointIpAddresses`
|
802
1389
|
# request to get the next group of IP addresses. In the next request,
|
803
1390
|
# specify the value of `NextToken` from the previous response.
|
@@ -809,6 +1396,7 @@ module Aws::Route53Resolver
|
|
809
1396
|
:resolver_endpoint_id,
|
810
1397
|
:max_results,
|
811
1398
|
:next_token)
|
1399
|
+
SENSITIVE = []
|
812
1400
|
include Aws::Structure
|
813
1401
|
end
|
814
1402
|
|
@@ -824,9 +1412,9 @@ module Aws::Route53Resolver
|
|
824
1412
|
# @return [Integer]
|
825
1413
|
#
|
826
1414
|
# @!attribute [rw] ip_addresses
|
827
|
-
#
|
828
|
-
#
|
829
|
-
#
|
1415
|
+
# Information about the IP addresses in your VPC that DNS queries
|
1416
|
+
# originate from (for outbound endpoints) or that you forward DNS
|
1417
|
+
# queries to (for inbound endpoints).
|
830
1418
|
# @return [Array<Types::IpAddressResponse>]
|
831
1419
|
#
|
832
1420
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointIpAddressesResponse AWS API Documentation
|
@@ -835,6 +1423,7 @@ module Aws::Route53Resolver
|
|
835
1423
|
:next_token,
|
836
1424
|
:max_results,
|
837
1425
|
:ip_addresses)
|
1426
|
+
SENSITIVE = []
|
838
1427
|
include Aws::Structure
|
839
1428
|
end
|
840
1429
|
|
@@ -853,24 +1442,24 @@ module Aws::Route53Resolver
|
|
853
1442
|
# }
|
854
1443
|
#
|
855
1444
|
# @!attribute [rw] max_results
|
856
|
-
# The maximum number of
|
1445
|
+
# The maximum number of Resolver endpoints that you want to return in
|
857
1446
|
# the response to a `ListResolverEndpoints` request. If you don't
|
858
1447
|
# specify a value for `MaxResults`, Resolver returns up to 100
|
859
|
-
#
|
1448
|
+
# Resolver endpoints.
|
860
1449
|
# @return [Integer]
|
861
1450
|
#
|
862
1451
|
# @!attribute [rw] next_token
|
863
1452
|
# For the first `ListResolverEndpoints` request, omit this value.
|
864
1453
|
#
|
865
|
-
# If you have more than `MaxResults`
|
1454
|
+
# If you have more than `MaxResults` Resolver endpoints, you can
|
866
1455
|
# submit another `ListResolverEndpoints` request to get the next group
|
867
|
-
# of
|
1456
|
+
# of Resolver endpoints. In the next request, specify the value of
|
868
1457
|
# `NextToken` from the previous response.
|
869
1458
|
# @return [String]
|
870
1459
|
#
|
871
1460
|
# @!attribute [rw] filters
|
872
|
-
# An optional specification to return a subset of
|
873
|
-
# such as all inbound
|
1461
|
+
# An optional specification to return a subset of Resolver endpoints,
|
1462
|
+
# such as all inbound Resolver endpoints.
|
874
1463
|
#
|
875
1464
|
# <note markdown="1"> If you submit a second or subsequent `ListResolverEndpoints` request
|
876
1465
|
# and specify the `NextToken` parameter, you must use the same values
|
@@ -885,6 +1474,7 @@ module Aws::Route53Resolver
|
|
885
1474
|
:max_results,
|
886
1475
|
:next_token,
|
887
1476
|
:filters)
|
1477
|
+
SENSITIVE = []
|
888
1478
|
include Aws::Structure
|
889
1479
|
end
|
890
1480
|
|
@@ -900,7 +1490,7 @@ module Aws::Route53Resolver
|
|
900
1490
|
# @return [Integer]
|
901
1491
|
#
|
902
1492
|
# @!attribute [rw] resolver_endpoints
|
903
|
-
# The
|
1493
|
+
# The Resolver endpoints that were created by using the current AWS
|
904
1494
|
# account, and that match the specified filters, if any.
|
905
1495
|
# @return [Array<Types::ResolverEndpoint>]
|
906
1496
|
#
|
@@ -910,10 +1500,11 @@ module Aws::Route53Resolver
|
|
910
1500
|
:next_token,
|
911
1501
|
:max_results,
|
912
1502
|
:resolver_endpoints)
|
1503
|
+
SENSITIVE = []
|
913
1504
|
include Aws::Structure
|
914
1505
|
end
|
915
1506
|
|
916
|
-
# @note When making an API call, you may pass
|
1507
|
+
# @note When making an API call, you may pass ListResolverQueryLogConfigAssociationsRequest
|
917
1508
|
# data as a hash:
|
918
1509
|
#
|
919
1510
|
# {
|
@@ -925,18 +1516,353 @@ module Aws::Route53Resolver
|
|
925
1516
|
# values: ["FilterValue"],
|
926
1517
|
# },
|
927
1518
|
# ],
|
1519
|
+
# sort_by: "SortByKey",
|
1520
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
928
1521
|
# }
|
929
1522
|
#
|
930
1523
|
# @!attribute [rw] max_results
|
931
|
-
# The maximum number of
|
932
|
-
# the response to a `
|
933
|
-
# don't specify a value for `MaxResults`, Resolver
|
934
|
-
#
|
1524
|
+
# The maximum number of query logging associations that you want to
|
1525
|
+
# return in the response to a `ListResolverQueryLogConfigAssociations`
|
1526
|
+
# request. If you don't specify a value for `MaxResults`, Resolver
|
1527
|
+
# returns up to 100 query logging associations.
|
935
1528
|
# @return [Integer]
|
936
1529
|
#
|
937
1530
|
# @!attribute [rw] next_token
|
938
|
-
# For the first `
|
939
|
-
# value.
|
1531
|
+
# For the first `ListResolverQueryLogConfigAssociations` request, omit
|
1532
|
+
# this value.
|
1533
|
+
#
|
1534
|
+
# If there are more than `MaxResults` query logging associations that
|
1535
|
+
# match the values that you specify for `Filters`, you can submit
|
1536
|
+
# another `ListResolverQueryLogConfigAssociations` request to get the
|
1537
|
+
# next group of associations. In the next request, specify the value
|
1538
|
+
# of `NextToken` from the previous response.
|
1539
|
+
# @return [String]
|
1540
|
+
#
|
1541
|
+
# @!attribute [rw] filters
|
1542
|
+
# An optional specification to return a subset of query logging
|
1543
|
+
# associations.
|
1544
|
+
#
|
1545
|
+
# <note markdown="1"> If you submit a second or subsequent
|
1546
|
+
# `ListResolverQueryLogConfigAssociations` request and specify the
|
1547
|
+
# `NextToken` parameter, you must use the same values for `Filters`,
|
1548
|
+
# if any, as in the previous request.
|
1549
|
+
#
|
1550
|
+
# </note>
|
1551
|
+
# @return [Array<Types::Filter>]
|
1552
|
+
#
|
1553
|
+
# @!attribute [rw] sort_by
|
1554
|
+
# The element that you want Resolver to sort query logging
|
1555
|
+
# associations by.
|
1556
|
+
#
|
1557
|
+
# <note markdown="1"> If you submit a second or subsequent
|
1558
|
+
# `ListResolverQueryLogConfigAssociations` request and specify the
|
1559
|
+
# `NextToken` parameter, you must use the same value for `SortBy`, if
|
1560
|
+
# any, as in the previous request.
|
1561
|
+
#
|
1562
|
+
# </note>
|
1563
|
+
#
|
1564
|
+
# Valid values include the following elements:
|
1565
|
+
#
|
1566
|
+
# * `CreationTime`\: The ID of the query logging association.
|
1567
|
+
#
|
1568
|
+
# * `Error`\: If the value of `Status` is `FAILED`, the value of
|
1569
|
+
# `Error` indicates the cause:
|
1570
|
+
#
|
1571
|
+
# * `DESTINATION_NOT_FOUND`\: The specified destination (for
|
1572
|
+
# example, an Amazon S3 bucket) was deleted.
|
1573
|
+
#
|
1574
|
+
# * `ACCESS_DENIED`\: Permissions don't allow sending logs to the
|
1575
|
+
# destination.
|
1576
|
+
#
|
1577
|
+
# If `Status` is a value other than `FAILED`, `ERROR` is null.
|
1578
|
+
#
|
1579
|
+
# * `Id`\: The ID of the query logging association
|
1580
|
+
#
|
1581
|
+
# * `ResolverQueryLogConfigId`\: The ID of the query logging
|
1582
|
+
# configuration
|
1583
|
+
#
|
1584
|
+
# * `ResourceId`\: The ID of the VPC that is associated with the query
|
1585
|
+
# logging configuration
|
1586
|
+
#
|
1587
|
+
# * `Status`\: The current status of the configuration. Valid values
|
1588
|
+
# include the following:
|
1589
|
+
#
|
1590
|
+
# * `CREATING`\: Resolver is creating an association between an
|
1591
|
+
# Amazon VPC and a query logging configuration.
|
1592
|
+
#
|
1593
|
+
# * `CREATED`\: The association between an Amazon VPC and a query
|
1594
|
+
# logging configuration was successfully created. Resolver is
|
1595
|
+
# logging queries that originate in the specified VPC.
|
1596
|
+
#
|
1597
|
+
# * `DELETING`\: Resolver is deleting this query logging
|
1598
|
+
# association.
|
1599
|
+
#
|
1600
|
+
# * `FAILED`\: Resolver either couldn't create or couldn't delete
|
1601
|
+
# the query logging association. Here are two common causes:
|
1602
|
+
#
|
1603
|
+
# * The specified destination (for example, an Amazon S3 bucket)
|
1604
|
+
# was deleted.
|
1605
|
+
#
|
1606
|
+
# * Permissions don't allow sending logs to the destination.
|
1607
|
+
# @return [String]
|
1608
|
+
#
|
1609
|
+
# @!attribute [rw] sort_order
|
1610
|
+
# If you specified a value for `SortBy`, the order that you want query
|
1611
|
+
# logging associations to be listed in, `ASCENDING` or `DESCENDING`.
|
1612
|
+
#
|
1613
|
+
# <note markdown="1"> If you submit a second or subsequent
|
1614
|
+
# `ListResolverQueryLogConfigAssociations` request and specify the
|
1615
|
+
# `NextToken` parameter, you must use the same value for `SortOrder`,
|
1616
|
+
# if any, as in the previous request.
|
1617
|
+
#
|
1618
|
+
# </note>
|
1619
|
+
# @return [String]
|
1620
|
+
#
|
1621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigAssociationsRequest AWS API Documentation
|
1622
|
+
#
|
1623
|
+
class ListResolverQueryLogConfigAssociationsRequest < Struct.new(
|
1624
|
+
:max_results,
|
1625
|
+
:next_token,
|
1626
|
+
:filters,
|
1627
|
+
:sort_by,
|
1628
|
+
:sort_order)
|
1629
|
+
SENSITIVE = []
|
1630
|
+
include Aws::Structure
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
# @!attribute [rw] next_token
|
1634
|
+
# If there are more than `MaxResults` query logging associations, you
|
1635
|
+
# can submit another `ListResolverQueryLogConfigAssociations` request
|
1636
|
+
# to get the next group of associations. In the next request, specify
|
1637
|
+
# the value of `NextToken` from the previous response.
|
1638
|
+
# @return [String]
|
1639
|
+
#
|
1640
|
+
# @!attribute [rw] total_count
|
1641
|
+
# The total number of query logging associations that were created by
|
1642
|
+
# the current account in the specified Region. This count can differ
|
1643
|
+
# from the number of associations that are returned in a
|
1644
|
+
# `ListResolverQueryLogConfigAssociations` response, depending on the
|
1645
|
+
# values that you specify in the request.
|
1646
|
+
# @return [Integer]
|
1647
|
+
#
|
1648
|
+
# @!attribute [rw] total_filtered_count
|
1649
|
+
# The total number of query logging associations that were created by
|
1650
|
+
# the current account in the specified Region and that match the
|
1651
|
+
# filters that were specified in the
|
1652
|
+
# `ListResolverQueryLogConfigAssociations` request. For the total
|
1653
|
+
# number of associations that were created by the current account in
|
1654
|
+
# the specified Region, see `TotalCount`.
|
1655
|
+
# @return [Integer]
|
1656
|
+
#
|
1657
|
+
# @!attribute [rw] resolver_query_log_config_associations
|
1658
|
+
# A list that contains one `ResolverQueryLogConfigAssociations`
|
1659
|
+
# element for each query logging association that matches the values
|
1660
|
+
# that you specified for `Filter`.
|
1661
|
+
# @return [Array<Types::ResolverQueryLogConfigAssociation>]
|
1662
|
+
#
|
1663
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigAssociationsResponse AWS API Documentation
|
1664
|
+
#
|
1665
|
+
class ListResolverQueryLogConfigAssociationsResponse < Struct.new(
|
1666
|
+
:next_token,
|
1667
|
+
:total_count,
|
1668
|
+
:total_filtered_count,
|
1669
|
+
:resolver_query_log_config_associations)
|
1670
|
+
SENSITIVE = []
|
1671
|
+
include Aws::Structure
|
1672
|
+
end
|
1673
|
+
|
1674
|
+
# @note When making an API call, you may pass ListResolverQueryLogConfigsRequest
|
1675
|
+
# data as a hash:
|
1676
|
+
#
|
1677
|
+
# {
|
1678
|
+
# max_results: 1,
|
1679
|
+
# next_token: "NextToken",
|
1680
|
+
# filters: [
|
1681
|
+
# {
|
1682
|
+
# name: "FilterName",
|
1683
|
+
# values: ["FilterValue"],
|
1684
|
+
# },
|
1685
|
+
# ],
|
1686
|
+
# sort_by: "SortByKey",
|
1687
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1688
|
+
# }
|
1689
|
+
#
|
1690
|
+
# @!attribute [rw] max_results
|
1691
|
+
# The maximum number of query logging configurations that you want to
|
1692
|
+
# return in the response to a `ListResolverQueryLogConfigs` request.
|
1693
|
+
# If you don't specify a value for `MaxResults`, Resolver returns up
|
1694
|
+
# to 100 query logging configurations.
|
1695
|
+
# @return [Integer]
|
1696
|
+
#
|
1697
|
+
# @!attribute [rw] next_token
|
1698
|
+
# For the first `ListResolverQueryLogConfigs` request, omit this
|
1699
|
+
# value.
|
1700
|
+
#
|
1701
|
+
# If there are more than `MaxResults` query logging configurations
|
1702
|
+
# that match the values that you specify for `Filters`, you can submit
|
1703
|
+
# another `ListResolverQueryLogConfigs` request to get the next group
|
1704
|
+
# of configurations. In the next request, specify the value of
|
1705
|
+
# `NextToken` from the previous response.
|
1706
|
+
# @return [String]
|
1707
|
+
#
|
1708
|
+
# @!attribute [rw] filters
|
1709
|
+
# An optional specification to return a subset of query logging
|
1710
|
+
# configurations.
|
1711
|
+
#
|
1712
|
+
# <note markdown="1"> If you submit a second or subsequent `ListResolverQueryLogConfigs`
|
1713
|
+
# request and specify the `NextToken` parameter, you must use the same
|
1714
|
+
# values for `Filters`, if any, as in the previous request.
|
1715
|
+
#
|
1716
|
+
# </note>
|
1717
|
+
# @return [Array<Types::Filter>]
|
1718
|
+
#
|
1719
|
+
# @!attribute [rw] sort_by
|
1720
|
+
# The element that you want Resolver to sort query logging
|
1721
|
+
# configurations by.
|
1722
|
+
#
|
1723
|
+
# <note markdown="1"> If you submit a second or subsequent `ListResolverQueryLogConfigs`
|
1724
|
+
# request and specify the `NextToken` parameter, you must use the same
|
1725
|
+
# value for `SortBy`, if any, as in the previous request.
|
1726
|
+
#
|
1727
|
+
# </note>
|
1728
|
+
#
|
1729
|
+
# Valid values include the following elements:
|
1730
|
+
#
|
1731
|
+
# * `Arn`\: The ARN of the query logging configuration
|
1732
|
+
#
|
1733
|
+
# * `AssociationCount`\: The number of VPCs that are associated with
|
1734
|
+
# the specified configuration
|
1735
|
+
#
|
1736
|
+
# * `CreationTime`\: The date and time that Resolver returned when the
|
1737
|
+
# configuration was created
|
1738
|
+
#
|
1739
|
+
# * `CreatorRequestId`\: The value that was specified for
|
1740
|
+
# `CreatorRequestId` when the configuration was created
|
1741
|
+
#
|
1742
|
+
# * `DestinationArn`\: The location that logs are sent to
|
1743
|
+
#
|
1744
|
+
# * `Id`\: The ID of the configuration
|
1745
|
+
#
|
1746
|
+
# * `Name`\: The name of the configuration
|
1747
|
+
#
|
1748
|
+
# * `OwnerId`\: The AWS account number of the account that created the
|
1749
|
+
# configuration
|
1750
|
+
#
|
1751
|
+
# * `ShareStatus`\: Whether the configuration is shared with other AWS
|
1752
|
+
# accounts or shared with the current account by another AWS
|
1753
|
+
# account. Sharing is configured through AWS Resource Access Manager
|
1754
|
+
# (AWS RAM).
|
1755
|
+
#
|
1756
|
+
# * `Status`\: The current status of the configuration. Valid values
|
1757
|
+
# include the following:
|
1758
|
+
#
|
1759
|
+
# * `CREATING`\: Resolver is creating the query logging
|
1760
|
+
# configuration.
|
1761
|
+
#
|
1762
|
+
# * `CREATED`\: The query logging configuration was successfully
|
1763
|
+
# created. Resolver is logging queries that originate in the
|
1764
|
+
# specified VPC.
|
1765
|
+
#
|
1766
|
+
# * `DELETING`\: Resolver is deleting this query logging
|
1767
|
+
# configuration.
|
1768
|
+
#
|
1769
|
+
# * `FAILED`\: Resolver either couldn't create or couldn't delete
|
1770
|
+
# the query logging configuration. Here are two common causes:
|
1771
|
+
#
|
1772
|
+
# * The specified destination (for example, an Amazon S3 bucket)
|
1773
|
+
# was deleted.
|
1774
|
+
#
|
1775
|
+
# * Permissions don't allow sending logs to the destination.
|
1776
|
+
# @return [String]
|
1777
|
+
#
|
1778
|
+
# @!attribute [rw] sort_order
|
1779
|
+
# If you specified a value for `SortBy`, the order that you want query
|
1780
|
+
# logging configurations to be listed in, `ASCENDING` or `DESCENDING`.
|
1781
|
+
#
|
1782
|
+
# <note markdown="1"> If you submit a second or subsequent `ListResolverQueryLogConfigs`
|
1783
|
+
# request and specify the `NextToken` parameter, you must use the same
|
1784
|
+
# value for `SortOrder`, if any, as in the previous request.
|
1785
|
+
#
|
1786
|
+
# </note>
|
1787
|
+
# @return [String]
|
1788
|
+
#
|
1789
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigsRequest AWS API Documentation
|
1790
|
+
#
|
1791
|
+
class ListResolverQueryLogConfigsRequest < Struct.new(
|
1792
|
+
:max_results,
|
1793
|
+
:next_token,
|
1794
|
+
:filters,
|
1795
|
+
:sort_by,
|
1796
|
+
:sort_order)
|
1797
|
+
SENSITIVE = []
|
1798
|
+
include Aws::Structure
|
1799
|
+
end
|
1800
|
+
|
1801
|
+
# @!attribute [rw] next_token
|
1802
|
+
# If there are more than `MaxResults` query logging configurations,
|
1803
|
+
# you can submit another `ListResolverQueryLogConfigs` request to get
|
1804
|
+
# the next group of configurations. In the next request, specify the
|
1805
|
+
# value of `NextToken` from the previous response.
|
1806
|
+
# @return [String]
|
1807
|
+
#
|
1808
|
+
# @!attribute [rw] total_count
|
1809
|
+
# The total number of query logging configurations that were created
|
1810
|
+
# by the current account in the specified Region. This count can
|
1811
|
+
# differ from the number of query logging configurations that are
|
1812
|
+
# returned in a `ListResolverQueryLogConfigs` response, depending on
|
1813
|
+
# the values that you specify in the request.
|
1814
|
+
# @return [Integer]
|
1815
|
+
#
|
1816
|
+
# @!attribute [rw] total_filtered_count
|
1817
|
+
# The total number of query logging configurations that were created
|
1818
|
+
# by the current account in the specified Region and that match the
|
1819
|
+
# filters that were specified in the `ListResolverQueryLogConfigs`
|
1820
|
+
# request. For the total number of query logging configurations that
|
1821
|
+
# were created by the current account in the specified Region, see
|
1822
|
+
# `TotalCount`.
|
1823
|
+
# @return [Integer]
|
1824
|
+
#
|
1825
|
+
# @!attribute [rw] resolver_query_log_configs
|
1826
|
+
# A list that contains one `ResolverQueryLogConfig` element for each
|
1827
|
+
# query logging configuration that matches the values that you
|
1828
|
+
# specified for `Filter`.
|
1829
|
+
# @return [Array<Types::ResolverQueryLogConfig>]
|
1830
|
+
#
|
1831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigsResponse AWS API Documentation
|
1832
|
+
#
|
1833
|
+
class ListResolverQueryLogConfigsResponse < Struct.new(
|
1834
|
+
:next_token,
|
1835
|
+
:total_count,
|
1836
|
+
:total_filtered_count,
|
1837
|
+
:resolver_query_log_configs)
|
1838
|
+
SENSITIVE = []
|
1839
|
+
include Aws::Structure
|
1840
|
+
end
|
1841
|
+
|
1842
|
+
# @note When making an API call, you may pass ListResolverRuleAssociationsRequest
|
1843
|
+
# data as a hash:
|
1844
|
+
#
|
1845
|
+
# {
|
1846
|
+
# max_results: 1,
|
1847
|
+
# next_token: "NextToken",
|
1848
|
+
# filters: [
|
1849
|
+
# {
|
1850
|
+
# name: "FilterName",
|
1851
|
+
# values: ["FilterValue"],
|
1852
|
+
# },
|
1853
|
+
# ],
|
1854
|
+
# }
|
1855
|
+
#
|
1856
|
+
# @!attribute [rw] max_results
|
1857
|
+
# The maximum number of rule associations that you want to return in
|
1858
|
+
# the response to a `ListResolverRuleAssociations` request. If you
|
1859
|
+
# don't specify a value for `MaxResults`, Resolver returns up to 100
|
1860
|
+
# rule associations.
|
1861
|
+
# @return [Integer]
|
1862
|
+
#
|
1863
|
+
# @!attribute [rw] next_token
|
1864
|
+
# For the first `ListResolverRuleAssociation` request, omit this
|
1865
|
+
# value.
|
940
1866
|
#
|
941
1867
|
# If you have more than `MaxResults` rule associations, you can submit
|
942
1868
|
# another `ListResolverRuleAssociation` request to get the next group
|
@@ -945,8 +1871,8 @@ module Aws::Route53Resolver
|
|
945
1871
|
# @return [String]
|
946
1872
|
#
|
947
1873
|
# @!attribute [rw] filters
|
948
|
-
# An optional specification to return a subset of
|
949
|
-
# as
|
1874
|
+
# An optional specification to return a subset of Resolver rules, such
|
1875
|
+
# as Resolver rules that are associated with the same VPC ID.
|
950
1876
|
#
|
951
1877
|
# <note markdown="1"> If you submit a second or subsequent `ListResolverRuleAssociations`
|
952
1878
|
# request and specify the `NextToken` parameter, you must use the same
|
@@ -961,6 +1887,7 @@ module Aws::Route53Resolver
|
|
961
1887
|
:max_results,
|
962
1888
|
:next_token,
|
963
1889
|
:filters)
|
1890
|
+
SENSITIVE = []
|
964
1891
|
include Aws::Structure
|
965
1892
|
end
|
966
1893
|
|
@@ -976,7 +1903,7 @@ module Aws::Route53Resolver
|
|
976
1903
|
# @return [Integer]
|
977
1904
|
#
|
978
1905
|
# @!attribute [rw] resolver_rule_associations
|
979
|
-
# The associations that were created between
|
1906
|
+
# The associations that were created between Resolver rules and VPCs
|
980
1907
|
# using the current AWS account, and that match the specified filters,
|
981
1908
|
# if any.
|
982
1909
|
# @return [Array<Types::ResolverRuleAssociation>]
|
@@ -987,6 +1914,7 @@ module Aws::Route53Resolver
|
|
987
1914
|
:next_token,
|
988
1915
|
:max_results,
|
989
1916
|
:resolver_rule_associations)
|
1917
|
+
SENSITIVE = []
|
990
1918
|
include Aws::Structure
|
991
1919
|
end
|
992
1920
|
|
@@ -1005,23 +1933,23 @@ module Aws::Route53Resolver
|
|
1005
1933
|
# }
|
1006
1934
|
#
|
1007
1935
|
# @!attribute [rw] max_results
|
1008
|
-
# The maximum number of
|
1936
|
+
# The maximum number of Resolver rules that you want to return in the
|
1009
1937
|
# response to a `ListResolverRules` request. If you don't specify a
|
1010
|
-
# value for `MaxResults`, Resolver returns up to 100
|
1938
|
+
# value for `MaxResults`, Resolver returns up to 100 Resolver rules.
|
1011
1939
|
# @return [Integer]
|
1012
1940
|
#
|
1013
1941
|
# @!attribute [rw] next_token
|
1014
1942
|
# For the first `ListResolverRules` request, omit this value.
|
1015
1943
|
#
|
1016
|
-
# If you have more than `MaxResults`
|
1944
|
+
# If you have more than `MaxResults` Resolver rules, you can submit
|
1017
1945
|
# another `ListResolverRules` request to get the next group of
|
1018
|
-
#
|
1946
|
+
# Resolver rules. In the next request, specify the value of
|
1019
1947
|
# `NextToken` from the previous response.
|
1020
1948
|
# @return [String]
|
1021
1949
|
#
|
1022
1950
|
# @!attribute [rw] filters
|
1023
|
-
# An optional specification to return a subset of
|
1024
|
-
# as all
|
1951
|
+
# An optional specification to return a subset of Resolver rules, such
|
1952
|
+
# as all Resolver rules that are associated with the same Resolver
|
1025
1953
|
# endpoint.
|
1026
1954
|
#
|
1027
1955
|
# <note markdown="1"> If you submit a second or subsequent `ListResolverRules` request and
|
@@ -1037,11 +1965,12 @@ module Aws::Route53Resolver
|
|
1037
1965
|
:max_results,
|
1038
1966
|
:next_token,
|
1039
1967
|
:filters)
|
1968
|
+
SENSITIVE = []
|
1040
1969
|
include Aws::Structure
|
1041
1970
|
end
|
1042
1971
|
|
1043
1972
|
# @!attribute [rw] next_token
|
1044
|
-
# If more than `MaxResults`
|
1973
|
+
# If more than `MaxResults` Resolver rules match the specified
|
1045
1974
|
# criteria, you can submit another `ListResolverRules` request to get
|
1046
1975
|
# the next group of results. In the next request, specify the value of
|
1047
1976
|
# `NextToken` from the previous response.
|
@@ -1052,7 +1981,7 @@ module Aws::Route53Resolver
|
|
1052
1981
|
# @return [Integer]
|
1053
1982
|
#
|
1054
1983
|
# @!attribute [rw] resolver_rules
|
1055
|
-
# The
|
1984
|
+
# The Resolver rules that were created using the current AWS account
|
1056
1985
|
# and that match the specified filters, if any.
|
1057
1986
|
# @return [Array<Types::ResolverRule>]
|
1058
1987
|
#
|
@@ -1062,6 +1991,7 @@ module Aws::Route53Resolver
|
|
1062
1991
|
:next_token,
|
1063
1992
|
:max_results,
|
1064
1993
|
:resolver_rules)
|
1994
|
+
SENSITIVE = []
|
1065
1995
|
include Aws::Structure
|
1066
1996
|
end
|
1067
1997
|
|
@@ -1100,6 +2030,7 @@ module Aws::Route53Resolver
|
|
1100
2030
|
:resource_arn,
|
1101
2031
|
:max_results,
|
1102
2032
|
:next_token)
|
2033
|
+
SENSITIVE = []
|
1103
2034
|
include Aws::Structure
|
1104
2035
|
end
|
1105
2036
|
|
@@ -1120,6 +2051,64 @@ module Aws::Route53Resolver
|
|
1120
2051
|
class ListTagsForResourceResponse < Struct.new(
|
1121
2052
|
:tags,
|
1122
2053
|
:next_token)
|
2054
|
+
SENSITIVE = []
|
2055
|
+
include Aws::Structure
|
2056
|
+
end
|
2057
|
+
|
2058
|
+
# @note When making an API call, you may pass PutResolverQueryLogConfigPolicyRequest
|
2059
|
+
# data as a hash:
|
2060
|
+
#
|
2061
|
+
# {
|
2062
|
+
# arn: "Arn", # required
|
2063
|
+
# resolver_query_log_config_policy: "ResolverQueryLogConfigPolicy", # required
|
2064
|
+
# }
|
2065
|
+
#
|
2066
|
+
# @!attribute [rw] arn
|
2067
|
+
# The Amazon Resource Name (ARN) of the account that you want to share
|
2068
|
+
# rules with.
|
2069
|
+
# @return [String]
|
2070
|
+
#
|
2071
|
+
# @!attribute [rw] resolver_query_log_config_policy
|
2072
|
+
# An AWS Identity and Access Management policy statement that lists
|
2073
|
+
# the query logging configurations that you want to share with another
|
2074
|
+
# AWS account and the operations that you want the account to be able
|
2075
|
+
# to perform. You can specify the following operations in the
|
2076
|
+
# `Actions` section of the statement:
|
2077
|
+
#
|
2078
|
+
# * `route53resolver:AssociateResolverQueryLogConfig`
|
2079
|
+
#
|
2080
|
+
# * `route53resolver:DisassociateResolverQueryLogConfig`
|
2081
|
+
#
|
2082
|
+
# * `route53resolver:ListResolverQueryLogConfigAssociations`
|
2083
|
+
#
|
2084
|
+
# * `route53resolver:ListResolverQueryLogConfigs`
|
2085
|
+
#
|
2086
|
+
# In the `Resource` section of the statement, you specify the ARNs for
|
2087
|
+
# the query logging configurations that you want to share with the
|
2088
|
+
# account that you specified in `Arn`.
|
2089
|
+
# @return [String]
|
2090
|
+
#
|
2091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverQueryLogConfigPolicyRequest AWS API Documentation
|
2092
|
+
#
|
2093
|
+
class PutResolverQueryLogConfigPolicyRequest < Struct.new(
|
2094
|
+
:arn,
|
2095
|
+
:resolver_query_log_config_policy)
|
2096
|
+
SENSITIVE = []
|
2097
|
+
include Aws::Structure
|
2098
|
+
end
|
2099
|
+
|
2100
|
+
# The response to a `PutResolverQueryLogConfigPolicy` request.
|
2101
|
+
#
|
2102
|
+
# @!attribute [rw] return_value
|
2103
|
+
# Whether the `PutResolverQueryLogConfigPolicy` request was
|
2104
|
+
# successful.
|
2105
|
+
# @return [Boolean]
|
2106
|
+
#
|
2107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverQueryLogConfigPolicyResponse AWS API Documentation
|
2108
|
+
#
|
2109
|
+
class PutResolverQueryLogConfigPolicyResponse < Struct.new(
|
2110
|
+
:return_value)
|
2111
|
+
SENSITIVE = []
|
1123
2112
|
include Aws::Structure
|
1124
2113
|
end
|
1125
2114
|
|
@@ -1132,13 +2121,30 @@ module Aws::Route53Resolver
|
|
1132
2121
|
# }
|
1133
2122
|
#
|
1134
2123
|
# @!attribute [rw] arn
|
1135
|
-
# The Amazon Resource Name (ARN) of the account that you want to
|
1136
|
-
#
|
2124
|
+
# The Amazon Resource Name (ARN) of the account that you want to share
|
2125
|
+
# rules with.
|
1137
2126
|
# @return [String]
|
1138
2127
|
#
|
1139
2128
|
# @!attribute [rw] resolver_rule_policy
|
1140
2129
|
# An AWS Identity and Access Management policy statement that lists
|
1141
|
-
# the
|
2130
|
+
# the rules that you want to share with another AWS account and the
|
2131
|
+
# operations that you want the account to be able to perform. You can
|
2132
|
+
# specify the following operations in the `Actions` section of the
|
2133
|
+
# statement:
|
2134
|
+
#
|
2135
|
+
# * `route53resolver:GetResolverRule`
|
2136
|
+
#
|
2137
|
+
# * `route53resolver:AssociateResolverRule`
|
2138
|
+
#
|
2139
|
+
# * `route53resolver:DisassociateResolverRule`
|
2140
|
+
#
|
2141
|
+
# * `route53resolver:ListResolverRules`
|
2142
|
+
#
|
2143
|
+
# * `route53resolver:ListResolverRuleAssociations`
|
2144
|
+
#
|
2145
|
+
# In the `Resource` section of the statement, you specify the ARNs for
|
2146
|
+
# the rules that you want to share with the account that you specified
|
2147
|
+
# in `Arn`.
|
1142
2148
|
# @return [String]
|
1143
2149
|
#
|
1144
2150
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverRulePolicyRequest AWS API Documentation
|
@@ -1146,6 +2152,7 @@ module Aws::Route53Resolver
|
|
1146
2152
|
class PutResolverRulePolicyRequest < Struct.new(
|
1147
2153
|
:arn,
|
1148
2154
|
:resolver_rule_policy)
|
2155
|
+
SENSITIVE = []
|
1149
2156
|
include Aws::Structure
|
1150
2157
|
end
|
1151
2158
|
|
@@ -1159,65 +2166,120 @@ module Aws::Route53Resolver
|
|
1159
2166
|
#
|
1160
2167
|
class PutResolverRulePolicyResponse < Struct.new(
|
1161
2168
|
:return_value)
|
2169
|
+
SENSITIVE = []
|
1162
2170
|
include Aws::Structure
|
1163
2171
|
end
|
1164
2172
|
|
1165
|
-
# In the response to a CreateResolverEndpoint,
|
1166
|
-
#
|
1167
|
-
#
|
1168
|
-
#
|
2173
|
+
# In the response to a [CreateResolverEndpoint][1],
|
2174
|
+
# [DeleteResolverEndpoint][2], [GetResolverEndpoint][3],
|
2175
|
+
# [ListResolverEndpoints][4], or [UpdateResolverEndpoint][5] request, a
|
2176
|
+
# complex type that contains settings for an existing inbound or
|
2177
|
+
# outbound Resolver endpoint.
|
2178
|
+
#
|
2179
|
+
#
|
2180
|
+
#
|
2181
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html
|
2182
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DeleteResolverEndpoint.html
|
2183
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
|
2184
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
|
2185
|
+
# [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_UpdateResolverEndpoint.html
|
1169
2186
|
#
|
1170
2187
|
# @!attribute [rw] id
|
1171
|
-
# The ID of the
|
2188
|
+
# The ID of the Resolver endpoint.
|
1172
2189
|
# @return [String]
|
1173
2190
|
#
|
1174
2191
|
# @!attribute [rw] creator_request_id
|
1175
2192
|
# A unique string that identifies the request that created the
|
1176
|
-
#
|
2193
|
+
# Resolver endpoint. The `CreatorRequestId` allows failed requests to
|
1177
2194
|
# be retried without the risk of executing the operation twice.
|
1178
2195
|
# @return [String]
|
1179
2196
|
#
|
1180
2197
|
# @!attribute [rw] arn
|
1181
|
-
# The ARN (Amazon Resource Name) for the
|
2198
|
+
# The ARN (Amazon Resource Name) for the Resolver endpoint.
|
1182
2199
|
# @return [String]
|
1183
2200
|
#
|
1184
2201
|
# @!attribute [rw] name
|
1185
|
-
# The name that you assigned to the
|
1186
|
-
# submitted a CreateResolverEndpoint request.
|
2202
|
+
# The name that you assigned to the Resolver endpoint when you
|
2203
|
+
# submitted a [CreateResolverEndpoint][1] request.
|
2204
|
+
#
|
2205
|
+
#
|
2206
|
+
#
|
2207
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html
|
1187
2208
|
# @return [String]
|
1188
2209
|
#
|
1189
2210
|
# @!attribute [rw] security_group_ids
|
1190
2211
|
# The ID of one or more security groups that control access to this
|
1191
|
-
# VPC. The security group must include one or more inbound
|
1192
|
-
# rules.
|
2212
|
+
# VPC. The security group must include one or more inbound rules (for
|
2213
|
+
# inbound endpoints) or outbound rules (for outbound endpoints).
|
2214
|
+
# Inbound and outbound rules must allow TCP and UDP access. For
|
2215
|
+
# inbound access, open port 53. For outbound access, open the port
|
2216
|
+
# that you're using for DNS queries on your network.
|
1193
2217
|
# @return [Array<String>]
|
1194
2218
|
#
|
1195
2219
|
# @!attribute [rw] direction
|
1196
|
-
# Indicates whether the
|
2220
|
+
# Indicates whether the Resolver endpoint allows inbound or outbound
|
1197
2221
|
# DNS queries:
|
1198
2222
|
#
|
1199
|
-
# * `INBOUND`\: allows DNS queries to your VPC from your network
|
1200
|
-
# another VPC
|
2223
|
+
# * `INBOUND`\: allows DNS queries to your VPC from your network
|
1201
2224
|
#
|
1202
|
-
# * `OUTBOUND`\: allows DNS queries from your VPC to your network
|
1203
|
-
# another VPC
|
2225
|
+
# * `OUTBOUND`\: allows DNS queries from your VPC to your network
|
1204
2226
|
# @return [String]
|
1205
2227
|
#
|
1206
2228
|
# @!attribute [rw] ip_address_count
|
1207
|
-
# The number of IP addresses that the
|
2229
|
+
# The number of IP addresses that the Resolver endpoint can use for
|
1208
2230
|
# DNS queries.
|
1209
2231
|
# @return [Integer]
|
1210
2232
|
#
|
1211
2233
|
# @!attribute [rw] host_vpc_id
|
1212
|
-
# The ID of the VPC that you want to create the
|
2234
|
+
# The ID of the VPC that you want to create the Resolver endpoint in.
|
1213
2235
|
# @return [String]
|
1214
2236
|
#
|
1215
2237
|
# @!attribute [rw] status
|
1216
|
-
# A code that specifies the current status of the
|
2238
|
+
# A code that specifies the current status of the Resolver endpoint.
|
2239
|
+
# Valid values include the following:
|
2240
|
+
#
|
2241
|
+
# * `CREATING`\: Resolver is creating and configuring one or more
|
2242
|
+
# Amazon VPC network interfaces for this endpoint.
|
2243
|
+
#
|
2244
|
+
# * `OPERATIONAL`\: The Amazon VPC network interfaces for this
|
2245
|
+
# endpoint are correctly configured and able to pass inbound or
|
2246
|
+
# outbound DNS queries between your network and Resolver.
|
2247
|
+
#
|
2248
|
+
# * `UPDATING`\: Resolver is associating or disassociating one or more
|
2249
|
+
# network interfaces with this endpoint.
|
2250
|
+
#
|
2251
|
+
# * `AUTO_RECOVERING`\: Resolver is trying to recover one or more of
|
2252
|
+
# the network interfaces that are associated with this endpoint.
|
2253
|
+
# During the recovery process, the endpoint functions with limited
|
2254
|
+
# capacity because of the limit on the number of DNS queries per IP
|
2255
|
+
# address (per network interface). For the current limit, see
|
2256
|
+
# [Limits on Route 53 Resolver][1].
|
2257
|
+
#
|
2258
|
+
# * `ACTION_NEEDED`\: This endpoint is unhealthy, and Resolver can't
|
2259
|
+
# automatically recover it. To resolve the problem, we recommend
|
2260
|
+
# that you check each IP address that you associated with the
|
2261
|
+
# endpoint. For each IP address that isn't available, add another
|
2262
|
+
# IP address and then delete the IP address that isn't available.
|
2263
|
+
# (An endpoint must always include at least two IP addresses.) A
|
2264
|
+
# status of `ACTION_NEEDED` can have a variety of causes. Here are
|
2265
|
+
# two common causes:
|
2266
|
+
#
|
2267
|
+
# * One or more of the network interfaces that are associated with
|
2268
|
+
# the endpoint were deleted using Amazon VPC.
|
2269
|
+
#
|
2270
|
+
# * The network interface couldn't be created for some reason
|
2271
|
+
# that's outside the control of Resolver.
|
2272
|
+
#
|
2273
|
+
# * `DELETING`\: Resolver is deleting this endpoint and the associated
|
2274
|
+
# network interfaces.
|
2275
|
+
#
|
2276
|
+
#
|
2277
|
+
#
|
2278
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities-resolver
|
1217
2279
|
# @return [String]
|
1218
2280
|
#
|
1219
2281
|
# @!attribute [rw] status_message
|
1220
|
-
# A detailed description of the status of the
|
2282
|
+
# A detailed description of the status of the Resolver endpoint.
|
1221
2283
|
# @return [String]
|
1222
2284
|
#
|
1223
2285
|
# @!attribute [rw] creation_time
|
@@ -1245,61 +2307,268 @@ module Aws::Route53Resolver
|
|
1245
2307
|
:status_message,
|
1246
2308
|
:creation_time,
|
1247
2309
|
:modification_time)
|
2310
|
+
SENSITIVE = []
|
2311
|
+
include Aws::Structure
|
2312
|
+
end
|
2313
|
+
|
2314
|
+
# In the response to a [CreateResolverQueryLogConfig][1],
|
2315
|
+
# [DeleteResolverQueryLogConfig][2], [GetResolverQueryLogConfig][3], or
|
2316
|
+
# [ListResolverQueryLogConfigs][4] request, a complex type that contains
|
2317
|
+
# settings for one query logging configuration.
|
2318
|
+
#
|
2319
|
+
#
|
2320
|
+
#
|
2321
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverQueryLogConfig.html
|
2322
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DeleteResolverQueryLogConfig.html
|
2323
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverQueryLogConfig.html
|
2324
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigs.html
|
2325
|
+
#
|
2326
|
+
# @!attribute [rw] id
|
2327
|
+
# The ID for the query logging configuration.
|
2328
|
+
# @return [String]
|
2329
|
+
#
|
2330
|
+
# @!attribute [rw] owner_id
|
2331
|
+
# The AWS account ID for the account that created the query logging
|
2332
|
+
# configuration.
|
2333
|
+
# @return [String]
|
2334
|
+
#
|
2335
|
+
# @!attribute [rw] status
|
2336
|
+
# The status of the specified query logging configuration. Valid
|
2337
|
+
# values include the following:
|
2338
|
+
#
|
2339
|
+
# * `CREATING`\: Resolver is creating the query logging configuration.
|
2340
|
+
#
|
2341
|
+
# * `CREATED`\: The query logging configuration was successfully
|
2342
|
+
# created. Resolver is logging queries that originate in the
|
2343
|
+
# specified VPC.
|
2344
|
+
#
|
2345
|
+
# * `DELETING`\: Resolver is deleting this query logging
|
2346
|
+
# configuration.
|
2347
|
+
#
|
2348
|
+
# * `FAILED`\: Resolver can't deliver logs to the location that is
|
2349
|
+
# specified in the query logging configuration. Here are two common
|
2350
|
+
# causes:
|
2351
|
+
#
|
2352
|
+
# * The specified destination (for example, an Amazon S3 bucket) was
|
2353
|
+
# deleted.
|
2354
|
+
#
|
2355
|
+
# * Permissions don't allow sending logs to the destination.
|
2356
|
+
# @return [String]
|
2357
|
+
#
|
2358
|
+
# @!attribute [rw] share_status
|
2359
|
+
# An indication of whether the query logging configuration is shared
|
2360
|
+
# with other AWS accounts, or was shared with the current account by
|
2361
|
+
# another AWS account. Sharing is configured through AWS Resource
|
2362
|
+
# Access Manager (AWS RAM).
|
2363
|
+
# @return [String]
|
2364
|
+
#
|
2365
|
+
# @!attribute [rw] association_count
|
2366
|
+
# The number of VPCs that are associated with the query logging
|
2367
|
+
# configuration.
|
2368
|
+
# @return [Integer]
|
2369
|
+
#
|
2370
|
+
# @!attribute [rw] arn
|
2371
|
+
# The ARN for the query logging configuration.
|
2372
|
+
# @return [String]
|
2373
|
+
#
|
2374
|
+
# @!attribute [rw] name
|
2375
|
+
# The name of the query logging configuration.
|
2376
|
+
# @return [String]
|
2377
|
+
#
|
2378
|
+
# @!attribute [rw] destination_arn
|
2379
|
+
# The ARN of the resource that you want Resolver to send query logs:
|
2380
|
+
# an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data
|
2381
|
+
# Firehose delivery stream.
|
2382
|
+
# @return [String]
|
2383
|
+
#
|
2384
|
+
# @!attribute [rw] creator_request_id
|
2385
|
+
# A unique string that identifies the request that created the query
|
2386
|
+
# logging configuration. The `CreatorRequestId` allows failed requests
|
2387
|
+
# to be retried without the risk of executing the operation twice.
|
2388
|
+
# @return [String]
|
2389
|
+
#
|
2390
|
+
# @!attribute [rw] creation_time
|
2391
|
+
# The date and time that the query logging configuration was created,
|
2392
|
+
# in Unix time format and Coordinated Universal Time (UTC).
|
2393
|
+
# @return [String]
|
2394
|
+
#
|
2395
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverQueryLogConfig AWS API Documentation
|
2396
|
+
#
|
2397
|
+
class ResolverQueryLogConfig < Struct.new(
|
2398
|
+
:id,
|
2399
|
+
:owner_id,
|
2400
|
+
:status,
|
2401
|
+
:share_status,
|
2402
|
+
:association_count,
|
2403
|
+
:arn,
|
2404
|
+
:name,
|
2405
|
+
:destination_arn,
|
2406
|
+
:creator_request_id,
|
2407
|
+
:creation_time)
|
2408
|
+
SENSITIVE = []
|
2409
|
+
include Aws::Structure
|
2410
|
+
end
|
2411
|
+
|
2412
|
+
# In the response to an [AssociateResolverQueryLogConfig][1],
|
2413
|
+
# [DisassociateResolverQueryLogConfig][2],
|
2414
|
+
# [GetResolverQueryLogConfigAssociation][3], or
|
2415
|
+
# [ListResolverQueryLogConfigAssociations][4], request, a complex type
|
2416
|
+
# that contains settings for a specified association between an Amazon
|
2417
|
+
# VPC and a query logging configuration.
|
2418
|
+
#
|
2419
|
+
#
|
2420
|
+
#
|
2421
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverQueryLogConfig.html
|
2422
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverQueryLogConfig.html
|
2423
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverQueryLogConfigAssociation.html
|
2424
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigAssociations.html
|
2425
|
+
#
|
2426
|
+
# @!attribute [rw] id
|
2427
|
+
# The ID of the query logging association.
|
2428
|
+
# @return [String]
|
2429
|
+
#
|
2430
|
+
# @!attribute [rw] resolver_query_log_config_id
|
2431
|
+
# The ID of the query logging configuration that a VPC is associated
|
2432
|
+
# with.
|
2433
|
+
# @return [String]
|
2434
|
+
#
|
2435
|
+
# @!attribute [rw] resource_id
|
2436
|
+
# The ID of the Amazon VPC that is associated with the query logging
|
2437
|
+
# configuration.
|
2438
|
+
# @return [String]
|
2439
|
+
#
|
2440
|
+
# @!attribute [rw] status
|
2441
|
+
# The status of the specified query logging association. Valid values
|
2442
|
+
# include the following:
|
2443
|
+
#
|
2444
|
+
# * `CREATING`\: Resolver is creating an association between an Amazon
|
2445
|
+
# VPC and a query logging configuration.
|
2446
|
+
#
|
2447
|
+
# * `CREATED`\: The association between an Amazon VPC and a query
|
2448
|
+
# logging configuration was successfully created. Resolver is
|
2449
|
+
# logging queries that originate in the specified VPC.
|
2450
|
+
#
|
2451
|
+
# * `DELETING`\: Resolver is deleting this query logging association.
|
2452
|
+
#
|
2453
|
+
# * `FAILED`\: Resolver either couldn't create or couldn't delete
|
2454
|
+
# the query logging association.
|
2455
|
+
# @return [String]
|
2456
|
+
#
|
2457
|
+
# @!attribute [rw] error
|
2458
|
+
# If the value of `Status` is `FAILED`, the value of `Error` indicates
|
2459
|
+
# the cause:
|
2460
|
+
#
|
2461
|
+
# * `DESTINATION_NOT_FOUND`\: The specified destination (for example,
|
2462
|
+
# an Amazon S3 bucket) was deleted.
|
2463
|
+
#
|
2464
|
+
# * `ACCESS_DENIED`\: Permissions don't allow sending logs to the
|
2465
|
+
# destination.
|
2466
|
+
#
|
2467
|
+
# If the value of `Status` is a value other than `FAILED`, `Error` is
|
2468
|
+
# null.
|
2469
|
+
# @return [String]
|
2470
|
+
#
|
2471
|
+
# @!attribute [rw] error_message
|
2472
|
+
# Contains additional information about the error. If the value or
|
2473
|
+
# `Error` is null, the value of `ErrorMessage` also is null.
|
2474
|
+
# @return [String]
|
2475
|
+
#
|
2476
|
+
# @!attribute [rw] creation_time
|
2477
|
+
# The date and time that the VPC was associated with the query logging
|
2478
|
+
# configuration, in Unix time format and Coordinated Universal Time
|
2479
|
+
# (UTC).
|
2480
|
+
# @return [String]
|
2481
|
+
#
|
2482
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverQueryLogConfigAssociation AWS API Documentation
|
2483
|
+
#
|
2484
|
+
class ResolverQueryLogConfigAssociation < Struct.new(
|
2485
|
+
:id,
|
2486
|
+
:resolver_query_log_config_id,
|
2487
|
+
:resource_id,
|
2488
|
+
:status,
|
2489
|
+
:error,
|
2490
|
+
:error_message,
|
2491
|
+
:creation_time)
|
2492
|
+
SENSITIVE = []
|
1248
2493
|
include Aws::Structure
|
1249
2494
|
end
|
1250
2495
|
|
1251
2496
|
# For queries that originate in your VPC, detailed information about a
|
1252
|
-
#
|
2497
|
+
# Resolver rule, which specifies how to route DNS queries out of the
|
1253
2498
|
# VPC. The `ResolverRule` parameter appears in the response to a
|
1254
|
-
# CreateResolverRule, DeleteResolverRule,
|
1255
|
-
# ListResolverRules, or
|
2499
|
+
# [CreateResolverRule][1], [DeleteResolverRule][2],
|
2500
|
+
# [GetResolverRule][3], [ListResolverRules][4], or
|
2501
|
+
# [UpdateResolverRule][5] request.
|
2502
|
+
#
|
2503
|
+
#
|
2504
|
+
#
|
2505
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverRule.html
|
2506
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DeleteResolverRule.html
|
2507
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRule.html
|
2508
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
|
2509
|
+
# [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_UpdateResolverRule.html
|
1256
2510
|
#
|
1257
2511
|
# @!attribute [rw] id
|
1258
|
-
# The ID that Resolver assigned to the
|
2512
|
+
# The ID that Resolver assigned to the Resolver rule when you created
|
1259
2513
|
# it.
|
1260
2514
|
# @return [String]
|
1261
2515
|
#
|
1262
2516
|
# @!attribute [rw] creator_request_id
|
1263
|
-
# A unique string that you specified when you created the
|
1264
|
-
# rule. `CreatorRequestId`identifies the request and allows failed
|
2517
|
+
# A unique string that you specified when you created the Resolver
|
2518
|
+
# rule. `CreatorRequestId` identifies the request and allows failed
|
1265
2519
|
# requests to be retried without the risk of executing the operation
|
1266
2520
|
# twice.
|
1267
2521
|
# @return [String]
|
1268
2522
|
#
|
1269
2523
|
# @!attribute [rw] arn
|
1270
|
-
# The ARN (Amazon Resource Name) for the
|
2524
|
+
# The ARN (Amazon Resource Name) for the Resolver rule specified by
|
1271
2525
|
# `Id`.
|
1272
2526
|
# @return [String]
|
1273
2527
|
#
|
1274
2528
|
# @!attribute [rw] domain_name
|
1275
2529
|
# DNS queries for this domain name are forwarded to the IP addresses
|
1276
2530
|
# that are specified in `TargetIps`. If a query matches multiple
|
1277
|
-
#
|
1278
|
-
# routed using the
|
2531
|
+
# Resolver rules (example.com and www.example.com), the query is
|
2532
|
+
# routed using the Resolver rule that contains the most specific
|
1279
2533
|
# domain name (www.example.com).
|
1280
2534
|
# @return [String]
|
1281
2535
|
#
|
1282
2536
|
# @!attribute [rw] status
|
1283
|
-
# A code that specifies the current status of the
|
2537
|
+
# A code that specifies the current status of the Resolver rule.
|
1284
2538
|
# @return [String]
|
1285
2539
|
#
|
1286
2540
|
# @!attribute [rw] status_message
|
1287
|
-
# A detailed description of the status of a
|
2541
|
+
# A detailed description of the status of a Resolver rule.
|
1288
2542
|
# @return [String]
|
1289
2543
|
#
|
1290
2544
|
# @!attribute [rw] rule_type
|
1291
|
-
#
|
1292
|
-
#
|
2545
|
+
# When you want to forward DNS queries for specified domain name to
|
2546
|
+
# resolvers on your network, specify `FORWARD`.
|
2547
|
+
#
|
2548
|
+
# When you have a forwarding rule to forward DNS queries for a domain
|
2549
|
+
# to your network and you want Resolver to process queries for a
|
2550
|
+
# subdomain of that domain, specify `SYSTEM`.
|
2551
|
+
#
|
2552
|
+
# For example, to forward DNS queries for example.com to resolvers on
|
2553
|
+
# your network, you create a rule and specify `FORWARD` for
|
2554
|
+
# `RuleType`. To then have Resolver process queries for
|
2555
|
+
# apex.example.com, you create a rule and specify `SYSTEM` for
|
2556
|
+
# `RuleType`.
|
2557
|
+
#
|
2558
|
+
# Currently, only Resolver can create rules that have a value of
|
2559
|
+
# `RECURSIVE` for `RuleType`.
|
1293
2560
|
# @return [String]
|
1294
2561
|
#
|
1295
2562
|
# @!attribute [rw] name
|
1296
|
-
# The name for the
|
1297
|
-
# the
|
2563
|
+
# The name for the Resolver rule, which you specified when you created
|
2564
|
+
# the Resolver rule.
|
1298
2565
|
# @return [String]
|
1299
2566
|
#
|
1300
2567
|
# @!attribute [rw] target_ips
|
1301
|
-
# An array that contains the IP addresses and ports that
|
1302
|
-
#
|
2568
|
+
# An array that contains the IP addresses and ports that an outbound
|
2569
|
+
# endpoint forwards DNS queries to. Typically, these are the IP
|
2570
|
+
# addresses of DNS resolvers on your network. Specify IPv4 addresses.
|
2571
|
+
# IPv6 is not supported.
|
1303
2572
|
# @return [Array<Types::TargetAddress>]
|
1304
2573
|
#
|
1305
2574
|
# @!attribute [rw] resolver_endpoint_id
|
@@ -1317,6 +2586,16 @@ module Aws::Route53Resolver
|
|
1317
2586
|
# sharing the rule with the current account.
|
1318
2587
|
# @return [String]
|
1319
2588
|
#
|
2589
|
+
# @!attribute [rw] creation_time
|
2590
|
+
# The date and time that the Resolver rule was created, in Unix time
|
2591
|
+
# format and Coordinated Universal Time (UTC).
|
2592
|
+
# @return [String]
|
2593
|
+
#
|
2594
|
+
# @!attribute [rw] modification_time
|
2595
|
+
# The date and time that the Resolver rule was last updated, in Unix
|
2596
|
+
# time format and Coordinated Universal Time (UTC).
|
2597
|
+
# @return [String]
|
2598
|
+
#
|
1320
2599
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverRule AWS API Documentation
|
1321
2600
|
#
|
1322
2601
|
class ResolverRule < Struct.new(
|
@@ -1331,41 +2610,56 @@ module Aws::Route53Resolver
|
|
1331
2610
|
:target_ips,
|
1332
2611
|
:resolver_endpoint_id,
|
1333
2612
|
:owner_id,
|
1334
|
-
:share_status
|
2613
|
+
:share_status,
|
2614
|
+
:creation_time,
|
2615
|
+
:modification_time)
|
2616
|
+
SENSITIVE = []
|
1335
2617
|
include Aws::Structure
|
1336
2618
|
end
|
1337
2619
|
|
1338
|
-
# In the response to an AssociateResolverRule,
|
1339
|
-
# or ListResolverRuleAssociations
|
1340
|
-
#
|
2620
|
+
# In the response to an [AssociateResolverRule][1],
|
2621
|
+
# [DisassociateResolverRule][2], or [ListResolverRuleAssociations][3]
|
2622
|
+
# request, provides information about an association between a Resolver
|
2623
|
+
# rule and a VPC. The association determines which DNS queries that
|
2624
|
+
# originate in the VPC are forwarded to your network.
|
2625
|
+
#
|
2626
|
+
#
|
2627
|
+
#
|
2628
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html
|
2629
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html
|
2630
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
|
1341
2631
|
#
|
1342
2632
|
# @!attribute [rw] id
|
1343
|
-
# The ID of the association between a
|
1344
|
-
# Resolver assigns this value when you submit an
|
1345
|
-
# request.
|
2633
|
+
# The ID of the association between a Resolver rule and a VPC.
|
2634
|
+
# Resolver assigns this value when you submit an
|
2635
|
+
# [AssociateResolverRule][1] request.
|
2636
|
+
#
|
2637
|
+
#
|
2638
|
+
#
|
2639
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html
|
1346
2640
|
# @return [String]
|
1347
2641
|
#
|
1348
2642
|
# @!attribute [rw] resolver_rule_id
|
1349
|
-
# The ID of the
|
2643
|
+
# The ID of the Resolver rule that you associated with the VPC that is
|
1350
2644
|
# specified by `VPCId`.
|
1351
2645
|
# @return [String]
|
1352
2646
|
#
|
1353
2647
|
# @!attribute [rw] name
|
1354
|
-
# The name of an association between a
|
2648
|
+
# The name of an association between a Resolver rule and a VPC.
|
1355
2649
|
# @return [String]
|
1356
2650
|
#
|
1357
2651
|
# @!attribute [rw] vpc_id
|
1358
|
-
# The ID of the VPC that you associated the
|
2652
|
+
# The ID of the VPC that you associated the Resolver rule with.
|
1359
2653
|
# @return [String]
|
1360
2654
|
#
|
1361
2655
|
# @!attribute [rw] status
|
1362
2656
|
# A code that specifies the current status of the association between
|
1363
|
-
# a
|
2657
|
+
# a Resolver rule and a VPC.
|
1364
2658
|
# @return [String]
|
1365
2659
|
#
|
1366
2660
|
# @!attribute [rw] status_message
|
1367
2661
|
# A detailed description of the status of the association between a
|
1368
|
-
#
|
2662
|
+
# Resolver rule and a VPC.
|
1369
2663
|
# @return [String]
|
1370
2664
|
#
|
1371
2665
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverRuleAssociation AWS API Documentation
|
@@ -1377,11 +2671,16 @@ module Aws::Route53Resolver
|
|
1377
2671
|
:vpc_id,
|
1378
2672
|
:status,
|
1379
2673
|
:status_message)
|
2674
|
+
SENSITIVE = []
|
1380
2675
|
include Aws::Structure
|
1381
2676
|
end
|
1382
2677
|
|
1383
|
-
# In an UpdateResolverRule request, information about the changes
|
1384
|
-
# you want to make.
|
2678
|
+
# In an [UpdateResolverRule][1] request, information about the changes
|
2679
|
+
# that you want to make.
|
2680
|
+
#
|
2681
|
+
#
|
2682
|
+
#
|
2683
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_UpdateResolverRule.html
|
1385
2684
|
#
|
1386
2685
|
# @note When making an API call, you may pass ResolverRuleConfig
|
1387
2686
|
# data as a hash:
|
@@ -1398,7 +2697,7 @@ module Aws::Route53Resolver
|
|
1398
2697
|
# }
|
1399
2698
|
#
|
1400
2699
|
# @!attribute [rw] name
|
1401
|
-
# The new name for the
|
2700
|
+
# The new name for the Resolver rule. The name that you specify
|
1402
2701
|
# appears in the Resolver dashboard in the Route 53 console.
|
1403
2702
|
# @return [String]
|
1404
2703
|
#
|
@@ -1408,7 +2707,7 @@ module Aws::Route53Resolver
|
|
1408
2707
|
# @return [Array<Types::TargetAddress>]
|
1409
2708
|
#
|
1410
2709
|
# @!attribute [rw] resolver_endpoint_id
|
1411
|
-
# The ID of the new outbound
|
2710
|
+
# The ID of the new outbound Resolver endpoint that you want to use to
|
1412
2711
|
# route DNS queries to the IP addresses that you specify in
|
1413
2712
|
# `TargetIps`.
|
1414
2713
|
# @return [String]
|
@@ -1419,6 +2718,7 @@ module Aws::Route53Resolver
|
|
1419
2718
|
:name,
|
1420
2719
|
:target_ips,
|
1421
2720
|
:resolver_endpoint_id)
|
2721
|
+
SENSITIVE = []
|
1422
2722
|
include Aws::Structure
|
1423
2723
|
end
|
1424
2724
|
|
@@ -1437,6 +2737,7 @@ module Aws::Route53Resolver
|
|
1437
2737
|
class ResourceExistsException < Struct.new(
|
1438
2738
|
:message,
|
1439
2739
|
:resource_type)
|
2740
|
+
SENSITIVE = []
|
1440
2741
|
include Aws::Structure
|
1441
2742
|
end
|
1442
2743
|
|
@@ -1455,6 +2756,7 @@ module Aws::Route53Resolver
|
|
1455
2756
|
class ResourceInUseException < Struct.new(
|
1456
2757
|
:message,
|
1457
2758
|
:resource_type)
|
2759
|
+
SENSITIVE = []
|
1458
2760
|
include Aws::Structure
|
1459
2761
|
end
|
1460
2762
|
|
@@ -1473,6 +2775,7 @@ module Aws::Route53Resolver
|
|
1473
2775
|
class ResourceNotFoundException < Struct.new(
|
1474
2776
|
:message,
|
1475
2777
|
:resource_type)
|
2778
|
+
SENSITIVE = []
|
1476
2779
|
include Aws::Structure
|
1477
2780
|
end
|
1478
2781
|
|
@@ -1491,6 +2794,7 @@ module Aws::Route53Resolver
|
|
1491
2794
|
class ResourceUnavailableException < Struct.new(
|
1492
2795
|
:message,
|
1493
2796
|
:resource_type)
|
2797
|
+
SENSITIVE = []
|
1494
2798
|
include Aws::Structure
|
1495
2799
|
end
|
1496
2800
|
|
@@ -1501,8 +2805,8 @@ module Aws::Route53Resolver
|
|
1501
2805
|
# data as a hash:
|
1502
2806
|
#
|
1503
2807
|
# {
|
1504
|
-
# key: "TagKey",
|
1505
|
-
# value: "TagValue",
|
2808
|
+
# key: "TagKey", # required
|
2809
|
+
# value: "TagValue", # required
|
1506
2810
|
# }
|
1507
2811
|
#
|
1508
2812
|
# @!attribute [rw] key
|
@@ -1522,6 +2826,7 @@ module Aws::Route53Resolver
|
|
1522
2826
|
class Tag < Struct.new(
|
1523
2827
|
:key,
|
1524
2828
|
:value)
|
2829
|
+
SENSITIVE = []
|
1525
2830
|
include Aws::Structure
|
1526
2831
|
end
|
1527
2832
|
|
@@ -1532,8 +2837,8 @@ module Aws::Route53Resolver
|
|
1532
2837
|
# resource_arn: "Arn", # required
|
1533
2838
|
# tags: [ # required
|
1534
2839
|
# {
|
1535
|
-
# key: "TagKey",
|
1536
|
-
# value: "TagValue",
|
2840
|
+
# key: "TagKey", # required
|
2841
|
+
# value: "TagValue", # required
|
1537
2842
|
# },
|
1538
2843
|
# ],
|
1539
2844
|
# }
|
@@ -1543,17 +2848,26 @@ module Aws::Route53Resolver
|
|
1543
2848
|
# tags to. To get the ARN for a resource, use the applicable `Get` or
|
1544
2849
|
# `List` command:
|
1545
2850
|
#
|
1546
|
-
# * GetResolverEndpoint
|
2851
|
+
# * [GetResolverEndpoint][1]
|
2852
|
+
#
|
2853
|
+
# * [GetResolverRule][2]
|
2854
|
+
#
|
2855
|
+
# * [GetResolverRuleAssociation][3]
|
1547
2856
|
#
|
1548
|
-
# *
|
2857
|
+
# * [ListResolverEndpoints][4]
|
1549
2858
|
#
|
1550
|
-
# *
|
2859
|
+
# * [ListResolverRuleAssociations][5]
|
1551
2860
|
#
|
1552
|
-
# *
|
2861
|
+
# * [ListResolverRules][6]
|
1553
2862
|
#
|
1554
|
-
# * ListResolverRuleAssociations
|
1555
2863
|
#
|
1556
|
-
#
|
2864
|
+
#
|
2865
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
|
2866
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRule.html
|
2867
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRuleAssociation.html
|
2868
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
|
2869
|
+
# [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
|
2870
|
+
# [6]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
|
1557
2871
|
# @return [String]
|
1558
2872
|
#
|
1559
2873
|
# @!attribute [rw] tags
|
@@ -1565,6 +2879,7 @@ module Aws::Route53Resolver
|
|
1565
2879
|
class TagResourceRequest < Struct.new(
|
1566
2880
|
:resource_arn,
|
1567
2881
|
:tags)
|
2882
|
+
SENSITIVE = []
|
1568
2883
|
include Aws::Structure
|
1569
2884
|
end
|
1570
2885
|
|
@@ -1572,8 +2887,12 @@ module Aws::Route53Resolver
|
|
1572
2887
|
#
|
1573
2888
|
class TagResourceResponse < Aws::EmptyStructure; end
|
1574
2889
|
|
1575
|
-
# In a CreateResolverRule request, an array of the IPs that you
|
1576
|
-
# forward DNS queries to.
|
2890
|
+
# In a [CreateResolverRule][1] request, an array of the IPs that you
|
2891
|
+
# want to forward DNS queries to.
|
2892
|
+
#
|
2893
|
+
#
|
2894
|
+
#
|
2895
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverRule.html
|
1577
2896
|
#
|
1578
2897
|
# @note When making an API call, you may pass TargetAddress
|
1579
2898
|
# data as a hash:
|
@@ -1597,6 +2916,7 @@ module Aws::Route53Resolver
|
|
1597
2916
|
class TargetAddress < Struct.new(
|
1598
2917
|
:ip,
|
1599
2918
|
:port)
|
2919
|
+
SENSITIVE = []
|
1600
2920
|
include Aws::Structure
|
1601
2921
|
end
|
1602
2922
|
|
@@ -1609,6 +2929,7 @@ module Aws::Route53Resolver
|
|
1609
2929
|
#
|
1610
2930
|
class ThrottlingException < Struct.new(
|
1611
2931
|
:message)
|
2932
|
+
SENSITIVE = []
|
1612
2933
|
include Aws::Structure
|
1613
2934
|
end
|
1614
2935
|
|
@@ -1621,6 +2942,7 @@ module Aws::Route53Resolver
|
|
1621
2942
|
#
|
1622
2943
|
class UnknownResourceException < Struct.new(
|
1623
2944
|
:message)
|
2945
|
+
SENSITIVE = []
|
1624
2946
|
include Aws::Structure
|
1625
2947
|
end
|
1626
2948
|
|
@@ -1637,17 +2959,26 @@ module Aws::Route53Resolver
|
|
1637
2959
|
# remove tags from. To get the ARN for a resource, use the applicable
|
1638
2960
|
# `Get` or `List` command:
|
1639
2961
|
#
|
1640
|
-
# * GetResolverEndpoint
|
2962
|
+
# * [GetResolverEndpoint][1]
|
2963
|
+
#
|
2964
|
+
# * [GetResolverRule][2]
|
2965
|
+
#
|
2966
|
+
# * [GetResolverRuleAssociation][3]
|
2967
|
+
#
|
2968
|
+
# * [ListResolverEndpoints][4]
|
1641
2969
|
#
|
1642
|
-
# *
|
2970
|
+
# * [ListResolverRuleAssociations][5]
|
1643
2971
|
#
|
1644
|
-
# *
|
2972
|
+
# * [ListResolverRules][6]
|
1645
2973
|
#
|
1646
|
-
# * ListResolverEndpoints
|
1647
2974
|
#
|
1648
|
-
# * ListResolverRuleAssociations
|
1649
2975
|
#
|
1650
|
-
#
|
2976
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
|
2977
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRule.html
|
2978
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRuleAssociation.html
|
2979
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
|
2980
|
+
# [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
|
2981
|
+
# [6]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
|
1651
2982
|
# @return [String]
|
1652
2983
|
#
|
1653
2984
|
# @!attribute [rw] tag_keys
|
@@ -1659,6 +2990,7 @@ module Aws::Route53Resolver
|
|
1659
2990
|
class UntagResourceRequest < Struct.new(
|
1660
2991
|
:resource_arn,
|
1661
2992
|
:tag_keys)
|
2993
|
+
SENSITIVE = []
|
1662
2994
|
include Aws::Structure
|
1663
2995
|
end
|
1664
2996
|
|
@@ -1675,11 +3007,11 @@ module Aws::Route53Resolver
|
|
1675
3007
|
# }
|
1676
3008
|
#
|
1677
3009
|
# @!attribute [rw] resolver_endpoint_id
|
1678
|
-
# The ID of the
|
3010
|
+
# The ID of the Resolver endpoint that you want to update.
|
1679
3011
|
# @return [String]
|
1680
3012
|
#
|
1681
3013
|
# @!attribute [rw] name
|
1682
|
-
# The name of the
|
3014
|
+
# The name of the Resolver endpoint that you want to update.
|
1683
3015
|
# @return [String]
|
1684
3016
|
#
|
1685
3017
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpointRequest AWS API Documentation
|
@@ -1687,6 +3019,7 @@ module Aws::Route53Resolver
|
|
1687
3019
|
class UpdateResolverEndpointRequest < Struct.new(
|
1688
3020
|
:resolver_endpoint_id,
|
1689
3021
|
:name)
|
3022
|
+
SENSITIVE = []
|
1690
3023
|
include Aws::Structure
|
1691
3024
|
end
|
1692
3025
|
|
@@ -1698,6 +3031,7 @@ module Aws::Route53Resolver
|
|
1698
3031
|
#
|
1699
3032
|
class UpdateResolverEndpointResponse < Struct.new(
|
1700
3033
|
:resolver_endpoint)
|
3034
|
+
SENSITIVE = []
|
1701
3035
|
include Aws::Structure
|
1702
3036
|
end
|
1703
3037
|
|
@@ -1719,11 +3053,11 @@ module Aws::Route53Resolver
|
|
1719
3053
|
# }
|
1720
3054
|
#
|
1721
3055
|
# @!attribute [rw] resolver_rule_id
|
1722
|
-
# The ID of the
|
3056
|
+
# The ID of the Resolver rule that you want to update.
|
1723
3057
|
# @return [String]
|
1724
3058
|
#
|
1725
3059
|
# @!attribute [rw] config
|
1726
|
-
# The new settings for the
|
3060
|
+
# The new settings for the Resolver rule.
|
1727
3061
|
# @return [Types::ResolverRuleConfig]
|
1728
3062
|
#
|
1729
3063
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRuleRequest AWS API Documentation
|
@@ -1731,6 +3065,7 @@ module Aws::Route53Resolver
|
|
1731
3065
|
class UpdateResolverRuleRequest < Struct.new(
|
1732
3066
|
:resolver_rule_id,
|
1733
3067
|
:config)
|
3068
|
+
SENSITIVE = []
|
1734
3069
|
include Aws::Structure
|
1735
3070
|
end
|
1736
3071
|
|
@@ -1742,6 +3077,7 @@ module Aws::Route53Resolver
|
|
1742
3077
|
#
|
1743
3078
|
class UpdateResolverRuleResponse < Struct.new(
|
1744
3079
|
:resolver_rule)
|
3080
|
+
SENSITIVE = []
|
1745
3081
|
include Aws::Structure
|
1746
3082
|
end
|
1747
3083
|
|