// Lists the configurations for DNS query logging that are associated with the
// current AWS account or the configuration that is associated with a specified
// hosted zone. For more information about DNS query logs, see
// CreateQueryLoggingConfig
// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateQueryLoggingConfig.html).
// Additional information, including the format of DNS query logs, appears in
// Logging DNS Queries
// (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html) in
// the Amazon Route 53 Developer Guide.
Lists the configurations for DNS query logging that are associated with the
current AWS account or the configuration that is associated with a specified
hosted zone. For more information about DNS query logs, see
CreateQueryLoggingConfig
.
Additional information, including the format of DNS query logs, appears in
Logging DNS Queries
in
the Amazon Route 53 Developer Guide.
// Lists the configurations for DNS query logging that are associated with the // current AWS account or the configuration that is associated with a specified // hosted zone . For more information about DNS query logs see // CreateQueryLoggingConfig // ( https : // docs . aws . amazon . com / Route53 / latest / APIReference / API_CreateQueryLoggingConfig . html ) . // Additional information including the format of DNS query logs appears in // Logging DNS Queries // ( https : // docs . aws . amazon . com / Route53 / latest / DeveloperGuide / query - logs . html ) in // the Amazon Route 53 Developer Guide .
func (c *Client) ListQueryLoggingConfigs(ctx context.Context, params *ListQueryLoggingConfigsInput, optFns ...func(*Options)) (*ListQueryLoggingConfigsOutput, error) {
	if params == nil {
		params = &ListQueryLoggingConfigsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListQueryLoggingConfigs", params, optFns, addOperationListQueryLoggingConfigsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListQueryLoggingConfigsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListQueryLoggingConfigs ( ctx context . Context , params * ListQueryLoggingConfigsInput , optFns ... func ( * Options ) ) ( * ListQueryLoggingConfigsOutput , error ) { if params == nil { params = & ListQueryLoggingConfigsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListQueryLoggingConfigsMiddlewares ) if err != nil { return nil , err } out := result . ( * ListQueryLoggingConfigsOutput ) out . ResultMetadata = metadata return out , nil }
Lists the configurations for DNS query logging that are associated with the
current AWS account or the configuration that is associated with a specified
hosted zone.
Lists the configurations for DNS query logging that are associated with the current AWS account or the configuration that is associated with a specified hosted zone .