Pilih preferensi cookie Anda

Kami menggunakan cookie penting serta alat serupa yang diperlukan untuk menyediakan situs dan layanan. Kami menggunakan cookie performa untuk mengumpulkan statistik anonim sehingga kami dapat memahami cara pelanggan menggunakan situs dan melakukan perbaikan. Cookie penting tidak dapat dinonaktifkan, tetapi Anda dapat mengklik “Kustom” atau “Tolak” untuk menolak cookie performa.

Jika Anda setuju, AWS dan pihak ketiga yang disetujui juga akan menggunakan cookie untuk menyediakan fitur situs yang berguna, mengingat preferensi Anda, dan menampilkan konten yang relevan, termasuk iklan yang relevan. Untuk menerima atau menolak semua cookie yang tidak penting, klik “Terima” atau “Tolak”. Untuk membuat pilihan yang lebih detail, klik “Kustomisasi”.

GetQueryLoggingConfig - Amazon Route 53
Halaman ini belum diterjemahkan ke dalam bahasa Anda. Minta terjemahan

GetQueryLoggingConfig

Gets information about a specified configuration for DNS query logging.

For more information about DNS query logs, see CreateQueryLoggingConfig and Logging DNS Queries.

Request Syntax

GET /2013-04-01/queryloggingconfig/Id HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

Id

The ID of the configuration for DNS query logging that you want to get information about.

Length Constraints: Minimum length of 1. Maximum length of 36.

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?> <GetQueryLoggingConfigResponse> <QueryLoggingConfig> <CloudWatchLogsLogGroupArn>string</CloudWatchLogsLogGroupArn> <HostedZoneId>string</HostedZoneId> <Id>string</Id> </QueryLoggingConfig> </GetQueryLoggingConfigResponse>

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

GetQueryLoggingConfigResponse

Root level tag for the GetQueryLoggingConfigResponse parameters.

Required: Yes

QueryLoggingConfig

A complex type that contains information about the query logging configuration that you specified in a GetQueryLoggingConfig request.

Type: QueryLoggingConfig object

Errors

For information about the errors that are common to all actions, see Common Errors.

InvalidInput

The input is not valid.

HTTP Status Code: 400

NoSuchQueryLoggingConfig

There is no DNS query logging configuration with the specified ID.

HTTP Status Code: 404

Examples

Example Request

The following request gets information about the configuration with the ID 87654321-dcba-1234-abcd-1a2b3c4d5e6f.

GET /2013-04-01/queryloggingconfig HTTP/1.1 <?xml version="1.0" encoding="UTF-8"?> <GetQueryLoggingConfigRequest xmlns="https://route53.amazonaws.com/doc/2013-04-01/"> <Id>87654321-dcba-1234-abcd-1a2b3c4d5e6f</Id> </GetQueryLoggingConfigRequest>

Example Response

This example illustrates one usage of GetQueryLoggingConfig.

HTTP/1.1 200 OK <?xml version="1.0" encoding="UTF-8"?> <GetQueryLoggingConfigResponse xmlns="https://route53.amazonaws.com/doc/2013-04-01/"> <QueryLoggingConfig> <Id>87654321-dcba-1234-abcd-1a2b3c4d5e6f</Id> <HostedZoneId>Z1D633PJN98FT9</HostedZoneId> <CloudWatchLogsLogGroupArn>arn:aws:logs:us-east-1:111111111111:log-group:example.com:*</CloudWatchLogsLogGroupArn> </QueryLoggingConfig> </GetQueryLoggingConfigResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

PrivasiSyarat situsPreferensi cookie
© 2025, Amazon Web Services, Inc. atau afiliasinya. Semua hak dilindungi undang-undang.