aws-sdk-route53resolver 1.15.1 → 1.20.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 +5 -2
- data/lib/aws-sdk-route53resolver/client.rb +942 -116
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c63f7fc46b3df0c4fc9ba472b2ac7a9e701b80d3613587926dedfa673a8e364
|
4
|
+
data.tar.gz: b19ea4b086db1b7f2e67c9710be456a0b73e14dc3aca403c3693b3c25ed0c30d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23bc67b92f1f6bb8e97ad1c71928dda1d661abba1f6d443dab5c5c1878c7a91de9e68db1c757c36198c71145a953463adca05801a828a9260cdfbc890d39070d
|
7
|
+
data.tar.gz: 0154ec3b61557548c9d0084d8e4fd715b0299f0a34c070b04fca85e921787275f5613420dde0622ae60ba216fea43fe1291bdaea3c266506e79bc30b93de7443
|
@@ -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:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-route53resolver/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::Route53Resolver
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.20.0'
|
49
52
|
|
50
53
|
end
|
@@ -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:
|
@@ -83,13 +85,28 @@ module Aws::Route53Resolver
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::Route53Resolver
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -320,19 +337,23 @@ module Aws::Route53Resolver
|
|
320
337
|
|
321
338
|
# @!group API Operations
|
322
339
|
|
323
|
-
# Adds IP addresses to an inbound or an outbound
|
324
|
-
# you want to
|
340
|
+
# Adds IP addresses to an inbound or an outbound Resolver endpoint. If
|
341
|
+
# you want to add more than one IP address, submit one
|
325
342
|
# `AssociateResolverEndpointIpAddress` request for each IP address.
|
326
343
|
#
|
327
344
|
# To remove an IP address from an endpoint, see
|
328
|
-
# DisassociateResolverEndpointIpAddress.
|
345
|
+
# [DisassociateResolverEndpointIpAddress][1].
|
346
|
+
#
|
347
|
+
#
|
348
|
+
#
|
349
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverEndpointIpAddress.html
|
329
350
|
#
|
330
351
|
# @option params [required, String] :resolver_endpoint_id
|
331
|
-
# The ID of the
|
352
|
+
# The ID of the Resolver endpoint that you want to associate IP
|
332
353
|
# addresses with.
|
333
354
|
#
|
334
355
|
# @option params [required, Types::IpAddressUpdate] :ip_address
|
335
|
-
# Either the IPv4 address that you want to add to a
|
356
|
+
# Either the IPv4 address that you want to add to a Resolver endpoint or
|
336
357
|
# a subnet ID. If you specify a subnet ID, Resolver chooses an IP
|
337
358
|
# address for you from the available IPs in the specified subnet.
|
338
359
|
#
|
@@ -376,22 +397,92 @@ module Aws::Route53Resolver
|
|
376
397
|
req.send_request(options)
|
377
398
|
end
|
378
399
|
|
379
|
-
# Associates
|
400
|
+
# Associates an Amazon VPC with a specified query logging configuration.
|
401
|
+
# Route 53 Resolver logs DNS queries that originate in all of the Amazon
|
402
|
+
# VPCs that are associated with a specified query logging configuration.
|
403
|
+
# To associate more than one VPC with a configuration, submit one
|
404
|
+
# `AssociateResolverQueryLogConfig` request for each VPC.
|
405
|
+
#
|
406
|
+
# <note markdown="1"> The VPCs that you associate with a query logging configuration must be
|
407
|
+
# in the same Region as the configuration.
|
408
|
+
#
|
409
|
+
# </note>
|
410
|
+
#
|
411
|
+
# To remove a VPC from a query logging configuration, see
|
412
|
+
# [DisassociateResolverQueryLogConfig][1].
|
413
|
+
#
|
414
|
+
#
|
415
|
+
#
|
416
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverQueryLogConfig.html
|
417
|
+
#
|
418
|
+
# @option params [required, String] :resolver_query_log_config_id
|
419
|
+
# The ID of the query logging configuration that you want to associate a
|
420
|
+
# VPC with.
|
421
|
+
#
|
422
|
+
# @option params [required, String] :resource_id
|
423
|
+
# The ID of an Amazon VPC that you want this query logging configuration
|
424
|
+
# to log queries for.
|
425
|
+
#
|
426
|
+
# <note markdown="1"> The VPCs and the query logging configuration must be in the same
|
427
|
+
# Region.
|
428
|
+
#
|
429
|
+
# </note>
|
430
|
+
#
|
431
|
+
# @return [Types::AssociateResolverQueryLogConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
432
|
+
#
|
433
|
+
# * {Types::AssociateResolverQueryLogConfigResponse#resolver_query_log_config_association #resolver_query_log_config_association} => Types::ResolverQueryLogConfigAssociation
|
434
|
+
#
|
435
|
+
# @example Request syntax with placeholder values
|
436
|
+
#
|
437
|
+
# resp = client.associate_resolver_query_log_config({
|
438
|
+
# resolver_query_log_config_id: "ResourceId", # required
|
439
|
+
# resource_id: "ResourceId", # required
|
440
|
+
# })
|
441
|
+
#
|
442
|
+
# @example Response structure
|
443
|
+
#
|
444
|
+
# resp.resolver_query_log_config_association.id #=> String
|
445
|
+
# resp.resolver_query_log_config_association.resolver_query_log_config_id #=> String
|
446
|
+
# resp.resolver_query_log_config_association.resource_id #=> String
|
447
|
+
# resp.resolver_query_log_config_association.status #=> String, one of "CREATING", "ACTIVE", "ACTION_NEEDED", "DELETING", "FAILED"
|
448
|
+
# resp.resolver_query_log_config_association.error #=> String, one of "NONE", "DESTINATION_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_SERVICE_ERROR"
|
449
|
+
# resp.resolver_query_log_config_association.error_message #=> String
|
450
|
+
# resp.resolver_query_log_config_association.creation_time #=> String
|
451
|
+
#
|
452
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverQueryLogConfig AWS API Documentation
|
453
|
+
#
|
454
|
+
# @overload associate_resolver_query_log_config(params = {})
|
455
|
+
# @param [Hash] params ({})
|
456
|
+
def associate_resolver_query_log_config(params = {}, options = {})
|
457
|
+
req = build_request(:associate_resolver_query_log_config, params)
|
458
|
+
req.send_request(options)
|
459
|
+
end
|
460
|
+
|
461
|
+
# Associates a Resolver rule with a VPC. When you associate a rule with
|
380
462
|
# a VPC, Resolver forwards all DNS queries for the domain name that is
|
381
463
|
# specified in the rule and that originate in the VPC. The queries are
|
382
464
|
# forwarded to the IP addresses for the DNS resolvers that are specified
|
383
|
-
# in the rule. For more information about rules, see
|
465
|
+
# in the rule. For more information about rules, see
|
466
|
+
# [CreateResolverRule][1].
|
467
|
+
#
|
468
|
+
#
|
469
|
+
#
|
470
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverRule.html
|
384
471
|
#
|
385
472
|
# @option params [required, String] :resolver_rule_id
|
386
|
-
# The ID of the
|
387
|
-
# To list the existing
|
473
|
+
# The ID of the Resolver rule that you want to associate with the VPC.
|
474
|
+
# To list the existing Resolver rules, use [ListResolverRules][1].
|
475
|
+
#
|
476
|
+
#
|
477
|
+
#
|
478
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
|
388
479
|
#
|
389
480
|
# @option params [String] :name
|
390
|
-
# A name for the association that you're creating between a
|
481
|
+
# A name for the association that you're creating between a Resolver
|
391
482
|
# rule and a VPC.
|
392
483
|
#
|
393
484
|
# @option params [required, String] :vpc_id
|
394
|
-
# The ID of the VPC that you want to associate the
|
485
|
+
# The ID of the VPC that you want to associate the Resolver rule with.
|
395
486
|
#
|
396
487
|
# @return [Types::AssociateResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
397
488
|
#
|
@@ -423,14 +514,14 @@ module Aws::Route53Resolver
|
|
423
514
|
req.send_request(options)
|
424
515
|
end
|
425
516
|
|
426
|
-
# Creates a
|
517
|
+
# Creates a Resolver endpoint. There are two types of Resolver
|
427
518
|
# endpoints, inbound and outbound:
|
428
519
|
#
|
429
|
-
# * An *inbound
|
430
|
-
# service for a VPC from your network
|
520
|
+
# * An *inbound Resolver endpoint* forwards DNS queries to the DNS
|
521
|
+
# service for a VPC from your network.
|
431
522
|
#
|
432
|
-
# * An *outbound
|
433
|
-
# service for a VPC to your network
|
523
|
+
# * An *outbound Resolver endpoint* forwards DNS queries from the DNS
|
524
|
+
# service for a VPC to your network.
|
434
525
|
#
|
435
526
|
# @option params [required, String] :creator_request_id
|
436
527
|
# A unique string that identifies the request and that allows failed
|
@@ -445,23 +536,25 @@ module Aws::Route53Resolver
|
|
445
536
|
# @option params [required, Array<String>] :security_group_ids
|
446
537
|
# The ID of one or more security groups that you want to use to control
|
447
538
|
# access to this VPC. The security group that you specify must include
|
448
|
-
# one or more inbound rules (for inbound
|
449
|
-
# rules (for outbound
|
539
|
+
# one or more inbound rules (for inbound Resolver endpoints) or outbound
|
540
|
+
# rules (for outbound Resolver endpoints). Inbound and outbound rules
|
541
|
+
# must allow TCP and UDP access. For inbound access, open port 53. For
|
542
|
+
# outbound access, open the port that you're using for DNS queries on
|
543
|
+
# your network.
|
450
544
|
#
|
451
545
|
# @option params [required, String] :direction
|
452
546
|
# Specify the applicable value:
|
453
547
|
#
|
454
548
|
# * `INBOUND`\: Resolver forwards DNS queries to the DNS service for a
|
455
|
-
# VPC from your network
|
549
|
+
# VPC from your network
|
456
550
|
#
|
457
551
|
# * `OUTBOUND`\: Resolver forwards DNS queries from the DNS service for
|
458
|
-
# a VPC to your network
|
552
|
+
# a VPC to your network
|
459
553
|
#
|
460
554
|
# @option params [required, Array<Types::IpAddressRequest>] :ip_addresses
|
461
|
-
# The subnets and IP addresses in your VPC that
|
462
|
-
#
|
463
|
-
# endpoints)
|
464
|
-
# resolver endpoints).
|
555
|
+
# The subnets and IP addresses in your VPC that DNS queries originate
|
556
|
+
# from (for outbound endpoints) or that you forward DNS queries to (for
|
557
|
+
# inbound endpoints). The subnet ID uniquely identifies a VPC.
|
465
558
|
#
|
466
559
|
# @option params [Array<Types::Tag>] :tags
|
467
560
|
# A list of the tag keys and values that you want to associate with the
|
@@ -486,8 +579,8 @@ module Aws::Route53Resolver
|
|
486
579
|
# ],
|
487
580
|
# tags: [
|
488
581
|
# {
|
489
|
-
# key: "TagKey",
|
490
|
-
# value: "TagValue",
|
582
|
+
# key: "TagKey", # required
|
583
|
+
# value: "TagValue", # required
|
491
584
|
# },
|
492
585
|
# ],
|
493
586
|
# })
|
@@ -517,7 +610,104 @@ module Aws::Route53Resolver
|
|
517
610
|
req.send_request(options)
|
518
611
|
end
|
519
612
|
|
520
|
-
#
|
613
|
+
# Creates a Resolver query logging configuration, which defines where
|
614
|
+
# you want Resolver to save DNS query logs that originate in your VPCs.
|
615
|
+
# Resolver can log queries only for VPCs that are in the same Region as
|
616
|
+
# the query logging configuration.
|
617
|
+
#
|
618
|
+
# To specify which VPCs you want to log queries for, you use
|
619
|
+
# `AssociateResolverQueryLogConfig`. For more information, see
|
620
|
+
# [AssociateResolverQueryLogConfig][1].
|
621
|
+
#
|
622
|
+
# You can optionally use AWS Resource Access Manager (AWS RAM) to share
|
623
|
+
# a query logging configuration with other AWS accounts. The other
|
624
|
+
# accounts can then associate VPCs with the configuration. The query
|
625
|
+
# logs that Resolver creates for a configuration include all DNS queries
|
626
|
+
# that originate in all VPCs that are associated with the configuration.
|
627
|
+
#
|
628
|
+
#
|
629
|
+
#
|
630
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverQueryLogConfig.html
|
631
|
+
#
|
632
|
+
# @option params [required, String] :name
|
633
|
+
# The name that you want to give the query logging configuration
|
634
|
+
#
|
635
|
+
# @option params [required, String] :destination_arn
|
636
|
+
# The ARN of the resource that you want Resolver to send query logs. You
|
637
|
+
# can send query logs to an S3 bucket, a CloudWatch Logs log group, or a
|
638
|
+
# Kinesis Data Firehose delivery stream. Examples of valid values
|
639
|
+
# include the following:
|
640
|
+
#
|
641
|
+
# * **S3 bucket**\:
|
642
|
+
#
|
643
|
+
# `arn:aws:s3:::examplebucket`
|
644
|
+
#
|
645
|
+
# You can optionally append a file prefix to the end of the ARN.
|
646
|
+
#
|
647
|
+
# `arn:aws:s3:::examplebucket/development/`
|
648
|
+
#
|
649
|
+
# * **CloudWatch Logs log group**\:
|
650
|
+
#
|
651
|
+
# `arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:*`
|
652
|
+
#
|
653
|
+
# * **Kinesis Data Firehose delivery stream**\:
|
654
|
+
#
|
655
|
+
# `arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name`
|
656
|
+
#
|
657
|
+
# @option params [required, String] :creator_request_id
|
658
|
+
# A unique string that identifies the request and that allows failed
|
659
|
+
# requests to be retried without the risk of executing the operation
|
660
|
+
# twice. `CreatorRequestId` can be any unique string, for example, a
|
661
|
+
# date/time stamp.
|
662
|
+
#
|
663
|
+
# **A suitable default value is auto-generated.** You should normally
|
664
|
+
# not need to pass this option.**
|
665
|
+
#
|
666
|
+
# @option params [Array<Types::Tag>] :tags
|
667
|
+
# A list of the tag keys and values that you want to associate with the
|
668
|
+
# query logging configuration.
|
669
|
+
#
|
670
|
+
# @return [Types::CreateResolverQueryLogConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
671
|
+
#
|
672
|
+
# * {Types::CreateResolverQueryLogConfigResponse#resolver_query_log_config #resolver_query_log_config} => Types::ResolverQueryLogConfig
|
673
|
+
#
|
674
|
+
# @example Request syntax with placeholder values
|
675
|
+
#
|
676
|
+
# resp = client.create_resolver_query_log_config({
|
677
|
+
# name: "ResolverQueryLogConfigName", # required
|
678
|
+
# destination_arn: "DestinationArn", # required
|
679
|
+
# creator_request_id: "CreatorRequestId", # required
|
680
|
+
# tags: [
|
681
|
+
# {
|
682
|
+
# key: "TagKey", # required
|
683
|
+
# value: "TagValue", # required
|
684
|
+
# },
|
685
|
+
# ],
|
686
|
+
# })
|
687
|
+
#
|
688
|
+
# @example Response structure
|
689
|
+
#
|
690
|
+
# resp.resolver_query_log_config.id #=> String
|
691
|
+
# resp.resolver_query_log_config.owner_id #=> String
|
692
|
+
# resp.resolver_query_log_config.status #=> String, one of "CREATING", "CREATED", "DELETING", "FAILED"
|
693
|
+
# resp.resolver_query_log_config.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
694
|
+
# resp.resolver_query_log_config.association_count #=> Integer
|
695
|
+
# resp.resolver_query_log_config.arn #=> String
|
696
|
+
# resp.resolver_query_log_config.name #=> String
|
697
|
+
# resp.resolver_query_log_config.destination_arn #=> String
|
698
|
+
# resp.resolver_query_log_config.creator_request_id #=> String
|
699
|
+
# resp.resolver_query_log_config.creation_time #=> String
|
700
|
+
#
|
701
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverQueryLogConfig AWS API Documentation
|
702
|
+
#
|
703
|
+
# @overload create_resolver_query_log_config(params = {})
|
704
|
+
# @param [Hash] params ({})
|
705
|
+
def create_resolver_query_log_config(params = {}, options = {})
|
706
|
+
req = build_request(:create_resolver_query_log_config, params)
|
707
|
+
req.send_request(options)
|
708
|
+
end
|
709
|
+
|
710
|
+
# For DNS queries that originate in your VPCs, specifies which Resolver
|
521
711
|
# endpoint the queries pass through, one domain name that you want to
|
522
712
|
# forward to your network, and the IP addresses of the DNS resolvers in
|
523
713
|
# your network.
|
@@ -533,21 +723,37 @@ module Aws::Route53Resolver
|
|
533
723
|
# dashboard in the Route 53 console.
|
534
724
|
#
|
535
725
|
# @option params [required, String] :rule_type
|
536
|
-
#
|
726
|
+
# When you want to forward DNS queries for specified domain name to
|
727
|
+
# resolvers on your network, specify `FORWARD`.
|
728
|
+
#
|
729
|
+
# When you have a forwarding rule to forward DNS queries for a domain to
|
730
|
+
# your network and you want Resolver to process queries for a subdomain
|
731
|
+
# of that domain, specify `SYSTEM`.
|
732
|
+
#
|
733
|
+
# For example, to forward DNS queries for example.com to resolvers on
|
734
|
+
# your network, you create a rule and specify `FORWARD` for `RuleType`.
|
735
|
+
# To then have Resolver process queries for apex.example.com, you create
|
736
|
+
# a rule and specify `SYSTEM` for `RuleType`.
|
737
|
+
#
|
738
|
+
# Currently, only Resolver can create rules that have a value of
|
739
|
+
# `RECURSIVE` for `RuleType`.
|
537
740
|
#
|
538
741
|
# @option params [required, String] :domain_name
|
539
742
|
# DNS queries for this domain name are forwarded to the IP addresses
|
540
|
-
# that you specify in `TargetIps`. If a query matches multiple
|
743
|
+
# that you specify in `TargetIps`. If a query matches multiple Resolver
|
541
744
|
# rules (example.com and www.example.com), outbound DNS queries are
|
542
|
-
# routed using the
|
745
|
+
# routed using the Resolver rule that contains the most specific domain
|
543
746
|
# name (www.example.com).
|
544
747
|
#
|
545
748
|
# @option params [Array<Types::TargetAddress>] :target_ips
|
546
749
|
# The IPs that you want Resolver to forward DNS queries to. You can
|
547
750
|
# specify only IPv4 addresses. Separate IP addresses with a comma.
|
548
751
|
#
|
752
|
+
# `TargetIps` is available only when the value of `Rule type` is
|
753
|
+
# `FORWARD`.
|
754
|
+
#
|
549
755
|
# @option params [String] :resolver_endpoint_id
|
550
|
-
# The ID of the outbound
|
756
|
+
# The ID of the outbound Resolver endpoint that you want to use to route
|
551
757
|
# DNS queries to the IP addresses that you specify in `TargetIps`.
|
552
758
|
#
|
553
759
|
# @option params [Array<Types::Tag>] :tags
|
@@ -574,8 +780,8 @@ module Aws::Route53Resolver
|
|
574
780
|
# resolver_endpoint_id: "ResourceId",
|
575
781
|
# tags: [
|
576
782
|
# {
|
577
|
-
# key: "TagKey",
|
578
|
-
# value: "TagValue",
|
783
|
+
# key: "TagKey", # required
|
784
|
+
# value: "TagValue", # required
|
579
785
|
# },
|
580
786
|
# ],
|
581
787
|
# })
|
@@ -596,6 +802,8 @@ module Aws::Route53Resolver
|
|
596
802
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
597
803
|
# resp.resolver_rule.owner_id #=> String
|
598
804
|
# resp.resolver_rule.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
805
|
+
# resp.resolver_rule.creation_time #=> String
|
806
|
+
# resp.resolver_rule.modification_time #=> String
|
599
807
|
#
|
600
808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRule AWS API Documentation
|
601
809
|
#
|
@@ -606,18 +814,18 @@ module Aws::Route53Resolver
|
|
606
814
|
req.send_request(options)
|
607
815
|
end
|
608
816
|
|
609
|
-
# Deletes a
|
610
|
-
# endpoint depends on whether it's an inbound or an outbound
|
817
|
+
# Deletes a Resolver endpoint. The effect of deleting a Resolver
|
818
|
+
# endpoint depends on whether it's an inbound or an outbound Resolver
|
611
819
|
# endpoint:
|
612
820
|
#
|
613
|
-
# * **Inbound**\: DNS queries from your network
|
614
|
-
#
|
821
|
+
# * **Inbound**\: DNS queries from your network are no longer routed to
|
822
|
+
# the DNS service for the specified VPC.
|
615
823
|
#
|
616
824
|
# * **Outbound**\: DNS queries from a VPC are no longer routed to your
|
617
|
-
# network
|
825
|
+
# network.
|
618
826
|
#
|
619
827
|
# @option params [required, String] :resolver_endpoint_id
|
620
|
-
# The ID of the
|
828
|
+
# The ID of the Resolver endpoint that you want to delete.
|
621
829
|
#
|
622
830
|
# @return [Types::DeleteResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
623
831
|
#
|
@@ -654,12 +862,75 @@ module Aws::Route53Resolver
|
|
654
862
|
req.send_request(options)
|
655
863
|
end
|
656
864
|
|
657
|
-
# Deletes a
|
865
|
+
# Deletes a query logging configuration. When you delete a
|
866
|
+
# configuration, Resolver stops logging DNS queries for all of the
|
867
|
+
# Amazon VPCs that are associated with the configuration. This also
|
868
|
+
# applies if the query logging configuration is shared with other AWS
|
869
|
+
# accounts, and the other accounts have associated VPCs with the shared
|
870
|
+
# configuration.
|
871
|
+
#
|
872
|
+
# Before you can delete a query logging configuration, you must first
|
873
|
+
# disassociate all VPCs from the configuration. See
|
874
|
+
# [DisassociateResolverQueryLogConfig][1].
|
875
|
+
#
|
876
|
+
# If you used Resource Access Manager (RAM) to share a query logging
|
877
|
+
# configuration with other accounts, you must stop sharing the
|
878
|
+
# configuration before you can delete a configuration. The accounts that
|
879
|
+
# you shared the configuration with can first disassociate VPCs that
|
880
|
+
# they associated with the configuration, but that's not necessary. If
|
881
|
+
# you stop sharing the configuration, those VPCs are automatically
|
882
|
+
# disassociated from the configuration.
|
883
|
+
#
|
884
|
+
#
|
885
|
+
#
|
886
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverQueryLogConfig.html
|
887
|
+
#
|
888
|
+
# @option params [required, String] :resolver_query_log_config_id
|
889
|
+
# The ID of the query logging configuration that you want to delete.
|
890
|
+
#
|
891
|
+
# @return [Types::DeleteResolverQueryLogConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
892
|
+
#
|
893
|
+
# * {Types::DeleteResolverQueryLogConfigResponse#resolver_query_log_config #resolver_query_log_config} => Types::ResolverQueryLogConfig
|
894
|
+
#
|
895
|
+
# @example Request syntax with placeholder values
|
896
|
+
#
|
897
|
+
# resp = client.delete_resolver_query_log_config({
|
898
|
+
# resolver_query_log_config_id: "ResourceId", # required
|
899
|
+
# })
|
900
|
+
#
|
901
|
+
# @example Response structure
|
902
|
+
#
|
903
|
+
# resp.resolver_query_log_config.id #=> String
|
904
|
+
# resp.resolver_query_log_config.owner_id #=> String
|
905
|
+
# resp.resolver_query_log_config.status #=> String, one of "CREATING", "CREATED", "DELETING", "FAILED"
|
906
|
+
# resp.resolver_query_log_config.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
907
|
+
# resp.resolver_query_log_config.association_count #=> Integer
|
908
|
+
# resp.resolver_query_log_config.arn #=> String
|
909
|
+
# resp.resolver_query_log_config.name #=> String
|
910
|
+
# resp.resolver_query_log_config.destination_arn #=> String
|
911
|
+
# resp.resolver_query_log_config.creator_request_id #=> String
|
912
|
+
# resp.resolver_query_log_config.creation_time #=> String
|
913
|
+
#
|
914
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverQueryLogConfig AWS API Documentation
|
915
|
+
#
|
916
|
+
# @overload delete_resolver_query_log_config(params = {})
|
917
|
+
# @param [Hash] params ({})
|
918
|
+
def delete_resolver_query_log_config(params = {}, options = {})
|
919
|
+
req = build_request(:delete_resolver_query_log_config, params)
|
920
|
+
req.send_request(options)
|
921
|
+
end
|
922
|
+
|
923
|
+
# Deletes a Resolver rule. Before you can delete a Resolver rule, you
|
658
924
|
# must disassociate it from all the VPCs that you associated the
|
659
|
-
#
|
925
|
+
# Resolver rule with. For more information, see
|
926
|
+
# [DisassociateResolverRule][1].
|
927
|
+
#
|
928
|
+
#
|
929
|
+
#
|
930
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html
|
660
931
|
#
|
661
932
|
# @option params [required, String] :resolver_rule_id
|
662
|
-
# The ID of the
|
933
|
+
# The ID of the Resolver rule that you want to delete.
|
663
934
|
#
|
664
935
|
# @return [Types::DeleteResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
665
936
|
#
|
@@ -687,6 +958,8 @@ module Aws::Route53Resolver
|
|
687
958
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
688
959
|
# resp.resolver_rule.owner_id #=> String
|
689
960
|
# resp.resolver_rule.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
961
|
+
# resp.resolver_rule.creation_time #=> String
|
962
|
+
# resp.resolver_rule.modification_time #=> String
|
690
963
|
#
|
691
964
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRule AWS API Documentation
|
692
965
|
#
|
@@ -697,19 +970,23 @@ module Aws::Route53Resolver
|
|
697
970
|
req.send_request(options)
|
698
971
|
end
|
699
972
|
|
700
|
-
# Removes IP addresses from an inbound or an outbound
|
973
|
+
# Removes IP addresses from an inbound or an outbound Resolver endpoint.
|
701
974
|
# If you want to remove more than one IP address, submit one
|
702
975
|
# `DisassociateResolverEndpointIpAddress` request for each IP address.
|
703
976
|
#
|
704
977
|
# To add an IP address to an endpoint, see
|
705
|
-
# AssociateResolverEndpointIpAddress.
|
978
|
+
# [AssociateResolverEndpointIpAddress][1].
|
979
|
+
#
|
980
|
+
#
|
981
|
+
#
|
982
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverEndpointIpAddress.html
|
706
983
|
#
|
707
984
|
# @option params [required, String] :resolver_endpoint_id
|
708
|
-
# The ID of the
|
985
|
+
# The ID of the Resolver endpoint that you want to disassociate an IP
|
709
986
|
# address from.
|
710
987
|
#
|
711
988
|
# @option params [required, Types::IpAddressUpdate] :ip_address
|
712
|
-
# The IPv4 address that you want to remove from a
|
989
|
+
# The IPv4 address that you want to remove from a Resolver endpoint.
|
713
990
|
#
|
714
991
|
# @return [Types::DisassociateResolverEndpointIpAddressResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
715
992
|
#
|
@@ -751,19 +1028,72 @@ module Aws::Route53Resolver
|
|
751
1028
|
req.send_request(options)
|
752
1029
|
end
|
753
1030
|
|
754
|
-
#
|
1031
|
+
# Disassociates a VPC from a query logging configuration.
|
1032
|
+
#
|
1033
|
+
# <note markdown="1"> Before you can delete a query logging configuration, you must first
|
1034
|
+
# disassociate all VPCs from the configuration. If you used Resource
|
1035
|
+
# Access Manager (RAM) to share a query logging configuration with other
|
1036
|
+
# accounts, VPCs can be disassociated from the configuration in the
|
1037
|
+
# following ways:
|
1038
|
+
#
|
1039
|
+
# * The accounts that you shared the configuration with can disassociate
|
1040
|
+
# VPCs from the configuration.
|
1041
|
+
#
|
1042
|
+
# * You can stop sharing the configuration.
|
1043
|
+
#
|
1044
|
+
# </note>
|
1045
|
+
#
|
1046
|
+
# @option params [required, String] :resolver_query_log_config_id
|
1047
|
+
# The ID of the query logging configuration that you want to
|
1048
|
+
# disassociate a specified VPC from.
|
1049
|
+
#
|
1050
|
+
# @option params [required, String] :resource_id
|
1051
|
+
# The ID of the Amazon VPC that you want to disassociate from a
|
1052
|
+
# specified query logging configuration.
|
1053
|
+
#
|
1054
|
+
# @return [Types::DisassociateResolverQueryLogConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1055
|
+
#
|
1056
|
+
# * {Types::DisassociateResolverQueryLogConfigResponse#resolver_query_log_config_association #resolver_query_log_config_association} => Types::ResolverQueryLogConfigAssociation
|
1057
|
+
#
|
1058
|
+
# @example Request syntax with placeholder values
|
1059
|
+
#
|
1060
|
+
# resp = client.disassociate_resolver_query_log_config({
|
1061
|
+
# resolver_query_log_config_id: "ResourceId", # required
|
1062
|
+
# resource_id: "ResourceId", # required
|
1063
|
+
# })
|
1064
|
+
#
|
1065
|
+
# @example Response structure
|
1066
|
+
#
|
1067
|
+
# resp.resolver_query_log_config_association.id #=> String
|
1068
|
+
# resp.resolver_query_log_config_association.resolver_query_log_config_id #=> String
|
1069
|
+
# resp.resolver_query_log_config_association.resource_id #=> String
|
1070
|
+
# resp.resolver_query_log_config_association.status #=> String, one of "CREATING", "ACTIVE", "ACTION_NEEDED", "DELETING", "FAILED"
|
1071
|
+
# resp.resolver_query_log_config_association.error #=> String, one of "NONE", "DESTINATION_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_SERVICE_ERROR"
|
1072
|
+
# resp.resolver_query_log_config_association.error_message #=> String
|
1073
|
+
# resp.resolver_query_log_config_association.creation_time #=> String
|
1074
|
+
#
|
1075
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverQueryLogConfig AWS API Documentation
|
1076
|
+
#
|
1077
|
+
# @overload disassociate_resolver_query_log_config(params = {})
|
1078
|
+
# @param [Hash] params ({})
|
1079
|
+
def disassociate_resolver_query_log_config(params = {}, options = {})
|
1080
|
+
req = build_request(:disassociate_resolver_query_log_config, params)
|
1081
|
+
req.send_request(options)
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
# Removes the association between a specified Resolver rule and a
|
755
1085
|
# specified VPC.
|
756
1086
|
#
|
757
|
-
# If you disassociate a
|
1087
|
+
# If you disassociate a Resolver rule from a VPC, Resolver stops
|
758
1088
|
# forwarding DNS queries for the domain name that you specified in the
|
759
|
-
#
|
1089
|
+
# Resolver rule.
|
760
1090
|
#
|
761
1091
|
# @option params [required, String] :vpc_id
|
762
|
-
# The ID of the VPC that you want to disassociate the
|
1092
|
+
# The ID of the VPC that you want to disassociate the Resolver rule
|
763
1093
|
# from.
|
764
1094
|
#
|
765
1095
|
# @option params [required, String] :resolver_rule_id
|
766
|
-
# The ID of the
|
1096
|
+
# The ID of the Resolver rule that you want to disassociate from the
|
767
1097
|
# specified VPC.
|
768
1098
|
#
|
769
1099
|
# @return [Types::DisassociateResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -795,12 +1125,12 @@ module Aws::Route53Resolver
|
|
795
1125
|
req.send_request(options)
|
796
1126
|
end
|
797
1127
|
|
798
|
-
# Gets information about a specified
|
799
|
-
# it's an inbound or an outbound
|
1128
|
+
# Gets information about a specified Resolver endpoint, such as whether
|
1129
|
+
# it's an inbound or an outbound Resolver endpoint, and the current
|
800
1130
|
# status of the endpoint.
|
801
1131
|
#
|
802
1132
|
# @option params [required, String] :resolver_endpoint_id
|
803
|
-
# The ID of the
|
1133
|
+
# The ID of the Resolver endpoint that you want to get information
|
804
1134
|
# about.
|
805
1135
|
#
|
806
1136
|
# @return [Types::GetResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -838,12 +1168,121 @@ module Aws::Route53Resolver
|
|
838
1168
|
req.send_request(options)
|
839
1169
|
end
|
840
1170
|
|
841
|
-
# Gets information about a specified
|
1171
|
+
# Gets information about a specified Resolver query logging
|
1172
|
+
# configuration, such as the number of VPCs that the configuration is
|
1173
|
+
# logging queries for and the location that logs are sent to.
|
1174
|
+
#
|
1175
|
+
# @option params [required, String] :resolver_query_log_config_id
|
1176
|
+
# The ID of the Resolver query logging configuration that you want to
|
1177
|
+
# get information about.
|
1178
|
+
#
|
1179
|
+
# @return [Types::GetResolverQueryLogConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1180
|
+
#
|
1181
|
+
# * {Types::GetResolverQueryLogConfigResponse#resolver_query_log_config #resolver_query_log_config} => Types::ResolverQueryLogConfig
|
1182
|
+
#
|
1183
|
+
# @example Request syntax with placeholder values
|
1184
|
+
#
|
1185
|
+
# resp = client.get_resolver_query_log_config({
|
1186
|
+
# resolver_query_log_config_id: "ResourceId", # required
|
1187
|
+
# })
|
1188
|
+
#
|
1189
|
+
# @example Response structure
|
1190
|
+
#
|
1191
|
+
# resp.resolver_query_log_config.id #=> String
|
1192
|
+
# resp.resolver_query_log_config.owner_id #=> String
|
1193
|
+
# resp.resolver_query_log_config.status #=> String, one of "CREATING", "CREATED", "DELETING", "FAILED"
|
1194
|
+
# resp.resolver_query_log_config.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
1195
|
+
# resp.resolver_query_log_config.association_count #=> Integer
|
1196
|
+
# resp.resolver_query_log_config.arn #=> String
|
1197
|
+
# resp.resolver_query_log_config.name #=> String
|
1198
|
+
# resp.resolver_query_log_config.destination_arn #=> String
|
1199
|
+
# resp.resolver_query_log_config.creator_request_id #=> String
|
1200
|
+
# resp.resolver_query_log_config.creation_time #=> String
|
1201
|
+
#
|
1202
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfig AWS API Documentation
|
1203
|
+
#
|
1204
|
+
# @overload get_resolver_query_log_config(params = {})
|
1205
|
+
# @param [Hash] params ({})
|
1206
|
+
def get_resolver_query_log_config(params = {}, options = {})
|
1207
|
+
req = build_request(:get_resolver_query_log_config, params)
|
1208
|
+
req.send_request(options)
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# Gets information about a specified association between a Resolver
|
1212
|
+
# query logging configuration and an Amazon VPC. When you associate a
|
1213
|
+
# VPC with a query logging configuration, Resolver logs DNS queries that
|
1214
|
+
# originate in that VPC.
|
1215
|
+
#
|
1216
|
+
# @option params [required, String] :resolver_query_log_config_association_id
|
1217
|
+
# The ID of the Resolver query logging configuration association that
|
1218
|
+
# you want to get information about.
|
1219
|
+
#
|
1220
|
+
# @return [Types::GetResolverQueryLogConfigAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1221
|
+
#
|
1222
|
+
# * {Types::GetResolverQueryLogConfigAssociationResponse#resolver_query_log_config_association #resolver_query_log_config_association} => Types::ResolverQueryLogConfigAssociation
|
1223
|
+
#
|
1224
|
+
# @example Request syntax with placeholder values
|
1225
|
+
#
|
1226
|
+
# resp = client.get_resolver_query_log_config_association({
|
1227
|
+
# resolver_query_log_config_association_id: "ResourceId", # required
|
1228
|
+
# })
|
1229
|
+
#
|
1230
|
+
# @example Response structure
|
1231
|
+
#
|
1232
|
+
# resp.resolver_query_log_config_association.id #=> String
|
1233
|
+
# resp.resolver_query_log_config_association.resolver_query_log_config_id #=> String
|
1234
|
+
# resp.resolver_query_log_config_association.resource_id #=> String
|
1235
|
+
# resp.resolver_query_log_config_association.status #=> String, one of "CREATING", "ACTIVE", "ACTION_NEEDED", "DELETING", "FAILED"
|
1236
|
+
# resp.resolver_query_log_config_association.error #=> String, one of "NONE", "DESTINATION_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_SERVICE_ERROR"
|
1237
|
+
# resp.resolver_query_log_config_association.error_message #=> String
|
1238
|
+
# resp.resolver_query_log_config_association.creation_time #=> String
|
1239
|
+
#
|
1240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigAssociation AWS API Documentation
|
1241
|
+
#
|
1242
|
+
# @overload get_resolver_query_log_config_association(params = {})
|
1243
|
+
# @param [Hash] params ({})
|
1244
|
+
def get_resolver_query_log_config_association(params = {}, options = {})
|
1245
|
+
req = build_request(:get_resolver_query_log_config_association, params)
|
1246
|
+
req.send_request(options)
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
# Gets information about a query logging policy. A query logging policy
|
1250
|
+
# specifies the Resolver query logging operations and resources that you
|
1251
|
+
# want to allow another AWS account to be able to use.
|
1252
|
+
#
|
1253
|
+
# @option params [required, String] :arn
|
1254
|
+
# The ARN of the query logging configuration that you want to get the
|
1255
|
+
# query logging policy for.
|
1256
|
+
#
|
1257
|
+
# @return [Types::GetResolverQueryLogConfigPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1258
|
+
#
|
1259
|
+
# * {Types::GetResolverQueryLogConfigPolicyResponse#resolver_query_log_config_policy #resolver_query_log_config_policy} => String
|
1260
|
+
#
|
1261
|
+
# @example Request syntax with placeholder values
|
1262
|
+
#
|
1263
|
+
# resp = client.get_resolver_query_log_config_policy({
|
1264
|
+
# arn: "Arn", # required
|
1265
|
+
# })
|
1266
|
+
#
|
1267
|
+
# @example Response structure
|
1268
|
+
#
|
1269
|
+
# resp.resolver_query_log_config_policy #=> String
|
1270
|
+
#
|
1271
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigPolicy AWS API Documentation
|
1272
|
+
#
|
1273
|
+
# @overload get_resolver_query_log_config_policy(params = {})
|
1274
|
+
# @param [Hash] params ({})
|
1275
|
+
def get_resolver_query_log_config_policy(params = {}, options = {})
|
1276
|
+
req = build_request(:get_resolver_query_log_config_policy, params)
|
1277
|
+
req.send_request(options)
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
# Gets information about a specified Resolver rule, such as the domain
|
842
1281
|
# name that the rule forwards DNS queries for and the ID of the outbound
|
843
|
-
#
|
1282
|
+
# Resolver endpoint that the rule is associated with.
|
844
1283
|
#
|
845
1284
|
# @option params [required, String] :resolver_rule_id
|
846
|
-
# The ID of the
|
1285
|
+
# The ID of the Resolver rule that you want to get information about.
|
847
1286
|
#
|
848
1287
|
# @return [Types::GetResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
849
1288
|
#
|
@@ -871,6 +1310,8 @@ module Aws::Route53Resolver
|
|
871
1310
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
872
1311
|
# resp.resolver_rule.owner_id #=> String
|
873
1312
|
# resp.resolver_rule.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
1313
|
+
# resp.resolver_rule.creation_time #=> String
|
1314
|
+
# resp.resolver_rule.modification_time #=> String
|
874
1315
|
#
|
875
1316
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRule AWS API Documentation
|
876
1317
|
#
|
@@ -881,12 +1322,16 @@ module Aws::Route53Resolver
|
|
881
1322
|
req.send_request(options)
|
882
1323
|
end
|
883
1324
|
|
884
|
-
# Gets information about an association between a specified
|
885
|
-
# rule and a VPC. You associate a
|
886
|
-
# AssociateResolverRule.
|
1325
|
+
# Gets information about an association between a specified Resolver
|
1326
|
+
# rule and a VPC. You associate a Resolver rule and a VPC using
|
1327
|
+
# [AssociateResolverRule][1].
|
1328
|
+
#
|
1329
|
+
#
|
1330
|
+
#
|
1331
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html
|
887
1332
|
#
|
888
1333
|
# @option params [required, String] :resolver_rule_association_id
|
889
|
-
# The ID of the
|
1334
|
+
# The ID of the Resolver rule association that you want to get
|
890
1335
|
# information about.
|
891
1336
|
#
|
892
1337
|
# @return [Types::GetResolverRuleAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -917,12 +1362,12 @@ module Aws::Route53Resolver
|
|
917
1362
|
req.send_request(options)
|
918
1363
|
end
|
919
1364
|
|
920
|
-
# Gets information about a
|
1365
|
+
# Gets information about a Resolver rule policy. A Resolver rule policy
|
921
1366
|
# specifies the Resolver operations and resources that you want to allow
|
922
1367
|
# another AWS account to be able to use.
|
923
1368
|
#
|
924
1369
|
# @option params [required, String] :arn
|
925
|
-
# The ID of the
|
1370
|
+
# The ID of the Resolver rule policy that you want to get information
|
926
1371
|
# about.
|
927
1372
|
#
|
928
1373
|
# @return [Types::GetResolverRulePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -948,10 +1393,10 @@ module Aws::Route53Resolver
|
|
948
1393
|
req.send_request(options)
|
949
1394
|
end
|
950
1395
|
|
951
|
-
# Gets the IP addresses for a specified
|
1396
|
+
# Gets the IP addresses for a specified Resolver endpoint.
|
952
1397
|
#
|
953
1398
|
# @option params [required, String] :resolver_endpoint_id
|
954
|
-
# The ID of the
|
1399
|
+
# The ID of the Resolver endpoint that you want to get IP addresses for.
|
955
1400
|
#
|
956
1401
|
# @option params [Integer] :max_results
|
957
1402
|
# The maximum number of IP addresses that you want to return in the
|
@@ -963,7 +1408,7 @@ module Aws::Route53Resolver
|
|
963
1408
|
# For the first `ListResolverEndpointIpAddresses` request, omit this
|
964
1409
|
# value.
|
965
1410
|
#
|
966
|
-
# If the specified
|
1411
|
+
# If the specified Resolver endpoint has more than `MaxResults` IP
|
967
1412
|
# addresses, you can submit another `ListResolverEndpointIpAddresses`
|
968
1413
|
# request to get the next group of IP addresses. In the next request,
|
969
1414
|
# specify the value of `NextToken` from the previous response.
|
@@ -1006,26 +1451,26 @@ module Aws::Route53Resolver
|
|
1006
1451
|
req.send_request(options)
|
1007
1452
|
end
|
1008
1453
|
|
1009
|
-
# Lists all the
|
1454
|
+
# Lists all the Resolver endpoints that were created using the current
|
1010
1455
|
# AWS account.
|
1011
1456
|
#
|
1012
1457
|
# @option params [Integer] :max_results
|
1013
|
-
# The maximum number of
|
1458
|
+
# The maximum number of Resolver endpoints that you want to return in
|
1014
1459
|
# the response to a `ListResolverEndpoints` request. If you don't
|
1015
|
-
# specify a value for `MaxResults`, Resolver returns up to 100
|
1460
|
+
# specify a value for `MaxResults`, Resolver returns up to 100 Resolver
|
1016
1461
|
# endpoints.
|
1017
1462
|
#
|
1018
1463
|
# @option params [String] :next_token
|
1019
1464
|
# For the first `ListResolverEndpoints` request, omit this value.
|
1020
1465
|
#
|
1021
|
-
# If you have more than `MaxResults`
|
1466
|
+
# If you have more than `MaxResults` Resolver endpoints, you can submit
|
1022
1467
|
# another `ListResolverEndpoints` request to get the next group of
|
1023
|
-
#
|
1468
|
+
# Resolver endpoints. In the next request, specify the value of
|
1024
1469
|
# `NextToken` from the previous response.
|
1025
1470
|
#
|
1026
1471
|
# @option params [Array<Types::Filter>] :filters
|
1027
|
-
# An optional specification to return a subset of
|
1028
|
-
# such as all inbound
|
1472
|
+
# An optional specification to return a subset of Resolver endpoints,
|
1473
|
+
# such as all inbound Resolver endpoints.
|
1029
1474
|
#
|
1030
1475
|
# <note markdown="1"> If you submit a second or subsequent `ListResolverEndpoints` request
|
1031
1476
|
# and specify the `NextToken` parameter, you must use the same values
|
@@ -1082,7 +1527,294 @@ module Aws::Route53Resolver
|
|
1082
1527
|
req.send_request(options)
|
1083
1528
|
end
|
1084
1529
|
|
1085
|
-
# Lists
|
1530
|
+
# Lists information about associations between Amazon VPCs and query
|
1531
|
+
# logging configurations.
|
1532
|
+
#
|
1533
|
+
# @option params [Integer] :max_results
|
1534
|
+
# The maximum number of query logging associations that you want to
|
1535
|
+
# return in the response to a `ListResolverQueryLogConfigAssociations`
|
1536
|
+
# request. If you don't specify a value for `MaxResults`, Resolver
|
1537
|
+
# returns up to 100 query logging associations.
|
1538
|
+
#
|
1539
|
+
# @option params [String] :next_token
|
1540
|
+
# For the first `ListResolverQueryLogConfigAssociations` request, omit
|
1541
|
+
# this value.
|
1542
|
+
#
|
1543
|
+
# If there are more than `MaxResults` query logging associations that
|
1544
|
+
# match the values that you specify for `Filters`, you can submit
|
1545
|
+
# another `ListResolverQueryLogConfigAssociations` request to get the
|
1546
|
+
# next group of associations. In the next request, specify the value of
|
1547
|
+
# `NextToken` from the previous response.
|
1548
|
+
#
|
1549
|
+
# @option params [Array<Types::Filter>] :filters
|
1550
|
+
# An optional specification to return a subset of query logging
|
1551
|
+
# associations.
|
1552
|
+
#
|
1553
|
+
# <note markdown="1"> If you submit a second or subsequent
|
1554
|
+
# `ListResolverQueryLogConfigAssociations` request and specify the
|
1555
|
+
# `NextToken` parameter, you must use the same values for `Filters`, if
|
1556
|
+
# any, as in the previous request.
|
1557
|
+
#
|
1558
|
+
# </note>
|
1559
|
+
#
|
1560
|
+
# @option params [String] :sort_by
|
1561
|
+
# The element that you want Resolver to sort query logging associations
|
1562
|
+
# by.
|
1563
|
+
#
|
1564
|
+
# <note markdown="1"> If you submit a second or subsequent
|
1565
|
+
# `ListResolverQueryLogConfigAssociations` request and specify the
|
1566
|
+
# `NextToken` parameter, you must use the same value for `SortBy`, if
|
1567
|
+
# any, as in the previous request.
|
1568
|
+
#
|
1569
|
+
# </note>
|
1570
|
+
#
|
1571
|
+
# Valid values include the following elements:
|
1572
|
+
#
|
1573
|
+
# * `CreationTime`\: The ID of the query logging association.
|
1574
|
+
#
|
1575
|
+
# * `Error`\: If the value of `Status` is `FAILED`, the value of `Error`
|
1576
|
+
# indicates the cause:
|
1577
|
+
#
|
1578
|
+
# * `DESTINATION_NOT_FOUND`\: The specified destination (for example,
|
1579
|
+
# an Amazon S3 bucket) was deleted.
|
1580
|
+
#
|
1581
|
+
# * `ACCESS_DENIED`\: Permissions don't allow sending logs to the
|
1582
|
+
# destination.
|
1583
|
+
#
|
1584
|
+
# If `Status` is a value other than `FAILED`, `ERROR` is null.
|
1585
|
+
#
|
1586
|
+
# * `Id`\: The ID of the query logging association
|
1587
|
+
#
|
1588
|
+
# * `ResolverQueryLogConfigId`\: The ID of the query logging
|
1589
|
+
# configuration
|
1590
|
+
#
|
1591
|
+
# * `ResourceId`\: The ID of the VPC that is associated with the query
|
1592
|
+
# logging configuration
|
1593
|
+
#
|
1594
|
+
# * `Status`\: The current status of the configuration. Valid values
|
1595
|
+
# include the following:
|
1596
|
+
#
|
1597
|
+
# * `CREATING`\: Resolver is creating an association between an Amazon
|
1598
|
+
# VPC and a query logging configuration.
|
1599
|
+
#
|
1600
|
+
# * `CREATED`\: The association between an Amazon VPC and a query
|
1601
|
+
# logging configuration was successfully created. Resolver is
|
1602
|
+
# logging queries that originate in the specified VPC.
|
1603
|
+
#
|
1604
|
+
# * `DELETING`\: Resolver is deleting this query logging association.
|
1605
|
+
#
|
1606
|
+
# * `FAILED`\: Resolver either couldn't create or couldn't delete
|
1607
|
+
# the query logging association. Here are two common causes:
|
1608
|
+
#
|
1609
|
+
# * The specified destination (for example, an Amazon S3 bucket) was
|
1610
|
+
# deleted.
|
1611
|
+
#
|
1612
|
+
# * Permissions don't allow sending logs to the destination.
|
1613
|
+
#
|
1614
|
+
# @option params [String] :sort_order
|
1615
|
+
# If you specified a value for `SortBy`, the order that you want query
|
1616
|
+
# logging associations to be listed in, `ASCENDING` or `DESCENDING`.
|
1617
|
+
#
|
1618
|
+
# <note markdown="1"> If you submit a second or subsequent
|
1619
|
+
# `ListResolverQueryLogConfigAssociations` request and specify the
|
1620
|
+
# `NextToken` parameter, you must use the same value for `SortOrder`, if
|
1621
|
+
# any, as in the previous request.
|
1622
|
+
#
|
1623
|
+
# </note>
|
1624
|
+
#
|
1625
|
+
# @return [Types::ListResolverQueryLogConfigAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1626
|
+
#
|
1627
|
+
# * {Types::ListResolverQueryLogConfigAssociationsResponse#next_token #next_token} => String
|
1628
|
+
# * {Types::ListResolverQueryLogConfigAssociationsResponse#total_count #total_count} => Integer
|
1629
|
+
# * {Types::ListResolverQueryLogConfigAssociationsResponse#total_filtered_count #total_filtered_count} => Integer
|
1630
|
+
# * {Types::ListResolverQueryLogConfigAssociationsResponse#resolver_query_log_config_associations #resolver_query_log_config_associations} => Array<Types::ResolverQueryLogConfigAssociation>
|
1631
|
+
#
|
1632
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1633
|
+
#
|
1634
|
+
# @example Request syntax with placeholder values
|
1635
|
+
#
|
1636
|
+
# resp = client.list_resolver_query_log_config_associations({
|
1637
|
+
# max_results: 1,
|
1638
|
+
# next_token: "NextToken",
|
1639
|
+
# filters: [
|
1640
|
+
# {
|
1641
|
+
# name: "FilterName",
|
1642
|
+
# values: ["FilterValue"],
|
1643
|
+
# },
|
1644
|
+
# ],
|
1645
|
+
# sort_by: "SortByKey",
|
1646
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1647
|
+
# })
|
1648
|
+
#
|
1649
|
+
# @example Response structure
|
1650
|
+
#
|
1651
|
+
# resp.next_token #=> String
|
1652
|
+
# resp.total_count #=> Integer
|
1653
|
+
# resp.total_filtered_count #=> Integer
|
1654
|
+
# resp.resolver_query_log_config_associations #=> Array
|
1655
|
+
# resp.resolver_query_log_config_associations[0].id #=> String
|
1656
|
+
# resp.resolver_query_log_config_associations[0].resolver_query_log_config_id #=> String
|
1657
|
+
# resp.resolver_query_log_config_associations[0].resource_id #=> String
|
1658
|
+
# resp.resolver_query_log_config_associations[0].status #=> String, one of "CREATING", "ACTIVE", "ACTION_NEEDED", "DELETING", "FAILED"
|
1659
|
+
# resp.resolver_query_log_config_associations[0].error #=> String, one of "NONE", "DESTINATION_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_SERVICE_ERROR"
|
1660
|
+
# resp.resolver_query_log_config_associations[0].error_message #=> String
|
1661
|
+
# resp.resolver_query_log_config_associations[0].creation_time #=> String
|
1662
|
+
#
|
1663
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigAssociations AWS API Documentation
|
1664
|
+
#
|
1665
|
+
# @overload list_resolver_query_log_config_associations(params = {})
|
1666
|
+
# @param [Hash] params ({})
|
1667
|
+
def list_resolver_query_log_config_associations(params = {}, options = {})
|
1668
|
+
req = build_request(:list_resolver_query_log_config_associations, params)
|
1669
|
+
req.send_request(options)
|
1670
|
+
end
|
1671
|
+
|
1672
|
+
# Lists information about the specified query logging configurations.
|
1673
|
+
# Each configuration defines where you want Resolver to save DNS query
|
1674
|
+
# logs and specifies the VPCs that you want to log queries for.
|
1675
|
+
#
|
1676
|
+
# @option params [Integer] :max_results
|
1677
|
+
# The maximum number of query logging configurations that you want to
|
1678
|
+
# return in the response to a `ListResolverQueryLogConfigs` request. If
|
1679
|
+
# you don't specify a value for `MaxResults`, Resolver returns up to
|
1680
|
+
# 100 query logging configurations.
|
1681
|
+
#
|
1682
|
+
# @option params [String] :next_token
|
1683
|
+
# For the first `ListResolverQueryLogConfigs` request, omit this value.
|
1684
|
+
#
|
1685
|
+
# If there are more than `MaxResults` query logging configurations that
|
1686
|
+
# match the values that you specify for `Filters`, you can submit
|
1687
|
+
# another `ListResolverQueryLogConfigs` request to get the next group of
|
1688
|
+
# configurations. In the next request, specify the value of `NextToken`
|
1689
|
+
# from the previous response.
|
1690
|
+
#
|
1691
|
+
# @option params [Array<Types::Filter>] :filters
|
1692
|
+
# An optional specification to return a subset of query logging
|
1693
|
+
# configurations.
|
1694
|
+
#
|
1695
|
+
# <note markdown="1"> If you submit a second or subsequent `ListResolverQueryLogConfigs`
|
1696
|
+
# request and specify the `NextToken` parameter, you must use the same
|
1697
|
+
# values for `Filters`, if any, as in the previous request.
|
1698
|
+
#
|
1699
|
+
# </note>
|
1700
|
+
#
|
1701
|
+
# @option params [String] :sort_by
|
1702
|
+
# The element that you want Resolver to sort query logging
|
1703
|
+
# configurations by.
|
1704
|
+
#
|
1705
|
+
# <note markdown="1"> If you submit a second or subsequent `ListResolverQueryLogConfigs`
|
1706
|
+
# request and specify the `NextToken` parameter, you must use the same
|
1707
|
+
# value for `SortBy`, if any, as in the previous request.
|
1708
|
+
#
|
1709
|
+
# </note>
|
1710
|
+
#
|
1711
|
+
# Valid values include the following elements:
|
1712
|
+
#
|
1713
|
+
# * `Arn`\: The ARN of the query logging configuration
|
1714
|
+
#
|
1715
|
+
# * `AssociationCount`\: The number of VPCs that are associated with the
|
1716
|
+
# specified configuration
|
1717
|
+
#
|
1718
|
+
# * `CreationTime`\: The date and time that Resolver returned when the
|
1719
|
+
# configuration was created
|
1720
|
+
#
|
1721
|
+
# * `CreatorRequestId`\: The value that was specified for
|
1722
|
+
# `CreatorRequestId` when the configuration was created
|
1723
|
+
#
|
1724
|
+
# * `DestinationArn`\: The location that logs are sent to
|
1725
|
+
#
|
1726
|
+
# * `Id`\: The ID of the configuration
|
1727
|
+
#
|
1728
|
+
# * `Name`\: The name of the configuration
|
1729
|
+
#
|
1730
|
+
# * `OwnerId`\: The AWS account number of the account that created the
|
1731
|
+
# configuration
|
1732
|
+
#
|
1733
|
+
# * `ShareStatus`\: Whether the configuration is shared with other AWS
|
1734
|
+
# accounts or shared with the current account by another AWS account.
|
1735
|
+
# Sharing is configured through AWS Resource Access Manager (AWS RAM).
|
1736
|
+
#
|
1737
|
+
# * `Status`\: The current status of the configuration. Valid values
|
1738
|
+
# include the following:
|
1739
|
+
#
|
1740
|
+
# * `CREATING`\: Resolver is creating the query logging configuration.
|
1741
|
+
#
|
1742
|
+
# * `CREATED`\: The query logging configuration was successfully
|
1743
|
+
# created. Resolver is logging queries that originate in the
|
1744
|
+
# specified VPC.
|
1745
|
+
#
|
1746
|
+
# * `DELETING`\: Resolver is deleting this query logging
|
1747
|
+
# configuration.
|
1748
|
+
#
|
1749
|
+
# * `FAILED`\: Resolver either couldn't create or couldn't delete
|
1750
|
+
# the query logging configuration. Here are two common causes:
|
1751
|
+
#
|
1752
|
+
# * The specified destination (for example, an Amazon S3 bucket) was
|
1753
|
+
# deleted.
|
1754
|
+
#
|
1755
|
+
# * Permissions don't allow sending logs to the destination.
|
1756
|
+
#
|
1757
|
+
# @option params [String] :sort_order
|
1758
|
+
# If you specified a value for `SortBy`, the order that you want query
|
1759
|
+
# logging configurations to be listed in, `ASCENDING` or `DESCENDING`.
|
1760
|
+
#
|
1761
|
+
# <note markdown="1"> If you submit a second or subsequent `ListResolverQueryLogConfigs`
|
1762
|
+
# request and specify the `NextToken` parameter, you must use the same
|
1763
|
+
# value for `SortOrder`, if any, as in the previous request.
|
1764
|
+
#
|
1765
|
+
# </note>
|
1766
|
+
#
|
1767
|
+
# @return [Types::ListResolverQueryLogConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1768
|
+
#
|
1769
|
+
# * {Types::ListResolverQueryLogConfigsResponse#next_token #next_token} => String
|
1770
|
+
# * {Types::ListResolverQueryLogConfigsResponse#total_count #total_count} => Integer
|
1771
|
+
# * {Types::ListResolverQueryLogConfigsResponse#total_filtered_count #total_filtered_count} => Integer
|
1772
|
+
# * {Types::ListResolverQueryLogConfigsResponse#resolver_query_log_configs #resolver_query_log_configs} => Array<Types::ResolverQueryLogConfig>
|
1773
|
+
#
|
1774
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1775
|
+
#
|
1776
|
+
# @example Request syntax with placeholder values
|
1777
|
+
#
|
1778
|
+
# resp = client.list_resolver_query_log_configs({
|
1779
|
+
# max_results: 1,
|
1780
|
+
# next_token: "NextToken",
|
1781
|
+
# filters: [
|
1782
|
+
# {
|
1783
|
+
# name: "FilterName",
|
1784
|
+
# values: ["FilterValue"],
|
1785
|
+
# },
|
1786
|
+
# ],
|
1787
|
+
# sort_by: "SortByKey",
|
1788
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1789
|
+
# })
|
1790
|
+
#
|
1791
|
+
# @example Response structure
|
1792
|
+
#
|
1793
|
+
# resp.next_token #=> String
|
1794
|
+
# resp.total_count #=> Integer
|
1795
|
+
# resp.total_filtered_count #=> Integer
|
1796
|
+
# resp.resolver_query_log_configs #=> Array
|
1797
|
+
# resp.resolver_query_log_configs[0].id #=> String
|
1798
|
+
# resp.resolver_query_log_configs[0].owner_id #=> String
|
1799
|
+
# resp.resolver_query_log_configs[0].status #=> String, one of "CREATING", "CREATED", "DELETING", "FAILED"
|
1800
|
+
# resp.resolver_query_log_configs[0].share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
1801
|
+
# resp.resolver_query_log_configs[0].association_count #=> Integer
|
1802
|
+
# resp.resolver_query_log_configs[0].arn #=> String
|
1803
|
+
# resp.resolver_query_log_configs[0].name #=> String
|
1804
|
+
# resp.resolver_query_log_configs[0].destination_arn #=> String
|
1805
|
+
# resp.resolver_query_log_configs[0].creator_request_id #=> String
|
1806
|
+
# resp.resolver_query_log_configs[0].creation_time #=> String
|
1807
|
+
#
|
1808
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigs AWS API Documentation
|
1809
|
+
#
|
1810
|
+
# @overload list_resolver_query_log_configs(params = {})
|
1811
|
+
# @param [Hash] params ({})
|
1812
|
+
def list_resolver_query_log_configs(params = {}, options = {})
|
1813
|
+
req = build_request(:list_resolver_query_log_configs, params)
|
1814
|
+
req.send_request(options)
|
1815
|
+
end
|
1816
|
+
|
1817
|
+
# Lists the associations that were created between Resolver rules and
|
1086
1818
|
# VPCs using the current AWS account.
|
1087
1819
|
#
|
1088
1820
|
# @option params [Integer] :max_results
|
@@ -1100,8 +1832,8 @@ module Aws::Route53Resolver
|
|
1100
1832
|
# `NextToken` from the previous response.
|
1101
1833
|
#
|
1102
1834
|
# @option params [Array<Types::Filter>] :filters
|
1103
|
-
# An optional specification to return a subset of
|
1104
|
-
# as
|
1835
|
+
# An optional specification to return a subset of Resolver rules, such
|
1836
|
+
# as Resolver rules that are associated with the same VPC ID.
|
1105
1837
|
#
|
1106
1838
|
# <note markdown="1"> If you submit a second or subsequent `ListResolverRuleAssociations`
|
1107
1839
|
# request and specify the `NextToken` parameter, you must use the same
|
@@ -1151,25 +1883,25 @@ module Aws::Route53Resolver
|
|
1151
1883
|
req.send_request(options)
|
1152
1884
|
end
|
1153
1885
|
|
1154
|
-
# Lists the
|
1886
|
+
# Lists the Resolver rules that were created using the current AWS
|
1155
1887
|
# account.
|
1156
1888
|
#
|
1157
1889
|
# @option params [Integer] :max_results
|
1158
|
-
# The maximum number of
|
1890
|
+
# The maximum number of Resolver rules that you want to return in the
|
1159
1891
|
# response to a `ListResolverRules` request. If you don't specify a
|
1160
|
-
# value for `MaxResults`, Resolver returns up to 100
|
1892
|
+
# value for `MaxResults`, Resolver returns up to 100 Resolver rules.
|
1161
1893
|
#
|
1162
1894
|
# @option params [String] :next_token
|
1163
1895
|
# For the first `ListResolverRules` request, omit this value.
|
1164
1896
|
#
|
1165
|
-
# If you have more than `MaxResults`
|
1166
|
-
# another `ListResolverRules` request to get the next group of
|
1897
|
+
# If you have more than `MaxResults` Resolver rules, you can submit
|
1898
|
+
# another `ListResolverRules` request to get the next group of Resolver
|
1167
1899
|
# rules. In the next request, specify the value of `NextToken` from the
|
1168
1900
|
# previous response.
|
1169
1901
|
#
|
1170
1902
|
# @option params [Array<Types::Filter>] :filters
|
1171
|
-
# An optional specification to return a subset of
|
1172
|
-
# as all
|
1903
|
+
# An optional specification to return a subset of Resolver rules, such
|
1904
|
+
# as all Resolver rules that are associated with the same Resolver
|
1173
1905
|
# endpoint.
|
1174
1906
|
#
|
1175
1907
|
# <note markdown="1"> If you submit a second or subsequent `ListResolverRules` request and
|
@@ -1218,6 +1950,8 @@ module Aws::Route53Resolver
|
|
1218
1950
|
# resp.resolver_rules[0].resolver_endpoint_id #=> String
|
1219
1951
|
# resp.resolver_rules[0].owner_id #=> String
|
1220
1952
|
# resp.resolver_rules[0].share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
1953
|
+
# resp.resolver_rules[0].creation_time #=> String
|
1954
|
+
# resp.resolver_rules[0].modification_time #=> String
|
1221
1955
|
#
|
1222
1956
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRules AWS API Documentation
|
1223
1957
|
#
|
@@ -1252,6 +1986,8 @@ module Aws::Route53Resolver
|
|
1252
1986
|
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
|
1253
1987
|
# * {Types::ListTagsForResourceResponse#next_token #next_token} => String
|
1254
1988
|
#
|
1989
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1990
|
+
#
|
1255
1991
|
# @example Request syntax with placeholder values
|
1256
1992
|
#
|
1257
1993
|
# resp = client.list_tags_for_resource({
|
@@ -1276,16 +2012,86 @@ module Aws::Route53Resolver
|
|
1276
2012
|
req.send_request(options)
|
1277
2013
|
end
|
1278
2014
|
|
1279
|
-
# Specifies
|
1280
|
-
#
|
2015
|
+
# Specifies an AWS account that you want to share a query logging
|
2016
|
+
# configuration with, the query logging configuration that you want to
|
2017
|
+
# share, and the operations that you want the account to be able to
|
2018
|
+
# perform on the configuration.
|
2019
|
+
#
|
2020
|
+
# @option params [required, String] :arn
|
2021
|
+
# The Amazon Resource Name (ARN) of the account that you want to share
|
2022
|
+
# rules with.
|
2023
|
+
#
|
2024
|
+
# @option params [required, String] :resolver_query_log_config_policy
|
2025
|
+
# An AWS Identity and Access Management policy statement that lists the
|
2026
|
+
# query logging configurations that you want to share with another AWS
|
2027
|
+
# account and the operations that you want the account to be able to
|
2028
|
+
# perform. You can specify the following operations in the `Actions`
|
2029
|
+
# section of the statement:
|
2030
|
+
#
|
2031
|
+
# * `route53resolver:AssociateResolverQueryLogConfig`
|
2032
|
+
#
|
2033
|
+
# * `route53resolver:DisassociateResolverQueryLogConfig`
|
2034
|
+
#
|
2035
|
+
# * `route53resolver:ListResolverQueryLogConfigAssociations`
|
2036
|
+
#
|
2037
|
+
# * `route53resolver:ListResolverQueryLogConfigs`
|
2038
|
+
#
|
2039
|
+
# In the `Resource` section of the statement, you specify the ARNs for
|
2040
|
+
# the query logging configurations that you want to share with the
|
2041
|
+
# account that you specified in `Arn`.
|
2042
|
+
#
|
2043
|
+
# @return [Types::PutResolverQueryLogConfigPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2044
|
+
#
|
2045
|
+
# * {Types::PutResolverQueryLogConfigPolicyResponse#return_value #return_value} => Boolean
|
2046
|
+
#
|
2047
|
+
# @example Request syntax with placeholder values
|
2048
|
+
#
|
2049
|
+
# resp = client.put_resolver_query_log_config_policy({
|
2050
|
+
# arn: "Arn", # required
|
2051
|
+
# resolver_query_log_config_policy: "ResolverQueryLogConfigPolicy", # required
|
2052
|
+
# })
|
2053
|
+
#
|
2054
|
+
# @example Response structure
|
2055
|
+
#
|
2056
|
+
# resp.return_value #=> Boolean
|
2057
|
+
#
|
2058
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverQueryLogConfigPolicy AWS API Documentation
|
2059
|
+
#
|
2060
|
+
# @overload put_resolver_query_log_config_policy(params = {})
|
2061
|
+
# @param [Hash] params ({})
|
2062
|
+
def put_resolver_query_log_config_policy(params = {}, options = {})
|
2063
|
+
req = build_request(:put_resolver_query_log_config_policy, params)
|
2064
|
+
req.send_request(options)
|
2065
|
+
end
|
2066
|
+
|
2067
|
+
# Specifies an AWS account that you want to share rules with, the
|
2068
|
+
# Resolver rules that you want to share, and the operations that you
|
2069
|
+
# want the account to be able to perform on those rules.
|
1281
2070
|
#
|
1282
2071
|
# @option params [required, String] :arn
|
1283
|
-
# The Amazon Resource Name (ARN) of the account that you want to
|
1284
|
-
#
|
2072
|
+
# The Amazon Resource Name (ARN) of the account that you want to share
|
2073
|
+
# rules with.
|
1285
2074
|
#
|
1286
2075
|
# @option params [required, String] :resolver_rule_policy
|
1287
2076
|
# An AWS Identity and Access Management policy statement that lists the
|
1288
|
-
#
|
2077
|
+
# rules that you want to share with another AWS account and the
|
2078
|
+
# operations that you want the account to be able to perform. You can
|
2079
|
+
# specify the following operations in the `Actions` section of the
|
2080
|
+
# statement:
|
2081
|
+
#
|
2082
|
+
# * `route53resolver:GetResolverRule`
|
2083
|
+
#
|
2084
|
+
# * `route53resolver:AssociateResolverRule`
|
2085
|
+
#
|
2086
|
+
# * `route53resolver:DisassociateResolverRule`
|
2087
|
+
#
|
2088
|
+
# * `route53resolver:ListResolverRules`
|
2089
|
+
#
|
2090
|
+
# * `route53resolver:ListResolverRuleAssociations`
|
2091
|
+
#
|
2092
|
+
# In the `Resource` section of the statement, you specify the ARNs for
|
2093
|
+
# the rules that you want to share with the account that you specified
|
2094
|
+
# in `Arn`.
|
1289
2095
|
#
|
1290
2096
|
# @return [Types::PutResolverRulePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1291
2097
|
#
|
@@ -1318,17 +2124,26 @@ module Aws::Route53Resolver
|
|
1318
2124
|
# tags to. To get the ARN for a resource, use the applicable `Get` or
|
1319
2125
|
# `List` command:
|
1320
2126
|
#
|
1321
|
-
# * GetResolverEndpoint
|
2127
|
+
# * [GetResolverEndpoint][1]
|
2128
|
+
#
|
2129
|
+
# * [GetResolverRule][2]
|
1322
2130
|
#
|
1323
|
-
# *
|
2131
|
+
# * [GetResolverRuleAssociation][3]
|
1324
2132
|
#
|
1325
|
-
# *
|
2133
|
+
# * [ListResolverEndpoints][4]
|
1326
2134
|
#
|
1327
|
-
# *
|
2135
|
+
# * [ListResolverRuleAssociations][5]
|
1328
2136
|
#
|
1329
|
-
# *
|
2137
|
+
# * [ListResolverRules][6]
|
1330
2138
|
#
|
1331
|
-
#
|
2139
|
+
#
|
2140
|
+
#
|
2141
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
|
2142
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRule.html
|
2143
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRuleAssociation.html
|
2144
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
|
2145
|
+
# [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
|
2146
|
+
# [6]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
|
1332
2147
|
#
|
1333
2148
|
# @option params [required, Array<Types::Tag>] :tags
|
1334
2149
|
# The tags that you want to add to the specified resource.
|
@@ -1341,8 +2156,8 @@ module Aws::Route53Resolver
|
|
1341
2156
|
# resource_arn: "Arn", # required
|
1342
2157
|
# tags: [ # required
|
1343
2158
|
# {
|
1344
|
-
# key: "TagKey",
|
1345
|
-
# value: "TagValue",
|
2159
|
+
# key: "TagKey", # required
|
2160
|
+
# value: "TagValue", # required
|
1346
2161
|
# },
|
1347
2162
|
# ],
|
1348
2163
|
# })
|
@@ -1363,17 +2178,26 @@ module Aws::Route53Resolver
|
|
1363
2178
|
# remove tags from. To get the ARN for a resource, use the applicable
|
1364
2179
|
# `Get` or `List` command:
|
1365
2180
|
#
|
1366
|
-
# * GetResolverEndpoint
|
2181
|
+
# * [GetResolverEndpoint][1]
|
2182
|
+
#
|
2183
|
+
# * [GetResolverRule][2]
|
2184
|
+
#
|
2185
|
+
# * [GetResolverRuleAssociation][3]
|
2186
|
+
#
|
2187
|
+
# * [ListResolverEndpoints][4]
|
1367
2188
|
#
|
1368
|
-
# *
|
2189
|
+
# * [ListResolverRuleAssociations][5]
|
1369
2190
|
#
|
1370
|
-
# *
|
2191
|
+
# * [ListResolverRules][6]
|
1371
2192
|
#
|
1372
|
-
# * ListResolverEndpoints
|
1373
2193
|
#
|
1374
|
-
# * ListResolverRuleAssociations
|
1375
2194
|
#
|
1376
|
-
#
|
2195
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
|
2196
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRule.html
|
2197
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRuleAssociation.html
|
2198
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
|
2199
|
+
# [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
|
2200
|
+
# [6]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
|
1377
2201
|
#
|
1378
2202
|
# @option params [required, Array<String>] :tag_keys
|
1379
2203
|
# The tags that you want to remove to the specified resource.
|
@@ -1396,13 +2220,13 @@ module Aws::Route53Resolver
|
|
1396
2220
|
req.send_request(options)
|
1397
2221
|
end
|
1398
2222
|
|
1399
|
-
# Updates the name of an inbound or an outbound
|
2223
|
+
# Updates the name of an inbound or an outbound Resolver endpoint.
|
1400
2224
|
#
|
1401
2225
|
# @option params [required, String] :resolver_endpoint_id
|
1402
|
-
# The ID of the
|
2226
|
+
# The ID of the Resolver endpoint that you want to update.
|
1403
2227
|
#
|
1404
2228
|
# @option params [String] :name
|
1405
|
-
# The name of the
|
2229
|
+
# The name of the Resolver endpoint that you want to update.
|
1406
2230
|
#
|
1407
2231
|
# @return [Types::UpdateResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1408
2232
|
#
|
@@ -1440,15 +2264,15 @@ module Aws::Route53Resolver
|
|
1440
2264
|
req.send_request(options)
|
1441
2265
|
end
|
1442
2266
|
|
1443
|
-
# Updates settings for a specified
|
2267
|
+
# Updates settings for a specified Resolver rule. `ResolverRuleId` is
|
1444
2268
|
# required, and all other parameters are optional. If you don't specify
|
1445
2269
|
# a parameter, it retains its current value.
|
1446
2270
|
#
|
1447
2271
|
# @option params [required, String] :resolver_rule_id
|
1448
|
-
# The ID of the
|
2272
|
+
# The ID of the Resolver rule that you want to update.
|
1449
2273
|
#
|
1450
2274
|
# @option params [required, Types::ResolverRuleConfig] :config
|
1451
|
-
# The new settings for the
|
2275
|
+
# The new settings for the Resolver rule.
|
1452
2276
|
#
|
1453
2277
|
# @return [Types::UpdateResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1454
2278
|
#
|
@@ -1486,6 +2310,8 @@ module Aws::Route53Resolver
|
|
1486
2310
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
1487
2311
|
# resp.resolver_rule.owner_id #=> String
|
1488
2312
|
# resp.resolver_rule.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
2313
|
+
# resp.resolver_rule.creation_time #=> String
|
2314
|
+
# resp.resolver_rule.modification_time #=> String
|
1489
2315
|
#
|
1490
2316
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRule AWS API Documentation
|
1491
2317
|
#
|
@@ -1509,7 +2335,7 @@ module Aws::Route53Resolver
|
|
1509
2335
|
params: params,
|
1510
2336
|
config: config)
|
1511
2337
|
context[:gem_name] = 'aws-sdk-route53resolver'
|
1512
|
-
context[:gem_version] = '1.
|
2338
|
+
context[:gem_version] = '1.20.0'
|
1513
2339
|
Seahorse::Client::Request.new(handlers, context)
|
1514
2340
|
end
|
1515
2341
|
|