aws-sdk-route53resolver 1.31.0 → 1.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-route53resolver/client.rb +136 -1
- data/lib/aws-sdk-route53resolver/client_api.rb +89 -0
- data/lib/aws-sdk-route53resolver/types.rb +197 -0
- data/lib/aws-sdk-route53resolver.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0761a3f1fca43c12353e7ba373b66365131ceddfe78e1f16fbd26bc3390fe26a
|
4
|
+
data.tar.gz: 4e31e71b0a8077b5c9e8b974274cde8a765a0971055e97963d0488bbd79761ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ed5c46d0203d9d21c2093e42e86eb5f0aa3f804de824457416c4f4433421e459ee434bdef790eea6bda44e138b2aa194f2b769f06b589b6fa0133278e1cc3d6
|
7
|
+
data.tar.gz: 77c06f86ecaf9a74d3a717dca6d4ff907bfdbfe8d5c875b6f60b14d9fd3c4500e676329ee2b31a35d9366447611a7950ecb6ed5046c36a5082807e1ed6bbcbc4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.32.0 (2021-10-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - New API for ResolverConfig, which allows autodefined rules for reverse DNS resolution to be disabled for a VPC
|
8
|
+
|
4
9
|
1.31.0 (2021-10-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.32.0
|
@@ -1802,6 +1802,38 @@ module Aws::Route53Resolver
|
|
1802
1802
|
req.send_request(options)
|
1803
1803
|
end
|
1804
1804
|
|
1805
|
+
# Retrieves the behavior configuration of Route 53 Resolver behavior for
|
1806
|
+
# a single VPC from Amazon Virtual Private Cloud.
|
1807
|
+
#
|
1808
|
+
# @option params [required, String] :resource_id
|
1809
|
+
# Resource ID of the Amazon VPC that you want to get information about.
|
1810
|
+
#
|
1811
|
+
# @return [Types::GetResolverConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1812
|
+
#
|
1813
|
+
# * {Types::GetResolverConfigResponse#resolver_config #resolver_config} => Types::ResolverConfig
|
1814
|
+
#
|
1815
|
+
# @example Request syntax with placeholder values
|
1816
|
+
#
|
1817
|
+
# resp = client.get_resolver_config({
|
1818
|
+
# resource_id: "ResourceId", # required
|
1819
|
+
# })
|
1820
|
+
#
|
1821
|
+
# @example Response structure
|
1822
|
+
#
|
1823
|
+
# resp.resolver_config.id #=> String
|
1824
|
+
# resp.resolver_config.resource_id #=> String
|
1825
|
+
# resp.resolver_config.owner_id #=> String
|
1826
|
+
# resp.resolver_config.autodefined_reverse #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1827
|
+
#
|
1828
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverConfig AWS API Documentation
|
1829
|
+
#
|
1830
|
+
# @overload get_resolver_config(params = {})
|
1831
|
+
# @param [Hash] params ({})
|
1832
|
+
def get_resolver_config(params = {}, options = {})
|
1833
|
+
req = build_request(:get_resolver_config, params)
|
1834
|
+
req.send_request(options)
|
1835
|
+
end
|
1836
|
+
|
1805
1837
|
# Gets DNSSEC validation information for a specified resource.
|
1806
1838
|
#
|
1807
1839
|
# @option params [required, String] :resource_id
|
@@ -2579,6 +2611,59 @@ module Aws::Route53Resolver
|
|
2579
2611
|
req.send_request(options)
|
2580
2612
|
end
|
2581
2613
|
|
2614
|
+
# Retrieves the Resolver configurations that you have defined. Route 53
|
2615
|
+
# Resolver uses the configurations to manage DNS resolution behavior for
|
2616
|
+
# your VPCs.
|
2617
|
+
#
|
2618
|
+
# @option params [Integer] :max_results
|
2619
|
+
# The maximum number of Resolver configurations that you want to return
|
2620
|
+
# in the response to a `ListResolverConfigs` request. If you don't
|
2621
|
+
# specify a value for `MaxResults`, up to 100 Resolver configurations
|
2622
|
+
# are returned.
|
2623
|
+
#
|
2624
|
+
# @option params [String] :next_token
|
2625
|
+
# (Optional) If the current Amazon Web Services account has more than
|
2626
|
+
# `MaxResults` Resolver configurations, use `NextToken` to get the
|
2627
|
+
# second and subsequent pages of results.
|
2628
|
+
#
|
2629
|
+
# For the first `ListResolverConfigs` request, omit this value.
|
2630
|
+
#
|
2631
|
+
# For the second and subsequent requests, get the value of `NextToken`
|
2632
|
+
# from the previous response and specify that value for `NextToken` in
|
2633
|
+
# the request.
|
2634
|
+
#
|
2635
|
+
# @return [Types::ListResolverConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2636
|
+
#
|
2637
|
+
# * {Types::ListResolverConfigsResponse#next_token #next_token} => String
|
2638
|
+
# * {Types::ListResolverConfigsResponse#resolver_configs #resolver_configs} => Array<Types::ResolverConfig>
|
2639
|
+
#
|
2640
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2641
|
+
#
|
2642
|
+
# @example Request syntax with placeholder values
|
2643
|
+
#
|
2644
|
+
# resp = client.list_resolver_configs({
|
2645
|
+
# max_results: 1,
|
2646
|
+
# next_token: "NextToken",
|
2647
|
+
# })
|
2648
|
+
#
|
2649
|
+
# @example Response structure
|
2650
|
+
#
|
2651
|
+
# resp.next_token #=> String
|
2652
|
+
# resp.resolver_configs #=> Array
|
2653
|
+
# resp.resolver_configs[0].id #=> String
|
2654
|
+
# resp.resolver_configs[0].resource_id #=> String
|
2655
|
+
# resp.resolver_configs[0].owner_id #=> String
|
2656
|
+
# resp.resolver_configs[0].autodefined_reverse #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
2657
|
+
#
|
2658
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverConfigs AWS API Documentation
|
2659
|
+
#
|
2660
|
+
# @overload list_resolver_configs(params = {})
|
2661
|
+
# @param [Hash] params ({})
|
2662
|
+
def list_resolver_configs(params = {}, options = {})
|
2663
|
+
req = build_request(:list_resolver_configs, params)
|
2664
|
+
req.send_request(options)
|
2665
|
+
end
|
2666
|
+
|
2582
2667
|
# Lists the configurations for DNSSEC validation that are associated
|
2583
2668
|
# with the current Amazon Web Services account.
|
2584
2669
|
#
|
@@ -3785,6 +3870,56 @@ module Aws::Route53Resolver
|
|
3785
3870
|
req.send_request(options)
|
3786
3871
|
end
|
3787
3872
|
|
3873
|
+
# Updates the behavior configuration of Route 53 Resolver behavior for a
|
3874
|
+
# single VPC from Amazon Virtual Private Cloud.
|
3875
|
+
#
|
3876
|
+
# @option params [required, String] :resource_id
|
3877
|
+
# Resource ID of the Amazon VPC that you want to update the Resolver
|
3878
|
+
# configuration for.
|
3879
|
+
#
|
3880
|
+
# @option params [required, String] :autodefined_reverse_flag
|
3881
|
+
# Indicates whether or not the Resolver will create autodefined rules
|
3882
|
+
# for reverse DNS lookups. This is enabled by default. Disabling this
|
3883
|
+
# option will also affect EC2-Classic instances using ClassicLink. For
|
3884
|
+
# more information, see [ClassicLink][1] in the *Amazon EC2 guide*.
|
3885
|
+
#
|
3886
|
+
# <note markdown="1"> It can take some time for the status change to be completed.
|
3887
|
+
#
|
3888
|
+
# </note>
|
3889
|
+
#
|
3890
|
+
#
|
3891
|
+
#
|
3892
|
+
#
|
3893
|
+
#
|
3894
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
3895
|
+
#
|
3896
|
+
# @return [Types::UpdateResolverConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3897
|
+
#
|
3898
|
+
# * {Types::UpdateResolverConfigResponse#resolver_config #resolver_config} => Types::ResolverConfig
|
3899
|
+
#
|
3900
|
+
# @example Request syntax with placeholder values
|
3901
|
+
#
|
3902
|
+
# resp = client.update_resolver_config({
|
3903
|
+
# resource_id: "ResourceId", # required
|
3904
|
+
# autodefined_reverse_flag: "ENABLE", # required, accepts ENABLE, DISABLE
|
3905
|
+
# })
|
3906
|
+
#
|
3907
|
+
# @example Response structure
|
3908
|
+
#
|
3909
|
+
# resp.resolver_config.id #=> String
|
3910
|
+
# resp.resolver_config.resource_id #=> String
|
3911
|
+
# resp.resolver_config.owner_id #=> String
|
3912
|
+
# resp.resolver_config.autodefined_reverse #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
3913
|
+
#
|
3914
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverConfig AWS API Documentation
|
3915
|
+
#
|
3916
|
+
# @overload update_resolver_config(params = {})
|
3917
|
+
# @param [Hash] params ({})
|
3918
|
+
def update_resolver_config(params = {}, options = {})
|
3919
|
+
req = build_request(:update_resolver_config, params)
|
3920
|
+
req.send_request(options)
|
3921
|
+
end
|
3922
|
+
|
3788
3923
|
# Updates an existing DNSSEC validation configuration. If there is no
|
3789
3924
|
# existing DNSSEC validation configuration, one is created.
|
3790
3925
|
#
|
@@ -3939,7 +4074,7 @@ module Aws::Route53Resolver
|
|
3939
4074
|
params: params,
|
3940
4075
|
config: config)
|
3941
4076
|
context[:gem_name] = 'aws-sdk-route53resolver'
|
3942
|
-
context[:gem_version] = '1.
|
4077
|
+
context[:gem_version] = '1.32.0'
|
3943
4078
|
Seahorse::Client::Request.new(handlers, context)
|
3944
4079
|
end
|
3945
4080
|
|
@@ -25,6 +25,7 @@ module Aws::Route53Resolver
|
|
25
25
|
AssociateResolverQueryLogConfigResponse = Shapes::StructureShape.new(name: 'AssociateResolverQueryLogConfigResponse')
|
26
26
|
AssociateResolverRuleRequest = Shapes::StructureShape.new(name: 'AssociateResolverRuleRequest')
|
27
27
|
AssociateResolverRuleResponse = Shapes::StructureShape.new(name: 'AssociateResolverRuleResponse')
|
28
|
+
AutodefinedReverseFlag = Shapes::StringShape.new(name: 'AutodefinedReverseFlag')
|
28
29
|
BlockOverrideDnsType = Shapes::StringShape.new(name: 'BlockOverrideDnsType')
|
29
30
|
BlockOverrideDomain = Shapes::StringShape.new(name: 'BlockOverrideDomain')
|
30
31
|
BlockOverrideTtl = Shapes::IntegerShape.new(name: 'BlockOverrideTtl')
|
@@ -105,6 +106,8 @@ module Aws::Route53Resolver
|
|
105
106
|
GetFirewallRuleGroupPolicyResponse = Shapes::StructureShape.new(name: 'GetFirewallRuleGroupPolicyResponse')
|
106
107
|
GetFirewallRuleGroupRequest = Shapes::StructureShape.new(name: 'GetFirewallRuleGroupRequest')
|
107
108
|
GetFirewallRuleGroupResponse = Shapes::StructureShape.new(name: 'GetFirewallRuleGroupResponse')
|
109
|
+
GetResolverConfigRequest = Shapes::StructureShape.new(name: 'GetResolverConfigRequest')
|
110
|
+
GetResolverConfigResponse = Shapes::StructureShape.new(name: 'GetResolverConfigResponse')
|
108
111
|
GetResolverDnssecConfigRequest = Shapes::StructureShape.new(name: 'GetResolverDnssecConfigRequest')
|
109
112
|
GetResolverDnssecConfigResponse = Shapes::StructureShape.new(name: 'GetResolverDnssecConfigResponse')
|
110
113
|
GetResolverEndpointRequest = Shapes::StructureShape.new(name: 'GetResolverEndpointRequest')
|
@@ -152,6 +155,9 @@ module Aws::Route53Resolver
|
|
152
155
|
ListFirewallRuleGroupsResponse = Shapes::StructureShape.new(name: 'ListFirewallRuleGroupsResponse')
|
153
156
|
ListFirewallRulesRequest = Shapes::StructureShape.new(name: 'ListFirewallRulesRequest')
|
154
157
|
ListFirewallRulesResponse = Shapes::StructureShape.new(name: 'ListFirewallRulesResponse')
|
158
|
+
ListResolverConfigsMaxResult = Shapes::IntegerShape.new(name: 'ListResolverConfigsMaxResult')
|
159
|
+
ListResolverConfigsRequest = Shapes::StructureShape.new(name: 'ListResolverConfigsRequest')
|
160
|
+
ListResolverConfigsResponse = Shapes::StructureShape.new(name: 'ListResolverConfigsResponse')
|
155
161
|
ListResolverDnssecConfigsRequest = Shapes::StructureShape.new(name: 'ListResolverDnssecConfigsRequest')
|
156
162
|
ListResolverDnssecConfigsResponse = Shapes::StructureShape.new(name: 'ListResolverDnssecConfigsResponse')
|
157
163
|
ListResolverEndpointIpAddressesRequest = Shapes::StructureShape.new(name: 'ListResolverEndpointIpAddressesRequest')
|
@@ -180,6 +186,9 @@ module Aws::Route53Resolver
|
|
180
186
|
PutResolverQueryLogConfigPolicyResponse = Shapes::StructureShape.new(name: 'PutResolverQueryLogConfigPolicyResponse')
|
181
187
|
PutResolverRulePolicyRequest = Shapes::StructureShape.new(name: 'PutResolverRulePolicyRequest')
|
182
188
|
PutResolverRulePolicyResponse = Shapes::StructureShape.new(name: 'PutResolverRulePolicyResponse')
|
189
|
+
ResolverAutodefinedReverseStatus = Shapes::StringShape.new(name: 'ResolverAutodefinedReverseStatus')
|
190
|
+
ResolverConfig = Shapes::StructureShape.new(name: 'ResolverConfig')
|
191
|
+
ResolverConfigList = Shapes::ListShape.new(name: 'ResolverConfigList')
|
183
192
|
ResolverDNSSECValidationStatus = Shapes::StringShape.new(name: 'ResolverDNSSECValidationStatus')
|
184
193
|
ResolverDnssecConfig = Shapes::StructureShape.new(name: 'ResolverDnssecConfig')
|
185
194
|
ResolverDnssecConfigList = Shapes::ListShape.new(name: 'ResolverDnssecConfigList')
|
@@ -242,6 +251,8 @@ module Aws::Route53Resolver
|
|
242
251
|
UpdateFirewallRuleGroupAssociationResponse = Shapes::StructureShape.new(name: 'UpdateFirewallRuleGroupAssociationResponse')
|
243
252
|
UpdateFirewallRuleRequest = Shapes::StructureShape.new(name: 'UpdateFirewallRuleRequest')
|
244
253
|
UpdateFirewallRuleResponse = Shapes::StructureShape.new(name: 'UpdateFirewallRuleResponse')
|
254
|
+
UpdateResolverConfigRequest = Shapes::StructureShape.new(name: 'UpdateResolverConfigRequest')
|
255
|
+
UpdateResolverConfigResponse = Shapes::StructureShape.new(name: 'UpdateResolverConfigResponse')
|
245
256
|
UpdateResolverDnssecConfigRequest = Shapes::StructureShape.new(name: 'UpdateResolverDnssecConfigRequest')
|
246
257
|
UpdateResolverDnssecConfigResponse = Shapes::StructureShape.new(name: 'UpdateResolverDnssecConfigResponse')
|
247
258
|
UpdateResolverEndpointRequest = Shapes::StructureShape.new(name: 'UpdateResolverEndpointRequest')
|
@@ -543,6 +554,12 @@ module Aws::Route53Resolver
|
|
543
554
|
GetFirewallRuleGroupResponse.add_member(:firewall_rule_group, Shapes::ShapeRef.new(shape: FirewallRuleGroup, location_name: "FirewallRuleGroup"))
|
544
555
|
GetFirewallRuleGroupResponse.struct_class = Types::GetFirewallRuleGroupResponse
|
545
556
|
|
557
|
+
GetResolverConfigRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
|
558
|
+
GetResolverConfigRequest.struct_class = Types::GetResolverConfigRequest
|
559
|
+
|
560
|
+
GetResolverConfigResponse.add_member(:resolver_config, Shapes::ShapeRef.new(shape: ResolverConfig, location_name: "ResolverConfig"))
|
561
|
+
GetResolverConfigResponse.struct_class = Types::GetResolverConfigResponse
|
562
|
+
|
546
563
|
GetResolverDnssecConfigRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
|
547
564
|
GetResolverDnssecConfigRequest.struct_class = Types::GetResolverDnssecConfigRequest
|
548
565
|
|
@@ -703,6 +720,14 @@ module Aws::Route53Resolver
|
|
703
720
|
ListFirewallRulesResponse.add_member(:firewall_rules, Shapes::ShapeRef.new(shape: FirewallRules, location_name: "FirewallRules"))
|
704
721
|
ListFirewallRulesResponse.struct_class = Types::ListFirewallRulesResponse
|
705
722
|
|
723
|
+
ListResolverConfigsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListResolverConfigsMaxResult, location_name: "MaxResults", metadata: {"box"=>true}))
|
724
|
+
ListResolverConfigsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken", metadata: {"box"=>true}))
|
725
|
+
ListResolverConfigsRequest.struct_class = Types::ListResolverConfigsRequest
|
726
|
+
|
727
|
+
ListResolverConfigsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
728
|
+
ListResolverConfigsResponse.add_member(:resolver_configs, Shapes::ShapeRef.new(shape: ResolverConfigList, location_name: "ResolverConfigs"))
|
729
|
+
ListResolverConfigsResponse.struct_class = Types::ListResolverConfigsResponse
|
730
|
+
|
706
731
|
ListResolverDnssecConfigsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
707
732
|
ListResolverDnssecConfigsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken", metadata: {"box"=>true}))
|
708
733
|
ListResolverDnssecConfigsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters", metadata: {"box"=>true}))
|
@@ -808,6 +833,14 @@ module Aws::Route53Resolver
|
|
808
833
|
PutResolverRulePolicyResponse.add_member(:return_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReturnValue"))
|
809
834
|
PutResolverRulePolicyResponse.struct_class = Types::PutResolverRulePolicyResponse
|
810
835
|
|
836
|
+
ResolverConfig.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
|
837
|
+
ResolverConfig.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
|
838
|
+
ResolverConfig.add_member(:owner_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "OwnerId"))
|
839
|
+
ResolverConfig.add_member(:autodefined_reverse, Shapes::ShapeRef.new(shape: ResolverAutodefinedReverseStatus, location_name: "AutodefinedReverse"))
|
840
|
+
ResolverConfig.struct_class = Types::ResolverConfig
|
841
|
+
|
842
|
+
ResolverConfigList.member = Shapes::ShapeRef.new(shape: ResolverConfig)
|
843
|
+
|
811
844
|
ResolverDnssecConfig.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
|
812
845
|
ResolverDnssecConfig.add_member(:owner_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "OwnerId"))
|
813
846
|
ResolverDnssecConfig.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
|
@@ -981,6 +1014,13 @@ module Aws::Route53Resolver
|
|
981
1014
|
UpdateFirewallRuleResponse.add_member(:firewall_rule, Shapes::ShapeRef.new(shape: FirewallRule, location_name: "FirewallRule"))
|
982
1015
|
UpdateFirewallRuleResponse.struct_class = Types::UpdateFirewallRuleResponse
|
983
1016
|
|
1017
|
+
UpdateResolverConfigRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
|
1018
|
+
UpdateResolverConfigRequest.add_member(:autodefined_reverse_flag, Shapes::ShapeRef.new(shape: AutodefinedReverseFlag, required: true, location_name: "AutodefinedReverseFlag"))
|
1019
|
+
UpdateResolverConfigRequest.struct_class = Types::UpdateResolverConfigRequest
|
1020
|
+
|
1021
|
+
UpdateResolverConfigResponse.add_member(:resolver_config, Shapes::ShapeRef.new(shape: ResolverConfig, location_name: "ResolverConfig"))
|
1022
|
+
UpdateResolverConfigResponse.struct_class = Types::UpdateResolverConfigResponse
|
1023
|
+
|
984
1024
|
UpdateResolverDnssecConfigRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
|
985
1025
|
UpdateResolverDnssecConfigRequest.add_member(:validation, Shapes::ShapeRef.new(shape: Validation, required: true, location_name: "Validation"))
|
986
1026
|
UpdateResolverDnssecConfigRequest.struct_class = Types::UpdateResolverDnssecConfigRequest
|
@@ -1368,6 +1408,19 @@ module Aws::Route53Resolver
|
|
1368
1408
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1369
1409
|
end)
|
1370
1410
|
|
1411
|
+
api.add_operation(:get_resolver_config, Seahorse::Model::Operation.new.tap do |o|
|
1412
|
+
o.name = "GetResolverConfig"
|
1413
|
+
o.http_method = "POST"
|
1414
|
+
o.http_request_uri = "/"
|
1415
|
+
o.input = Shapes::ShapeRef.new(shape: GetResolverConfigRequest)
|
1416
|
+
o.output = Shapes::ShapeRef.new(shape: GetResolverConfigResponse)
|
1417
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1418
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1419
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
1420
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1421
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1422
|
+
end)
|
1423
|
+
|
1371
1424
|
api.add_operation(:get_resolver_dnssec_config, Seahorse::Model::Operation.new.tap do |o|
|
1372
1425
|
o.name = "GetResolverDnssecConfig"
|
1373
1426
|
o.http_method = "POST"
|
@@ -1595,6 +1648,26 @@ module Aws::Route53Resolver
|
|
1595
1648
|
)
|
1596
1649
|
end)
|
1597
1650
|
|
1651
|
+
api.add_operation(:list_resolver_configs, Seahorse::Model::Operation.new.tap do |o|
|
1652
|
+
o.name = "ListResolverConfigs"
|
1653
|
+
o.http_method = "POST"
|
1654
|
+
o.http_request_uri = "/"
|
1655
|
+
o.input = Shapes::ShapeRef.new(shape: ListResolverConfigsRequest)
|
1656
|
+
o.output = Shapes::ShapeRef.new(shape: ListResolverConfigsResponse)
|
1657
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1658
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1659
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1660
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
1661
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1662
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1663
|
+
o[:pager] = Aws::Pager.new(
|
1664
|
+
limit_key: "max_results",
|
1665
|
+
tokens: {
|
1666
|
+
"next_token" => "next_token"
|
1667
|
+
}
|
1668
|
+
)
|
1669
|
+
end)
|
1670
|
+
|
1598
1671
|
api.add_operation(:list_resolver_dnssec_configs, Seahorse::Model::Operation.new.tap do |o|
|
1599
1672
|
o.name = "ListResolverDnssecConfigs"
|
1600
1673
|
o.http_method = "POST"
|
@@ -1874,6 +1947,22 @@ module Aws::Route53Resolver
|
|
1874
1947
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1875
1948
|
end)
|
1876
1949
|
|
1950
|
+
api.add_operation(:update_resolver_config, Seahorse::Model::Operation.new.tap do |o|
|
1951
|
+
o.name = "UpdateResolverConfig"
|
1952
|
+
o.http_method = "POST"
|
1953
|
+
o.http_request_uri = "/"
|
1954
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateResolverConfigRequest)
|
1955
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateResolverConfigResponse)
|
1956
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1957
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1958
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1959
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
1960
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1961
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
1962
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1963
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1964
|
+
end)
|
1965
|
+
|
1877
1966
|
api.add_operation(:update_resolver_dnssec_config, Seahorse::Model::Operation.new.tap do |o|
|
1878
1967
|
o.name = "UpdateResolverDnssecConfig"
|
1879
1968
|
o.http_method = "POST"
|
@@ -2015,6 +2015,40 @@ module Aws::Route53Resolver
|
|
2015
2015
|
include Aws::Structure
|
2016
2016
|
end
|
2017
2017
|
|
2018
|
+
# @note When making an API call, you may pass GetResolverConfigRequest
|
2019
|
+
# data as a hash:
|
2020
|
+
#
|
2021
|
+
# {
|
2022
|
+
# resource_id: "ResourceId", # required
|
2023
|
+
# }
|
2024
|
+
#
|
2025
|
+
# @!attribute [rw] resource_id
|
2026
|
+
# Resource ID of the Amazon VPC that you want to get information
|
2027
|
+
# about.
|
2028
|
+
# @return [String]
|
2029
|
+
#
|
2030
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverConfigRequest AWS API Documentation
|
2031
|
+
#
|
2032
|
+
class GetResolverConfigRequest < Struct.new(
|
2033
|
+
:resource_id)
|
2034
|
+
SENSITIVE = []
|
2035
|
+
include Aws::Structure
|
2036
|
+
end
|
2037
|
+
|
2038
|
+
# @!attribute [rw] resolver_config
|
2039
|
+
# Information about the behavior configuration of Route 53 Resolver
|
2040
|
+
# behavior for the VPC you specified in the `GetResolverConfig`
|
2041
|
+
# request.
|
2042
|
+
# @return [Types::ResolverConfig]
|
2043
|
+
#
|
2044
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverConfigResponse AWS API Documentation
|
2045
|
+
#
|
2046
|
+
class GetResolverConfigResponse < Struct.new(
|
2047
|
+
:resolver_config)
|
2048
|
+
SENSITIVE = []
|
2049
|
+
include Aws::Structure
|
2050
|
+
end
|
2051
|
+
|
2018
2052
|
# @note When making an API call, you may pass GetResolverDnssecConfigRequest
|
2019
2053
|
# data as a hash:
|
2020
2054
|
#
|
@@ -3011,6 +3045,69 @@ module Aws::Route53Resolver
|
|
3011
3045
|
include Aws::Structure
|
3012
3046
|
end
|
3013
3047
|
|
3048
|
+
# @note When making an API call, you may pass ListResolverConfigsRequest
|
3049
|
+
# data as a hash:
|
3050
|
+
#
|
3051
|
+
# {
|
3052
|
+
# max_results: 1,
|
3053
|
+
# next_token: "NextToken",
|
3054
|
+
# }
|
3055
|
+
#
|
3056
|
+
# @!attribute [rw] max_results
|
3057
|
+
# The maximum number of Resolver configurations that you want to
|
3058
|
+
# return in the response to a `ListResolverConfigs` request. If you
|
3059
|
+
# don't specify a value for `MaxResults`, up to 100 Resolver
|
3060
|
+
# configurations are returned.
|
3061
|
+
# @return [Integer]
|
3062
|
+
#
|
3063
|
+
# @!attribute [rw] next_token
|
3064
|
+
# (Optional) If the current Amazon Web Services account has more than
|
3065
|
+
# `MaxResults` Resolver configurations, use `NextToken` to get the
|
3066
|
+
# second and subsequent pages of results.
|
3067
|
+
#
|
3068
|
+
# For the first `ListResolverConfigs` request, omit this value.
|
3069
|
+
#
|
3070
|
+
# For the second and subsequent requests, get the value of `NextToken`
|
3071
|
+
# from the previous response and specify that value for `NextToken` in
|
3072
|
+
# the request.
|
3073
|
+
# @return [String]
|
3074
|
+
#
|
3075
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverConfigsRequest AWS API Documentation
|
3076
|
+
#
|
3077
|
+
class ListResolverConfigsRequest < Struct.new(
|
3078
|
+
:max_results,
|
3079
|
+
:next_token)
|
3080
|
+
SENSITIVE = []
|
3081
|
+
include Aws::Structure
|
3082
|
+
end
|
3083
|
+
|
3084
|
+
# @!attribute [rw] next_token
|
3085
|
+
# If a response includes the last of the Resolver configurations that
|
3086
|
+
# are associated with the current Amazon Web Services account,
|
3087
|
+
# `NextToken` doesn't appear in the response.
|
3088
|
+
#
|
3089
|
+
# If a response doesn't include the last of the configurations, you
|
3090
|
+
# can get more configurations by submitting another
|
3091
|
+
# `ListResolverConfigs` request. Get the value of `NextToken` that
|
3092
|
+
# Amazon Route 53 returned in the previous response and include it in
|
3093
|
+
# `NextToken` in the next request.
|
3094
|
+
# @return [String]
|
3095
|
+
#
|
3096
|
+
# @!attribute [rw] resolver_configs
|
3097
|
+
# An array that contains one `ResolverConfigs` element for each
|
3098
|
+
# Resolver configuration that is associated with the current Amazon
|
3099
|
+
# Web Services account.
|
3100
|
+
# @return [Array<Types::ResolverConfig>]
|
3101
|
+
#
|
3102
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverConfigsResponse AWS API Documentation
|
3103
|
+
#
|
3104
|
+
class ListResolverConfigsResponse < Struct.new(
|
3105
|
+
:next_token,
|
3106
|
+
:resolver_configs)
|
3107
|
+
SENSITIVE = []
|
3108
|
+
include Aws::Structure
|
3109
|
+
end
|
3110
|
+
|
3014
3111
|
# @note When making an API call, you may pass ListResolverDnssecConfigsRequest
|
3015
3112
|
# data as a hash:
|
3016
3113
|
#
|
@@ -3942,6 +4039,54 @@ module Aws::Route53Resolver
|
|
3942
4039
|
include Aws::Structure
|
3943
4040
|
end
|
3944
4041
|
|
4042
|
+
# A complex type that contains information about a Resolver
|
4043
|
+
# configuration for a VPC.
|
4044
|
+
#
|
4045
|
+
# @!attribute [rw] id
|
4046
|
+
# ID for the Resolver configuration.
|
4047
|
+
# @return [String]
|
4048
|
+
#
|
4049
|
+
# @!attribute [rw] resource_id
|
4050
|
+
# The ID of the Amazon Virtual Private Cloud VPC that you're
|
4051
|
+
# configuring Resolver for.
|
4052
|
+
# @return [String]
|
4053
|
+
#
|
4054
|
+
# @!attribute [rw] owner_id
|
4055
|
+
# The owner account ID of the Amazon Virtual Private Cloud VPC.
|
4056
|
+
# @return [String]
|
4057
|
+
#
|
4058
|
+
# @!attribute [rw] autodefined_reverse
|
4059
|
+
# The status of whether or not the Resolver will create autodefined
|
4060
|
+
# rules for reverse DNS lookups. This is enabled by default. The
|
4061
|
+
# status can be one of following:
|
4062
|
+
#
|
4063
|
+
# Status of the rules generated by VPCs based on CIDR/Region for
|
4064
|
+
# reverse DNS resolution. The status can be one of following:
|
4065
|
+
#
|
4066
|
+
# * **ENABLING:** Autodefined rules for reverse DNS lookups are being
|
4067
|
+
# enabled but are not complete.
|
4068
|
+
#
|
4069
|
+
# * **ENABLED:** Autodefined rules for reverse DNS lookups are
|
4070
|
+
# enabled.
|
4071
|
+
#
|
4072
|
+
# * **DISABLING:** Autodefined rules for reverse DNS lookups are being
|
4073
|
+
# disabled but are not complete.
|
4074
|
+
#
|
4075
|
+
# * **DISABLED:** Autodefined rules for reverse DNS lookups are
|
4076
|
+
# disabled.
|
4077
|
+
# @return [String]
|
4078
|
+
#
|
4079
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverConfig AWS API Documentation
|
4080
|
+
#
|
4081
|
+
class ResolverConfig < Struct.new(
|
4082
|
+
:id,
|
4083
|
+
:resource_id,
|
4084
|
+
:owner_id,
|
4085
|
+
:autodefined_reverse)
|
4086
|
+
SENSITIVE = []
|
4087
|
+
include Aws::Structure
|
4088
|
+
end
|
4089
|
+
|
3945
4090
|
# A complex type that contains information about a configuration for
|
3946
4091
|
# DNSSEC validation.
|
3947
4092
|
#
|
@@ -5114,6 +5259,58 @@ module Aws::Route53Resolver
|
|
5114
5259
|
include Aws::Structure
|
5115
5260
|
end
|
5116
5261
|
|
5262
|
+
# @note When making an API call, you may pass UpdateResolverConfigRequest
|
5263
|
+
# data as a hash:
|
5264
|
+
#
|
5265
|
+
# {
|
5266
|
+
# resource_id: "ResourceId", # required
|
5267
|
+
# autodefined_reverse_flag: "ENABLE", # required, accepts ENABLE, DISABLE
|
5268
|
+
# }
|
5269
|
+
#
|
5270
|
+
# @!attribute [rw] resource_id
|
5271
|
+
# Resource ID of the Amazon VPC that you want to update the Resolver
|
5272
|
+
# configuration for.
|
5273
|
+
# @return [String]
|
5274
|
+
#
|
5275
|
+
# @!attribute [rw] autodefined_reverse_flag
|
5276
|
+
# Indicates whether or not the Resolver will create autodefined rules
|
5277
|
+
# for reverse DNS lookups. This is enabled by default. Disabling this
|
5278
|
+
# option will also affect EC2-Classic instances using ClassicLink. For
|
5279
|
+
# more information, see [ClassicLink][1] in the *Amazon EC2 guide*.
|
5280
|
+
#
|
5281
|
+
# <note markdown="1"> It can take some time for the status change to be completed.
|
5282
|
+
#
|
5283
|
+
# </note>
|
5284
|
+
#
|
5285
|
+
#
|
5286
|
+
#
|
5287
|
+
#
|
5288
|
+
#
|
5289
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
5290
|
+
# @return [String]
|
5291
|
+
#
|
5292
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverConfigRequest AWS API Documentation
|
5293
|
+
#
|
5294
|
+
class UpdateResolverConfigRequest < Struct.new(
|
5295
|
+
:resource_id,
|
5296
|
+
:autodefined_reverse_flag)
|
5297
|
+
SENSITIVE = []
|
5298
|
+
include Aws::Structure
|
5299
|
+
end
|
5300
|
+
|
5301
|
+
# @!attribute [rw] resolver_config
|
5302
|
+
# An array that contains settings for the specified Resolver
|
5303
|
+
# configuration.
|
5304
|
+
# @return [Types::ResolverConfig]
|
5305
|
+
#
|
5306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverConfigResponse AWS API Documentation
|
5307
|
+
#
|
5308
|
+
class UpdateResolverConfigResponse < Struct.new(
|
5309
|
+
:resolver_config)
|
5310
|
+
SENSITIVE = []
|
5311
|
+
include Aws::Structure
|
5312
|
+
end
|
5313
|
+
|
5117
5314
|
# @note When making an API call, you may pass UpdateResolverDnssecConfigRequest
|
5118
5315
|
# data as a hash:
|
5119
5316
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-route53resolver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|