Class: Aws::CloudWatchLogs::Types::DescribeQueriesRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Note:

When making an API call, you may pass DescribeQueriesRequest data as a hash:

{
  log_group_name: "LogGroupName",
  status: "Scheduled", # accepts Scheduled, Running, Complete, Failed, Cancelled
  max_results: 1,
  next_token: "NextToken",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#log_group_nameString

Limits the returned queries to only those for the specified log group.

Returns:

  • (String)


762
763
764
765
766
767
768
769
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 762

class DescribeQueriesRequest < Struct.new(
  :log_group_name,
  :status,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

Limits the number of returned queries to the specified number.

Returns:

  • (Integer)


762
763
764
765
766
767
768
769
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 762

class DescribeQueriesRequest < Struct.new(
  :log_group_name,
  :status,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token for the next set of items to return. The token expires after 24 hours.

Returns:

  • (String)


762
763
764
765
766
767
768
769
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 762

class DescribeQueriesRequest < Struct.new(
  :log_group_name,
  :status,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

Limits the returned queries to only those that have the specified status. Valid values are Cancelled, Complete, Failed, Running, and Scheduled.

Returns:

  • (String)


762
763
764
765
766
767
768
769
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 762

class DescribeQueriesRequest < Struct.new(
  :log_group_name,
  :status,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end