aws-sdk-route53resolver 1.21.0 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05bda71c147eb32ecffc8cbb1fcd7ea4e9233d1ead3a9743a49ac24ea3c9ddee
4
- data.tar.gz: 5885ceba7288cd8c92f85139e897d7ac724657b6bfdfa0e6ec6bbe819c6d948f
3
+ metadata.gz: 76d88c272af9ce686b6afd8bb60aba4bb8949a56ac8ed185e922cb73e581624c
4
+ data.tar.gz: 83006e5ccfaf57ed48d5c0ac0678216b5185062429503ab443407b47cf9818cf
5
5
  SHA512:
6
- metadata.gz: b99daa550fd84c0c91c31fbb0121c0f5ad6bd0aad94983706d60f7a7e380dcb53bae54e37c940570a0e415077faad9cbe14f7bb4eeb81eab24c4025b672e62f7
7
- data.tar.gz: e89cb75f01aa37d6612530dd770ad19fbd98458d752429aa55d2f4013a7fa0d0651025422bc887e2b49208946e195b0144bb9eedecbb10601b1628769ef55798
6
+ metadata.gz: d74351a75ecc7b9e27973f16bbf238ddd771e3db86001c8b61f6200eba83a3aa5b87027d820b3f94d2f1466e5d418b1d9a9115ee335841048e00ecfe992cbb11
7
+ data.tar.gz: 4da46f65848cc28c0e91950851275157822270fc48f393bf2f5eafe1463fbe3c7d3d14d894fa1e71b85ca16ee65fabbe34ae821a625f2668d832c911a535ebe4
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-route53resolver/customizations'
48
48
  # @!group service
49
49
  module Aws::Route53Resolver
50
50
 
51
- GEM_VERSION = '1.21.0'
51
+ GEM_VERSION = '1.22.0'
52
52
 
53
53
  end
@@ -1125,6 +1125,38 @@ module Aws::Route53Resolver
1125
1125
  req.send_request(options)
1126
1126
  end
1127
1127
 
1128
+ # Gets DNSSEC validation information for a specified resource.
1129
+ #
1130
+ # @option params [required, String] :resource_id
1131
+ # The ID of the virtual private cloud (VPC) for the DNSSEC validation
1132
+ # status.
1133
+ #
1134
+ # @return [Types::GetResolverDnssecConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1135
+ #
1136
+ # * {Types::GetResolverDnssecConfigResponse#resolver_dnssec_config #resolver_dnssec_config} => Types::ResolverDnssecConfig
1137
+ #
1138
+ # @example Request syntax with placeholder values
1139
+ #
1140
+ # resp = client.get_resolver_dnssec_config({
1141
+ # resource_id: "ResourceId", # required
1142
+ # })
1143
+ #
1144
+ # @example Response structure
1145
+ #
1146
+ # resp.resolver_dnssec_config.id #=> String
1147
+ # resp.resolver_dnssec_config.owner_id #=> String
1148
+ # resp.resolver_dnssec_config.resource_id #=> String
1149
+ # resp.resolver_dnssec_config.validation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
1150
+ #
1151
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverDnssecConfig AWS API Documentation
1152
+ #
1153
+ # @overload get_resolver_dnssec_config(params = {})
1154
+ # @param [Hash] params ({})
1155
+ def get_resolver_dnssec_config(params = {}, options = {})
1156
+ req = build_request(:get_resolver_dnssec_config, params)
1157
+ req.send_request(options)
1158
+ end
1159
+
1128
1160
  # Gets information about a specified Resolver endpoint, such as whether
1129
1161
  # it's an inbound or an outbound Resolver endpoint, and the current
1130
1162
  # status of the endpoint.
@@ -1362,13 +1394,14 @@ module Aws::Route53Resolver
1362
1394
  req.send_request(options)
1363
1395
  end
1364
1396
 
1365
- # Gets information about a Resolver rule policy. A Resolver rule policy
1366
- # specifies the Resolver operations and resources that you want to allow
1367
- # another AWS account to be able to use.
1397
+ # Gets information about the Resolver rule policy for a specified rule.
1398
+ # A Resolver rule policy includes the rule that you want to share with
1399
+ # another account, the account that you want to share the rule with, and
1400
+ # the Resolver operations that you want to allow the account to use.
1368
1401
  #
1369
1402
  # @option params [required, String] :arn
1370
- # The ID of the Resolver rule policy that you want to get information
1371
- # about.
1403
+ # The ID of the Resolver rule that you want to get the Resolver rule
1404
+ # policy for.
1372
1405
  #
1373
1406
  # @return [Types::GetResolverRulePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1374
1407
  #
@@ -1393,6 +1426,67 @@ module Aws::Route53Resolver
1393
1426
  req.send_request(options)
1394
1427
  end
1395
1428
 
1429
+ # Lists the configurations for DNSSEC validation that are associated
1430
+ # with the current AWS account.
1431
+ #
1432
+ # @option params [Integer] :max_results
1433
+ # *Optional*\: An integer that specifies the maximum number of DNSSEC
1434
+ # configuration results that you want Amazon Route 53 to return. If you
1435
+ # don't specify a value for `MaxResults`, Route 53 returns up to 100
1436
+ # configuration per page.
1437
+ #
1438
+ # @option params [String] :next_token
1439
+ # (Optional) If the current AWS account has more than `MaxResults`
1440
+ # DNSSEC configurations, use `NextToken` to get the second and
1441
+ # subsequent pages of results.
1442
+ #
1443
+ # For the first `ListResolverDnssecConfigs` request, omit this value.
1444
+ #
1445
+ # For the second and subsequent requests, get the value of `NextToken`
1446
+ # from the previous response and specify that value for `NextToken` in
1447
+ # the request.
1448
+ #
1449
+ # @option params [Array<Types::Filter>] :filters
1450
+ # An optional specification to return a subset of objects.
1451
+ #
1452
+ # @return [Types::ListResolverDnssecConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1453
+ #
1454
+ # * {Types::ListResolverDnssecConfigsResponse#next_token #next_token} => String
1455
+ # * {Types::ListResolverDnssecConfigsResponse#resolver_dnssec_configs #resolver_dnssec_configs} => Array&lt;Types::ResolverDnssecConfig&gt;
1456
+ #
1457
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1458
+ #
1459
+ # @example Request syntax with placeholder values
1460
+ #
1461
+ # resp = client.list_resolver_dnssec_configs({
1462
+ # max_results: 1,
1463
+ # next_token: "NextToken",
1464
+ # filters: [
1465
+ # {
1466
+ # name: "FilterName",
1467
+ # values: ["FilterValue"],
1468
+ # },
1469
+ # ],
1470
+ # })
1471
+ #
1472
+ # @example Response structure
1473
+ #
1474
+ # resp.next_token #=> String
1475
+ # resp.resolver_dnssec_configs #=> Array
1476
+ # resp.resolver_dnssec_configs[0].id #=> String
1477
+ # resp.resolver_dnssec_configs[0].owner_id #=> String
1478
+ # resp.resolver_dnssec_configs[0].resource_id #=> String
1479
+ # resp.resolver_dnssec_configs[0].validation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
1480
+ #
1481
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverDnssecConfigs AWS API Documentation
1482
+ #
1483
+ # @overload list_resolver_dnssec_configs(params = {})
1484
+ # @param [Hash] params ({})
1485
+ def list_resolver_dnssec_configs(params = {}, options = {})
1486
+ req = build_request(:list_resolver_dnssec_configs, params)
1487
+ req.send_request(options)
1488
+ end
1489
+
1396
1490
  # Gets the IP addresses for a specified Resolver endpoint.
1397
1491
  #
1398
1492
  # @option params [required, String] :resolver_endpoint_id
@@ -2064,19 +2158,19 @@ module Aws::Route53Resolver
2064
2158
  req.send_request(options)
2065
2159
  end
2066
2160
 
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.
2161
+ # Specifies an AWS rule that you want to share with another account, the
2162
+ # account that you want to share the rule with, and the operations that
2163
+ # you want the account to be able to perform on the rule.
2070
2164
  #
2071
2165
  # @option params [required, String] :arn
2072
- # The Amazon Resource Name (ARN) of the account that you want to share
2073
- # rules with.
2166
+ # The Amazon Resource Name (ARN) of the rule that you want to share with
2167
+ # another account.
2074
2168
  #
2075
2169
  # @option params [required, String] :resolver_rule_policy
2076
2170
  # An AWS Identity and Access Management policy statement that lists the
2077
2171
  # rules that you want to share with another AWS account and the
2078
2172
  # operations that you want the account to be able to perform. You can
2079
- # specify the following operations in the `Actions` section of the
2173
+ # specify the following operations in the `Action` section of the
2080
2174
  # statement:
2081
2175
  #
2082
2176
  # * `route53resolver:GetResolverRule`
@@ -2089,9 +2183,9 @@ module Aws::Route53Resolver
2089
2183
  #
2090
2184
  # * `route53resolver:ListResolverRuleAssociations`
2091
2185
  #
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`.
2186
+ # In the `Resource` section of the statement, specify the ARN for the
2187
+ # rule that you want to share with another account. Specify the same ARN
2188
+ # that you specified in `Arn`.
2095
2189
  #
2096
2190
  # @return [Types::PutResolverRulePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2097
2191
  #
@@ -2220,6 +2314,45 @@ module Aws::Route53Resolver
2220
2314
  req.send_request(options)
2221
2315
  end
2222
2316
 
2317
+ # Updates an existing DNSSEC validation configuration. If there is no
2318
+ # existing DNSSEC validation configuration, one is created.
2319
+ #
2320
+ # @option params [required, String] :resource_id
2321
+ # The ID of the virtual private cloud (VPC) that you're updating the
2322
+ # DNSSEC validation status for.
2323
+ #
2324
+ # @option params [required, String] :validation
2325
+ # The new value that you are specifying for DNSSEC validation for the
2326
+ # VPC. The value can be `ENABLE` or `DISABLE`. Be aware that it can take
2327
+ # time for a validation status change to be completed.
2328
+ #
2329
+ # @return [Types::UpdateResolverDnssecConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2330
+ #
2331
+ # * {Types::UpdateResolverDnssecConfigResponse#resolver_dnssec_config #resolver_dnssec_config} => Types::ResolverDnssecConfig
2332
+ #
2333
+ # @example Request syntax with placeholder values
2334
+ #
2335
+ # resp = client.update_resolver_dnssec_config({
2336
+ # resource_id: "ResourceId", # required
2337
+ # validation: "ENABLE", # required, accepts ENABLE, DISABLE
2338
+ # })
2339
+ #
2340
+ # @example Response structure
2341
+ #
2342
+ # resp.resolver_dnssec_config.id #=> String
2343
+ # resp.resolver_dnssec_config.owner_id #=> String
2344
+ # resp.resolver_dnssec_config.resource_id #=> String
2345
+ # resp.resolver_dnssec_config.validation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
2346
+ #
2347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverDnssecConfig AWS API Documentation
2348
+ #
2349
+ # @overload update_resolver_dnssec_config(params = {})
2350
+ # @param [Hash] params ({})
2351
+ def update_resolver_dnssec_config(params = {}, options = {})
2352
+ req = build_request(:update_resolver_dnssec_config, params)
2353
+ req.send_request(options)
2354
+ end
2355
+
2223
2356
  # Updates the name of an inbound or an outbound Resolver endpoint.
2224
2357
  #
2225
2358
  # @option params [required, String] :resolver_endpoint_id
@@ -2335,7 +2468,7 @@ module Aws::Route53Resolver
2335
2468
  params: params,
2336
2469
  config: config)
2337
2470
  context[:gem_name] = 'aws-sdk-route53resolver'
2338
- context[:gem_version] = '1.21.0'
2471
+ context[:gem_version] = '1.22.0'
2339
2472
  Seahorse::Client::Request.new(handlers, context)
2340
2473
  end
2341
2474
 
@@ -51,6 +51,8 @@ module Aws::Route53Resolver
51
51
  FilterValue = Shapes::StringShape.new(name: 'FilterValue')
52
52
  FilterValues = Shapes::ListShape.new(name: 'FilterValues')
53
53
  Filters = Shapes::ListShape.new(name: 'Filters')
54
+ GetResolverDnssecConfigRequest = Shapes::StructureShape.new(name: 'GetResolverDnssecConfigRequest')
55
+ GetResolverDnssecConfigResponse = Shapes::StructureShape.new(name: 'GetResolverDnssecConfigResponse')
54
56
  GetResolverEndpointRequest = Shapes::StructureShape.new(name: 'GetResolverEndpointRequest')
55
57
  GetResolverEndpointResponse = Shapes::StructureShape.new(name: 'GetResolverEndpointResponse')
56
58
  GetResolverQueryLogConfigAssociationRequest = Shapes::StructureShape.new(name: 'GetResolverQueryLogConfigAssociationRequest')
@@ -80,6 +82,8 @@ module Aws::Route53Resolver
80
82
  IpAddressesRequest = Shapes::ListShape.new(name: 'IpAddressesRequest')
81
83
  IpAddressesResponse = Shapes::ListShape.new(name: 'IpAddressesResponse')
82
84
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
85
+ ListResolverDnssecConfigsRequest = Shapes::StructureShape.new(name: 'ListResolverDnssecConfigsRequest')
86
+ ListResolverDnssecConfigsResponse = Shapes::StructureShape.new(name: 'ListResolverDnssecConfigsResponse')
83
87
  ListResolverEndpointIpAddressesRequest = Shapes::StructureShape.new(name: 'ListResolverEndpointIpAddressesRequest')
84
88
  ListResolverEndpointIpAddressesResponse = Shapes::StructureShape.new(name: 'ListResolverEndpointIpAddressesResponse')
85
89
  ListResolverEndpointsRequest = Shapes::StructureShape.new(name: 'ListResolverEndpointsRequest')
@@ -102,6 +106,9 @@ module Aws::Route53Resolver
102
106
  PutResolverQueryLogConfigPolicyResponse = Shapes::StructureShape.new(name: 'PutResolverQueryLogConfigPolicyResponse')
103
107
  PutResolverRulePolicyRequest = Shapes::StructureShape.new(name: 'PutResolverRulePolicyRequest')
104
108
  PutResolverRulePolicyResponse = Shapes::StructureShape.new(name: 'PutResolverRulePolicyResponse')
109
+ ResolverDNSSECValidationStatus = Shapes::StringShape.new(name: 'ResolverDNSSECValidationStatus')
110
+ ResolverDnssecConfig = Shapes::StructureShape.new(name: 'ResolverDnssecConfig')
111
+ ResolverDnssecConfigList = Shapes::ListShape.new(name: 'ResolverDnssecConfigList')
105
112
  ResolverEndpoint = Shapes::StructureShape.new(name: 'ResolverEndpoint')
106
113
  ResolverEndpointDirection = Shapes::StringShape.new(name: 'ResolverEndpointDirection')
107
114
  ResolverEndpointStatus = Shapes::StringShape.new(name: 'ResolverEndpointStatus')
@@ -151,10 +158,13 @@ module Aws::Route53Resolver
151
158
  UnknownResourceException = Shapes::StructureShape.new(name: 'UnknownResourceException')
152
159
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
153
160
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
161
+ UpdateResolverDnssecConfigRequest = Shapes::StructureShape.new(name: 'UpdateResolverDnssecConfigRequest')
162
+ UpdateResolverDnssecConfigResponse = Shapes::StructureShape.new(name: 'UpdateResolverDnssecConfigResponse')
154
163
  UpdateResolverEndpointRequest = Shapes::StructureShape.new(name: 'UpdateResolverEndpointRequest')
155
164
  UpdateResolverEndpointResponse = Shapes::StructureShape.new(name: 'UpdateResolverEndpointResponse')
156
165
  UpdateResolverRuleRequest = Shapes::StructureShape.new(name: 'UpdateResolverRuleRequest')
157
166
  UpdateResolverRuleResponse = Shapes::StructureShape.new(name: 'UpdateResolverRuleResponse')
167
+ Validation = Shapes::StringShape.new(name: 'Validation')
158
168
 
159
169
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
160
170
  AccessDeniedException.struct_class = Types::AccessDeniedException
@@ -260,6 +270,12 @@ module Aws::Route53Resolver
260
270
 
261
271
  Filters.member = Shapes::ShapeRef.new(shape: Filter)
262
272
 
273
+ GetResolverDnssecConfigRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
274
+ GetResolverDnssecConfigRequest.struct_class = Types::GetResolverDnssecConfigRequest
275
+
276
+ GetResolverDnssecConfigResponse.add_member(:resolver_dnssec_config, Shapes::ShapeRef.new(shape: ResolverDnssecConfig, location_name: "ResolverDNSSECConfig"))
277
+ GetResolverDnssecConfigResponse.struct_class = Types::GetResolverDnssecConfigResponse
278
+
263
279
  GetResolverEndpointRequest.add_member(:resolver_endpoint_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResolverEndpointId"))
264
280
  GetResolverEndpointRequest.struct_class = Types::GetResolverEndpointRequest
265
281
 
@@ -347,6 +363,15 @@ module Aws::Route53Resolver
347
363
  LimitExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
348
364
  LimitExceededException.struct_class = Types::LimitExceededException
349
365
 
366
+ ListResolverDnssecConfigsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
367
+ ListResolverDnssecConfigsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken", metadata: {"box"=>true}))
368
+ ListResolverDnssecConfigsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters", metadata: {"box"=>true}))
369
+ ListResolverDnssecConfigsRequest.struct_class = Types::ListResolverDnssecConfigsRequest
370
+
371
+ ListResolverDnssecConfigsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
372
+ ListResolverDnssecConfigsResponse.add_member(:resolver_dnssec_configs, Shapes::ShapeRef.new(shape: ResolverDnssecConfigList, location_name: "ResolverDnssecConfigs"))
373
+ ListResolverDnssecConfigsResponse.struct_class = Types::ListResolverDnssecConfigsResponse
374
+
350
375
  ListResolverEndpointIpAddressesRequest.add_member(:resolver_endpoint_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResolverEndpointId"))
351
376
  ListResolverEndpointIpAddressesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
352
377
  ListResolverEndpointIpAddressesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken", metadata: {"box"=>true}))
@@ -436,6 +461,14 @@ module Aws::Route53Resolver
436
461
  PutResolverRulePolicyResponse.add_member(:return_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReturnValue"))
437
462
  PutResolverRulePolicyResponse.struct_class = Types::PutResolverRulePolicyResponse
438
463
 
464
+ ResolverDnssecConfig.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
465
+ ResolverDnssecConfig.add_member(:owner_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "OwnerId"))
466
+ ResolverDnssecConfig.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
467
+ ResolverDnssecConfig.add_member(:validation_status, Shapes::ShapeRef.new(shape: ResolverDNSSECValidationStatus, location_name: "ValidationStatus"))
468
+ ResolverDnssecConfig.struct_class = Types::ResolverDnssecConfig
469
+
470
+ ResolverDnssecConfigList.member = Shapes::ShapeRef.new(shape: ResolverDnssecConfig)
471
+
439
472
  ResolverEndpoint.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
440
473
  ResolverEndpoint.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: CreatorRequestId, location_name: "CreatorRequestId"))
441
474
  ResolverEndpoint.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
@@ -560,6 +593,13 @@ module Aws::Route53Resolver
560
593
 
561
594
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
562
595
 
596
+ UpdateResolverDnssecConfigRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
597
+ UpdateResolverDnssecConfigRequest.add_member(:validation, Shapes::ShapeRef.new(shape: Validation, required: true, location_name: "Validation"))
598
+ UpdateResolverDnssecConfigRequest.struct_class = Types::UpdateResolverDnssecConfigRequest
599
+
600
+ UpdateResolverDnssecConfigResponse.add_member(:resolver_dnssec_config, Shapes::ShapeRef.new(shape: ResolverDnssecConfig, location_name: "ResolverDNSSECConfig"))
601
+ UpdateResolverDnssecConfigResponse.struct_class = Types::UpdateResolverDnssecConfigResponse
602
+
563
603
  UpdateResolverEndpointRequest.add_member(:resolver_endpoint_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResolverEndpointId"))
564
604
  UpdateResolverEndpointRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name", metadata: {"box"=>true}))
565
605
  UpdateResolverEndpointRequest.struct_class = Types::UpdateResolverEndpointRequest
@@ -767,6 +807,20 @@ module Aws::Route53Resolver
767
807
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
768
808
  end)
769
809
 
810
+ api.add_operation(:get_resolver_dnssec_config, Seahorse::Model::Operation.new.tap do |o|
811
+ o.name = "GetResolverDnssecConfig"
812
+ o.http_method = "POST"
813
+ o.http_request_uri = "/"
814
+ o.input = Shapes::ShapeRef.new(shape: GetResolverDnssecConfigRequest)
815
+ o.output = Shapes::ShapeRef.new(shape: GetResolverDnssecConfigResponse)
816
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
817
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
818
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
819
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
820
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
821
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
822
+ end)
823
+
770
824
  api.add_operation(:get_resolver_endpoint, Seahorse::Model::Operation.new.tap do |o|
771
825
  o.name = "GetResolverEndpoint"
772
826
  o.http_method = "POST"
@@ -855,6 +909,26 @@ module Aws::Route53Resolver
855
909
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
856
910
  end)
857
911
 
912
+ api.add_operation(:list_resolver_dnssec_configs, Seahorse::Model::Operation.new.tap do |o|
913
+ o.name = "ListResolverDnssecConfigs"
914
+ o.http_method = "POST"
915
+ o.http_request_uri = "/"
916
+ o.input = Shapes::ShapeRef.new(shape: ListResolverDnssecConfigsRequest)
917
+ o.output = Shapes::ShapeRef.new(shape: ListResolverDnssecConfigsResponse)
918
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
919
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
920
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
921
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
922
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
923
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
924
+ o[:pager] = Aws::Pager.new(
925
+ limit_key: "max_results",
926
+ tokens: {
927
+ "next_token" => "next_token"
928
+ }
929
+ )
930
+ end)
931
+
858
932
  api.add_operation(:list_resolver_endpoint_ip_addresses, Seahorse::Model::Operation.new.tap do |o|
859
933
  o.name = "ListResolverEndpointIpAddresses"
860
934
  o.http_method = "POST"
@@ -1045,6 +1119,20 @@ module Aws::Route53Resolver
1045
1119
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1046
1120
  end)
1047
1121
 
1122
+ api.add_operation(:update_resolver_dnssec_config, Seahorse::Model::Operation.new.tap do |o|
1123
+ o.name = "UpdateResolverDnssecConfig"
1124
+ o.http_method = "POST"
1125
+ o.http_request_uri = "/"
1126
+ o.input = Shapes::ShapeRef.new(shape: UpdateResolverDnssecConfigRequest)
1127
+ o.output = Shapes::ShapeRef.new(shape: UpdateResolverDnssecConfigResponse)
1128
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1129
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1130
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1131
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
1132
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1133
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1134
+ end)
1135
+
1048
1136
  api.add_operation(:update_resolver_endpoint, Seahorse::Model::Operation.new.tap do |o|
1049
1137
  o.name = "UpdateResolverEndpoint"
1050
1138
  o.http_method = "POST"
@@ -662,9 +662,10 @@ module Aws::Route53Resolver
662
662
 
663
663
  # For Resolver list operations ([ListResolverEndpoints][1],
664
664
  # [ListResolverRules][2], [ListResolverRuleAssociations][3],
665
- # [ListResolverQueryLogConfigs][4], and
666
- # [ListResolverQueryLogConfigAssociations][5]), an optional
667
- # specification to return a subset of objects.
665
+ # [ListResolverQueryLogConfigs][4],
666
+ # [ListResolverQueryLogConfigAssociations][5]), and
667
+ # [ListResolverDnssecConfigs][6]), an optional specification to return a
668
+ # subset of objects.
668
669
  #
669
670
  # To filter objects, such as Resolver endpoints or Resolver rules, you
670
671
  # specify `Name` and `Values`. For example, to list only inbound
@@ -678,6 +679,7 @@ module Aws::Route53Resolver
678
679
  # [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html
679
680
  # [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigs.html
680
681
  # [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigAssociations.html
682
+ # [6]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverDnssecConfigs.html
681
683
  #
682
684
  # @note When making an API call, you may pass Filter
683
685
  # data as a hash:
@@ -867,7 +869,7 @@ module Aws::Route53Resolver
867
869
  # [7]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
868
870
  # [8]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ResolverEndpoint.html
869
871
  # [9]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ResolverQueryLogConfig.html#Route53Resolver-Type-route53resolver_ResolverQueryLogConfig-Status
870
- # [10]: https://docs.aws.amazon.com/API_route53resolver_ResolverQueryLogConfigAssociation.html#Route53Resolver-Type-route53resolver_ResolverQueryLogConfigAssociation-Status
872
+ # [10]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ResolverQueryLogConfigAssociation.html#Route53Resolver-Type-route53resolver_ResolverQueryLogConfigAssociation-Status
871
873
  # @return [String]
872
874
  #
873
875
  # @!attribute [rw] values
@@ -887,6 +889,38 @@ module Aws::Route53Resolver
887
889
  include Aws::Structure
888
890
  end
889
891
 
892
+ # @note When making an API call, you may pass GetResolverDnssecConfigRequest
893
+ # data as a hash:
894
+ #
895
+ # {
896
+ # resource_id: "ResourceId", # required
897
+ # }
898
+ #
899
+ # @!attribute [rw] resource_id
900
+ # The ID of the virtual private cloud (VPC) for the DNSSEC validation
901
+ # status.
902
+ # @return [String]
903
+ #
904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverDnssecConfigRequest AWS API Documentation
905
+ #
906
+ class GetResolverDnssecConfigRequest < Struct.new(
907
+ :resource_id)
908
+ SENSITIVE = []
909
+ include Aws::Structure
910
+ end
911
+
912
+ # @!attribute [rw] resolver_dnssec_config
913
+ # The information about a configuration for DNSSEC validation.
914
+ # @return [Types::ResolverDnssecConfig]
915
+ #
916
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverDnssecConfigResponse AWS API Documentation
917
+ #
918
+ class GetResolverDnssecConfigResponse < Struct.new(
919
+ :resolver_dnssec_config)
920
+ SENSITIVE = []
921
+ include Aws::Structure
922
+ end
923
+
890
924
  # @note When making an API call, you may pass GetResolverEndpointRequest
891
925
  # data as a hash:
892
926
  #
@@ -1062,8 +1096,8 @@ module Aws::Route53Resolver
1062
1096
  # }
1063
1097
  #
1064
1098
  # @!attribute [rw] arn
1065
- # The ID of the Resolver rule policy that you want to get information
1066
- # about.
1099
+ # The ID of the Resolver rule that you want to get the Resolver rule
1100
+ # policy for.
1067
1101
  # @return [String]
1068
1102
  #
1069
1103
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRulePolicyRequest AWS API Documentation
@@ -1075,7 +1109,7 @@ module Aws::Route53Resolver
1075
1109
  end
1076
1110
 
1077
1111
  # @!attribute [rw] resolver_rule_policy
1078
- # Information about the Resolver rule policy that you specified in a
1112
+ # The Resolver rule policy for the rule that you specified in a
1079
1113
  # `GetResolverRulePolicy` request.
1080
1114
  # @return [String]
1081
1115
  #
@@ -1359,6 +1393,88 @@ module Aws::Route53Resolver
1359
1393
  include Aws::Structure
1360
1394
  end
1361
1395
 
1396
+ # @note When making an API call, you may pass ListResolverDnssecConfigsRequest
1397
+ # data as a hash:
1398
+ #
1399
+ # {
1400
+ # max_results: 1,
1401
+ # next_token: "NextToken",
1402
+ # filters: [
1403
+ # {
1404
+ # name: "FilterName",
1405
+ # values: ["FilterValue"],
1406
+ # },
1407
+ # ],
1408
+ # }
1409
+ #
1410
+ # @!attribute [rw] max_results
1411
+ # *Optional*\: An integer that specifies the maximum number of DNSSEC
1412
+ # configuration results that you want Amazon Route 53 to return. If
1413
+ # you don't specify a value for `MaxResults`, Route 53 returns up to
1414
+ # 100 configuration per page.
1415
+ # @return [Integer]
1416
+ #
1417
+ # @!attribute [rw] next_token
1418
+ # (Optional) If the current AWS account has more than `MaxResults`
1419
+ # DNSSEC configurations, use `NextToken` to get the second and
1420
+ # subsequent pages of results.
1421
+ #
1422
+ # For the first `ListResolverDnssecConfigs` request, omit this value.
1423
+ #
1424
+ # For the second and subsequent requests, get the value of `NextToken`
1425
+ # from the previous response and specify that value for `NextToken` in
1426
+ # the request.
1427
+ # @return [String]
1428
+ #
1429
+ # @!attribute [rw] filters
1430
+ # An optional specification to return a subset of objects.
1431
+ # @return [Array<Types::Filter>]
1432
+ #
1433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverDnssecConfigsRequest AWS API Documentation
1434
+ #
1435
+ class ListResolverDnssecConfigsRequest < Struct.new(
1436
+ :max_results,
1437
+ :next_token,
1438
+ :filters)
1439
+ SENSITIVE = []
1440
+ include Aws::Structure
1441
+ end
1442
+
1443
+ # @!attribute [rw] next_token
1444
+ # If a response includes the last of the DNSSEC configurations that
1445
+ # are associated with the current AWS account, `NextToken` doesn't
1446
+ # appear in the response.
1447
+ #
1448
+ # If a response doesn't include the last of the configurations, you
1449
+ # can get more configurations by submitting another
1450
+ # [ListResolverDnssecConfigs][1] request. Get the value of `NextToken`
1451
+ # that Amazon Route 53 returned in the previous response and include
1452
+ # it in `NextToken` in the next request.
1453
+ #
1454
+ #
1455
+ #
1456
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListResolverDnssecConfigs.html
1457
+ # @return [String]
1458
+ #
1459
+ # @!attribute [rw] resolver_dnssec_configs
1460
+ # An array that contains one [ResolverDnssecConfig][1] element for
1461
+ # each configuration for DNSSEC validation that is associated with the
1462
+ # current AWS account.
1463
+ #
1464
+ #
1465
+ #
1466
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_ResolverDnssecConfig.html
1467
+ # @return [Array<Types::ResolverDnssecConfig>]
1468
+ #
1469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverDnssecConfigsResponse AWS API Documentation
1470
+ #
1471
+ class ListResolverDnssecConfigsResponse < Struct.new(
1472
+ :next_token,
1473
+ :resolver_dnssec_configs)
1474
+ SENSITIVE = []
1475
+ include Aws::Structure
1476
+ end
1477
+
1362
1478
  # @note When making an API call, you may pass ListResolverEndpointIpAddressesRequest
1363
1479
  # data as a hash:
1364
1480
  #
@@ -2121,15 +2237,15 @@ module Aws::Route53Resolver
2121
2237
  # }
2122
2238
  #
2123
2239
  # @!attribute [rw] arn
2124
- # The Amazon Resource Name (ARN) of the account that you want to share
2125
- # rules with.
2240
+ # The Amazon Resource Name (ARN) of the rule that you want to share
2241
+ # with another account.
2126
2242
  # @return [String]
2127
2243
  #
2128
2244
  # @!attribute [rw] resolver_rule_policy
2129
2245
  # An AWS Identity and Access Management policy statement that lists
2130
2246
  # the rules that you want to share with another AWS account and the
2131
2247
  # operations that you want the account to be able to perform. You can
2132
- # specify the following operations in the `Actions` section of the
2248
+ # specify the following operations in the `Action` section of the
2133
2249
  # statement:
2134
2250
  #
2135
2251
  # * `route53resolver:GetResolverRule`
@@ -2142,9 +2258,9 @@ module Aws::Route53Resolver
2142
2258
  #
2143
2259
  # * `route53resolver:ListResolverRuleAssociations`
2144
2260
  #
2145
- # In the `Resource` section of the statement, you specify the ARNs for
2146
- # the rules that you want to share with the account that you specified
2147
- # in `Arn`.
2261
+ # In the `Resource` section of the statement, specify the ARN for the
2262
+ # rule that you want to share with another account. Specify the same
2263
+ # ARN that you specified in `Arn`.
2148
2264
  # @return [String]
2149
2265
  #
2150
2266
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverRulePolicyRequest AWS API Documentation
@@ -2170,6 +2286,49 @@ module Aws::Route53Resolver
2170
2286
  include Aws::Structure
2171
2287
  end
2172
2288
 
2289
+ # A complex type that contains information about a configuration for
2290
+ # DNSSEC validation.
2291
+ #
2292
+ # @!attribute [rw] id
2293
+ # The ID for a configuration for DNSSEC validation.
2294
+ # @return [String]
2295
+ #
2296
+ # @!attribute [rw] owner_id
2297
+ # The owner account ID of the virtual private cloud (VPC) for a
2298
+ # configuration for DNSSEC validation.
2299
+ # @return [String]
2300
+ #
2301
+ # @!attribute [rw] resource_id
2302
+ # The ID of the virtual private cloud (VPC) that you're configuring
2303
+ # the DNSSEC validation status for.
2304
+ # @return [String]
2305
+ #
2306
+ # @!attribute [rw] validation_status
2307
+ # The validation status for a DNSSEC configuration. The status can be
2308
+ # one of the following:
2309
+ #
2310
+ # * **ENABLING:** DNSSEC validation is being enabled but is not
2311
+ # complete.
2312
+ #
2313
+ # * **ENABLED:** DNSSEC validation is enabled.
2314
+ #
2315
+ # * **DISABLING:** DNSSEC validation is being disabled but is not
2316
+ # complete.
2317
+ #
2318
+ # * **DISABLED** DNSSEC validation is disabled.
2319
+ # @return [String]
2320
+ #
2321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverDnssecConfig AWS API Documentation
2322
+ #
2323
+ class ResolverDnssecConfig < Struct.new(
2324
+ :id,
2325
+ :owner_id,
2326
+ :resource_id,
2327
+ :validation_status)
2328
+ SENSITIVE = []
2329
+ include Aws::Structure
2330
+ end
2331
+
2173
2332
  # In the response to a [CreateResolverEndpoint][1],
2174
2333
  # [DeleteResolverEndpoint][2], [GetResolverEndpoint][3],
2175
2334
  # [ListResolverEndpoints][4], or [UpdateResolverEndpoint][5] request, a
@@ -2998,6 +3157,47 @@ module Aws::Route53Resolver
2998
3157
  #
2999
3158
  class UntagResourceResponse < Aws::EmptyStructure; end
3000
3159
 
3160
+ # @note When making an API call, you may pass UpdateResolverDnssecConfigRequest
3161
+ # data as a hash:
3162
+ #
3163
+ # {
3164
+ # resource_id: "ResourceId", # required
3165
+ # validation: "ENABLE", # required, accepts ENABLE, DISABLE
3166
+ # }
3167
+ #
3168
+ # @!attribute [rw] resource_id
3169
+ # The ID of the virtual private cloud (VPC) that you're updating the
3170
+ # DNSSEC validation status for.
3171
+ # @return [String]
3172
+ #
3173
+ # @!attribute [rw] validation
3174
+ # The new value that you are specifying for DNSSEC validation for the
3175
+ # VPC. The value can be `ENABLE` or `DISABLE`. Be aware that it can
3176
+ # take time for a validation status change to be completed.
3177
+ # @return [String]
3178
+ #
3179
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverDnssecConfigRequest AWS API Documentation
3180
+ #
3181
+ class UpdateResolverDnssecConfigRequest < Struct.new(
3182
+ :resource_id,
3183
+ :validation)
3184
+ SENSITIVE = []
3185
+ include Aws::Structure
3186
+ end
3187
+
3188
+ # @!attribute [rw] resolver_dnssec_config
3189
+ # A complex type that contains settings for the specified DNSSEC
3190
+ # configuration.
3191
+ # @return [Types::ResolverDnssecConfig]
3192
+ #
3193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverDnssecConfigResponse AWS API Documentation
3194
+ #
3195
+ class UpdateResolverDnssecConfigResponse < Struct.new(
3196
+ :resolver_dnssec_config)
3197
+ SENSITIVE = []
3198
+ include Aws::Structure
3199
+ end
3200
+
3001
3201
  # @note When making an API call, you may pass UpdateResolverEndpointRequest
3002
3202
  # data as a hash:
3003
3203
  #
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.21.0
4
+ version: 1.22.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: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core