aws-sdk-route53 1.0.0 → 1.1.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 +4 -4
- data/lib/aws-sdk-route53.rb +1 -1
- data/lib/aws-sdk-route53/client.rb +314 -1
- data/lib/aws-sdk-route53/client_api.rb +102 -0
- data/lib/aws-sdk-route53/types.rb +213 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cf16ee047d9b19af02c051720e354bfee8ac5d2
|
4
|
+
data.tar.gz: df6dfce2ef5098f6d240b1f082487e72b83634e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63a2aae528ad1f183bda4fcca6fa3cb481b6b0eb29ed72ed1bdd3656b9249ef5c0223c87448c63de8320284b30167b69798dc02b254f5c309a7581cace3fdc20
|
7
|
+
data.tar.gz: 43baba6ddbb57f458b0b0c4c55e0aa668358ac5539ad442a36b99229294967e6604c0c456ed0e03d19c895c0fa96029bbb42b27e0f86203083cc1a9d60d4dab1
|
data/lib/aws-sdk-route53.rb
CHANGED
@@ -1331,6 +1331,180 @@ module Aws::Route53
|
|
1331
1331
|
req.send_request(options)
|
1332
1332
|
end
|
1333
1333
|
|
1334
|
+
# Creates a configuration for DNS query logging. After you create a
|
1335
|
+
# query logging configuration, Amazon Route 53 begins to publish log
|
1336
|
+
# data to an Amazon CloudWatch Logs log group.
|
1337
|
+
#
|
1338
|
+
# DNS query logs contain information about the queries that Amazon Route
|
1339
|
+
# 53 receives for a specified public hosted zone, such as the following:
|
1340
|
+
#
|
1341
|
+
# * Amazon Route 53 edge location that responded to the DNS query
|
1342
|
+
#
|
1343
|
+
# * Domain or subdomain that was requested
|
1344
|
+
#
|
1345
|
+
# * DNS record type, such as A or AAAA
|
1346
|
+
#
|
1347
|
+
# * DNS response code, such as `NoError` or `ServFail`
|
1348
|
+
#
|
1349
|
+
# Log Group and Resource Policy
|
1350
|
+
#
|
1351
|
+
# : Before you create a query logging configuration, perform the
|
1352
|
+
# following operations.
|
1353
|
+
#
|
1354
|
+
# <note markdown="1"> If you create a query logging configuration using the Amazon Route
|
1355
|
+
# 53 console, Amazon Route 53 performs these operations automatically.
|
1356
|
+
#
|
1357
|
+
# </note>
|
1358
|
+
#
|
1359
|
+
# 1. Create a CloudWatch Logs log group, and make note of the ARN,
|
1360
|
+
# which you specify when you create a query logging configuration.
|
1361
|
+
# Note the following:
|
1362
|
+
#
|
1363
|
+
# * You must create the log group in the us-east-1 region.
|
1364
|
+
#
|
1365
|
+
# * You must use the same AWS account to create the log group and
|
1366
|
+
# the hosted zone that you want to configure query logging for.
|
1367
|
+
#
|
1368
|
+
# * When you create log groups for query logging, we recommend
|
1369
|
+
# that you use a consistent prefix, for example:
|
1370
|
+
#
|
1371
|
+
# `/aws/route53/hosted zone name `
|
1372
|
+
#
|
1373
|
+
# In the next step, you'll create a resource policy, which
|
1374
|
+
# controls access to one or more log groups and the associated
|
1375
|
+
# AWS resources, such as Amazon Route 53 hosted zones. There's
|
1376
|
+
# a limit on the number of resource policies that you can
|
1377
|
+
# create, so we recommend that you use a consistent prefix so
|
1378
|
+
# you can use the same resource policy for all the log groups
|
1379
|
+
# that you create for query logging.
|
1380
|
+
#
|
1381
|
+
# 2. Create a CloudWatch Logs resource policy, and give it the
|
1382
|
+
# permissions that Amazon Route 53 needs to create log streams and
|
1383
|
+
# to to send query logs to log streams. For the value of
|
1384
|
+
# `Resource`, specify the ARN for the log group that you created
|
1385
|
+
# in the previous step. To use the same resource policy for all
|
1386
|
+
# the CloudWatch Logs log groups that you created for query
|
1387
|
+
# logging configurations, replace the hosted zone name with `*`,
|
1388
|
+
# for example:
|
1389
|
+
#
|
1390
|
+
# `arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*`
|
1391
|
+
#
|
1392
|
+
# <note markdown="1"> You can't use the CloudWatch console to create or edit a
|
1393
|
+
# resource policy. You must use the CloudWatch API, one of the AWS
|
1394
|
+
# SDKs, or the AWS CLI.
|
1395
|
+
#
|
1396
|
+
# </note>
|
1397
|
+
#
|
1398
|
+
# Log Streams and Edge Locations
|
1399
|
+
#
|
1400
|
+
# : When Amazon Route 53 finishes creating the configuration for DNS
|
1401
|
+
# query logging, it does the following:
|
1402
|
+
#
|
1403
|
+
# * Creates a log stream for an edge location the first time that the
|
1404
|
+
# edge location responds to DNS queries for the specified hosted
|
1405
|
+
# zone. That log stream is used to log all queries that Amazon Route
|
1406
|
+
# 53 responds to for that edge location.
|
1407
|
+
#
|
1408
|
+
# * Begins to send query logs to the applicable log stream.
|
1409
|
+
#
|
1410
|
+
# The name of each log stream is in the following format:
|
1411
|
+
#
|
1412
|
+
# ` hosted zone ID/edge location code `
|
1413
|
+
#
|
1414
|
+
# The edge location code is a three-letter code and an arbitrarily
|
1415
|
+
# assigned number, for example, DFW3. The three-letter code typically
|
1416
|
+
# corresponds with the International Air Transport Association airport
|
1417
|
+
# code for an airport near the edge location. (These abbreviations
|
1418
|
+
# might change in the future.) For a list of edge locations, see "The
|
1419
|
+
# Amazon Route 53 Global Network" on the [Amazon Route 53 Product
|
1420
|
+
# Details][1] page.
|
1421
|
+
#
|
1422
|
+
# Queries That Are Logged
|
1423
|
+
#
|
1424
|
+
# : Query logs contain only the queries that DNS resolvers forward to
|
1425
|
+
# Amazon Route 53. If a DNS resolver has already cached the response
|
1426
|
+
# to a query (such as the IP address for a load balancer for
|
1427
|
+
# example.com), the resolver will continue to return the cached
|
1428
|
+
# response. It doesn't forward another query to Amazon Route 53 until
|
1429
|
+
# the TTL for the corresponding resource record set expires. Depending
|
1430
|
+
# on how many DNS queries are submitted for a resource record set, and
|
1431
|
+
# depending on the TTL for that resource record set, query logs might
|
1432
|
+
# contain information about only one query out of every several
|
1433
|
+
# thousand queries that are submitted to DNS. For more information
|
1434
|
+
# about how DNS works, see [Routing Internet Traffic to Your Website
|
1435
|
+
# or Web Application][2] in the *Amazon Route 53 Developer Guide*.
|
1436
|
+
#
|
1437
|
+
# Log File Format
|
1438
|
+
#
|
1439
|
+
# : For a list of the values in each query log and the format of each
|
1440
|
+
# value, see [Logging DNS Queries][3] in the *Amazon Route 53
|
1441
|
+
# Developer Guide*.
|
1442
|
+
#
|
1443
|
+
# Pricing
|
1444
|
+
#
|
1445
|
+
# : For information about charges for query logs, see [Amazon CloudWatch
|
1446
|
+
# Pricing][4].
|
1447
|
+
#
|
1448
|
+
# How to Stop Logging
|
1449
|
+
#
|
1450
|
+
# : If you want Amazon Route 53 to stop sending query logs to CloudWatch
|
1451
|
+
# Logs, delete the query logging configuration. For more information,
|
1452
|
+
# see DeleteQueryLoggingConfig.
|
1453
|
+
#
|
1454
|
+
#
|
1455
|
+
#
|
1456
|
+
# [1]: http://aws.amazon.com/route53/details/
|
1457
|
+
# [2]: http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-dns-service.html
|
1458
|
+
# [3]: http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html
|
1459
|
+
# [4]: http://aws.amazon.com/cloudwatch/pricing/
|
1460
|
+
#
|
1461
|
+
# @option params [required, String] :hosted_zone_id
|
1462
|
+
# The ID of the hosted zone that you want to log queries for. You can
|
1463
|
+
# log queries only for public hosted zones.
|
1464
|
+
#
|
1465
|
+
# @option params [required, String] :cloud_watch_logs_log_group_arn
|
1466
|
+
# The Amazon Resource Name (ARN) for the log group that you want to
|
1467
|
+
# Amazon Route 53 to send query logs to. This is the format of the ARN:
|
1468
|
+
#
|
1469
|
+
# arn:aws:logs:*region*\:*account-id*\:log-group:*log\_group\_name*
|
1470
|
+
#
|
1471
|
+
# To get the ARN for a log group, you can use the CloudWatch console,
|
1472
|
+
# the [DescribeLogGroups][1] API action, the [describe-log-groups][2]
|
1473
|
+
# command, or the applicable command in one of the AWS SDKs.
|
1474
|
+
#
|
1475
|
+
#
|
1476
|
+
#
|
1477
|
+
# [1]: http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html
|
1478
|
+
# [2]: http://docs.aws.amazon.com/cli/latest/reference/logs/describe-log-groups.html
|
1479
|
+
#
|
1480
|
+
# @return [Types::CreateQueryLoggingConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1481
|
+
#
|
1482
|
+
# * {Types::CreateQueryLoggingConfigResponse#query_logging_config #query_logging_config} => Types::QueryLoggingConfig
|
1483
|
+
# * {Types::CreateQueryLoggingConfigResponse#location #location} => String
|
1484
|
+
#
|
1485
|
+
# @example Request syntax with placeholder values
|
1486
|
+
#
|
1487
|
+
# resp = client.create_query_logging_config({
|
1488
|
+
# hosted_zone_id: "ResourceId", # required
|
1489
|
+
# cloud_watch_logs_log_group_arn: "CloudWatchLogsLogGroupArn", # required
|
1490
|
+
# })
|
1491
|
+
#
|
1492
|
+
# @example Response structure
|
1493
|
+
#
|
1494
|
+
# resp.query_logging_config.id #=> String
|
1495
|
+
# resp.query_logging_config.hosted_zone_id #=> String
|
1496
|
+
# resp.query_logging_config.cloud_watch_logs_log_group_arn #=> String
|
1497
|
+
# resp.location #=> String
|
1498
|
+
#
|
1499
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfig AWS API Documentation
|
1500
|
+
#
|
1501
|
+
# @overload create_query_logging_config(params = {})
|
1502
|
+
# @param [Hash] params ({})
|
1503
|
+
def create_query_logging_config(params = {}, options = {})
|
1504
|
+
req = build_request(:create_query_logging_config, params)
|
1505
|
+
req.send_request(options)
|
1506
|
+
end
|
1507
|
+
|
1334
1508
|
# Creates a delegation set (a group of four name servers) that can be
|
1335
1509
|
# reused by multiple hosted zones. If a hosted zoned ID is specified,
|
1336
1510
|
# `CreateReusableDelegationSet` marks the delegation set associated with
|
@@ -1712,6 +1886,34 @@ module Aws::Route53
|
|
1712
1886
|
req.send_request(options)
|
1713
1887
|
end
|
1714
1888
|
|
1889
|
+
# Deletes a configuration for DNS query logging. If you delete a
|
1890
|
+
# configuration, Amazon Route 53 stops sending query logs to CloudWatch
|
1891
|
+
# Logs. Amazon Route 53 doesn't delete any logs that are already in
|
1892
|
+
# CloudWatch Logs.
|
1893
|
+
#
|
1894
|
+
# For more information about DNS query logs, see
|
1895
|
+
# CreateQueryLoggingConfig.
|
1896
|
+
#
|
1897
|
+
# @option params [required, String] :id
|
1898
|
+
# The ID of the configuration that you want to delete.
|
1899
|
+
#
|
1900
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1901
|
+
#
|
1902
|
+
# @example Request syntax with placeholder values
|
1903
|
+
#
|
1904
|
+
# resp = client.delete_query_logging_config({
|
1905
|
+
# id: "QueryLoggingConfigId", # required
|
1906
|
+
# })
|
1907
|
+
#
|
1908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfig AWS API Documentation
|
1909
|
+
#
|
1910
|
+
# @overload delete_query_logging_config(params = {})
|
1911
|
+
# @param [Hash] params ({})
|
1912
|
+
def delete_query_logging_config(params = {}, options = {})
|
1913
|
+
req = build_request(:delete_query_logging_config, params)
|
1914
|
+
req.send_request(options)
|
1915
|
+
end
|
1916
|
+
|
1715
1917
|
# Deletes a reusable delegation set.
|
1716
1918
|
#
|
1717
1919
|
# You can delete a reusable delegation set only if it isn't associated
|
@@ -2298,6 +2500,45 @@ module Aws::Route53
|
|
2298
2500
|
req.send_request(options)
|
2299
2501
|
end
|
2300
2502
|
|
2503
|
+
# Gets information about a specified configuration for DNS query
|
2504
|
+
# logging.
|
2505
|
+
#
|
2506
|
+
# For more information about DNS query logs, see
|
2507
|
+
# CreateQueryLoggingConfig and [Logging DNS Queries][1].
|
2508
|
+
#
|
2509
|
+
#
|
2510
|
+
#
|
2511
|
+
# [1]: http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html
|
2512
|
+
#
|
2513
|
+
# @option params [required, String] :id
|
2514
|
+
# The ID of the configuration for DNS query logging that you want to get
|
2515
|
+
# information about.
|
2516
|
+
#
|
2517
|
+
# @return [Types::GetQueryLoggingConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2518
|
+
#
|
2519
|
+
# * {Types::GetQueryLoggingConfigResponse#query_logging_config #query_logging_config} => Types::QueryLoggingConfig
|
2520
|
+
#
|
2521
|
+
# @example Request syntax with placeholder values
|
2522
|
+
#
|
2523
|
+
# resp = client.get_query_logging_config({
|
2524
|
+
# id: "QueryLoggingConfigId", # required
|
2525
|
+
# })
|
2526
|
+
#
|
2527
|
+
# @example Response structure
|
2528
|
+
#
|
2529
|
+
# resp.query_logging_config.id #=> String
|
2530
|
+
# resp.query_logging_config.hosted_zone_id #=> String
|
2531
|
+
# resp.query_logging_config.cloud_watch_logs_log_group_arn #=> String
|
2532
|
+
#
|
2533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfig AWS API Documentation
|
2534
|
+
#
|
2535
|
+
# @overload get_query_logging_config(params = {})
|
2536
|
+
# @param [Hash] params ({})
|
2537
|
+
def get_query_logging_config(params = {}, options = {})
|
2538
|
+
req = build_request(:get_query_logging_config, params)
|
2539
|
+
req.send_request(options)
|
2540
|
+
end
|
2541
|
+
|
2301
2542
|
# Retrieves information about a specified reusable delegation set,
|
2302
2543
|
# including the four name servers that are assigned to the delegation
|
2303
2544
|
# set.
|
@@ -2821,6 +3062,78 @@ module Aws::Route53
|
|
2821
3062
|
req.send_request(options)
|
2822
3063
|
end
|
2823
3064
|
|
3065
|
+
# Lists the configurations for DNS query logging that are associated
|
3066
|
+
# with the current AWS account or the configuration that is associated
|
3067
|
+
# with a specified hosted zone.
|
3068
|
+
#
|
3069
|
+
# For more information about DNS query logs, see
|
3070
|
+
# CreateQueryLoggingConfig. Additional information, including the format
|
3071
|
+
# of DNS query logs, appears in [Logging DNS Queries][1] in the *Amazon
|
3072
|
+
# Route 53 Developer Guide*.
|
3073
|
+
#
|
3074
|
+
#
|
3075
|
+
#
|
3076
|
+
# [1]: http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html
|
3077
|
+
#
|
3078
|
+
# @option params [String] :hosted_zone_id
|
3079
|
+
# (Optional) If you want to list the query logging configuration that is
|
3080
|
+
# associated with a hosted zone, specify the ID in `HostedZoneId`.
|
3081
|
+
#
|
3082
|
+
# If you don't specify a hosted zone ID, `ListQueryLoggingConfigs`
|
3083
|
+
# returns all of the configurations that are associated with the current
|
3084
|
+
# AWS account.
|
3085
|
+
#
|
3086
|
+
# @option params [String] :next_token
|
3087
|
+
# (Optional) If the current AWS account has more than `MaxResults` query
|
3088
|
+
# logging configurations, use `NextToken` to get the second and
|
3089
|
+
# subsequent pages of results.
|
3090
|
+
#
|
3091
|
+
# For the first `ListQueryLoggingConfigs` request, omit this value.
|
3092
|
+
#
|
3093
|
+
# For the second and subsequent requests, get the value of `NextToken`
|
3094
|
+
# from the previous response and specify that value for `NextToken` in
|
3095
|
+
# the request.
|
3096
|
+
#
|
3097
|
+
# @option params [String] :max_results
|
3098
|
+
# (Optional) The maximum number of query logging configurations that you
|
3099
|
+
# want Amazon Route 53 to return in response to the current request. If
|
3100
|
+
# the current AWS account has more than `MaxResults` configurations, use
|
3101
|
+
# the value of ListQueryLoggingConfigsResponse$NextToken in the response
|
3102
|
+
# to get the next page of results.
|
3103
|
+
#
|
3104
|
+
# If you don't specify a value for `MaxResults`, Amazon Route 53
|
3105
|
+
# returns up to 100 configurations.
|
3106
|
+
#
|
3107
|
+
# @return [Types::ListQueryLoggingConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3108
|
+
#
|
3109
|
+
# * {Types::ListQueryLoggingConfigsResponse#query_logging_configs #query_logging_configs} => Array<Types::QueryLoggingConfig>
|
3110
|
+
# * {Types::ListQueryLoggingConfigsResponse#next_token #next_token} => String
|
3111
|
+
#
|
3112
|
+
# @example Request syntax with placeholder values
|
3113
|
+
#
|
3114
|
+
# resp = client.list_query_logging_configs({
|
3115
|
+
# hosted_zone_id: "ResourceId",
|
3116
|
+
# next_token: "PaginationToken",
|
3117
|
+
# max_results: "MaxResults",
|
3118
|
+
# })
|
3119
|
+
#
|
3120
|
+
# @example Response structure
|
3121
|
+
#
|
3122
|
+
# resp.query_logging_configs #=> Array
|
3123
|
+
# resp.query_logging_configs[0].id #=> String
|
3124
|
+
# resp.query_logging_configs[0].hosted_zone_id #=> String
|
3125
|
+
# resp.query_logging_configs[0].cloud_watch_logs_log_group_arn #=> String
|
3126
|
+
# resp.next_token #=> String
|
3127
|
+
#
|
3128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigs AWS API Documentation
|
3129
|
+
#
|
3130
|
+
# @overload list_query_logging_configs(params = {})
|
3131
|
+
# @param [Hash] params ({})
|
3132
|
+
def list_query_logging_configs(params = {}, options = {})
|
3133
|
+
req = build_request(:list_query_logging_configs, params)
|
3134
|
+
req.send_request(options)
|
3135
|
+
end
|
3136
|
+
|
2824
3137
|
# Lists the resource record sets in a specified hosted zone.
|
2825
3138
|
#
|
2826
3139
|
# `ListResourceRecordSets` returns up to 100 resource record sets at a
|
@@ -4225,7 +4538,7 @@ module Aws::Route53
|
|
4225
4538
|
params: params,
|
4226
4539
|
config: config)
|
4227
4540
|
context[:gem_name] = 'aws-sdk-route53'
|
4228
|
-
context[:gem_version] = '1.
|
4541
|
+
context[:gem_version] = '1.1.0'
|
4229
4542
|
Seahorse::Client::Request.new(handlers, context)
|
4230
4543
|
end
|
4231
4544
|
|
@@ -31,6 +31,7 @@ module Aws::Route53
|
|
31
31
|
CheckerIpRanges = Shapes::ListShape.new(name: 'CheckerIpRanges')
|
32
32
|
ChildHealthCheckList = Shapes::ListShape.new(name: 'ChildHealthCheckList')
|
33
33
|
CloudWatchAlarmConfiguration = Shapes::StructureShape.new(name: 'CloudWatchAlarmConfiguration')
|
34
|
+
CloudWatchLogsLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogsLogGroupArn')
|
34
35
|
CloudWatchRegion = Shapes::StringShape.new(name: 'CloudWatchRegion')
|
35
36
|
ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
|
36
37
|
ConcurrentModification = Shapes::StructureShape.new(name: 'ConcurrentModification')
|
@@ -40,6 +41,8 @@ module Aws::Route53
|
|
40
41
|
CreateHealthCheckResponse = Shapes::StructureShape.new(name: 'CreateHealthCheckResponse')
|
41
42
|
CreateHostedZoneRequest = Shapes::StructureShape.new(name: 'CreateHostedZoneRequest')
|
42
43
|
CreateHostedZoneResponse = Shapes::StructureShape.new(name: 'CreateHostedZoneResponse')
|
44
|
+
CreateQueryLoggingConfigRequest = Shapes::StructureShape.new(name: 'CreateQueryLoggingConfigRequest')
|
45
|
+
CreateQueryLoggingConfigResponse = Shapes::StructureShape.new(name: 'CreateQueryLoggingConfigResponse')
|
43
46
|
CreateReusableDelegationSetRequest = Shapes::StructureShape.new(name: 'CreateReusableDelegationSetRequest')
|
44
47
|
CreateReusableDelegationSetResponse = Shapes::StructureShape.new(name: 'CreateReusableDelegationSetResponse')
|
45
48
|
CreateTrafficPolicyInstanceRequest = Shapes::StructureShape.new(name: 'CreateTrafficPolicyInstanceRequest')
|
@@ -64,6 +67,8 @@ module Aws::Route53
|
|
64
67
|
DeleteHealthCheckResponse = Shapes::StructureShape.new(name: 'DeleteHealthCheckResponse')
|
65
68
|
DeleteHostedZoneRequest = Shapes::StructureShape.new(name: 'DeleteHostedZoneRequest')
|
66
69
|
DeleteHostedZoneResponse = Shapes::StructureShape.new(name: 'DeleteHostedZoneResponse')
|
70
|
+
DeleteQueryLoggingConfigRequest = Shapes::StructureShape.new(name: 'DeleteQueryLoggingConfigRequest')
|
71
|
+
DeleteQueryLoggingConfigResponse = Shapes::StructureShape.new(name: 'DeleteQueryLoggingConfigResponse')
|
67
72
|
DeleteReusableDelegationSetRequest = Shapes::StructureShape.new(name: 'DeleteReusableDelegationSetRequest')
|
68
73
|
DeleteReusableDelegationSetResponse = Shapes::StructureShape.new(name: 'DeleteReusableDelegationSetResponse')
|
69
74
|
DeleteTrafficPolicyInstanceRequest = Shapes::StructureShape.new(name: 'DeleteTrafficPolicyInstanceRequest')
|
@@ -111,6 +116,8 @@ module Aws::Route53
|
|
111
116
|
GetHostedZoneCountResponse = Shapes::StructureShape.new(name: 'GetHostedZoneCountResponse')
|
112
117
|
GetHostedZoneRequest = Shapes::StructureShape.new(name: 'GetHostedZoneRequest')
|
113
118
|
GetHostedZoneResponse = Shapes::StructureShape.new(name: 'GetHostedZoneResponse')
|
119
|
+
GetQueryLoggingConfigRequest = Shapes::StructureShape.new(name: 'GetQueryLoggingConfigRequest')
|
120
|
+
GetQueryLoggingConfigResponse = Shapes::StructureShape.new(name: 'GetQueryLoggingConfigResponse')
|
114
121
|
GetReusableDelegationSetRequest = Shapes::StructureShape.new(name: 'GetReusableDelegationSetRequest')
|
115
122
|
GetReusableDelegationSetResponse = Shapes::StructureShape.new(name: 'GetReusableDelegationSetResponse')
|
116
123
|
GetTrafficPolicyInstanceCountRequest = Shapes::StructureShape.new(name: 'GetTrafficPolicyInstanceCountRequest')
|
@@ -146,6 +153,7 @@ module Aws::Route53
|
|
146
153
|
IPAddress = Shapes::StringShape.new(name: 'IPAddress')
|
147
154
|
IPAddressCidr = Shapes::StringShape.new(name: 'IPAddressCidr')
|
148
155
|
IncompatibleVersion = Shapes::StructureShape.new(name: 'IncompatibleVersion')
|
156
|
+
InsufficientCloudWatchLogsResourcePolicy = Shapes::StructureShape.new(name: 'InsufficientCloudWatchLogsResourcePolicy')
|
149
157
|
InsufficientDataHealthStatus = Shapes::StringShape.new(name: 'InsufficientDataHealthStatus')
|
150
158
|
InvalidArgument = Shapes::StructureShape.new(name: 'InvalidArgument')
|
151
159
|
InvalidChangeBatch = Shapes::StructureShape.new(name: 'InvalidChangeBatch')
|
@@ -166,6 +174,8 @@ module Aws::Route53
|
|
166
174
|
ListHostedZonesByNameResponse = Shapes::StructureShape.new(name: 'ListHostedZonesByNameResponse')
|
167
175
|
ListHostedZonesRequest = Shapes::StructureShape.new(name: 'ListHostedZonesRequest')
|
168
176
|
ListHostedZonesResponse = Shapes::StructureShape.new(name: 'ListHostedZonesResponse')
|
177
|
+
ListQueryLoggingConfigsRequest = Shapes::StructureShape.new(name: 'ListQueryLoggingConfigsRequest')
|
178
|
+
ListQueryLoggingConfigsResponse = Shapes::StructureShape.new(name: 'ListQueryLoggingConfigsResponse')
|
169
179
|
ListResourceRecordSetsRequest = Shapes::StructureShape.new(name: 'ListResourceRecordSetsRequest')
|
170
180
|
ListResourceRecordSetsResponse = Shapes::StructureShape.new(name: 'ListResourceRecordSetsResponse')
|
171
181
|
ListReusableDelegationSetsRequest = Shapes::StructureShape.new(name: 'ListReusableDelegationSetsRequest')
|
@@ -193,10 +203,12 @@ module Aws::Route53
|
|
193
203
|
Nameserver = Shapes::StringShape.new(name: 'Nameserver')
|
194
204
|
Namespace = Shapes::StringShape.new(name: 'Namespace')
|
195
205
|
NoSuchChange = Shapes::StructureShape.new(name: 'NoSuchChange')
|
206
|
+
NoSuchCloudWatchLogsLogGroup = Shapes::StructureShape.new(name: 'NoSuchCloudWatchLogsLogGroup')
|
196
207
|
NoSuchDelegationSet = Shapes::StructureShape.new(name: 'NoSuchDelegationSet')
|
197
208
|
NoSuchGeoLocation = Shapes::StructureShape.new(name: 'NoSuchGeoLocation')
|
198
209
|
NoSuchHealthCheck = Shapes::StructureShape.new(name: 'NoSuchHealthCheck')
|
199
210
|
NoSuchHostedZone = Shapes::StructureShape.new(name: 'NoSuchHostedZone')
|
211
|
+
NoSuchQueryLoggingConfig = Shapes::StructureShape.new(name: 'NoSuchQueryLoggingConfig')
|
200
212
|
NoSuchTrafficPolicy = Shapes::StructureShape.new(name: 'NoSuchTrafficPolicy')
|
201
213
|
NoSuchTrafficPolicyInstance = Shapes::StructureShape.new(name: 'NoSuchTrafficPolicyInstance')
|
202
214
|
Nonce = Shapes::StringShape.new(name: 'Nonce')
|
@@ -209,6 +221,10 @@ module Aws::Route53
|
|
209
221
|
Port = Shapes::IntegerShape.new(name: 'Port')
|
210
222
|
PriorRequestNotComplete = Shapes::StructureShape.new(name: 'PriorRequestNotComplete')
|
211
223
|
PublicZoneVPCAssociation = Shapes::StructureShape.new(name: 'PublicZoneVPCAssociation')
|
224
|
+
QueryLoggingConfig = Shapes::StructureShape.new(name: 'QueryLoggingConfig')
|
225
|
+
QueryLoggingConfigAlreadyExists = Shapes::StructureShape.new(name: 'QueryLoggingConfigAlreadyExists')
|
226
|
+
QueryLoggingConfigId = Shapes::StringShape.new(name: 'QueryLoggingConfigId')
|
227
|
+
QueryLoggingConfigs = Shapes::ListShape.new(name: 'QueryLoggingConfigs')
|
212
228
|
RData = Shapes::StringShape.new(name: 'RData')
|
213
229
|
RRType = Shapes::StringShape.new(name: 'RRType')
|
214
230
|
RecordData = Shapes::ListShape.new(name: 'RecordData')
|
@@ -371,6 +387,14 @@ module Aws::Route53
|
|
371
387
|
CreateHostedZoneResponse.add_member(:location, Shapes::ShapeRef.new(shape: ResourceURI, required: true, location: "header", location_name: "Location"))
|
372
388
|
CreateHostedZoneResponse.struct_class = Types::CreateHostedZoneResponse
|
373
389
|
|
390
|
+
CreateQueryLoggingConfigRequest.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "HostedZoneId"))
|
391
|
+
CreateQueryLoggingConfigRequest.add_member(:cloud_watch_logs_log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogsLogGroupArn, required: true, location_name: "CloudWatchLogsLogGroupArn"))
|
392
|
+
CreateQueryLoggingConfigRequest.struct_class = Types::CreateQueryLoggingConfigRequest
|
393
|
+
|
394
|
+
CreateQueryLoggingConfigResponse.add_member(:query_logging_config, Shapes::ShapeRef.new(shape: QueryLoggingConfig, required: true, location_name: "QueryLoggingConfig"))
|
395
|
+
CreateQueryLoggingConfigResponse.add_member(:location, Shapes::ShapeRef.new(shape: ResourceURI, required: true, location: "header", location_name: "Location"))
|
396
|
+
CreateQueryLoggingConfigResponse.struct_class = Types::CreateQueryLoggingConfigResponse
|
397
|
+
|
374
398
|
CreateReusableDelegationSetRequest.add_member(:caller_reference, Shapes::ShapeRef.new(shape: Nonce, required: true, location_name: "CallerReference"))
|
375
399
|
CreateReusableDelegationSetRequest.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "HostedZoneId"))
|
376
400
|
CreateReusableDelegationSetRequest.struct_class = Types::CreateReusableDelegationSetRequest
|
@@ -436,6 +460,11 @@ module Aws::Route53
|
|
436
460
|
DeleteHostedZoneResponse.add_member(:change_info, Shapes::ShapeRef.new(shape: ChangeInfo, required: true, location_name: "ChangeInfo"))
|
437
461
|
DeleteHostedZoneResponse.struct_class = Types::DeleteHostedZoneResponse
|
438
462
|
|
463
|
+
DeleteQueryLoggingConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: QueryLoggingConfigId, required: true, location: "uri", location_name: "Id"))
|
464
|
+
DeleteQueryLoggingConfigRequest.struct_class = Types::DeleteQueryLoggingConfigRequest
|
465
|
+
|
466
|
+
DeleteQueryLoggingConfigResponse.struct_class = Types::DeleteQueryLoggingConfigResponse
|
467
|
+
|
439
468
|
DeleteReusableDelegationSetRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id"))
|
440
469
|
DeleteReusableDelegationSetRequest.struct_class = Types::DeleteReusableDelegationSetRequest
|
441
470
|
|
@@ -544,6 +573,12 @@ module Aws::Route53
|
|
544
573
|
GetHostedZoneResponse.add_member(:vp_cs, Shapes::ShapeRef.new(shape: VPCs, location_name: "VPCs"))
|
545
574
|
GetHostedZoneResponse.struct_class = Types::GetHostedZoneResponse
|
546
575
|
|
576
|
+
GetQueryLoggingConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: QueryLoggingConfigId, required: true, location: "uri", location_name: "Id"))
|
577
|
+
GetQueryLoggingConfigRequest.struct_class = Types::GetQueryLoggingConfigRequest
|
578
|
+
|
579
|
+
GetQueryLoggingConfigResponse.add_member(:query_logging_config, Shapes::ShapeRef.new(shape: QueryLoggingConfig, required: true, location_name: "QueryLoggingConfig"))
|
580
|
+
GetQueryLoggingConfigResponse.struct_class = Types::GetQueryLoggingConfigResponse
|
581
|
+
|
547
582
|
GetReusableDelegationSetRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id"))
|
548
583
|
GetReusableDelegationSetRequest.struct_class = Types::GetReusableDelegationSetRequest
|
549
584
|
|
@@ -668,6 +703,15 @@ module Aws::Route53
|
|
668
703
|
ListHostedZonesResponse.add_member(:max_items, Shapes::ShapeRef.new(shape: PageMaxItems, required: true, location_name: "MaxItems"))
|
669
704
|
ListHostedZonesResponse.struct_class = Types::ListHostedZonesResponse
|
670
705
|
|
706
|
+
ListQueryLoggingConfigsRequest.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: ResourceId, location: "querystring", location_name: "hostedzoneid"))
|
707
|
+
ListQueryLoggingConfigsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nexttoken"))
|
708
|
+
ListQueryLoggingConfigsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxresults"))
|
709
|
+
ListQueryLoggingConfigsRequest.struct_class = Types::ListQueryLoggingConfigsRequest
|
710
|
+
|
711
|
+
ListQueryLoggingConfigsResponse.add_member(:query_logging_configs, Shapes::ShapeRef.new(shape: QueryLoggingConfigs, required: true, location_name: "QueryLoggingConfigs"))
|
712
|
+
ListQueryLoggingConfigsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
713
|
+
ListQueryLoggingConfigsResponse.struct_class = Types::ListQueryLoggingConfigsResponse
|
714
|
+
|
671
715
|
ListResourceRecordSetsRequest.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id"))
|
672
716
|
ListResourceRecordSetsRequest.add_member(:start_record_name, Shapes::ShapeRef.new(shape: DNSName, location: "querystring", location_name: "name"))
|
673
717
|
ListResourceRecordSetsRequest.add_member(:start_record_type, Shapes::ShapeRef.new(shape: RRType, location: "querystring", location_name: "type"))
|
@@ -782,6 +826,13 @@ module Aws::Route53
|
|
782
826
|
ListVPCAssociationAuthorizationsResponse.add_member(:vp_cs, Shapes::ShapeRef.new(shape: VPCs, required: true, location_name: "VPCs"))
|
783
827
|
ListVPCAssociationAuthorizationsResponse.struct_class = Types::ListVPCAssociationAuthorizationsResponse
|
784
828
|
|
829
|
+
QueryLoggingConfig.add_member(:id, Shapes::ShapeRef.new(shape: QueryLoggingConfigId, required: true, location_name: "Id"))
|
830
|
+
QueryLoggingConfig.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "HostedZoneId"))
|
831
|
+
QueryLoggingConfig.add_member(:cloud_watch_logs_log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogsLogGroupArn, required: true, location_name: "CloudWatchLogsLogGroupArn"))
|
832
|
+
QueryLoggingConfig.struct_class = Types::QueryLoggingConfig
|
833
|
+
|
834
|
+
QueryLoggingConfigs.member = Shapes::ShapeRef.new(shape: QueryLoggingConfig, location_name: "QueryLoggingConfig")
|
835
|
+
|
785
836
|
RecordData.member = Shapes::ShapeRef.new(shape: RecordDataEntry, location_name: "RecordDataEntry")
|
786
837
|
|
787
838
|
ResourceRecord.add_member(:value, Shapes::ShapeRef.new(shape: RData, required: true, location_name: "Value"))
|
@@ -1032,6 +1083,25 @@ module Aws::Route53
|
|
1032
1083
|
o.errors << Shapes::ShapeRef.new(shape: DelegationSetNotReusable)
|
1033
1084
|
end)
|
1034
1085
|
|
1086
|
+
api.add_operation(:create_query_logging_config, Seahorse::Model::Operation.new.tap do |o|
|
1087
|
+
o.name = "CreateQueryLoggingConfig"
|
1088
|
+
o.http_method = "POST"
|
1089
|
+
o.http_request_uri = "/2013-04-01/queryloggingconfig"
|
1090
|
+
o.input = Shapes::ShapeRef.new(shape: CreateQueryLoggingConfigRequest,
|
1091
|
+
location_name: "CreateQueryLoggingConfigRequest",
|
1092
|
+
metadata: {
|
1093
|
+
"xmlNamespace" => {"uri"=>"https://route53.amazonaws.com/doc/2013-04-01/"}
|
1094
|
+
}
|
1095
|
+
)
|
1096
|
+
o.output = Shapes::ShapeRef.new(shape: CreateQueryLoggingConfigResponse)
|
1097
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModification)
|
1098
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchHostedZone)
|
1099
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudWatchLogsLogGroup)
|
1100
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
1101
|
+
o.errors << Shapes::ShapeRef.new(shape: QueryLoggingConfigAlreadyExists)
|
1102
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientCloudWatchLogsResourcePolicy)
|
1103
|
+
end)
|
1104
|
+
|
1035
1105
|
api.add_operation(:create_reusable_delegation_set, Seahorse::Model::Operation.new.tap do |o|
|
1036
1106
|
o.name = "CreateReusableDelegationSet"
|
1037
1107
|
o.http_method = "POST"
|
@@ -1146,6 +1216,17 @@ module Aws::Route53
|
|
1146
1216
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDomainName)
|
1147
1217
|
end)
|
1148
1218
|
|
1219
|
+
api.add_operation(:delete_query_logging_config, Seahorse::Model::Operation.new.tap do |o|
|
1220
|
+
o.name = "DeleteQueryLoggingConfig"
|
1221
|
+
o.http_method = "DELETE"
|
1222
|
+
o.http_request_uri = "/2013-04-01/queryloggingconfig/{Id}"
|
1223
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteQueryLoggingConfigRequest)
|
1224
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteQueryLoggingConfigResponse)
|
1225
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModification)
|
1226
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchQueryLoggingConfig)
|
1227
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
1228
|
+
end)
|
1229
|
+
|
1149
1230
|
api.add_operation(:delete_reusable_delegation_set, Seahorse::Model::Operation.new.tap do |o|
|
1150
1231
|
o.name = "DeleteReusableDelegationSet"
|
1151
1232
|
o.http_method = "DELETE"
|
@@ -1303,6 +1384,16 @@ module Aws::Route53
|
|
1303
1384
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
1304
1385
|
end)
|
1305
1386
|
|
1387
|
+
api.add_operation(:get_query_logging_config, Seahorse::Model::Operation.new.tap do |o|
|
1388
|
+
o.name = "GetQueryLoggingConfig"
|
1389
|
+
o.http_method = "GET"
|
1390
|
+
o.http_request_uri = "/2013-04-01/queryloggingconfig/{Id}"
|
1391
|
+
o.input = Shapes::ShapeRef.new(shape: GetQueryLoggingConfigRequest)
|
1392
|
+
o.output = Shapes::ShapeRef.new(shape: GetQueryLoggingConfigResponse)
|
1393
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchQueryLoggingConfig)
|
1394
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
1395
|
+
end)
|
1396
|
+
|
1306
1397
|
api.add_operation(:get_reusable_delegation_set, Seahorse::Model::Operation.new.tap do |o|
|
1307
1398
|
o.name = "GetReusableDelegationSet"
|
1308
1399
|
o.http_method = "GET"
|
@@ -1396,6 +1487,17 @@ module Aws::Route53
|
|
1396
1487
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDomainName)
|
1397
1488
|
end)
|
1398
1489
|
|
1490
|
+
api.add_operation(:list_query_logging_configs, Seahorse::Model::Operation.new.tap do |o|
|
1491
|
+
o.name = "ListQueryLoggingConfigs"
|
1492
|
+
o.http_method = "GET"
|
1493
|
+
o.http_request_uri = "/2013-04-01/queryloggingconfig"
|
1494
|
+
o.input = Shapes::ShapeRef.new(shape: ListQueryLoggingConfigsRequest)
|
1495
|
+
o.output = Shapes::ShapeRef.new(shape: ListQueryLoggingConfigsResponse)
|
1496
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
1497
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationToken)
|
1498
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchHostedZone)
|
1499
|
+
end)
|
1500
|
+
|
1399
1501
|
api.add_operation(:list_resource_record_sets, Seahorse::Model::Operation.new.tap do |o|
|
1400
1502
|
o.name = "ListResourceRecordSets"
|
1401
1503
|
o.http_method = "GET"
|
@@ -992,6 +992,63 @@ module Aws::Route53
|
|
992
992
|
include Aws::Structure
|
993
993
|
end
|
994
994
|
|
995
|
+
# @note When making an API call, you may pass CreateQueryLoggingConfigRequest
|
996
|
+
# data as a hash:
|
997
|
+
#
|
998
|
+
# {
|
999
|
+
# hosted_zone_id: "ResourceId", # required
|
1000
|
+
# cloud_watch_logs_log_group_arn: "CloudWatchLogsLogGroupArn", # required
|
1001
|
+
# }
|
1002
|
+
#
|
1003
|
+
# @!attribute [rw] hosted_zone_id
|
1004
|
+
# The ID of the hosted zone that you want to log queries for. You can
|
1005
|
+
# log queries only for public hosted zones.
|
1006
|
+
# @return [String]
|
1007
|
+
#
|
1008
|
+
# @!attribute [rw] cloud_watch_logs_log_group_arn
|
1009
|
+
# The Amazon Resource Name (ARN) for the log group that you want to
|
1010
|
+
# Amazon Route 53 to send query logs to. This is the format of the
|
1011
|
+
# ARN:
|
1012
|
+
#
|
1013
|
+
# arn:aws:logs:*region*\:*account-id*\:log-group:*log\_group\_name*
|
1014
|
+
#
|
1015
|
+
# To get the ARN for a log group, you can use the CloudWatch console,
|
1016
|
+
# the [DescribeLogGroups][1] API action, the [describe-log-groups][2]
|
1017
|
+
# command, or the applicable command in one of the AWS SDKs.
|
1018
|
+
#
|
1019
|
+
#
|
1020
|
+
#
|
1021
|
+
# [1]: http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html
|
1022
|
+
# [2]: http://docs.aws.amazon.com/cli/latest/reference/logs/describe-log-groups.html
|
1023
|
+
# @return [String]
|
1024
|
+
#
|
1025
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfigRequest AWS API Documentation
|
1026
|
+
#
|
1027
|
+
class CreateQueryLoggingConfigRequest < Struct.new(
|
1028
|
+
:hosted_zone_id,
|
1029
|
+
:cloud_watch_logs_log_group_arn)
|
1030
|
+
include Aws::Structure
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
# @!attribute [rw] query_logging_config
|
1034
|
+
# A complex type that contains the ID for a query logging
|
1035
|
+
# configuration, the ID of the hosted zone that you want to log
|
1036
|
+
# queries for, and the ARN for the log group that you want Amazon
|
1037
|
+
# Route 53 to send query logs to.
|
1038
|
+
# @return [Types::QueryLoggingConfig]
|
1039
|
+
#
|
1040
|
+
# @!attribute [rw] location
|
1041
|
+
# The unique URL representing the new query logging configuration.
|
1042
|
+
# @return [String]
|
1043
|
+
#
|
1044
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfigResponse AWS API Documentation
|
1045
|
+
#
|
1046
|
+
class CreateQueryLoggingConfigResponse < Struct.new(
|
1047
|
+
:query_logging_config,
|
1048
|
+
:location)
|
1049
|
+
include Aws::Structure
|
1050
|
+
end
|
1051
|
+
|
995
1052
|
# @note When making an API call, you may pass CreateReusableDelegationSetRequest
|
996
1053
|
# data as a hash:
|
997
1054
|
#
|
@@ -1369,6 +1426,28 @@ module Aws::Route53
|
|
1369
1426
|
include Aws::Structure
|
1370
1427
|
end
|
1371
1428
|
|
1429
|
+
# @note When making an API call, you may pass DeleteQueryLoggingConfigRequest
|
1430
|
+
# data as a hash:
|
1431
|
+
#
|
1432
|
+
# {
|
1433
|
+
# id: "QueryLoggingConfigId", # required
|
1434
|
+
# }
|
1435
|
+
#
|
1436
|
+
# @!attribute [rw] id
|
1437
|
+
# The ID of the configuration that you want to delete.
|
1438
|
+
# @return [String]
|
1439
|
+
#
|
1440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfigRequest AWS API Documentation
|
1441
|
+
#
|
1442
|
+
class DeleteQueryLoggingConfigRequest < Struct.new(
|
1443
|
+
:id)
|
1444
|
+
include Aws::Structure
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfigResponse AWS API Documentation
|
1448
|
+
#
|
1449
|
+
class DeleteQueryLoggingConfigResponse < Aws::EmptyStructure; end
|
1450
|
+
|
1372
1451
|
# A request to delete a reusable delegation set.
|
1373
1452
|
#
|
1374
1453
|
# @note When making an API call, you may pass DeleteReusableDelegationSetRequest
|
@@ -1992,6 +2071,37 @@ module Aws::Route53
|
|
1992
2071
|
include Aws::Structure
|
1993
2072
|
end
|
1994
2073
|
|
2074
|
+
# @note When making an API call, you may pass GetQueryLoggingConfigRequest
|
2075
|
+
# data as a hash:
|
2076
|
+
#
|
2077
|
+
# {
|
2078
|
+
# id: "QueryLoggingConfigId", # required
|
2079
|
+
# }
|
2080
|
+
#
|
2081
|
+
# @!attribute [rw] id
|
2082
|
+
# The ID of the configuration for DNS query logging that you want to
|
2083
|
+
# get information about.
|
2084
|
+
# @return [String]
|
2085
|
+
#
|
2086
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfigRequest AWS API Documentation
|
2087
|
+
#
|
2088
|
+
class GetQueryLoggingConfigRequest < Struct.new(
|
2089
|
+
:id)
|
2090
|
+
include Aws::Structure
|
2091
|
+
end
|
2092
|
+
|
2093
|
+
# @!attribute [rw] query_logging_config
|
2094
|
+
# A complex type that contains information about the query logging
|
2095
|
+
# configuration that you specified in a GetQueryLoggingConfig request.
|
2096
|
+
# @return [Types::QueryLoggingConfig]
|
2097
|
+
#
|
2098
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfigResponse AWS API Documentation
|
2099
|
+
#
|
2100
|
+
class GetQueryLoggingConfigResponse < Struct.new(
|
2101
|
+
:query_logging_config)
|
2102
|
+
include Aws::Structure
|
2103
|
+
end
|
2104
|
+
|
1995
2105
|
# A request to get information about a specified reusable delegation
|
1996
2106
|
# set.
|
1997
2107
|
#
|
@@ -3066,6 +3176,83 @@ module Aws::Route53
|
|
3066
3176
|
include Aws::Structure
|
3067
3177
|
end
|
3068
3178
|
|
3179
|
+
# @note When making an API call, you may pass ListQueryLoggingConfigsRequest
|
3180
|
+
# data as a hash:
|
3181
|
+
#
|
3182
|
+
# {
|
3183
|
+
# hosted_zone_id: "ResourceId",
|
3184
|
+
# next_token: "PaginationToken",
|
3185
|
+
# max_results: "MaxResults",
|
3186
|
+
# }
|
3187
|
+
#
|
3188
|
+
# @!attribute [rw] hosted_zone_id
|
3189
|
+
# (Optional) If you want to list the query logging configuration that
|
3190
|
+
# is associated with a hosted zone, specify the ID in `HostedZoneId`.
|
3191
|
+
#
|
3192
|
+
# If you don't specify a hosted zone ID, `ListQueryLoggingConfigs`
|
3193
|
+
# returns all of the configurations that are associated with the
|
3194
|
+
# current AWS account.
|
3195
|
+
# @return [String]
|
3196
|
+
#
|
3197
|
+
# @!attribute [rw] next_token
|
3198
|
+
# (Optional) If the current AWS account has more than `MaxResults`
|
3199
|
+
# query logging configurations, use `NextToken` to get the second and
|
3200
|
+
# subsequent pages of results.
|
3201
|
+
#
|
3202
|
+
# For the first `ListQueryLoggingConfigs` request, omit this value.
|
3203
|
+
#
|
3204
|
+
# For the second and subsequent requests, get the value of `NextToken`
|
3205
|
+
# from the previous response and specify that value for `NextToken` in
|
3206
|
+
# the request.
|
3207
|
+
# @return [String]
|
3208
|
+
#
|
3209
|
+
# @!attribute [rw] max_results
|
3210
|
+
# (Optional) The maximum number of query logging configurations that
|
3211
|
+
# you want Amazon Route 53 to return in response to the current
|
3212
|
+
# request. If the current AWS account has more than `MaxResults`
|
3213
|
+
# configurations, use the value of
|
3214
|
+
# ListQueryLoggingConfigsResponse$NextToken in the response to get the
|
3215
|
+
# next page of results.
|
3216
|
+
#
|
3217
|
+
# If you don't specify a value for `MaxResults`, Amazon Route 53
|
3218
|
+
# returns up to 100 configurations.
|
3219
|
+
# @return [String]
|
3220
|
+
#
|
3221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigsRequest AWS API Documentation
|
3222
|
+
#
|
3223
|
+
class ListQueryLoggingConfigsRequest < Struct.new(
|
3224
|
+
:hosted_zone_id,
|
3225
|
+
:next_token,
|
3226
|
+
:max_results)
|
3227
|
+
include Aws::Structure
|
3228
|
+
end
|
3229
|
+
|
3230
|
+
# @!attribute [rw] query_logging_configs
|
3231
|
+
# An array that contains one QueryLoggingConfig element for each
|
3232
|
+
# configuration for DNS query logging that is associated with the
|
3233
|
+
# current AWS account.
|
3234
|
+
# @return [Array<Types::QueryLoggingConfig>]
|
3235
|
+
#
|
3236
|
+
# @!attribute [rw] next_token
|
3237
|
+
# If a response includes the last of the query logging configurations
|
3238
|
+
# that are associated with the current AWS account, `NextToken`
|
3239
|
+
# doesn't appear in the response.
|
3240
|
+
#
|
3241
|
+
# If a response doesn't include the last of the configurations, you
|
3242
|
+
# can get more configurations by submitting another
|
3243
|
+
# ListQueryLoggingConfigs request. Get the value of `NextToken` that
|
3244
|
+
# Amazon Route 53 returned in the previous response and include it in
|
3245
|
+
# `NextToken` in the next request.
|
3246
|
+
# @return [String]
|
3247
|
+
#
|
3248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigsResponse AWS API Documentation
|
3249
|
+
#
|
3250
|
+
class ListQueryLoggingConfigsResponse < Struct.new(
|
3251
|
+
:query_logging_configs,
|
3252
|
+
:next_token)
|
3253
|
+
include Aws::Structure
|
3254
|
+
end
|
3255
|
+
|
3069
3256
|
# A request for the resource record sets that are associated with a
|
3070
3257
|
# specified hosted zone.
|
3071
3258
|
#
|
@@ -3997,6 +4184,32 @@ module Aws::Route53
|
|
3997
4184
|
include Aws::Structure
|
3998
4185
|
end
|
3999
4186
|
|
4187
|
+
# A complex type that contains information about a configuration for DNS
|
4188
|
+
# query logging.
|
4189
|
+
#
|
4190
|
+
# @!attribute [rw] id
|
4191
|
+
# The ID for a configuration for DNS query logging.
|
4192
|
+
# @return [String]
|
4193
|
+
#
|
4194
|
+
# @!attribute [rw] hosted_zone_id
|
4195
|
+
# The ID of the hosted zone that CloudWatch Logs is logging queries
|
4196
|
+
# for.
|
4197
|
+
# @return [String]
|
4198
|
+
#
|
4199
|
+
# @!attribute [rw] cloud_watch_logs_log_group_arn
|
4200
|
+
# The Amazon Resource Name (ARN) of the CloudWatch Logs log group that
|
4201
|
+
# Amazon Route 53 is publishing logs to.
|
4202
|
+
# @return [String]
|
4203
|
+
#
|
4204
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/QueryLoggingConfig AWS API Documentation
|
4205
|
+
#
|
4206
|
+
class QueryLoggingConfig < Struct.new(
|
4207
|
+
:id,
|
4208
|
+
:hosted_zone_id,
|
4209
|
+
:cloud_watch_logs_log_group_arn)
|
4210
|
+
include Aws::Structure
|
4211
|
+
end
|
4212
|
+
|
4000
4213
|
# Information specific to the resource record.
|
4001
4214
|
#
|
4002
4215
|
# <note markdown="1"> If you're creating an alias resource record set, omit
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-route53
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.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: 2017-
|
11
|
+
date: 2017-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -58,7 +58,9 @@ files:
|
|
58
58
|
homepage: http://github.com/aws/aws-sdk-ruby
|
59
59
|
licenses:
|
60
60
|
- Apache-2.0
|
61
|
-
metadata:
|
61
|
+
metadata:
|
62
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-route53
|
63
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-route53/CHANGELOG.md
|
62
64
|
post_install_message:
|
63
65
|
rdoc_options: []
|
64
66
|
require_paths:
|