aws-sdk-route53resolver 1.18.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 +1 -1
- data/lib/aws-sdk-route53resolver/client.rb +918 -109
- data/lib/aws-sdk-route53resolver/client_api.rb +311 -2
- data/lib/aws-sdk-route53resolver/errors.rb +16 -0
- data/lib/aws-sdk-route53resolver/types.rb +1469 -200
- 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: f2f51e6163638d53c5603b16ec3538ec88ca42d4aa2aa77a8ccf2e89ced4b4d8
|
4
|
+
data.tar.gz: 32f2ce947d5245d06ff1a34caf2b6d1dfb76bd861321692402485b88f16bf320
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59efcb50942677160c17d74c70a477768b647814a9b6bc3f7b53a349ea1c290ce473337a73c5e3332e1fc1bdc3de58dfee4dd17d7b9829fc702cfa76bd0c5119
|
7
|
+
data.tar.gz: 6eb8fe528708472a33b7dc9b32414c179afc3882c6f61204427c24634eed45a062b179790905960bceb8af7549d3e4b45a9fa240dbfecb0d2ebd5795a1767d0e
|
@@ -337,19 +337,23 @@ module Aws::Route53Resolver
|
|
337
337
|
|
338
338
|
# @!group API Operations
|
339
339
|
|
340
|
-
# Adds IP addresses to an inbound or an outbound
|
341
|
-
# 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
|
342
342
|
# `AssociateResolverEndpointIpAddress` request for each IP address.
|
343
343
|
#
|
344
344
|
# To remove an IP address from an endpoint, see
|
345
|
-
# DisassociateResolverEndpointIpAddress.
|
345
|
+
# [DisassociateResolverEndpointIpAddress][1].
|
346
|
+
#
|
347
|
+
#
|
348
|
+
#
|
349
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverEndpointIpAddress.html
|
346
350
|
#
|
347
351
|
# @option params [required, String] :resolver_endpoint_id
|
348
|
-
# The ID of the
|
352
|
+
# The ID of the Resolver endpoint that you want to associate IP
|
349
353
|
# addresses with.
|
350
354
|
#
|
351
355
|
# @option params [required, Types::IpAddressUpdate] :ip_address
|
352
|
-
# 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
|
353
357
|
# a subnet ID. If you specify a subnet ID, Resolver chooses an IP
|
354
358
|
# address for you from the available IPs in the specified subnet.
|
355
359
|
#
|
@@ -393,22 +397,92 @@ module Aws::Route53Resolver
|
|
393
397
|
req.send_request(options)
|
394
398
|
end
|
395
399
|
|
396
|
-
# 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
|
397
462
|
# a VPC, Resolver forwards all DNS queries for the domain name that is
|
398
463
|
# specified in the rule and that originate in the VPC. The queries are
|
399
464
|
# forwarded to the IP addresses for the DNS resolvers that are specified
|
400
|
-
# 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
|
401
471
|
#
|
402
472
|
# @option params [required, String] :resolver_rule_id
|
403
|
-
# The ID of the
|
404
|
-
# 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
|
405
479
|
#
|
406
480
|
# @option params [String] :name
|
407
|
-
# A name for the association that you're creating between a
|
481
|
+
# A name for the association that you're creating between a Resolver
|
408
482
|
# rule and a VPC.
|
409
483
|
#
|
410
484
|
# @option params [required, String] :vpc_id
|
411
|
-
# 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.
|
412
486
|
#
|
413
487
|
# @return [Types::AssociateResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
414
488
|
#
|
@@ -440,14 +514,14 @@ module Aws::Route53Resolver
|
|
440
514
|
req.send_request(options)
|
441
515
|
end
|
442
516
|
|
443
|
-
# Creates a
|
517
|
+
# Creates a Resolver endpoint. There are two types of Resolver
|
444
518
|
# endpoints, inbound and outbound:
|
445
519
|
#
|
446
|
-
# * An *inbound
|
447
|
-
# 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.
|
448
522
|
#
|
449
|
-
# * An *outbound
|
450
|
-
# 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.
|
451
525
|
#
|
452
526
|
# @option params [required, String] :creator_request_id
|
453
527
|
# A unique string that identifies the request and that allows failed
|
@@ -462,23 +536,25 @@ module Aws::Route53Resolver
|
|
462
536
|
# @option params [required, Array<String>] :security_group_ids
|
463
537
|
# The ID of one or more security groups that you want to use to control
|
464
538
|
# access to this VPC. The security group that you specify must include
|
465
|
-
# one or more inbound rules (for inbound
|
466
|
-
# 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.
|
467
544
|
#
|
468
545
|
# @option params [required, String] :direction
|
469
546
|
# Specify the applicable value:
|
470
547
|
#
|
471
548
|
# * `INBOUND`\: Resolver forwards DNS queries to the DNS service for a
|
472
|
-
# VPC from your network
|
549
|
+
# VPC from your network
|
473
550
|
#
|
474
551
|
# * `OUTBOUND`\: Resolver forwards DNS queries from the DNS service for
|
475
|
-
# a VPC to your network
|
552
|
+
# a VPC to your network
|
476
553
|
#
|
477
554
|
# @option params [required, Array<Types::IpAddressRequest>] :ip_addresses
|
478
|
-
# The subnets and IP addresses in your VPC that
|
479
|
-
#
|
480
|
-
# endpoints)
|
481
|
-
# 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.
|
482
558
|
#
|
483
559
|
# @option params [Array<Types::Tag>] :tags
|
484
560
|
# A list of the tag keys and values that you want to associate with the
|
@@ -503,8 +579,8 @@ module Aws::Route53Resolver
|
|
503
579
|
# ],
|
504
580
|
# tags: [
|
505
581
|
# {
|
506
|
-
# key: "TagKey",
|
507
|
-
# value: "TagValue",
|
582
|
+
# key: "TagKey", # required
|
583
|
+
# value: "TagValue", # required
|
508
584
|
# },
|
509
585
|
# ],
|
510
586
|
# })
|
@@ -534,7 +610,104 @@ module Aws::Route53Resolver
|
|
534
610
|
req.send_request(options)
|
535
611
|
end
|
536
612
|
|
537
|
-
#
|
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
|
538
711
|
# endpoint the queries pass through, one domain name that you want to
|
539
712
|
# forward to your network, and the IP addresses of the DNS resolvers in
|
540
713
|
# your network.
|
@@ -550,21 +723,37 @@ module Aws::Route53Resolver
|
|
550
723
|
# dashboard in the Route 53 console.
|
551
724
|
#
|
552
725
|
# @option params [required, String] :rule_type
|
553
|
-
#
|
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`.
|
554
740
|
#
|
555
741
|
# @option params [required, String] :domain_name
|
556
742
|
# DNS queries for this domain name are forwarded to the IP addresses
|
557
|
-
# that you specify in `TargetIps`. If a query matches multiple
|
743
|
+
# that you specify in `TargetIps`. If a query matches multiple Resolver
|
558
744
|
# rules (example.com and www.example.com), outbound DNS queries are
|
559
|
-
# routed using the
|
745
|
+
# routed using the Resolver rule that contains the most specific domain
|
560
746
|
# name (www.example.com).
|
561
747
|
#
|
562
748
|
# @option params [Array<Types::TargetAddress>] :target_ips
|
563
749
|
# The IPs that you want Resolver to forward DNS queries to. You can
|
564
750
|
# specify only IPv4 addresses. Separate IP addresses with a comma.
|
565
751
|
#
|
752
|
+
# `TargetIps` is available only when the value of `Rule type` is
|
753
|
+
# `FORWARD`.
|
754
|
+
#
|
566
755
|
# @option params [String] :resolver_endpoint_id
|
567
|
-
# The ID of the outbound
|
756
|
+
# The ID of the outbound Resolver endpoint that you want to use to route
|
568
757
|
# DNS queries to the IP addresses that you specify in `TargetIps`.
|
569
758
|
#
|
570
759
|
# @option params [Array<Types::Tag>] :tags
|
@@ -591,8 +780,8 @@ module Aws::Route53Resolver
|
|
591
780
|
# resolver_endpoint_id: "ResourceId",
|
592
781
|
# tags: [
|
593
782
|
# {
|
594
|
-
# key: "TagKey",
|
595
|
-
# value: "TagValue",
|
783
|
+
# key: "TagKey", # required
|
784
|
+
# value: "TagValue", # required
|
596
785
|
# },
|
597
786
|
# ],
|
598
787
|
# })
|
@@ -613,6 +802,8 @@ module Aws::Route53Resolver
|
|
613
802
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
614
803
|
# resp.resolver_rule.owner_id #=> String
|
615
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
|
616
807
|
#
|
617
808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRule AWS API Documentation
|
618
809
|
#
|
@@ -623,18 +814,18 @@ module Aws::Route53Resolver
|
|
623
814
|
req.send_request(options)
|
624
815
|
end
|
625
816
|
|
626
|
-
# Deletes a
|
627
|
-
# 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
|
628
819
|
# endpoint:
|
629
820
|
#
|
630
|
-
# * **Inbound**\: DNS queries from your network
|
631
|
-
#
|
821
|
+
# * **Inbound**\: DNS queries from your network are no longer routed to
|
822
|
+
# the DNS service for the specified VPC.
|
632
823
|
#
|
633
824
|
# * **Outbound**\: DNS queries from a VPC are no longer routed to your
|
634
|
-
# network
|
825
|
+
# network.
|
635
826
|
#
|
636
827
|
# @option params [required, String] :resolver_endpoint_id
|
637
|
-
# The ID of the
|
828
|
+
# The ID of the Resolver endpoint that you want to delete.
|
638
829
|
#
|
639
830
|
# @return [Types::DeleteResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
640
831
|
#
|
@@ -671,12 +862,75 @@ module Aws::Route53Resolver
|
|
671
862
|
req.send_request(options)
|
672
863
|
end
|
673
864
|
|
674
|
-
# 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
|
675
924
|
# must disassociate it from all the VPCs that you associated the
|
676
|
-
#
|
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
|
677
931
|
#
|
678
932
|
# @option params [required, String] :resolver_rule_id
|
679
|
-
# The ID of the
|
933
|
+
# The ID of the Resolver rule that you want to delete.
|
680
934
|
#
|
681
935
|
# @return [Types::DeleteResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
682
936
|
#
|
@@ -704,6 +958,8 @@ module Aws::Route53Resolver
|
|
704
958
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
705
959
|
# resp.resolver_rule.owner_id #=> String
|
706
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
|
707
963
|
#
|
708
964
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRule AWS API Documentation
|
709
965
|
#
|
@@ -714,19 +970,23 @@ module Aws::Route53Resolver
|
|
714
970
|
req.send_request(options)
|
715
971
|
end
|
716
972
|
|
717
|
-
# Removes IP addresses from an inbound or an outbound
|
973
|
+
# Removes IP addresses from an inbound or an outbound Resolver endpoint.
|
718
974
|
# If you want to remove more than one IP address, submit one
|
719
975
|
# `DisassociateResolverEndpointIpAddress` request for each IP address.
|
720
976
|
#
|
721
977
|
# To add an IP address to an endpoint, see
|
722
|
-
# AssociateResolverEndpointIpAddress.
|
978
|
+
# [AssociateResolverEndpointIpAddress][1].
|
979
|
+
#
|
980
|
+
#
|
981
|
+
#
|
982
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverEndpointIpAddress.html
|
723
983
|
#
|
724
984
|
# @option params [required, String] :resolver_endpoint_id
|
725
|
-
# The ID of the
|
985
|
+
# The ID of the Resolver endpoint that you want to disassociate an IP
|
726
986
|
# address from.
|
727
987
|
#
|
728
988
|
# @option params [required, Types::IpAddressUpdate] :ip_address
|
729
|
-
# The IPv4 address that you want to remove from a
|
989
|
+
# The IPv4 address that you want to remove from a Resolver endpoint.
|
730
990
|
#
|
731
991
|
# @return [Types::DisassociateResolverEndpointIpAddressResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
732
992
|
#
|
@@ -768,19 +1028,72 @@ module Aws::Route53Resolver
|
|
768
1028
|
req.send_request(options)
|
769
1029
|
end
|
770
1030
|
|
771
|
-
#
|
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
|
772
1085
|
# specified VPC.
|
773
1086
|
#
|
774
|
-
# If you disassociate a
|
1087
|
+
# If you disassociate a Resolver rule from a VPC, Resolver stops
|
775
1088
|
# forwarding DNS queries for the domain name that you specified in the
|
776
|
-
#
|
1089
|
+
# Resolver rule.
|
777
1090
|
#
|
778
1091
|
# @option params [required, String] :vpc_id
|
779
|
-
# 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
|
780
1093
|
# from.
|
781
1094
|
#
|
782
1095
|
# @option params [required, String] :resolver_rule_id
|
783
|
-
# The ID of the
|
1096
|
+
# The ID of the Resolver rule that you want to disassociate from the
|
784
1097
|
# specified VPC.
|
785
1098
|
#
|
786
1099
|
# @return [Types::DisassociateResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -812,12 +1125,12 @@ module Aws::Route53Resolver
|
|
812
1125
|
req.send_request(options)
|
813
1126
|
end
|
814
1127
|
|
815
|
-
# Gets information about a specified
|
816
|
-
# 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
|
817
1130
|
# status of the endpoint.
|
818
1131
|
#
|
819
1132
|
# @option params [required, String] :resolver_endpoint_id
|
820
|
-
# The ID of the
|
1133
|
+
# The ID of the Resolver endpoint that you want to get information
|
821
1134
|
# about.
|
822
1135
|
#
|
823
1136
|
# @return [Types::GetResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -855,12 +1168,121 @@ module Aws::Route53Resolver
|
|
855
1168
|
req.send_request(options)
|
856
1169
|
end
|
857
1170
|
|
858
|
-
# 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
|
859
1281
|
# name that the rule forwards DNS queries for and the ID of the outbound
|
860
|
-
#
|
1282
|
+
# Resolver endpoint that the rule is associated with.
|
861
1283
|
#
|
862
1284
|
# @option params [required, String] :resolver_rule_id
|
863
|
-
# The ID of the
|
1285
|
+
# The ID of the Resolver rule that you want to get information about.
|
864
1286
|
#
|
865
1287
|
# @return [Types::GetResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
866
1288
|
#
|
@@ -888,6 +1310,8 @@ module Aws::Route53Resolver
|
|
888
1310
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
889
1311
|
# resp.resolver_rule.owner_id #=> String
|
890
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
|
891
1315
|
#
|
892
1316
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRule AWS API Documentation
|
893
1317
|
#
|
@@ -898,12 +1322,16 @@ module Aws::Route53Resolver
|
|
898
1322
|
req.send_request(options)
|
899
1323
|
end
|
900
1324
|
|
901
|
-
# Gets information about an association between a specified
|
902
|
-
# rule and a VPC. You associate a
|
903
|
-
# 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
|
904
1332
|
#
|
905
1333
|
# @option params [required, String] :resolver_rule_association_id
|
906
|
-
# The ID of the
|
1334
|
+
# The ID of the Resolver rule association that you want to get
|
907
1335
|
# information about.
|
908
1336
|
#
|
909
1337
|
# @return [Types::GetResolverRuleAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -934,12 +1362,12 @@ module Aws::Route53Resolver
|
|
934
1362
|
req.send_request(options)
|
935
1363
|
end
|
936
1364
|
|
937
|
-
# Gets information about a
|
1365
|
+
# Gets information about a Resolver rule policy. A Resolver rule policy
|
938
1366
|
# specifies the Resolver operations and resources that you want to allow
|
939
1367
|
# another AWS account to be able to use.
|
940
1368
|
#
|
941
1369
|
# @option params [required, String] :arn
|
942
|
-
# The ID of the
|
1370
|
+
# The ID of the Resolver rule policy that you want to get information
|
943
1371
|
# about.
|
944
1372
|
#
|
945
1373
|
# @return [Types::GetResolverRulePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -965,10 +1393,10 @@ module Aws::Route53Resolver
|
|
965
1393
|
req.send_request(options)
|
966
1394
|
end
|
967
1395
|
|
968
|
-
# Gets the IP addresses for a specified
|
1396
|
+
# Gets the IP addresses for a specified Resolver endpoint.
|
969
1397
|
#
|
970
1398
|
# @option params [required, String] :resolver_endpoint_id
|
971
|
-
# The ID of the
|
1399
|
+
# The ID of the Resolver endpoint that you want to get IP addresses for.
|
972
1400
|
#
|
973
1401
|
# @option params [Integer] :max_results
|
974
1402
|
# The maximum number of IP addresses that you want to return in the
|
@@ -980,7 +1408,7 @@ module Aws::Route53Resolver
|
|
980
1408
|
# For the first `ListResolverEndpointIpAddresses` request, omit this
|
981
1409
|
# value.
|
982
1410
|
#
|
983
|
-
# If the specified
|
1411
|
+
# If the specified Resolver endpoint has more than `MaxResults` IP
|
984
1412
|
# addresses, you can submit another `ListResolverEndpointIpAddresses`
|
985
1413
|
# request to get the next group of IP addresses. In the next request,
|
986
1414
|
# specify the value of `NextToken` from the previous response.
|
@@ -1023,26 +1451,26 @@ module Aws::Route53Resolver
|
|
1023
1451
|
req.send_request(options)
|
1024
1452
|
end
|
1025
1453
|
|
1026
|
-
# Lists all the
|
1454
|
+
# Lists all the Resolver endpoints that were created using the current
|
1027
1455
|
# AWS account.
|
1028
1456
|
#
|
1029
1457
|
# @option params [Integer] :max_results
|
1030
|
-
# The maximum number of
|
1458
|
+
# The maximum number of Resolver endpoints that you want to return in
|
1031
1459
|
# the response to a `ListResolverEndpoints` request. If you don't
|
1032
|
-
# specify a value for `MaxResults`, Resolver returns up to 100
|
1460
|
+
# specify a value for `MaxResults`, Resolver returns up to 100 Resolver
|
1033
1461
|
# endpoints.
|
1034
1462
|
#
|
1035
1463
|
# @option params [String] :next_token
|
1036
1464
|
# For the first `ListResolverEndpoints` request, omit this value.
|
1037
1465
|
#
|
1038
|
-
# If you have more than `MaxResults`
|
1466
|
+
# If you have more than `MaxResults` Resolver endpoints, you can submit
|
1039
1467
|
# another `ListResolverEndpoints` request to get the next group of
|
1040
|
-
#
|
1468
|
+
# Resolver endpoints. In the next request, specify the value of
|
1041
1469
|
# `NextToken` from the previous response.
|
1042
1470
|
#
|
1043
1471
|
# @option params [Array<Types::Filter>] :filters
|
1044
|
-
# An optional specification to return a subset of
|
1045
|
-
# such as all inbound
|
1472
|
+
# An optional specification to return a subset of Resolver endpoints,
|
1473
|
+
# such as all inbound Resolver endpoints.
|
1046
1474
|
#
|
1047
1475
|
# <note markdown="1"> If you submit a second or subsequent `ListResolverEndpoints` request
|
1048
1476
|
# and specify the `NextToken` parameter, you must use the same values
|
@@ -1099,7 +1527,294 @@ module Aws::Route53Resolver
|
|
1099
1527
|
req.send_request(options)
|
1100
1528
|
end
|
1101
1529
|
|
1102
|
-
# 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
|
1103
1818
|
# VPCs using the current AWS account.
|
1104
1819
|
#
|
1105
1820
|
# @option params [Integer] :max_results
|
@@ -1117,8 +1832,8 @@ module Aws::Route53Resolver
|
|
1117
1832
|
# `NextToken` from the previous response.
|
1118
1833
|
#
|
1119
1834
|
# @option params [Array<Types::Filter>] :filters
|
1120
|
-
# An optional specification to return a subset of
|
1121
|
-
# 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.
|
1122
1837
|
#
|
1123
1838
|
# <note markdown="1"> If you submit a second or subsequent `ListResolverRuleAssociations`
|
1124
1839
|
# request and specify the `NextToken` parameter, you must use the same
|
@@ -1168,25 +1883,25 @@ module Aws::Route53Resolver
|
|
1168
1883
|
req.send_request(options)
|
1169
1884
|
end
|
1170
1885
|
|
1171
|
-
# Lists the
|
1886
|
+
# Lists the Resolver rules that were created using the current AWS
|
1172
1887
|
# account.
|
1173
1888
|
#
|
1174
1889
|
# @option params [Integer] :max_results
|
1175
|
-
# The maximum number of
|
1890
|
+
# The maximum number of Resolver rules that you want to return in the
|
1176
1891
|
# response to a `ListResolverRules` request. If you don't specify a
|
1177
|
-
# value for `MaxResults`, Resolver returns up to 100
|
1892
|
+
# value for `MaxResults`, Resolver returns up to 100 Resolver rules.
|
1178
1893
|
#
|
1179
1894
|
# @option params [String] :next_token
|
1180
1895
|
# For the first `ListResolverRules` request, omit this value.
|
1181
1896
|
#
|
1182
|
-
# If you have more than `MaxResults`
|
1183
|
-
# 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
|
1184
1899
|
# rules. In the next request, specify the value of `NextToken` from the
|
1185
1900
|
# previous response.
|
1186
1901
|
#
|
1187
1902
|
# @option params [Array<Types::Filter>] :filters
|
1188
|
-
# An optional specification to return a subset of
|
1189
|
-
# 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
|
1190
1905
|
# endpoint.
|
1191
1906
|
#
|
1192
1907
|
# <note markdown="1"> If you submit a second or subsequent `ListResolverRules` request and
|
@@ -1235,6 +1950,8 @@ module Aws::Route53Resolver
|
|
1235
1950
|
# resp.resolver_rules[0].resolver_endpoint_id #=> String
|
1236
1951
|
# resp.resolver_rules[0].owner_id #=> String
|
1237
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
|
1238
1955
|
#
|
1239
1956
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRules AWS API Documentation
|
1240
1957
|
#
|
@@ -1269,6 +1986,8 @@ module Aws::Route53Resolver
|
|
1269
1986
|
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
|
1270
1987
|
# * {Types::ListTagsForResourceResponse#next_token #next_token} => String
|
1271
1988
|
#
|
1989
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1990
|
+
#
|
1272
1991
|
# @example Request syntax with placeholder values
|
1273
1992
|
#
|
1274
1993
|
# resp = client.list_tags_for_resource({
|
@@ -1293,16 +2012,86 @@ module Aws::Route53Resolver
|
|
1293
2012
|
req.send_request(options)
|
1294
2013
|
end
|
1295
2014
|
|
1296
|
-
# Specifies
|
1297
|
-
#
|
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.
|
1298
2019
|
#
|
1299
2020
|
# @option params [required, String] :arn
|
1300
|
-
# The Amazon Resource Name (ARN) of the account that you want to
|
1301
|
-
#
|
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.
|
2070
|
+
#
|
2071
|
+
# @option params [required, String] :arn
|
2072
|
+
# The Amazon Resource Name (ARN) of the account that you want to share
|
2073
|
+
# rules with.
|
1302
2074
|
#
|
1303
2075
|
# @option params [required, String] :resolver_rule_policy
|
1304
2076
|
# An AWS Identity and Access Management policy statement that lists the
|
1305
|
-
#
|
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`.
|
1306
2095
|
#
|
1307
2096
|
# @return [Types::PutResolverRulePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1308
2097
|
#
|
@@ -1335,17 +2124,26 @@ module Aws::Route53Resolver
|
|
1335
2124
|
# tags to. To get the ARN for a resource, use the applicable `Get` or
|
1336
2125
|
# `List` command:
|
1337
2126
|
#
|
1338
|
-
# * GetResolverEndpoint
|
2127
|
+
# * [GetResolverEndpoint][1]
|
2128
|
+
#
|
2129
|
+
# * [GetResolverRule][2]
|
1339
2130
|
#
|
1340
|
-
# *
|
2131
|
+
# * [GetResolverRuleAssociation][3]
|
1341
2132
|
#
|
1342
|
-
# *
|
2133
|
+
# * [ListResolverEndpoints][4]
|
1343
2134
|
#
|
1344
|
-
# *
|
2135
|
+
# * [ListResolverRuleAssociations][5]
|
1345
2136
|
#
|
1346
|
-
# *
|
2137
|
+
# * [ListResolverRules][6]
|
1347
2138
|
#
|
1348
|
-
#
|
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
|
1349
2147
|
#
|
1350
2148
|
# @option params [required, Array<Types::Tag>] :tags
|
1351
2149
|
# The tags that you want to add to the specified resource.
|
@@ -1358,8 +2156,8 @@ module Aws::Route53Resolver
|
|
1358
2156
|
# resource_arn: "Arn", # required
|
1359
2157
|
# tags: [ # required
|
1360
2158
|
# {
|
1361
|
-
# key: "TagKey",
|
1362
|
-
# value: "TagValue",
|
2159
|
+
# key: "TagKey", # required
|
2160
|
+
# value: "TagValue", # required
|
1363
2161
|
# },
|
1364
2162
|
# ],
|
1365
2163
|
# })
|
@@ -1380,17 +2178,26 @@ module Aws::Route53Resolver
|
|
1380
2178
|
# remove tags from. To get the ARN for a resource, use the applicable
|
1381
2179
|
# `Get` or `List` command:
|
1382
2180
|
#
|
1383
|
-
# * GetResolverEndpoint
|
2181
|
+
# * [GetResolverEndpoint][1]
|
2182
|
+
#
|
2183
|
+
# * [GetResolverRule][2]
|
2184
|
+
#
|
2185
|
+
# * [GetResolverRuleAssociation][3]
|
2186
|
+
#
|
2187
|
+
# * [ListResolverEndpoints][4]
|
1384
2188
|
#
|
1385
|
-
# *
|
2189
|
+
# * [ListResolverRuleAssociations][5]
|
1386
2190
|
#
|
1387
|
-
# *
|
2191
|
+
# * [ListResolverRules][6]
|
1388
2192
|
#
|
1389
|
-
# * ListResolverEndpoints
|
1390
2193
|
#
|
1391
|
-
# * ListResolverRuleAssociations
|
1392
2194
|
#
|
1393
|
-
#
|
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
|
1394
2201
|
#
|
1395
2202
|
# @option params [required, Array<String>] :tag_keys
|
1396
2203
|
# The tags that you want to remove to the specified resource.
|
@@ -1413,13 +2220,13 @@ module Aws::Route53Resolver
|
|
1413
2220
|
req.send_request(options)
|
1414
2221
|
end
|
1415
2222
|
|
1416
|
-
# Updates the name of an inbound or an outbound
|
2223
|
+
# Updates the name of an inbound or an outbound Resolver endpoint.
|
1417
2224
|
#
|
1418
2225
|
# @option params [required, String] :resolver_endpoint_id
|
1419
|
-
# The ID of the
|
2226
|
+
# The ID of the Resolver endpoint that you want to update.
|
1420
2227
|
#
|
1421
2228
|
# @option params [String] :name
|
1422
|
-
# The name of the
|
2229
|
+
# The name of the Resolver endpoint that you want to update.
|
1423
2230
|
#
|
1424
2231
|
# @return [Types::UpdateResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1425
2232
|
#
|
@@ -1457,15 +2264,15 @@ module Aws::Route53Resolver
|
|
1457
2264
|
req.send_request(options)
|
1458
2265
|
end
|
1459
2266
|
|
1460
|
-
# Updates settings for a specified
|
2267
|
+
# Updates settings for a specified Resolver rule. `ResolverRuleId` is
|
1461
2268
|
# required, and all other parameters are optional. If you don't specify
|
1462
2269
|
# a parameter, it retains its current value.
|
1463
2270
|
#
|
1464
2271
|
# @option params [required, String] :resolver_rule_id
|
1465
|
-
# The ID of the
|
2272
|
+
# The ID of the Resolver rule that you want to update.
|
1466
2273
|
#
|
1467
2274
|
# @option params [required, Types::ResolverRuleConfig] :config
|
1468
|
-
# The new settings for the
|
2275
|
+
# The new settings for the Resolver rule.
|
1469
2276
|
#
|
1470
2277
|
# @return [Types::UpdateResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1471
2278
|
#
|
@@ -1503,6 +2310,8 @@ module Aws::Route53Resolver
|
|
1503
2310
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
1504
2311
|
# resp.resolver_rule.owner_id #=> String
|
1505
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
|
1506
2315
|
#
|
1507
2316
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRule AWS API Documentation
|
1508
2317
|
#
|
@@ -1526,7 +2335,7 @@ module Aws::Route53Resolver
|
|
1526
2335
|
params: params,
|
1527
2336
|
config: config)
|
1528
2337
|
context[:gem_name] = 'aws-sdk-route53resolver'
|
1529
|
-
context[:gem_version] = '1.
|
2338
|
+
context[:gem_version] = '1.19.0'
|
1530
2339
|
Seahorse::Client::Request.new(handlers, context)
|
1531
2340
|
end
|
1532
2341
|
|