aws-sdk-route53resolver 1.14.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad85451016d5f5ab4a2bbaff8e00a92aacc9ef27a1e46bc700969e29cbb4ec21
4
- data.tar.gz: 0db43b2fd3c0069ed22f9520701738cdaff0a88e714be34833c36ac78d854921
3
+ metadata.gz: f2f51e6163638d53c5603b16ec3538ec88ca42d4aa2aa77a8ccf2e89ced4b4d8
4
+ data.tar.gz: 32f2ce947d5245d06ff1a34caf2b6d1dfb76bd861321692402485b88f16bf320
5
5
  SHA512:
6
- metadata.gz: 2c788dae341479afa2a730f485e87996a69e9b54c7e155080732e6c891853c9187425f49d8bd0296320403206c482827ef5c655f56b8852fd90bcadb92318d22
7
- data.tar.gz: 5f10f095bfbfa3e3529017ff95223fc06670534d6a19c29bbae1514ffae57630bc332d6f0ea5f30f232eb6104601864faa34281ead99127798ea40ef9a39efe1
6
+ metadata.gz: 59efcb50942677160c17d74c70a477768b647814a9b6bc3f7b53a349ea1c290ce473337a73c5e3332e1fc1bdc3de58dfee4dd17d7b9829fc702cfa76bd0c5119
7
+ data.tar.gz: 6eb8fe528708472a33b7dc9b32414c179afc3882c6f61204427c24634eed45a062b179790905960bceb8af7549d3e4b45a9fa240dbfecb0d2ebd5795a1767d0e
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-route53resolver/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::Route53Resolver
47
49
 
48
- GEM_VERSION = '1.14.0'
50
+ GEM_VERSION = '1.19.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::Route53Resolver
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -81,13 +85,28 @@ module Aws::Route53Resolver
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
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
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,10 +116,10 @@ module Aws::Route53Resolver
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # 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.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
@@ -161,7 +180,7 @@ module Aws::Route53Resolver
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -318,19 +337,23 @@ module Aws::Route53Resolver
318
337
 
319
338
  # @!group API Operations
320
339
 
321
- # Adds IP addresses to an inbound or an outbound resolver endpoint. If
322
- # you want to adding more than one IP address, submit one
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
323
342
  # `AssociateResolverEndpointIpAddress` request for each IP address.
324
343
  #
325
344
  # To remove an IP address from an endpoint, see
326
- # DisassociateResolverEndpointIpAddress.
345
+ # [DisassociateResolverEndpointIpAddress][1].
346
+ #
347
+ #
348
+ #
349
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverEndpointIpAddress.html
327
350
  #
328
351
  # @option params [required, String] :resolver_endpoint_id
329
- # The ID of the resolver endpoint that you want to associate IP
352
+ # The ID of the Resolver endpoint that you want to associate IP
330
353
  # addresses with.
331
354
  #
332
355
  # @option params [required, Types::IpAddressUpdate] :ip_address
333
- # Either the IPv4 address that you want to add to a resolver endpoint or
356
+ # Either the IPv4 address that you want to add to a Resolver endpoint or
334
357
  # a subnet ID. If you specify a subnet ID, Resolver chooses an IP
335
358
  # address for you from the available IPs in the specified subnet.
336
359
  #
@@ -374,22 +397,92 @@ module Aws::Route53Resolver
374
397
  req.send_request(options)
375
398
  end
376
399
 
377
- # Associates a resolver rule with a VPC. When you associate a rule with
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
378
462
  # a VPC, Resolver forwards all DNS queries for the domain name that is
379
463
  # specified in the rule and that originate in the VPC. The queries are
380
464
  # forwarded to the IP addresses for the DNS resolvers that are specified
381
- # in the rule. For more information about rules, see CreateResolverRule.
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
382
471
  #
383
472
  # @option params [required, String] :resolver_rule_id
384
- # The ID of the resolver rule that you want to associate with the VPC.
385
- # To list the existing resolver rules, use ListResolverRules.
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
386
479
  #
387
480
  # @option params [String] :name
388
- # A name for the association that you're creating between a resolver
481
+ # A name for the association that you're creating between a Resolver
389
482
  # rule and a VPC.
390
483
  #
391
484
  # @option params [required, String] :vpc_id
392
- # The ID of the VPC that you want to associate the resolver rule with.
485
+ # The ID of the VPC that you want to associate the Resolver rule with.
393
486
  #
394
487
  # @return [Types::AssociateResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
395
488
  #
@@ -421,14 +514,14 @@ module Aws::Route53Resolver
421
514
  req.send_request(options)
422
515
  end
423
516
 
424
- # Creates a resolver endpoint. There are two types of resolver
517
+ # Creates a Resolver endpoint. There are two types of Resolver
425
518
  # endpoints, inbound and outbound:
426
519
  #
427
- # * An *inbound resolver endpoint* forwards DNS queries to the DNS
428
- # service for a VPC from your network or another VPC.
520
+ # * An *inbound Resolver endpoint* forwards DNS queries to the DNS
521
+ # service for a VPC from your network.
429
522
  #
430
- # * An *outbound resolver endpoint* forwards DNS queries from the DNS
431
- # service for a VPC to your network or another VPC.
523
+ # * An *outbound Resolver endpoint* forwards DNS queries from the DNS
524
+ # service for a VPC to your network.
432
525
  #
433
526
  # @option params [required, String] :creator_request_id
434
527
  # A unique string that identifies the request and that allows failed
@@ -443,23 +536,25 @@ module Aws::Route53Resolver
443
536
  # @option params [required, Array<String>] :security_group_ids
444
537
  # The ID of one or more security groups that you want to use to control
445
538
  # access to this VPC. The security group that you specify must include
446
- # one or more inbound rules (for inbound resolver endpoints) or outbound
447
- # rules (for outbound resolver endpoints).
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.
448
544
  #
449
545
  # @option params [required, String] :direction
450
546
  # Specify the applicable value:
451
547
  #
452
548
  # * `INBOUND`\: Resolver forwards DNS queries to the DNS service for a
453
- # VPC from your network or another VPC
549
+ # VPC from your network
454
550
  #
455
551
  # * `OUTBOUND`\: Resolver forwards DNS queries from the DNS service for
456
- # a VPC to your network or another VPC
552
+ # a VPC to your network
457
553
  #
458
554
  # @option params [required, Array<Types::IpAddressRequest>] :ip_addresses
459
- # The subnets and IP addresses in your VPC that you want DNS queries to
460
- # pass through on the way from your VPCs to your network (for outbound
461
- # endpoints) or on the way from your network to your VPCs (for inbound
462
- # 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.
463
558
  #
464
559
  # @option params [Array<Types::Tag>] :tags
465
560
  # A list of the tag keys and values that you want to associate with the
@@ -484,8 +579,8 @@ module Aws::Route53Resolver
484
579
  # ],
485
580
  # tags: [
486
581
  # {
487
- # key: "TagKey",
488
- # value: "TagValue",
582
+ # key: "TagKey", # required
583
+ # value: "TagValue", # required
489
584
  # },
490
585
  # ],
491
586
  # })
@@ -515,7 +610,104 @@ module Aws::Route53Resolver
515
610
  req.send_request(options)
516
611
  end
517
612
 
518
- # For DNS queries that originate in your VPCs, specifies which resolver
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
519
711
  # endpoint the queries pass through, one domain name that you want to
520
712
  # forward to your network, and the IP addresses of the DNS resolvers in
521
713
  # your network.
@@ -531,21 +723,37 @@ module Aws::Route53Resolver
531
723
  # dashboard in the Route 53 console.
532
724
  #
533
725
  # @option params [required, String] :rule_type
534
- # Specify `FORWARD`. Other resolver rule types aren't supported.
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`.
535
740
  #
536
741
  # @option params [required, String] :domain_name
537
742
  # DNS queries for this domain name are forwarded to the IP addresses
538
- # that you specify in `TargetIps`. If a query matches multiple resolver
743
+ # that you specify in `TargetIps`. If a query matches multiple Resolver
539
744
  # rules (example.com and www.example.com), outbound DNS queries are
540
- # routed using the resolver rule that contains the most specific domain
745
+ # routed using the Resolver rule that contains the most specific domain
541
746
  # name (www.example.com).
542
747
  #
543
748
  # @option params [Array<Types::TargetAddress>] :target_ips
544
749
  # The IPs that you want Resolver to forward DNS queries to. You can
545
750
  # specify only IPv4 addresses. Separate IP addresses with a comma.
546
751
  #
752
+ # `TargetIps` is available only when the value of `Rule type` is
753
+ # `FORWARD`.
754
+ #
547
755
  # @option params [String] :resolver_endpoint_id
548
- # The ID of the outbound resolver endpoint that you want to use to route
756
+ # The ID of the outbound Resolver endpoint that you want to use to route
549
757
  # DNS queries to the IP addresses that you specify in `TargetIps`.
550
758
  #
551
759
  # @option params [Array<Types::Tag>] :tags
@@ -572,8 +780,8 @@ module Aws::Route53Resolver
572
780
  # resolver_endpoint_id: "ResourceId",
573
781
  # tags: [
574
782
  # {
575
- # key: "TagKey",
576
- # value: "TagValue",
783
+ # key: "TagKey", # required
784
+ # value: "TagValue", # required
577
785
  # },
578
786
  # ],
579
787
  # })
@@ -594,6 +802,8 @@ module Aws::Route53Resolver
594
802
  # resp.resolver_rule.resolver_endpoint_id #=> String
595
803
  # resp.resolver_rule.owner_id #=> String
596
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
597
807
  #
598
808
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRule AWS API Documentation
599
809
  #
@@ -604,18 +814,18 @@ module Aws::Route53Resolver
604
814
  req.send_request(options)
605
815
  end
606
816
 
607
- # Deletes a resolver endpoint. The effect of deleting a resolver
608
- # endpoint depends on whether it's an inbound or an outbound resolver
817
+ # Deletes a Resolver endpoint. The effect of deleting a Resolver
818
+ # endpoint depends on whether it's an inbound or an outbound Resolver
609
819
  # endpoint:
610
820
  #
611
- # * **Inbound**\: DNS queries from your network or another VPC are no
612
- # longer routed to the DNS service for the specified VPC.
821
+ # * **Inbound**\: DNS queries from your network are no longer routed to
822
+ # the DNS service for the specified VPC.
613
823
  #
614
824
  # * **Outbound**\: DNS queries from a VPC are no longer routed to your
615
- # network or to another VPC.
825
+ # network.
616
826
  #
617
827
  # @option params [required, String] :resolver_endpoint_id
618
- # The ID of the resolver endpoint that you want to delete.
828
+ # The ID of the Resolver endpoint that you want to delete.
619
829
  #
620
830
  # @return [Types::DeleteResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
621
831
  #
@@ -652,12 +862,75 @@ module Aws::Route53Resolver
652
862
  req.send_request(options)
653
863
  end
654
864
 
655
- # Deletes a resolver rule. Before you can delete a resolver rule, you
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
656
924
  # must disassociate it from all the VPCs that you associated the
657
- # resolver rule with. For more infomation, see DisassociateResolverRule.
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
658
931
  #
659
932
  # @option params [required, String] :resolver_rule_id
660
- # The ID of the resolver rule that you want to delete.
933
+ # The ID of the Resolver rule that you want to delete.
661
934
  #
662
935
  # @return [Types::DeleteResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
663
936
  #
@@ -685,6 +958,8 @@ module Aws::Route53Resolver
685
958
  # resp.resolver_rule.resolver_endpoint_id #=> String
686
959
  # resp.resolver_rule.owner_id #=> String
687
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
688
963
  #
689
964
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRule AWS API Documentation
690
965
  #
@@ -695,19 +970,23 @@ module Aws::Route53Resolver
695
970
  req.send_request(options)
696
971
  end
697
972
 
698
- # Removes IP addresses from an inbound or an outbound resolver endpoint.
973
+ # Removes IP addresses from an inbound or an outbound Resolver endpoint.
699
974
  # If you want to remove more than one IP address, submit one
700
975
  # `DisassociateResolverEndpointIpAddress` request for each IP address.
701
976
  #
702
977
  # To add an IP address to an endpoint, see
703
- # AssociateResolverEndpointIpAddress.
978
+ # [AssociateResolverEndpointIpAddress][1].
979
+ #
980
+ #
981
+ #
982
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverEndpointIpAddress.html
704
983
  #
705
984
  # @option params [required, String] :resolver_endpoint_id
706
- # The ID of the resolver endpoint that you want to disassociate an IP
985
+ # The ID of the Resolver endpoint that you want to disassociate an IP
707
986
  # address from.
708
987
  #
709
988
  # @option params [required, Types::IpAddressUpdate] :ip_address
710
- # The IPv4 address that you want to remove from a resolver endpoint.
989
+ # The IPv4 address that you want to remove from a Resolver endpoint.
711
990
  #
712
991
  # @return [Types::DisassociateResolverEndpointIpAddressResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
713
992
  #
@@ -749,19 +1028,72 @@ module Aws::Route53Resolver
749
1028
  req.send_request(options)
750
1029
  end
751
1030
 
752
- # Removes the association between a specified resolver rule and a
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
753
1085
  # specified VPC.
754
1086
  #
755
- # If you disassociate a resolver rule from a VPC, Resolver stops
1087
+ # If you disassociate a Resolver rule from a VPC, Resolver stops
756
1088
  # forwarding DNS queries for the domain name that you specified in the
757
- # resolver rule.
1089
+ # Resolver rule.
758
1090
  #
759
1091
  # @option params [required, String] :vpc_id
760
- # The ID of the VPC that you want to disassociate the resolver rule
1092
+ # The ID of the VPC that you want to disassociate the Resolver rule
761
1093
  # from.
762
1094
  #
763
1095
  # @option params [required, String] :resolver_rule_id
764
- # The ID of the resolver rule that you want to disassociate from the
1096
+ # The ID of the Resolver rule that you want to disassociate from the
765
1097
  # specified VPC.
766
1098
  #
767
1099
  # @return [Types::DisassociateResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -793,12 +1125,12 @@ module Aws::Route53Resolver
793
1125
  req.send_request(options)
794
1126
  end
795
1127
 
796
- # Gets information about a specified resolver endpoint, such as whether
797
- # it's an inbound or an outbound resolver endpoint, and the current
1128
+ # Gets information about a specified Resolver endpoint, such as whether
1129
+ # it's an inbound or an outbound Resolver endpoint, and the current
798
1130
  # status of the endpoint.
799
1131
  #
800
1132
  # @option params [required, String] :resolver_endpoint_id
801
- # The ID of the resolver endpoint that you want to get information
1133
+ # The ID of the Resolver endpoint that you want to get information
802
1134
  # about.
803
1135
  #
804
1136
  # @return [Types::GetResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -836,12 +1168,121 @@ module Aws::Route53Resolver
836
1168
  req.send_request(options)
837
1169
  end
838
1170
 
839
- # Gets information about a specified resolver rule, such as the domain
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
840
1281
  # name that the rule forwards DNS queries for and the ID of the outbound
841
- # resolver endpoint that the rule is associated with.
1282
+ # Resolver endpoint that the rule is associated with.
842
1283
  #
843
1284
  # @option params [required, String] :resolver_rule_id
844
- # The ID of the resolver rule that you want to get information about.
1285
+ # The ID of the Resolver rule that you want to get information about.
845
1286
  #
846
1287
  # @return [Types::GetResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
847
1288
  #
@@ -869,6 +1310,8 @@ module Aws::Route53Resolver
869
1310
  # resp.resolver_rule.resolver_endpoint_id #=> String
870
1311
  # resp.resolver_rule.owner_id #=> String
871
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
872
1315
  #
873
1316
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRule AWS API Documentation
874
1317
  #
@@ -879,12 +1322,16 @@ module Aws::Route53Resolver
879
1322
  req.send_request(options)
880
1323
  end
881
1324
 
882
- # Gets information about an association between a specified resolver
883
- # rule and a VPC. You associate a resolver rule and a VPC using
884
- # 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
885
1332
  #
886
1333
  # @option params [required, String] :resolver_rule_association_id
887
- # The ID of the resolver rule association that you want to get
1334
+ # The ID of the Resolver rule association that you want to get
888
1335
  # information about.
889
1336
  #
890
1337
  # @return [Types::GetResolverRuleAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -915,12 +1362,12 @@ module Aws::Route53Resolver
915
1362
  req.send_request(options)
916
1363
  end
917
1364
 
918
- # Gets information about a resolver rule policy. A resolver rule policy
1365
+ # Gets information about a Resolver rule policy. A Resolver rule policy
919
1366
  # specifies the Resolver operations and resources that you want to allow
920
1367
  # another AWS account to be able to use.
921
1368
  #
922
1369
  # @option params [required, String] :arn
923
- # The ID of the resolver rule policy that you want to get information
1370
+ # The ID of the Resolver rule policy that you want to get information
924
1371
  # about.
925
1372
  #
926
1373
  # @return [Types::GetResolverRulePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -946,10 +1393,10 @@ module Aws::Route53Resolver
946
1393
  req.send_request(options)
947
1394
  end
948
1395
 
949
- # Gets the IP addresses for a specified resolver endpoint.
1396
+ # Gets the IP addresses for a specified Resolver endpoint.
950
1397
  #
951
1398
  # @option params [required, String] :resolver_endpoint_id
952
- # The ID of the resolver endpoint that you want to get IP addresses for.
1399
+ # The ID of the Resolver endpoint that you want to get IP addresses for.
953
1400
  #
954
1401
  # @option params [Integer] :max_results
955
1402
  # The maximum number of IP addresses that you want to return in the
@@ -961,7 +1408,7 @@ module Aws::Route53Resolver
961
1408
  # For the first `ListResolverEndpointIpAddresses` request, omit this
962
1409
  # value.
963
1410
  #
964
- # If the specified resolver endpoint has more than `MaxResults` IP
1411
+ # If the specified Resolver endpoint has more than `MaxResults` IP
965
1412
  # addresses, you can submit another `ListResolverEndpointIpAddresses`
966
1413
  # request to get the next group of IP addresses. In the next request,
967
1414
  # specify the value of `NextToken` from the previous response.
@@ -1004,26 +1451,26 @@ module Aws::Route53Resolver
1004
1451
  req.send_request(options)
1005
1452
  end
1006
1453
 
1007
- # Lists all the resolver endpoints that were created using the current
1454
+ # Lists all the Resolver endpoints that were created using the current
1008
1455
  # AWS account.
1009
1456
  #
1010
1457
  # @option params [Integer] :max_results
1011
- # The maximum number of resolver endpoints that you want to return in
1458
+ # The maximum number of Resolver endpoints that you want to return in
1012
1459
  # the response to a `ListResolverEndpoints` request. If you don't
1013
- # specify a value for `MaxResults`, Resolver returns up to 100 resolver
1460
+ # specify a value for `MaxResults`, Resolver returns up to 100 Resolver
1014
1461
  # endpoints.
1015
1462
  #
1016
1463
  # @option params [String] :next_token
1017
1464
  # For the first `ListResolverEndpoints` request, omit this value.
1018
1465
  #
1019
- # If you have more than `MaxResults` resolver endpoints, you can submit
1466
+ # If you have more than `MaxResults` Resolver endpoints, you can submit
1020
1467
  # another `ListResolverEndpoints` request to get the next group of
1021
- # resolver endpoints. In the next request, specify the value of
1468
+ # Resolver endpoints. In the next request, specify the value of
1022
1469
  # `NextToken` from the previous response.
1023
1470
  #
1024
1471
  # @option params [Array<Types::Filter>] :filters
1025
- # An optional specification to return a subset of resolver endpoints,
1026
- # such as all inbound resolver endpoints.
1472
+ # An optional specification to return a subset of Resolver endpoints,
1473
+ # such as all inbound Resolver endpoints.
1027
1474
  #
1028
1475
  # <note markdown="1"> If you submit a second or subsequent `ListResolverEndpoints` request
1029
1476
  # and specify the `NextToken` parameter, you must use the same values
@@ -1080,7 +1527,294 @@ module Aws::Route53Resolver
1080
1527
  req.send_request(options)
1081
1528
  end
1082
1529
 
1083
- # Lists the associations that were created between resolver rules and
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&lt;Types::ResolverQueryLogConfigAssociation&gt;
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&lt;Types::ResolverQueryLogConfig&gt;
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
1084
1818
  # VPCs using the current AWS account.
1085
1819
  #
1086
1820
  # @option params [Integer] :max_results
@@ -1098,8 +1832,8 @@ module Aws::Route53Resolver
1098
1832
  # `NextToken` from the previous response.
1099
1833
  #
1100
1834
  # @option params [Array<Types::Filter>] :filters
1101
- # An optional specification to return a subset of resolver rules, such
1102
- # as resolver rules that are associated with the same VPC ID.
1835
+ # An optional specification to return a subset of Resolver rules, such
1836
+ # as Resolver rules that are associated with the same VPC ID.
1103
1837
  #
1104
1838
  # <note markdown="1"> If you submit a second or subsequent `ListResolverRuleAssociations`
1105
1839
  # request and specify the `NextToken` parameter, you must use the same
@@ -1149,25 +1883,25 @@ module Aws::Route53Resolver
1149
1883
  req.send_request(options)
1150
1884
  end
1151
1885
 
1152
- # Lists the resolver rules that were created using the current AWS
1886
+ # Lists the Resolver rules that were created using the current AWS
1153
1887
  # account.
1154
1888
  #
1155
1889
  # @option params [Integer] :max_results
1156
- # The maximum number of resolver rules that you want to return in the
1890
+ # The maximum number of Resolver rules that you want to return in the
1157
1891
  # response to a `ListResolverRules` request. If you don't specify a
1158
- # value for `MaxResults`, Resolver returns up to 100 resolver rules.
1892
+ # value for `MaxResults`, Resolver returns up to 100 Resolver rules.
1159
1893
  #
1160
1894
  # @option params [String] :next_token
1161
1895
  # For the first `ListResolverRules` request, omit this value.
1162
1896
  #
1163
- # If you have more than `MaxResults` resolver rules, you can submit
1164
- # another `ListResolverRules` request to get the next group of resolver
1897
+ # If you have more than `MaxResults` Resolver rules, you can submit
1898
+ # another `ListResolverRules` request to get the next group of Resolver
1165
1899
  # rules. In the next request, specify the value of `NextToken` from the
1166
1900
  # previous response.
1167
1901
  #
1168
1902
  # @option params [Array<Types::Filter>] :filters
1169
- # An optional specification to return a subset of resolver rules, such
1170
- # as all resolver rules that are associated with the same resolver
1903
+ # An optional specification to return a subset of Resolver rules, such
1904
+ # as all Resolver rules that are associated with the same Resolver
1171
1905
  # endpoint.
1172
1906
  #
1173
1907
  # <note markdown="1"> If you submit a second or subsequent `ListResolverRules` request and
@@ -1216,6 +1950,8 @@ module Aws::Route53Resolver
1216
1950
  # resp.resolver_rules[0].resolver_endpoint_id #=> String
1217
1951
  # resp.resolver_rules[0].owner_id #=> String
1218
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
1219
1955
  #
1220
1956
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRules AWS API Documentation
1221
1957
  #
@@ -1250,6 +1986,8 @@ module Aws::Route53Resolver
1250
1986
  # * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
1251
1987
  # * {Types::ListTagsForResourceResponse#next_token #next_token} => String
1252
1988
  #
1989
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1990
+ #
1253
1991
  # @example Request syntax with placeholder values
1254
1992
  #
1255
1993
  # resp = client.list_tags_for_resource({
@@ -1274,16 +2012,86 @@ module Aws::Route53Resolver
1274
2012
  req.send_request(options)
1275
2013
  end
1276
2014
 
1277
- # Specifies the Resolver operations and resources that you want to allow
1278
- # another AWS account to be able to use.
2015
+ # Specifies an AWS account that you want to share a query logging
2016
+ # configuration with, the query logging configuration that you want to
2017
+ # share, and the operations that you want the account to be able to
2018
+ # perform on the configuration.
2019
+ #
2020
+ # @option params [required, String] :arn
2021
+ # The Amazon Resource Name (ARN) of the account that you want to share
2022
+ # rules with.
2023
+ #
2024
+ # @option params [required, String] :resolver_query_log_config_policy
2025
+ # An AWS Identity and Access Management policy statement that lists the
2026
+ # query logging configurations that you want to share with another AWS
2027
+ # account and the operations that you want the account to be able to
2028
+ # perform. You can specify the following operations in the `Actions`
2029
+ # section of the statement:
2030
+ #
2031
+ # * `route53resolver:AssociateResolverQueryLogConfig`
2032
+ #
2033
+ # * `route53resolver:DisassociateResolverQueryLogConfig`
2034
+ #
2035
+ # * `route53resolver:ListResolverQueryLogConfigAssociations`
2036
+ #
2037
+ # * `route53resolver:ListResolverQueryLogConfigs`
2038
+ #
2039
+ # In the `Resource` section of the statement, you specify the ARNs for
2040
+ # the query logging configurations that you want to share with the
2041
+ # account that you specified in `Arn`.
2042
+ #
2043
+ # @return [Types::PutResolverQueryLogConfigPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2044
+ #
2045
+ # * {Types::PutResolverQueryLogConfigPolicyResponse#return_value #return_value} => Boolean
2046
+ #
2047
+ # @example Request syntax with placeholder values
2048
+ #
2049
+ # resp = client.put_resolver_query_log_config_policy({
2050
+ # arn: "Arn", # required
2051
+ # resolver_query_log_config_policy: "ResolverQueryLogConfigPolicy", # required
2052
+ # })
2053
+ #
2054
+ # @example Response structure
2055
+ #
2056
+ # resp.return_value #=> Boolean
2057
+ #
2058
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverQueryLogConfigPolicy AWS API Documentation
2059
+ #
2060
+ # @overload put_resolver_query_log_config_policy(params = {})
2061
+ # @param [Hash] params ({})
2062
+ def put_resolver_query_log_config_policy(params = {}, options = {})
2063
+ req = build_request(:put_resolver_query_log_config_policy, params)
2064
+ req.send_request(options)
2065
+ end
2066
+
2067
+ # Specifies an AWS account that you want to share rules with, the
2068
+ # Resolver rules that you want to share, and the operations that you
2069
+ # want the account to be able to perform on those rules.
1279
2070
  #
1280
2071
  # @option params [required, String] :arn
1281
- # The Amazon Resource Name (ARN) of the account that you want to grant
1282
- # permissions to.
2072
+ # The Amazon Resource Name (ARN) of the account that you want to share
2073
+ # rules with.
1283
2074
  #
1284
2075
  # @option params [required, String] :resolver_rule_policy
1285
2076
  # An AWS Identity and Access Management policy statement that lists the
1286
- # permissions that you want to grant to another AWS account.
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`.
1287
2095
  #
1288
2096
  # @return [Types::PutResolverRulePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1289
2097
  #
@@ -1316,17 +2124,26 @@ module Aws::Route53Resolver
1316
2124
  # tags to. To get the ARN for a resource, use the applicable `Get` or
1317
2125
  # `List` command:
1318
2126
  #
1319
- # * GetResolverEndpoint
2127
+ # * [GetResolverEndpoint][1]
2128
+ #
2129
+ # * [GetResolverRule][2]
1320
2130
  #
1321
- # * GetResolverRule
2131
+ # * [GetResolverRuleAssociation][3]
1322
2132
  #
1323
- # * GetResolverRuleAssociation
2133
+ # * [ListResolverEndpoints][4]
1324
2134
  #
1325
- # * ListResolverEndpoints
2135
+ # * [ListResolverRuleAssociations][5]
1326
2136
  #
1327
- # * ListResolverRuleAssociations
2137
+ # * [ListResolverRules][6]
1328
2138
  #
1329
- # * ListResolverRules
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
1330
2147
  #
1331
2148
  # @option params [required, Array<Types::Tag>] :tags
1332
2149
  # The tags that you want to add to the specified resource.
@@ -1339,8 +2156,8 @@ module Aws::Route53Resolver
1339
2156
  # resource_arn: "Arn", # required
1340
2157
  # tags: [ # required
1341
2158
  # {
1342
- # key: "TagKey",
1343
- # value: "TagValue",
2159
+ # key: "TagKey", # required
2160
+ # value: "TagValue", # required
1344
2161
  # },
1345
2162
  # ],
1346
2163
  # })
@@ -1361,17 +2178,26 @@ module Aws::Route53Resolver
1361
2178
  # remove tags from. To get the ARN for a resource, use the applicable
1362
2179
  # `Get` or `List` command:
1363
2180
  #
1364
- # * GetResolverEndpoint
2181
+ # * [GetResolverEndpoint][1]
2182
+ #
2183
+ # * [GetResolverRule][2]
2184
+ #
2185
+ # * [GetResolverRuleAssociation][3]
2186
+ #
2187
+ # * [ListResolverEndpoints][4]
1365
2188
  #
1366
- # * GetResolverRule
2189
+ # * [ListResolverRuleAssociations][5]
1367
2190
  #
1368
- # * GetResolverRuleAssociation
2191
+ # * [ListResolverRules][6]
1369
2192
  #
1370
- # * ListResolverEndpoints
1371
2193
  #
1372
- # * ListResolverRuleAssociations
1373
2194
  #
1374
- # * ListResolverRules
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
1375
2201
  #
1376
2202
  # @option params [required, Array<String>] :tag_keys
1377
2203
  # The tags that you want to remove to the specified resource.
@@ -1394,13 +2220,13 @@ module Aws::Route53Resolver
1394
2220
  req.send_request(options)
1395
2221
  end
1396
2222
 
1397
- # Updates the name of an inbound or an outbound resolver endpoint.
2223
+ # Updates the name of an inbound or an outbound Resolver endpoint.
1398
2224
  #
1399
2225
  # @option params [required, String] :resolver_endpoint_id
1400
- # The ID of the resolver endpoint that you want to update.
2226
+ # The ID of the Resolver endpoint that you want to update.
1401
2227
  #
1402
2228
  # @option params [String] :name
1403
- # The name of the resolver endpoint that you want to update.
2229
+ # The name of the Resolver endpoint that you want to update.
1404
2230
  #
1405
2231
  # @return [Types::UpdateResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1406
2232
  #
@@ -1438,15 +2264,15 @@ module Aws::Route53Resolver
1438
2264
  req.send_request(options)
1439
2265
  end
1440
2266
 
1441
- # Updates settings for a specified resolver rule. `ResolverRuleId` is
2267
+ # Updates settings for a specified Resolver rule. `ResolverRuleId` is
1442
2268
  # required, and all other parameters are optional. If you don't specify
1443
2269
  # a parameter, it retains its current value.
1444
2270
  #
1445
2271
  # @option params [required, String] :resolver_rule_id
1446
- # The ID of the resolver rule that you want to update.
2272
+ # The ID of the Resolver rule that you want to update.
1447
2273
  #
1448
2274
  # @option params [required, Types::ResolverRuleConfig] :config
1449
- # The new settings for the resolver rule.
2275
+ # The new settings for the Resolver rule.
1450
2276
  #
1451
2277
  # @return [Types::UpdateResolverRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1452
2278
  #
@@ -1484,6 +2310,8 @@ module Aws::Route53Resolver
1484
2310
  # resp.resolver_rule.resolver_endpoint_id #=> String
1485
2311
  # resp.resolver_rule.owner_id #=> String
1486
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
1487
2315
  #
1488
2316
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRule AWS API Documentation
1489
2317
  #
@@ -1507,7 +2335,7 @@ module Aws::Route53Resolver
1507
2335
  params: params,
1508
2336
  config: config)
1509
2337
  context[:gem_name] = 'aws-sdk-route53resolver'
1510
- context[:gem_version] = '1.14.0'
2338
+ context[:gem_version] = '1.19.0'
1511
2339
  Seahorse::Client::Request.new(handlers, context)
1512
2340
  end
1513
2341