aws-sdk-route53resolver 1.17.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-route53resolver.rb +3 -2
- data/lib/aws-sdk-route53resolver/client.rb +1076 -119
- data/lib/aws-sdk-route53resolver/client_api.rb +399 -2
- data/lib/aws-sdk-route53resolver/errors.rb +16 -0
- data/lib/aws-sdk-route53resolver/types.rb +1658 -189
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76d88c272af9ce686b6afd8bb60aba4bb8949a56ac8ed185e922cb73e581624c
|
4
|
+
data.tar.gz: 83006e5ccfaf57ed48d5c0ac0678216b5185062429503ab443407b47cf9818cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d74351a75ecc7b9e27973f16bbf238ddd771e3db86001c8b61f6200eba83a3aa5b87027d820b3f94d2f1466e5d418b1d9a9115ee335841048e00ecfe992cbb11
|
7
|
+
data.tar.gz: 4da46f65848cc28c0e91950851275157822270fc48f393bf2f5eafe1463fbe3c7d3d14d894fa1e71b85ca16ee65fabbe34ae821a625f2668d832c911a535ebe4
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-route53resolver/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::Route53Resolver
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.22.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::Route53Resolver
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
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
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::Route53Resolver
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# 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.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -322,19 +337,23 @@ module Aws::Route53Resolver
|
|
322
337
|
|
323
338
|
# @!group API Operations
|
324
339
|
|
325
|
-
# Adds IP addresses to an inbound or an outbound
|
326
|
-
# 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
|
327
342
|
# `AssociateResolverEndpointIpAddress` request for each IP address.
|
328
343
|
#
|
329
344
|
# To remove an IP address from an endpoint, see
|
330
|
-
# DisassociateResolverEndpointIpAddress.
|
345
|
+
# [DisassociateResolverEndpointIpAddress][1].
|
346
|
+
#
|
347
|
+
#
|
348
|
+
#
|
349
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverEndpointIpAddress.html
|
331
350
|
#
|
332
351
|
# @option params [required, String] :resolver_endpoint_id
|
333
|
-
# The ID of the
|
352
|
+
# The ID of the Resolver endpoint that you want to associate IP
|
334
353
|
# addresses with.
|
335
354
|
#
|
336
355
|
# @option params [required, Types::IpAddressUpdate] :ip_address
|
337
|
-
# 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
|
338
357
|
# a subnet ID. If you specify a subnet ID, Resolver chooses an IP
|
339
358
|
# address for you from the available IPs in the specified subnet.
|
340
359
|
#
|
@@ -378,22 +397,92 @@ module Aws::Route53Resolver
|
|
378
397
|
req.send_request(options)
|
379
398
|
end
|
380
399
|
|
381
|
-
# 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
|
382
462
|
# a VPC, Resolver forwards all DNS queries for the domain name that is
|
383
463
|
# specified in the rule and that originate in the VPC. The queries are
|
384
464
|
# forwarded to the IP addresses for the DNS resolvers that are specified
|
385
|
-
# 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
|
386
471
|
#
|
387
472
|
# @option params [required, String] :resolver_rule_id
|
388
|
-
# The ID of the
|
389
|
-
# 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
|
390
479
|
#
|
391
480
|
# @option params [String] :name
|
392
|
-
# A name for the association that you're creating between a
|
481
|
+
# A name for the association that you're creating between a Resolver
|
393
482
|
# rule and a VPC.
|
394
483
|
#
|
395
484
|
# @option params [required, String] :vpc_id
|
396
|
-
# 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.
|
397
486
|
#
|
398
487
|
# @return [Types::AssociateResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
399
488
|
#
|
@@ -425,14 +514,14 @@ module Aws::Route53Resolver
|
|
425
514
|
req.send_request(options)
|
426
515
|
end
|
427
516
|
|
428
|
-
# Creates a
|
517
|
+
# Creates a Resolver endpoint. There are two types of Resolver
|
429
518
|
# endpoints, inbound and outbound:
|
430
519
|
#
|
431
|
-
# * An *inbound
|
432
|
-
# 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.
|
433
522
|
#
|
434
|
-
# * An *outbound
|
435
|
-
# 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.
|
436
525
|
#
|
437
526
|
# @option params [required, String] :creator_request_id
|
438
527
|
# A unique string that identifies the request and that allows failed
|
@@ -447,23 +536,25 @@ module Aws::Route53Resolver
|
|
447
536
|
# @option params [required, Array<String>] :security_group_ids
|
448
537
|
# The ID of one or more security groups that you want to use to control
|
449
538
|
# access to this VPC. The security group that you specify must include
|
450
|
-
# one or more inbound rules (for inbound
|
451
|
-
# 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.
|
452
544
|
#
|
453
545
|
# @option params [required, String] :direction
|
454
546
|
# Specify the applicable value:
|
455
547
|
#
|
456
548
|
# * `INBOUND`\: Resolver forwards DNS queries to the DNS service for a
|
457
|
-
# VPC from your network
|
549
|
+
# VPC from your network
|
458
550
|
#
|
459
551
|
# * `OUTBOUND`\: Resolver forwards DNS queries from the DNS service for
|
460
|
-
# a VPC to your network
|
552
|
+
# a VPC to your network
|
461
553
|
#
|
462
554
|
# @option params [required, Array<Types::IpAddressRequest>] :ip_addresses
|
463
|
-
# The subnets and IP addresses in your VPC that
|
464
|
-
#
|
465
|
-
# endpoints)
|
466
|
-
# 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.
|
467
558
|
#
|
468
559
|
# @option params [Array<Types::Tag>] :tags
|
469
560
|
# A list of the tag keys and values that you want to associate with the
|
@@ -488,8 +579,8 @@ module Aws::Route53Resolver
|
|
488
579
|
# ],
|
489
580
|
# tags: [
|
490
581
|
# {
|
491
|
-
# key: "TagKey",
|
492
|
-
# value: "TagValue",
|
582
|
+
# key: "TagKey", # required
|
583
|
+
# value: "TagValue", # required
|
493
584
|
# },
|
494
585
|
# ],
|
495
586
|
# })
|
@@ -519,7 +610,104 @@ module Aws::Route53Resolver
|
|
519
610
|
req.send_request(options)
|
520
611
|
end
|
521
612
|
|
522
|
-
#
|
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
|
523
711
|
# endpoint the queries pass through, one domain name that you want to
|
524
712
|
# forward to your network, and the IP addresses of the DNS resolvers in
|
525
713
|
# your network.
|
@@ -535,21 +723,37 @@ module Aws::Route53Resolver
|
|
535
723
|
# dashboard in the Route 53 console.
|
536
724
|
#
|
537
725
|
# @option params [required, String] :rule_type
|
538
|
-
#
|
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`.
|
539
740
|
#
|
540
741
|
# @option params [required, String] :domain_name
|
541
742
|
# DNS queries for this domain name are forwarded to the IP addresses
|
542
|
-
# that you specify in `TargetIps`. If a query matches multiple
|
743
|
+
# that you specify in `TargetIps`. If a query matches multiple Resolver
|
543
744
|
# rules (example.com and www.example.com), outbound DNS queries are
|
544
|
-
# routed using the
|
745
|
+
# routed using the Resolver rule that contains the most specific domain
|
545
746
|
# name (www.example.com).
|
546
747
|
#
|
547
748
|
# @option params [Array<Types::TargetAddress>] :target_ips
|
548
749
|
# The IPs that you want Resolver to forward DNS queries to. You can
|
549
750
|
# specify only IPv4 addresses. Separate IP addresses with a comma.
|
550
751
|
#
|
752
|
+
# `TargetIps` is available only when the value of `Rule type` is
|
753
|
+
# `FORWARD`.
|
754
|
+
#
|
551
755
|
# @option params [String] :resolver_endpoint_id
|
552
|
-
# The ID of the outbound
|
756
|
+
# The ID of the outbound Resolver endpoint that you want to use to route
|
553
757
|
# DNS queries to the IP addresses that you specify in `TargetIps`.
|
554
758
|
#
|
555
759
|
# @option params [Array<Types::Tag>] :tags
|
@@ -576,8 +780,8 @@ module Aws::Route53Resolver
|
|
576
780
|
# resolver_endpoint_id: "ResourceId",
|
577
781
|
# tags: [
|
578
782
|
# {
|
579
|
-
# key: "TagKey",
|
580
|
-
# value: "TagValue",
|
783
|
+
# key: "TagKey", # required
|
784
|
+
# value: "TagValue", # required
|
581
785
|
# },
|
582
786
|
# ],
|
583
787
|
# })
|
@@ -598,6 +802,8 @@ module Aws::Route53Resolver
|
|
598
802
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
599
803
|
# resp.resolver_rule.owner_id #=> String
|
600
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
|
601
807
|
#
|
602
808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRule AWS API Documentation
|
603
809
|
#
|
@@ -608,18 +814,18 @@ module Aws::Route53Resolver
|
|
608
814
|
req.send_request(options)
|
609
815
|
end
|
610
816
|
|
611
|
-
# Deletes a
|
612
|
-
# 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
|
613
819
|
# endpoint:
|
614
820
|
#
|
615
|
-
# * **Inbound**\: DNS queries from your network
|
616
|
-
#
|
821
|
+
# * **Inbound**\: DNS queries from your network are no longer routed to
|
822
|
+
# the DNS service for the specified VPC.
|
617
823
|
#
|
618
824
|
# * **Outbound**\: DNS queries from a VPC are no longer routed to your
|
619
|
-
# network
|
825
|
+
# network.
|
620
826
|
#
|
621
827
|
# @option params [required, String] :resolver_endpoint_id
|
622
|
-
# The ID of the
|
828
|
+
# The ID of the Resolver endpoint that you want to delete.
|
623
829
|
#
|
624
830
|
# @return [Types::DeleteResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
625
831
|
#
|
@@ -656,12 +862,75 @@ module Aws::Route53Resolver
|
|
656
862
|
req.send_request(options)
|
657
863
|
end
|
658
864
|
|
659
|
-
# 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
|
660
924
|
# must disassociate it from all the VPCs that you associated the
|
661
|
-
#
|
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
|
662
931
|
#
|
663
932
|
# @option params [required, String] :resolver_rule_id
|
664
|
-
# The ID of the
|
933
|
+
# The ID of the Resolver rule that you want to delete.
|
665
934
|
#
|
666
935
|
# @return [Types::DeleteResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
667
936
|
#
|
@@ -689,6 +958,8 @@ module Aws::Route53Resolver
|
|
689
958
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
690
959
|
# resp.resolver_rule.owner_id #=> String
|
691
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
|
692
963
|
#
|
693
964
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRule AWS API Documentation
|
694
965
|
#
|
@@ -699,19 +970,23 @@ module Aws::Route53Resolver
|
|
699
970
|
req.send_request(options)
|
700
971
|
end
|
701
972
|
|
702
|
-
# Removes IP addresses from an inbound or an outbound
|
973
|
+
# Removes IP addresses from an inbound or an outbound Resolver endpoint.
|
703
974
|
# If you want to remove more than one IP address, submit one
|
704
975
|
# `DisassociateResolverEndpointIpAddress` request for each IP address.
|
705
976
|
#
|
706
977
|
# To add an IP address to an endpoint, see
|
707
|
-
# AssociateResolverEndpointIpAddress.
|
978
|
+
# [AssociateResolverEndpointIpAddress][1].
|
979
|
+
#
|
980
|
+
#
|
981
|
+
#
|
982
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverEndpointIpAddress.html
|
708
983
|
#
|
709
984
|
# @option params [required, String] :resolver_endpoint_id
|
710
|
-
# The ID of the
|
985
|
+
# The ID of the Resolver endpoint that you want to disassociate an IP
|
711
986
|
# address from.
|
712
987
|
#
|
713
988
|
# @option params [required, Types::IpAddressUpdate] :ip_address
|
714
|
-
# The IPv4 address that you want to remove from a
|
989
|
+
# The IPv4 address that you want to remove from a Resolver endpoint.
|
715
990
|
#
|
716
991
|
# @return [Types::DisassociateResolverEndpointIpAddressResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
717
992
|
#
|
@@ -753,19 +1028,72 @@ module Aws::Route53Resolver
|
|
753
1028
|
req.send_request(options)
|
754
1029
|
end
|
755
1030
|
|
756
|
-
#
|
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
|
757
1085
|
# specified VPC.
|
758
1086
|
#
|
759
|
-
# If you disassociate a
|
1087
|
+
# If you disassociate a Resolver rule from a VPC, Resolver stops
|
760
1088
|
# forwarding DNS queries for the domain name that you specified in the
|
761
|
-
#
|
1089
|
+
# Resolver rule.
|
762
1090
|
#
|
763
1091
|
# @option params [required, String] :vpc_id
|
764
|
-
# 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
|
765
1093
|
# from.
|
766
1094
|
#
|
767
1095
|
# @option params [required, String] :resolver_rule_id
|
768
|
-
# The ID of the
|
1096
|
+
# The ID of the Resolver rule that you want to disassociate from the
|
769
1097
|
# specified VPC.
|
770
1098
|
#
|
771
1099
|
# @return [Types::DisassociateResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -797,12 +1125,44 @@ module Aws::Route53Resolver
|
|
797
1125
|
req.send_request(options)
|
798
1126
|
end
|
799
1127
|
|
800
|
-
# Gets information
|
801
|
-
#
|
1128
|
+
# Gets DNSSEC validation information for a specified resource.
|
1129
|
+
#
|
1130
|
+
# @option params [required, String] :resource_id
|
1131
|
+
# The ID of the virtual private cloud (VPC) for the DNSSEC validation
|
1132
|
+
# status.
|
1133
|
+
#
|
1134
|
+
# @return [Types::GetResolverDnssecConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1135
|
+
#
|
1136
|
+
# * {Types::GetResolverDnssecConfigResponse#resolver_dnssec_config #resolver_dnssec_config} => Types::ResolverDnssecConfig
|
1137
|
+
#
|
1138
|
+
# @example Request syntax with placeholder values
|
1139
|
+
#
|
1140
|
+
# resp = client.get_resolver_dnssec_config({
|
1141
|
+
# resource_id: "ResourceId", # required
|
1142
|
+
# })
|
1143
|
+
#
|
1144
|
+
# @example Response structure
|
1145
|
+
#
|
1146
|
+
# resp.resolver_dnssec_config.id #=> String
|
1147
|
+
# resp.resolver_dnssec_config.owner_id #=> String
|
1148
|
+
# resp.resolver_dnssec_config.resource_id #=> String
|
1149
|
+
# resp.resolver_dnssec_config.validation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1150
|
+
#
|
1151
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverDnssecConfig AWS API Documentation
|
1152
|
+
#
|
1153
|
+
# @overload get_resolver_dnssec_config(params = {})
|
1154
|
+
# @param [Hash] params ({})
|
1155
|
+
def get_resolver_dnssec_config(params = {}, options = {})
|
1156
|
+
req = build_request(:get_resolver_dnssec_config, params)
|
1157
|
+
req.send_request(options)
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
# Gets information about a specified Resolver endpoint, such as whether
|
1161
|
+
# it's an inbound or an outbound Resolver endpoint, and the current
|
802
1162
|
# status of the endpoint.
|
803
1163
|
#
|
804
1164
|
# @option params [required, String] :resolver_endpoint_id
|
805
|
-
# The ID of the
|
1165
|
+
# The ID of the Resolver endpoint that you want to get information
|
806
1166
|
# about.
|
807
1167
|
#
|
808
1168
|
# @return [Types::GetResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -840,12 +1200,121 @@ module Aws::Route53Resolver
|
|
840
1200
|
req.send_request(options)
|
841
1201
|
end
|
842
1202
|
|
843
|
-
# Gets information about a specified
|
1203
|
+
# Gets information about a specified Resolver query logging
|
1204
|
+
# configuration, such as the number of VPCs that the configuration is
|
1205
|
+
# logging queries for and the location that logs are sent to.
|
1206
|
+
#
|
1207
|
+
# @option params [required, String] :resolver_query_log_config_id
|
1208
|
+
# The ID of the Resolver query logging configuration that you want to
|
1209
|
+
# get information about.
|
1210
|
+
#
|
1211
|
+
# @return [Types::GetResolverQueryLogConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1212
|
+
#
|
1213
|
+
# * {Types::GetResolverQueryLogConfigResponse#resolver_query_log_config #resolver_query_log_config} => Types::ResolverQueryLogConfig
|
1214
|
+
#
|
1215
|
+
# @example Request syntax with placeholder values
|
1216
|
+
#
|
1217
|
+
# resp = client.get_resolver_query_log_config({
|
1218
|
+
# resolver_query_log_config_id: "ResourceId", # required
|
1219
|
+
# })
|
1220
|
+
#
|
1221
|
+
# @example Response structure
|
1222
|
+
#
|
1223
|
+
# resp.resolver_query_log_config.id #=> String
|
1224
|
+
# resp.resolver_query_log_config.owner_id #=> String
|
1225
|
+
# resp.resolver_query_log_config.status #=> String, one of "CREATING", "CREATED", "DELETING", "FAILED"
|
1226
|
+
# resp.resolver_query_log_config.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
1227
|
+
# resp.resolver_query_log_config.association_count #=> Integer
|
1228
|
+
# resp.resolver_query_log_config.arn #=> String
|
1229
|
+
# resp.resolver_query_log_config.name #=> String
|
1230
|
+
# resp.resolver_query_log_config.destination_arn #=> String
|
1231
|
+
# resp.resolver_query_log_config.creator_request_id #=> String
|
1232
|
+
# resp.resolver_query_log_config.creation_time #=> String
|
1233
|
+
#
|
1234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfig AWS API Documentation
|
1235
|
+
#
|
1236
|
+
# @overload get_resolver_query_log_config(params = {})
|
1237
|
+
# @param [Hash] params ({})
|
1238
|
+
def get_resolver_query_log_config(params = {}, options = {})
|
1239
|
+
req = build_request(:get_resolver_query_log_config, params)
|
1240
|
+
req.send_request(options)
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
# Gets information about a specified association between a Resolver
|
1244
|
+
# query logging configuration and an Amazon VPC. When you associate a
|
1245
|
+
# VPC with a query logging configuration, Resolver logs DNS queries that
|
1246
|
+
# originate in that VPC.
|
1247
|
+
#
|
1248
|
+
# @option params [required, String] :resolver_query_log_config_association_id
|
1249
|
+
# The ID of the Resolver query logging configuration association that
|
1250
|
+
# you want to get information about.
|
1251
|
+
#
|
1252
|
+
# @return [Types::GetResolverQueryLogConfigAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1253
|
+
#
|
1254
|
+
# * {Types::GetResolverQueryLogConfigAssociationResponse#resolver_query_log_config_association #resolver_query_log_config_association} => Types::ResolverQueryLogConfigAssociation
|
1255
|
+
#
|
1256
|
+
# @example Request syntax with placeholder values
|
1257
|
+
#
|
1258
|
+
# resp = client.get_resolver_query_log_config_association({
|
1259
|
+
# resolver_query_log_config_association_id: "ResourceId", # required
|
1260
|
+
# })
|
1261
|
+
#
|
1262
|
+
# @example Response structure
|
1263
|
+
#
|
1264
|
+
# resp.resolver_query_log_config_association.id #=> String
|
1265
|
+
# resp.resolver_query_log_config_association.resolver_query_log_config_id #=> String
|
1266
|
+
# resp.resolver_query_log_config_association.resource_id #=> String
|
1267
|
+
# resp.resolver_query_log_config_association.status #=> String, one of "CREATING", "ACTIVE", "ACTION_NEEDED", "DELETING", "FAILED"
|
1268
|
+
# resp.resolver_query_log_config_association.error #=> String, one of "NONE", "DESTINATION_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_SERVICE_ERROR"
|
1269
|
+
# resp.resolver_query_log_config_association.error_message #=> String
|
1270
|
+
# resp.resolver_query_log_config_association.creation_time #=> String
|
1271
|
+
#
|
1272
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigAssociation AWS API Documentation
|
1273
|
+
#
|
1274
|
+
# @overload get_resolver_query_log_config_association(params = {})
|
1275
|
+
# @param [Hash] params ({})
|
1276
|
+
def get_resolver_query_log_config_association(params = {}, options = {})
|
1277
|
+
req = build_request(:get_resolver_query_log_config_association, params)
|
1278
|
+
req.send_request(options)
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
# Gets information about a query logging policy. A query logging policy
|
1282
|
+
# specifies the Resolver query logging operations and resources that you
|
1283
|
+
# want to allow another AWS account to be able to use.
|
1284
|
+
#
|
1285
|
+
# @option params [required, String] :arn
|
1286
|
+
# The ARN of the query logging configuration that you want to get the
|
1287
|
+
# query logging policy for.
|
1288
|
+
#
|
1289
|
+
# @return [Types::GetResolverQueryLogConfigPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1290
|
+
#
|
1291
|
+
# * {Types::GetResolverQueryLogConfigPolicyResponse#resolver_query_log_config_policy #resolver_query_log_config_policy} => String
|
1292
|
+
#
|
1293
|
+
# @example Request syntax with placeholder values
|
1294
|
+
#
|
1295
|
+
# resp = client.get_resolver_query_log_config_policy({
|
1296
|
+
# arn: "Arn", # required
|
1297
|
+
# })
|
1298
|
+
#
|
1299
|
+
# @example Response structure
|
1300
|
+
#
|
1301
|
+
# resp.resolver_query_log_config_policy #=> String
|
1302
|
+
#
|
1303
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigPolicy AWS API Documentation
|
1304
|
+
#
|
1305
|
+
# @overload get_resolver_query_log_config_policy(params = {})
|
1306
|
+
# @param [Hash] params ({})
|
1307
|
+
def get_resolver_query_log_config_policy(params = {}, options = {})
|
1308
|
+
req = build_request(:get_resolver_query_log_config_policy, params)
|
1309
|
+
req.send_request(options)
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
# Gets information about a specified Resolver rule, such as the domain
|
844
1313
|
# name that the rule forwards DNS queries for and the ID of the outbound
|
845
|
-
#
|
1314
|
+
# Resolver endpoint that the rule is associated with.
|
846
1315
|
#
|
847
1316
|
# @option params [required, String] :resolver_rule_id
|
848
|
-
# The ID of the
|
1317
|
+
# The ID of the Resolver rule that you want to get information about.
|
849
1318
|
#
|
850
1319
|
# @return [Types::GetResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
851
1320
|
#
|
@@ -873,6 +1342,8 @@ module Aws::Route53Resolver
|
|
873
1342
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
874
1343
|
# resp.resolver_rule.owner_id #=> String
|
875
1344
|
# resp.resolver_rule.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
1345
|
+
# resp.resolver_rule.creation_time #=> String
|
1346
|
+
# resp.resolver_rule.modification_time #=> String
|
876
1347
|
#
|
877
1348
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRule AWS API Documentation
|
878
1349
|
#
|
@@ -883,12 +1354,16 @@ module Aws::Route53Resolver
|
|
883
1354
|
req.send_request(options)
|
884
1355
|
end
|
885
1356
|
|
886
|
-
# Gets information about an association between a specified
|
887
|
-
# rule and a VPC. You associate a
|
888
|
-
# AssociateResolverRule.
|
1357
|
+
# Gets information about an association between a specified Resolver
|
1358
|
+
# rule and a VPC. You associate a Resolver rule and a VPC using
|
1359
|
+
# [AssociateResolverRule][1].
|
1360
|
+
#
|
1361
|
+
#
|
1362
|
+
#
|
1363
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html
|
889
1364
|
#
|
890
1365
|
# @option params [required, String] :resolver_rule_association_id
|
891
|
-
# The ID of the
|
1366
|
+
# The ID of the Resolver rule association that you want to get
|
892
1367
|
# information about.
|
893
1368
|
#
|
894
1369
|
# @return [Types::GetResolverRuleAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -919,13 +1394,14 @@ module Aws::Route53Resolver
|
|
919
1394
|
req.send_request(options)
|
920
1395
|
end
|
921
1396
|
|
922
|
-
# Gets information about
|
923
|
-
#
|
924
|
-
# another
|
1397
|
+
# Gets information about the Resolver rule policy for a specified rule.
|
1398
|
+
# A Resolver rule policy includes the rule that you want to share with
|
1399
|
+
# another account, the account that you want to share the rule with, and
|
1400
|
+
# the Resolver operations that you want to allow the account to use.
|
925
1401
|
#
|
926
1402
|
# @option params [required, String] :arn
|
927
|
-
# The ID of the
|
928
|
-
#
|
1403
|
+
# The ID of the Resolver rule that you want to get the Resolver rule
|
1404
|
+
# policy for.
|
929
1405
|
#
|
930
1406
|
# @return [Types::GetResolverRulePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
931
1407
|
#
|
@@ -950,10 +1426,71 @@ module Aws::Route53Resolver
|
|
950
1426
|
req.send_request(options)
|
951
1427
|
end
|
952
1428
|
|
953
|
-
#
|
1429
|
+
# Lists the configurations for DNSSEC validation that are associated
|
1430
|
+
# with the current AWS account.
|
1431
|
+
#
|
1432
|
+
# @option params [Integer] :max_results
|
1433
|
+
# *Optional*\: An integer that specifies the maximum number of DNSSEC
|
1434
|
+
# configuration results that you want Amazon Route 53 to return. If you
|
1435
|
+
# don't specify a value for `MaxResults`, Route 53 returns up to 100
|
1436
|
+
# configuration per page.
|
1437
|
+
#
|
1438
|
+
# @option params [String] :next_token
|
1439
|
+
# (Optional) If the current AWS account has more than `MaxResults`
|
1440
|
+
# DNSSEC configurations, use `NextToken` to get the second and
|
1441
|
+
# subsequent pages of results.
|
1442
|
+
#
|
1443
|
+
# For the first `ListResolverDnssecConfigs` request, omit this value.
|
1444
|
+
#
|
1445
|
+
# For the second and subsequent requests, get the value of `NextToken`
|
1446
|
+
# from the previous response and specify that value for `NextToken` in
|
1447
|
+
# the request.
|
1448
|
+
#
|
1449
|
+
# @option params [Array<Types::Filter>] :filters
|
1450
|
+
# An optional specification to return a subset of objects.
|
1451
|
+
#
|
1452
|
+
# @return [Types::ListResolverDnssecConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1453
|
+
#
|
1454
|
+
# * {Types::ListResolverDnssecConfigsResponse#next_token #next_token} => String
|
1455
|
+
# * {Types::ListResolverDnssecConfigsResponse#resolver_dnssec_configs #resolver_dnssec_configs} => Array<Types::ResolverDnssecConfig>
|
1456
|
+
#
|
1457
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1458
|
+
#
|
1459
|
+
# @example Request syntax with placeholder values
|
1460
|
+
#
|
1461
|
+
# resp = client.list_resolver_dnssec_configs({
|
1462
|
+
# max_results: 1,
|
1463
|
+
# next_token: "NextToken",
|
1464
|
+
# filters: [
|
1465
|
+
# {
|
1466
|
+
# name: "FilterName",
|
1467
|
+
# values: ["FilterValue"],
|
1468
|
+
# },
|
1469
|
+
# ],
|
1470
|
+
# })
|
1471
|
+
#
|
1472
|
+
# @example Response structure
|
1473
|
+
#
|
1474
|
+
# resp.next_token #=> String
|
1475
|
+
# resp.resolver_dnssec_configs #=> Array
|
1476
|
+
# resp.resolver_dnssec_configs[0].id #=> String
|
1477
|
+
# resp.resolver_dnssec_configs[0].owner_id #=> String
|
1478
|
+
# resp.resolver_dnssec_configs[0].resource_id #=> String
|
1479
|
+
# resp.resolver_dnssec_configs[0].validation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1480
|
+
#
|
1481
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverDnssecConfigs AWS API Documentation
|
1482
|
+
#
|
1483
|
+
# @overload list_resolver_dnssec_configs(params = {})
|
1484
|
+
# @param [Hash] params ({})
|
1485
|
+
def list_resolver_dnssec_configs(params = {}, options = {})
|
1486
|
+
req = build_request(:list_resolver_dnssec_configs, params)
|
1487
|
+
req.send_request(options)
|
1488
|
+
end
|
1489
|
+
|
1490
|
+
# Gets the IP addresses for a specified Resolver endpoint.
|
954
1491
|
#
|
955
1492
|
# @option params [required, String] :resolver_endpoint_id
|
956
|
-
# The ID of the
|
1493
|
+
# The ID of the Resolver endpoint that you want to get IP addresses for.
|
957
1494
|
#
|
958
1495
|
# @option params [Integer] :max_results
|
959
1496
|
# The maximum number of IP addresses that you want to return in the
|
@@ -965,7 +1502,7 @@ module Aws::Route53Resolver
|
|
965
1502
|
# For the first `ListResolverEndpointIpAddresses` request, omit this
|
966
1503
|
# value.
|
967
1504
|
#
|
968
|
-
# If the specified
|
1505
|
+
# If the specified Resolver endpoint has more than `MaxResults` IP
|
969
1506
|
# addresses, you can submit another `ListResolverEndpointIpAddresses`
|
970
1507
|
# request to get the next group of IP addresses. In the next request,
|
971
1508
|
# specify the value of `NextToken` from the previous response.
|
@@ -1008,26 +1545,26 @@ module Aws::Route53Resolver
|
|
1008
1545
|
req.send_request(options)
|
1009
1546
|
end
|
1010
1547
|
|
1011
|
-
# Lists all the
|
1548
|
+
# Lists all the Resolver endpoints that were created using the current
|
1012
1549
|
# AWS account.
|
1013
1550
|
#
|
1014
1551
|
# @option params [Integer] :max_results
|
1015
|
-
# The maximum number of
|
1552
|
+
# The maximum number of Resolver endpoints that you want to return in
|
1016
1553
|
# the response to a `ListResolverEndpoints` request. If you don't
|
1017
|
-
# specify a value for `MaxResults`, Resolver returns up to 100
|
1554
|
+
# specify a value for `MaxResults`, Resolver returns up to 100 Resolver
|
1018
1555
|
# endpoints.
|
1019
1556
|
#
|
1020
1557
|
# @option params [String] :next_token
|
1021
1558
|
# For the first `ListResolverEndpoints` request, omit this value.
|
1022
1559
|
#
|
1023
|
-
# If you have more than `MaxResults`
|
1560
|
+
# If you have more than `MaxResults` Resolver endpoints, you can submit
|
1024
1561
|
# another `ListResolverEndpoints` request to get the next group of
|
1025
|
-
#
|
1562
|
+
# Resolver endpoints. In the next request, specify the value of
|
1026
1563
|
# `NextToken` from the previous response.
|
1027
1564
|
#
|
1028
1565
|
# @option params [Array<Types::Filter>] :filters
|
1029
|
-
# An optional specification to return a subset of
|
1030
|
-
# such as all inbound
|
1566
|
+
# An optional specification to return a subset of Resolver endpoints,
|
1567
|
+
# such as all inbound Resolver endpoints.
|
1031
1568
|
#
|
1032
1569
|
# <note markdown="1"> If you submit a second or subsequent `ListResolverEndpoints` request
|
1033
1570
|
# and specify the `NextToken` parameter, you must use the same values
|
@@ -1084,7 +1621,294 @@ module Aws::Route53Resolver
|
|
1084
1621
|
req.send_request(options)
|
1085
1622
|
end
|
1086
1623
|
|
1087
|
-
# Lists
|
1624
|
+
# Lists information about associations between Amazon VPCs and query
|
1625
|
+
# logging configurations.
|
1626
|
+
#
|
1627
|
+
# @option params [Integer] :max_results
|
1628
|
+
# The maximum number of query logging associations that you want to
|
1629
|
+
# return in the response to a `ListResolverQueryLogConfigAssociations`
|
1630
|
+
# request. If you don't specify a value for `MaxResults`, Resolver
|
1631
|
+
# returns up to 100 query logging associations.
|
1632
|
+
#
|
1633
|
+
# @option params [String] :next_token
|
1634
|
+
# For the first `ListResolverQueryLogConfigAssociations` request, omit
|
1635
|
+
# this value.
|
1636
|
+
#
|
1637
|
+
# If there are more than `MaxResults` query logging associations that
|
1638
|
+
# match the values that you specify for `Filters`, you can submit
|
1639
|
+
# another `ListResolverQueryLogConfigAssociations` request to get the
|
1640
|
+
# next group of associations. In the next request, specify the value of
|
1641
|
+
# `NextToken` from the previous response.
|
1642
|
+
#
|
1643
|
+
# @option params [Array<Types::Filter>] :filters
|
1644
|
+
# An optional specification to return a subset of query logging
|
1645
|
+
# associations.
|
1646
|
+
#
|
1647
|
+
# <note markdown="1"> If you submit a second or subsequent
|
1648
|
+
# `ListResolverQueryLogConfigAssociations` request and specify the
|
1649
|
+
# `NextToken` parameter, you must use the same values for `Filters`, if
|
1650
|
+
# any, as in the previous request.
|
1651
|
+
#
|
1652
|
+
# </note>
|
1653
|
+
#
|
1654
|
+
# @option params [String] :sort_by
|
1655
|
+
# The element that you want Resolver to sort query logging associations
|
1656
|
+
# by.
|
1657
|
+
#
|
1658
|
+
# <note markdown="1"> If you submit a second or subsequent
|
1659
|
+
# `ListResolverQueryLogConfigAssociations` request and specify the
|
1660
|
+
# `NextToken` parameter, you must use the same value for `SortBy`, if
|
1661
|
+
# any, as in the previous request.
|
1662
|
+
#
|
1663
|
+
# </note>
|
1664
|
+
#
|
1665
|
+
# Valid values include the following elements:
|
1666
|
+
#
|
1667
|
+
# * `CreationTime`\: The ID of the query logging association.
|
1668
|
+
#
|
1669
|
+
# * `Error`\: If the value of `Status` is `FAILED`, the value of `Error`
|
1670
|
+
# indicates the cause:
|
1671
|
+
#
|
1672
|
+
# * `DESTINATION_NOT_FOUND`\: The specified destination (for example,
|
1673
|
+
# an Amazon S3 bucket) was deleted.
|
1674
|
+
#
|
1675
|
+
# * `ACCESS_DENIED`\: Permissions don't allow sending logs to the
|
1676
|
+
# destination.
|
1677
|
+
#
|
1678
|
+
# If `Status` is a value other than `FAILED`, `ERROR` is null.
|
1679
|
+
#
|
1680
|
+
# * `Id`\: The ID of the query logging association
|
1681
|
+
#
|
1682
|
+
# * `ResolverQueryLogConfigId`\: The ID of the query logging
|
1683
|
+
# configuration
|
1684
|
+
#
|
1685
|
+
# * `ResourceId`\: The ID of the VPC that is associated with the query
|
1686
|
+
# logging configuration
|
1687
|
+
#
|
1688
|
+
# * `Status`\: The current status of the configuration. Valid values
|
1689
|
+
# include the following:
|
1690
|
+
#
|
1691
|
+
# * `CREATING`\: Resolver is creating an association between an Amazon
|
1692
|
+
# VPC and a query logging configuration.
|
1693
|
+
#
|
1694
|
+
# * `CREATED`\: The association between an Amazon VPC and a query
|
1695
|
+
# logging configuration was successfully created. Resolver is
|
1696
|
+
# logging queries that originate in the specified VPC.
|
1697
|
+
#
|
1698
|
+
# * `DELETING`\: Resolver is deleting this query logging association.
|
1699
|
+
#
|
1700
|
+
# * `FAILED`\: Resolver either couldn't create or couldn't delete
|
1701
|
+
# the query logging association. Here are two common causes:
|
1702
|
+
#
|
1703
|
+
# * The specified destination (for example, an Amazon S3 bucket) was
|
1704
|
+
# deleted.
|
1705
|
+
#
|
1706
|
+
# * Permissions don't allow sending logs to the destination.
|
1707
|
+
#
|
1708
|
+
# @option params [String] :sort_order
|
1709
|
+
# If you specified a value for `SortBy`, the order that you want query
|
1710
|
+
# logging associations to be listed in, `ASCENDING` or `DESCENDING`.
|
1711
|
+
#
|
1712
|
+
# <note markdown="1"> If you submit a second or subsequent
|
1713
|
+
# `ListResolverQueryLogConfigAssociations` request and specify the
|
1714
|
+
# `NextToken` parameter, you must use the same value for `SortOrder`, if
|
1715
|
+
# any, as in the previous request.
|
1716
|
+
#
|
1717
|
+
# </note>
|
1718
|
+
#
|
1719
|
+
# @return [Types::ListResolverQueryLogConfigAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1720
|
+
#
|
1721
|
+
# * {Types::ListResolverQueryLogConfigAssociationsResponse#next_token #next_token} => String
|
1722
|
+
# * {Types::ListResolverQueryLogConfigAssociationsResponse#total_count #total_count} => Integer
|
1723
|
+
# * {Types::ListResolverQueryLogConfigAssociationsResponse#total_filtered_count #total_filtered_count} => Integer
|
1724
|
+
# * {Types::ListResolverQueryLogConfigAssociationsResponse#resolver_query_log_config_associations #resolver_query_log_config_associations} => Array<Types::ResolverQueryLogConfigAssociation>
|
1725
|
+
#
|
1726
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1727
|
+
#
|
1728
|
+
# @example Request syntax with placeholder values
|
1729
|
+
#
|
1730
|
+
# resp = client.list_resolver_query_log_config_associations({
|
1731
|
+
# max_results: 1,
|
1732
|
+
# next_token: "NextToken",
|
1733
|
+
# filters: [
|
1734
|
+
# {
|
1735
|
+
# name: "FilterName",
|
1736
|
+
# values: ["FilterValue"],
|
1737
|
+
# },
|
1738
|
+
# ],
|
1739
|
+
# sort_by: "SortByKey",
|
1740
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1741
|
+
# })
|
1742
|
+
#
|
1743
|
+
# @example Response structure
|
1744
|
+
#
|
1745
|
+
# resp.next_token #=> String
|
1746
|
+
# resp.total_count #=> Integer
|
1747
|
+
# resp.total_filtered_count #=> Integer
|
1748
|
+
# resp.resolver_query_log_config_associations #=> Array
|
1749
|
+
# resp.resolver_query_log_config_associations[0].id #=> String
|
1750
|
+
# resp.resolver_query_log_config_associations[0].resolver_query_log_config_id #=> String
|
1751
|
+
# resp.resolver_query_log_config_associations[0].resource_id #=> String
|
1752
|
+
# resp.resolver_query_log_config_associations[0].status #=> String, one of "CREATING", "ACTIVE", "ACTION_NEEDED", "DELETING", "FAILED"
|
1753
|
+
# resp.resolver_query_log_config_associations[0].error #=> String, one of "NONE", "DESTINATION_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_SERVICE_ERROR"
|
1754
|
+
# resp.resolver_query_log_config_associations[0].error_message #=> String
|
1755
|
+
# resp.resolver_query_log_config_associations[0].creation_time #=> String
|
1756
|
+
#
|
1757
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigAssociations AWS API Documentation
|
1758
|
+
#
|
1759
|
+
# @overload list_resolver_query_log_config_associations(params = {})
|
1760
|
+
# @param [Hash] params ({})
|
1761
|
+
def list_resolver_query_log_config_associations(params = {}, options = {})
|
1762
|
+
req = build_request(:list_resolver_query_log_config_associations, params)
|
1763
|
+
req.send_request(options)
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
# Lists information about the specified query logging configurations.
|
1767
|
+
# Each configuration defines where you want Resolver to save DNS query
|
1768
|
+
# logs and specifies the VPCs that you want to log queries for.
|
1769
|
+
#
|
1770
|
+
# @option params [Integer] :max_results
|
1771
|
+
# The maximum number of query logging configurations that you want to
|
1772
|
+
# return in the response to a `ListResolverQueryLogConfigs` request. If
|
1773
|
+
# you don't specify a value for `MaxResults`, Resolver returns up to
|
1774
|
+
# 100 query logging configurations.
|
1775
|
+
#
|
1776
|
+
# @option params [String] :next_token
|
1777
|
+
# For the first `ListResolverQueryLogConfigs` request, omit this value.
|
1778
|
+
#
|
1779
|
+
# If there are more than `MaxResults` query logging configurations that
|
1780
|
+
# match the values that you specify for `Filters`, you can submit
|
1781
|
+
# another `ListResolverQueryLogConfigs` request to get the next group of
|
1782
|
+
# configurations. In the next request, specify the value of `NextToken`
|
1783
|
+
# from the previous response.
|
1784
|
+
#
|
1785
|
+
# @option params [Array<Types::Filter>] :filters
|
1786
|
+
# An optional specification to return a subset of query logging
|
1787
|
+
# configurations.
|
1788
|
+
#
|
1789
|
+
# <note markdown="1"> If you submit a second or subsequent `ListResolverQueryLogConfigs`
|
1790
|
+
# request and specify the `NextToken` parameter, you must use the same
|
1791
|
+
# values for `Filters`, if any, as in the previous request.
|
1792
|
+
#
|
1793
|
+
# </note>
|
1794
|
+
#
|
1795
|
+
# @option params [String] :sort_by
|
1796
|
+
# The element that you want Resolver to sort query logging
|
1797
|
+
# configurations by.
|
1798
|
+
#
|
1799
|
+
# <note markdown="1"> If you submit a second or subsequent `ListResolverQueryLogConfigs`
|
1800
|
+
# request and specify the `NextToken` parameter, you must use the same
|
1801
|
+
# value for `SortBy`, if any, as in the previous request.
|
1802
|
+
#
|
1803
|
+
# </note>
|
1804
|
+
#
|
1805
|
+
# Valid values include the following elements:
|
1806
|
+
#
|
1807
|
+
# * `Arn`\: The ARN of the query logging configuration
|
1808
|
+
#
|
1809
|
+
# * `AssociationCount`\: The number of VPCs that are associated with the
|
1810
|
+
# specified configuration
|
1811
|
+
#
|
1812
|
+
# * `CreationTime`\: The date and time that Resolver returned when the
|
1813
|
+
# configuration was created
|
1814
|
+
#
|
1815
|
+
# * `CreatorRequestId`\: The value that was specified for
|
1816
|
+
# `CreatorRequestId` when the configuration was created
|
1817
|
+
#
|
1818
|
+
# * `DestinationArn`\: The location that logs are sent to
|
1819
|
+
#
|
1820
|
+
# * `Id`\: The ID of the configuration
|
1821
|
+
#
|
1822
|
+
# * `Name`\: The name of the configuration
|
1823
|
+
#
|
1824
|
+
# * `OwnerId`\: The AWS account number of the account that created the
|
1825
|
+
# configuration
|
1826
|
+
#
|
1827
|
+
# * `ShareStatus`\: Whether the configuration is shared with other AWS
|
1828
|
+
# accounts or shared with the current account by another AWS account.
|
1829
|
+
# Sharing is configured through AWS Resource Access Manager (AWS RAM).
|
1830
|
+
#
|
1831
|
+
# * `Status`\: The current status of the configuration. Valid values
|
1832
|
+
# include the following:
|
1833
|
+
#
|
1834
|
+
# * `CREATING`\: Resolver is creating the query logging configuration.
|
1835
|
+
#
|
1836
|
+
# * `CREATED`\: The query logging configuration was successfully
|
1837
|
+
# created. Resolver is logging queries that originate in the
|
1838
|
+
# specified VPC.
|
1839
|
+
#
|
1840
|
+
# * `DELETING`\: Resolver is deleting this query logging
|
1841
|
+
# configuration.
|
1842
|
+
#
|
1843
|
+
# * `FAILED`\: Resolver either couldn't create or couldn't delete
|
1844
|
+
# the query logging configuration. Here are two common causes:
|
1845
|
+
#
|
1846
|
+
# * The specified destination (for example, an Amazon S3 bucket) was
|
1847
|
+
# deleted.
|
1848
|
+
#
|
1849
|
+
# * Permissions don't allow sending logs to the destination.
|
1850
|
+
#
|
1851
|
+
# @option params [String] :sort_order
|
1852
|
+
# If you specified a value for `SortBy`, the order that you want query
|
1853
|
+
# logging configurations to be listed in, `ASCENDING` or `DESCENDING`.
|
1854
|
+
#
|
1855
|
+
# <note markdown="1"> If you submit a second or subsequent `ListResolverQueryLogConfigs`
|
1856
|
+
# request and specify the `NextToken` parameter, you must use the same
|
1857
|
+
# value for `SortOrder`, if any, as in the previous request.
|
1858
|
+
#
|
1859
|
+
# </note>
|
1860
|
+
#
|
1861
|
+
# @return [Types::ListResolverQueryLogConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1862
|
+
#
|
1863
|
+
# * {Types::ListResolverQueryLogConfigsResponse#next_token #next_token} => String
|
1864
|
+
# * {Types::ListResolverQueryLogConfigsResponse#total_count #total_count} => Integer
|
1865
|
+
# * {Types::ListResolverQueryLogConfigsResponse#total_filtered_count #total_filtered_count} => Integer
|
1866
|
+
# * {Types::ListResolverQueryLogConfigsResponse#resolver_query_log_configs #resolver_query_log_configs} => Array<Types::ResolverQueryLogConfig>
|
1867
|
+
#
|
1868
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1869
|
+
#
|
1870
|
+
# @example Request syntax with placeholder values
|
1871
|
+
#
|
1872
|
+
# resp = client.list_resolver_query_log_configs({
|
1873
|
+
# max_results: 1,
|
1874
|
+
# next_token: "NextToken",
|
1875
|
+
# filters: [
|
1876
|
+
# {
|
1877
|
+
# name: "FilterName",
|
1878
|
+
# values: ["FilterValue"],
|
1879
|
+
# },
|
1880
|
+
# ],
|
1881
|
+
# sort_by: "SortByKey",
|
1882
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1883
|
+
# })
|
1884
|
+
#
|
1885
|
+
# @example Response structure
|
1886
|
+
#
|
1887
|
+
# resp.next_token #=> String
|
1888
|
+
# resp.total_count #=> Integer
|
1889
|
+
# resp.total_filtered_count #=> Integer
|
1890
|
+
# resp.resolver_query_log_configs #=> Array
|
1891
|
+
# resp.resolver_query_log_configs[0].id #=> String
|
1892
|
+
# resp.resolver_query_log_configs[0].owner_id #=> String
|
1893
|
+
# resp.resolver_query_log_configs[0].status #=> String, one of "CREATING", "CREATED", "DELETING", "FAILED"
|
1894
|
+
# resp.resolver_query_log_configs[0].share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
1895
|
+
# resp.resolver_query_log_configs[0].association_count #=> Integer
|
1896
|
+
# resp.resolver_query_log_configs[0].arn #=> String
|
1897
|
+
# resp.resolver_query_log_configs[0].name #=> String
|
1898
|
+
# resp.resolver_query_log_configs[0].destination_arn #=> String
|
1899
|
+
# resp.resolver_query_log_configs[0].creator_request_id #=> String
|
1900
|
+
# resp.resolver_query_log_configs[0].creation_time #=> String
|
1901
|
+
#
|
1902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigs AWS API Documentation
|
1903
|
+
#
|
1904
|
+
# @overload list_resolver_query_log_configs(params = {})
|
1905
|
+
# @param [Hash] params ({})
|
1906
|
+
def list_resolver_query_log_configs(params = {}, options = {})
|
1907
|
+
req = build_request(:list_resolver_query_log_configs, params)
|
1908
|
+
req.send_request(options)
|
1909
|
+
end
|
1910
|
+
|
1911
|
+
# Lists the associations that were created between Resolver rules and
|
1088
1912
|
# VPCs using the current AWS account.
|
1089
1913
|
#
|
1090
1914
|
# @option params [Integer] :max_results
|
@@ -1102,8 +1926,8 @@ module Aws::Route53Resolver
|
|
1102
1926
|
# `NextToken` from the previous response.
|
1103
1927
|
#
|
1104
1928
|
# @option params [Array<Types::Filter>] :filters
|
1105
|
-
# An optional specification to return a subset of
|
1106
|
-
# as
|
1929
|
+
# An optional specification to return a subset of Resolver rules, such
|
1930
|
+
# as Resolver rules that are associated with the same VPC ID.
|
1107
1931
|
#
|
1108
1932
|
# <note markdown="1"> If you submit a second or subsequent `ListResolverRuleAssociations`
|
1109
1933
|
# request and specify the `NextToken` parameter, you must use the same
|
@@ -1153,25 +1977,25 @@ module Aws::Route53Resolver
|
|
1153
1977
|
req.send_request(options)
|
1154
1978
|
end
|
1155
1979
|
|
1156
|
-
# Lists the
|
1980
|
+
# Lists the Resolver rules that were created using the current AWS
|
1157
1981
|
# account.
|
1158
1982
|
#
|
1159
1983
|
# @option params [Integer] :max_results
|
1160
|
-
# The maximum number of
|
1984
|
+
# The maximum number of Resolver rules that you want to return in the
|
1161
1985
|
# response to a `ListResolverRules` request. If you don't specify a
|
1162
|
-
# value for `MaxResults`, Resolver returns up to 100
|
1986
|
+
# value for `MaxResults`, Resolver returns up to 100 Resolver rules.
|
1163
1987
|
#
|
1164
1988
|
# @option params [String] :next_token
|
1165
1989
|
# For the first `ListResolverRules` request, omit this value.
|
1166
1990
|
#
|
1167
|
-
# If you have more than `MaxResults`
|
1168
|
-
# another `ListResolverRules` request to get the next group of
|
1991
|
+
# If you have more than `MaxResults` Resolver rules, you can submit
|
1992
|
+
# another `ListResolverRules` request to get the next group of Resolver
|
1169
1993
|
# rules. In the next request, specify the value of `NextToken` from the
|
1170
1994
|
# previous response.
|
1171
1995
|
#
|
1172
1996
|
# @option params [Array<Types::Filter>] :filters
|
1173
|
-
# An optional specification to return a subset of
|
1174
|
-
# as all
|
1997
|
+
# An optional specification to return a subset of Resolver rules, such
|
1998
|
+
# as all Resolver rules that are associated with the same Resolver
|
1175
1999
|
# endpoint.
|
1176
2000
|
#
|
1177
2001
|
# <note markdown="1"> If you submit a second or subsequent `ListResolverRules` request and
|
@@ -1220,6 +2044,8 @@ module Aws::Route53Resolver
|
|
1220
2044
|
# resp.resolver_rules[0].resolver_endpoint_id #=> String
|
1221
2045
|
# resp.resolver_rules[0].owner_id #=> String
|
1222
2046
|
# resp.resolver_rules[0].share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
2047
|
+
# resp.resolver_rules[0].creation_time #=> String
|
2048
|
+
# resp.resolver_rules[0].modification_time #=> String
|
1223
2049
|
#
|
1224
2050
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRules AWS API Documentation
|
1225
2051
|
#
|
@@ -1254,6 +2080,8 @@ module Aws::Route53Resolver
|
|
1254
2080
|
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
|
1255
2081
|
# * {Types::ListTagsForResourceResponse#next_token #next_token} => String
|
1256
2082
|
#
|
2083
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2084
|
+
#
|
1257
2085
|
# @example Request syntax with placeholder values
|
1258
2086
|
#
|
1259
2087
|
# resp = client.list_tags_for_resource({
|
@@ -1278,16 +2106,86 @@ module Aws::Route53Resolver
|
|
1278
2106
|
req.send_request(options)
|
1279
2107
|
end
|
1280
2108
|
|
1281
|
-
# Specifies
|
1282
|
-
#
|
2109
|
+
# Specifies an AWS account that you want to share a query logging
|
2110
|
+
# configuration with, the query logging configuration that you want to
|
2111
|
+
# share, and the operations that you want the account to be able to
|
2112
|
+
# perform on the configuration.
|
2113
|
+
#
|
2114
|
+
# @option params [required, String] :arn
|
2115
|
+
# The Amazon Resource Name (ARN) of the account that you want to share
|
2116
|
+
# rules with.
|
2117
|
+
#
|
2118
|
+
# @option params [required, String] :resolver_query_log_config_policy
|
2119
|
+
# An AWS Identity and Access Management policy statement that lists the
|
2120
|
+
# query logging configurations that you want to share with another AWS
|
2121
|
+
# account and the operations that you want the account to be able to
|
2122
|
+
# perform. You can specify the following operations in the `Actions`
|
2123
|
+
# section of the statement:
|
2124
|
+
#
|
2125
|
+
# * `route53resolver:AssociateResolverQueryLogConfig`
|
2126
|
+
#
|
2127
|
+
# * `route53resolver:DisassociateResolverQueryLogConfig`
|
2128
|
+
#
|
2129
|
+
# * `route53resolver:ListResolverQueryLogConfigAssociations`
|
2130
|
+
#
|
2131
|
+
# * `route53resolver:ListResolverQueryLogConfigs`
|
2132
|
+
#
|
2133
|
+
# In the `Resource` section of the statement, you specify the ARNs for
|
2134
|
+
# the query logging configurations that you want to share with the
|
2135
|
+
# account that you specified in `Arn`.
|
2136
|
+
#
|
2137
|
+
# @return [Types::PutResolverQueryLogConfigPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2138
|
+
#
|
2139
|
+
# * {Types::PutResolverQueryLogConfigPolicyResponse#return_value #return_value} => Boolean
|
2140
|
+
#
|
2141
|
+
# @example Request syntax with placeholder values
|
2142
|
+
#
|
2143
|
+
# resp = client.put_resolver_query_log_config_policy({
|
2144
|
+
# arn: "Arn", # required
|
2145
|
+
# resolver_query_log_config_policy: "ResolverQueryLogConfigPolicy", # required
|
2146
|
+
# })
|
2147
|
+
#
|
2148
|
+
# @example Response structure
|
2149
|
+
#
|
2150
|
+
# resp.return_value #=> Boolean
|
2151
|
+
#
|
2152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverQueryLogConfigPolicy AWS API Documentation
|
2153
|
+
#
|
2154
|
+
# @overload put_resolver_query_log_config_policy(params = {})
|
2155
|
+
# @param [Hash] params ({})
|
2156
|
+
def put_resolver_query_log_config_policy(params = {}, options = {})
|
2157
|
+
req = build_request(:put_resolver_query_log_config_policy, params)
|
2158
|
+
req.send_request(options)
|
2159
|
+
end
|
2160
|
+
|
2161
|
+
# Specifies an AWS rule that you want to share with another account, the
|
2162
|
+
# account that you want to share the rule with, and the operations that
|
2163
|
+
# you want the account to be able to perform on the rule.
|
1283
2164
|
#
|
1284
2165
|
# @option params [required, String] :arn
|
1285
|
-
# The Amazon Resource Name (ARN) of the
|
1286
|
-
#
|
2166
|
+
# The Amazon Resource Name (ARN) of the rule that you want to share with
|
2167
|
+
# another account.
|
1287
2168
|
#
|
1288
2169
|
# @option params [required, String] :resolver_rule_policy
|
1289
2170
|
# An AWS Identity and Access Management policy statement that lists the
|
1290
|
-
#
|
2171
|
+
# rules that you want to share with another AWS account and the
|
2172
|
+
# operations that you want the account to be able to perform. You can
|
2173
|
+
# specify the following operations in the `Action` section of the
|
2174
|
+
# statement:
|
2175
|
+
#
|
2176
|
+
# * `route53resolver:GetResolverRule`
|
2177
|
+
#
|
2178
|
+
# * `route53resolver:AssociateResolverRule`
|
2179
|
+
#
|
2180
|
+
# * `route53resolver:DisassociateResolverRule`
|
2181
|
+
#
|
2182
|
+
# * `route53resolver:ListResolverRules`
|
2183
|
+
#
|
2184
|
+
# * `route53resolver:ListResolverRuleAssociations`
|
2185
|
+
#
|
2186
|
+
# In the `Resource` section of the statement, specify the ARN for the
|
2187
|
+
# rule that you want to share with another account. Specify the same ARN
|
2188
|
+
# that you specified in `Arn`.
|
1291
2189
|
#
|
1292
2190
|
# @return [Types::PutResolverRulePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1293
2191
|
#
|
@@ -1320,17 +2218,26 @@ module Aws::Route53Resolver
|
|
1320
2218
|
# tags to. To get the ARN for a resource, use the applicable `Get` or
|
1321
2219
|
# `List` command:
|
1322
2220
|
#
|
1323
|
-
# * GetResolverEndpoint
|
2221
|
+
# * [GetResolverEndpoint][1]
|
2222
|
+
#
|
2223
|
+
# * [GetResolverRule][2]
|
1324
2224
|
#
|
1325
|
-
# *
|
2225
|
+
# * [GetResolverRuleAssociation][3]
|
1326
2226
|
#
|
1327
|
-
# *
|
2227
|
+
# * [ListResolverEndpoints][4]
|
1328
2228
|
#
|
1329
|
-
# *
|
2229
|
+
# * [ListResolverRuleAssociations][5]
|
1330
2230
|
#
|
1331
|
-
# *
|
2231
|
+
# * [ListResolverRules][6]
|
1332
2232
|
#
|
1333
|
-
#
|
2233
|
+
#
|
2234
|
+
#
|
2235
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
|
2236
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRule.html
|
2237
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRuleAssociation.html
|
2238
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
|
2239
|
+
# [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
|
2240
|
+
# [6]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
|
1334
2241
|
#
|
1335
2242
|
# @option params [required, Array<Types::Tag>] :tags
|
1336
2243
|
# The tags that you want to add to the specified resource.
|
@@ -1343,8 +2250,8 @@ module Aws::Route53Resolver
|
|
1343
2250
|
# resource_arn: "Arn", # required
|
1344
2251
|
# tags: [ # required
|
1345
2252
|
# {
|
1346
|
-
# key: "TagKey",
|
1347
|
-
# value: "TagValue",
|
2253
|
+
# key: "TagKey", # required
|
2254
|
+
# value: "TagValue", # required
|
1348
2255
|
# },
|
1349
2256
|
# ],
|
1350
2257
|
# })
|
@@ -1365,17 +2272,26 @@ module Aws::Route53Resolver
|
|
1365
2272
|
# remove tags from. To get the ARN for a resource, use the applicable
|
1366
2273
|
# `Get` or `List` command:
|
1367
2274
|
#
|
1368
|
-
# * GetResolverEndpoint
|
2275
|
+
# * [GetResolverEndpoint][1]
|
2276
|
+
#
|
2277
|
+
# * [GetResolverRule][2]
|
1369
2278
|
#
|
1370
|
-
# *
|
2279
|
+
# * [GetResolverRuleAssociation][3]
|
1371
2280
|
#
|
1372
|
-
# *
|
2281
|
+
# * [ListResolverEndpoints][4]
|
1373
2282
|
#
|
1374
|
-
# *
|
2283
|
+
# * [ListResolverRuleAssociations][5]
|
1375
2284
|
#
|
1376
|
-
# *
|
2285
|
+
# * [ListResolverRules][6]
|
1377
2286
|
#
|
1378
|
-
#
|
2287
|
+
#
|
2288
|
+
#
|
2289
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
|
2290
|
+
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRule.html
|
2291
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRuleAssociation.html
|
2292
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html
|
2293
|
+
# [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
|
2294
|
+
# [6]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html
|
1379
2295
|
#
|
1380
2296
|
# @option params [required, Array<String>] :tag_keys
|
1381
2297
|
# The tags that you want to remove to the specified resource.
|
@@ -1398,13 +2314,52 @@ module Aws::Route53Resolver
|
|
1398
2314
|
req.send_request(options)
|
1399
2315
|
end
|
1400
2316
|
|
1401
|
-
# Updates
|
2317
|
+
# Updates an existing DNSSEC validation configuration. If there is no
|
2318
|
+
# existing DNSSEC validation configuration, one is created.
|
2319
|
+
#
|
2320
|
+
# @option params [required, String] :resource_id
|
2321
|
+
# The ID of the virtual private cloud (VPC) that you're updating the
|
2322
|
+
# DNSSEC validation status for.
|
2323
|
+
#
|
2324
|
+
# @option params [required, String] :validation
|
2325
|
+
# The new value that you are specifying for DNSSEC validation for the
|
2326
|
+
# VPC. The value can be `ENABLE` or `DISABLE`. Be aware that it can take
|
2327
|
+
# time for a validation status change to be completed.
|
2328
|
+
#
|
2329
|
+
# @return [Types::UpdateResolverDnssecConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2330
|
+
#
|
2331
|
+
# * {Types::UpdateResolverDnssecConfigResponse#resolver_dnssec_config #resolver_dnssec_config} => Types::ResolverDnssecConfig
|
2332
|
+
#
|
2333
|
+
# @example Request syntax with placeholder values
|
2334
|
+
#
|
2335
|
+
# resp = client.update_resolver_dnssec_config({
|
2336
|
+
# resource_id: "ResourceId", # required
|
2337
|
+
# validation: "ENABLE", # required, accepts ENABLE, DISABLE
|
2338
|
+
# })
|
2339
|
+
#
|
2340
|
+
# @example Response structure
|
2341
|
+
#
|
2342
|
+
# resp.resolver_dnssec_config.id #=> String
|
2343
|
+
# resp.resolver_dnssec_config.owner_id #=> String
|
2344
|
+
# resp.resolver_dnssec_config.resource_id #=> String
|
2345
|
+
# resp.resolver_dnssec_config.validation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
2346
|
+
#
|
2347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverDnssecConfig AWS API Documentation
|
2348
|
+
#
|
2349
|
+
# @overload update_resolver_dnssec_config(params = {})
|
2350
|
+
# @param [Hash] params ({})
|
2351
|
+
def update_resolver_dnssec_config(params = {}, options = {})
|
2352
|
+
req = build_request(:update_resolver_dnssec_config, params)
|
2353
|
+
req.send_request(options)
|
2354
|
+
end
|
2355
|
+
|
2356
|
+
# Updates the name of an inbound or an outbound Resolver endpoint.
|
1402
2357
|
#
|
1403
2358
|
# @option params [required, String] :resolver_endpoint_id
|
1404
|
-
# The ID of the
|
2359
|
+
# The ID of the Resolver endpoint that you want to update.
|
1405
2360
|
#
|
1406
2361
|
# @option params [String] :name
|
1407
|
-
# The name of the
|
2362
|
+
# The name of the Resolver endpoint that you want to update.
|
1408
2363
|
#
|
1409
2364
|
# @return [Types::UpdateResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1410
2365
|
#
|
@@ -1442,15 +2397,15 @@ module Aws::Route53Resolver
|
|
1442
2397
|
req.send_request(options)
|
1443
2398
|
end
|
1444
2399
|
|
1445
|
-
# Updates settings for a specified
|
2400
|
+
# Updates settings for a specified Resolver rule. `ResolverRuleId` is
|
1446
2401
|
# required, and all other parameters are optional. If you don't specify
|
1447
2402
|
# a parameter, it retains its current value.
|
1448
2403
|
#
|
1449
2404
|
# @option params [required, String] :resolver_rule_id
|
1450
|
-
# The ID of the
|
2405
|
+
# The ID of the Resolver rule that you want to update.
|
1451
2406
|
#
|
1452
2407
|
# @option params [required, Types::ResolverRuleConfig] :config
|
1453
|
-
# The new settings for the
|
2408
|
+
# The new settings for the Resolver rule.
|
1454
2409
|
#
|
1455
2410
|
# @return [Types::UpdateResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1456
2411
|
#
|
@@ -1488,6 +2443,8 @@ module Aws::Route53Resolver
|
|
1488
2443
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
1489
2444
|
# resp.resolver_rule.owner_id #=> String
|
1490
2445
|
# resp.resolver_rule.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
2446
|
+
# resp.resolver_rule.creation_time #=> String
|
2447
|
+
# resp.resolver_rule.modification_time #=> String
|
1491
2448
|
#
|
1492
2449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRule AWS API Documentation
|
1493
2450
|
#
|
@@ -1511,7 +2468,7 @@ module Aws::Route53Resolver
|
|
1511
2468
|
params: params,
|
1512
2469
|
config: config)
|
1513
2470
|
context[:gem_name] = 'aws-sdk-route53resolver'
|
1514
|
-
context[:gem_version] = '1.
|
2471
|
+
context[:gem_version] = '1.22.0'
|
1515
2472
|
Seahorse::Client::Request.new(handlers, context)
|
1516
2473
|
end
|
1517
2474
|
|