Class: Aws::CloudWatchLogs::Types::GetLogGroupFieldsRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#log_group_identifierString

Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must specify the ARN.

<note markdown=“1”> You must include either ‘logGroupIdentifier` or `logGroupName`, but not both.

</note>

Returns:

  • (String)


2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 2530

class GetLogGroupFieldsRequest < Struct.new(
  :log_group_name,
  :time,
  :log_group_identifier)
  SENSITIVE = []
  include Aws::Structure
end

#log_group_nameString

The name of the log group to search.

<note markdown=“1”> You must include either ‘logGroupIdentifier` or `logGroupName`, but not both.

</note>

Returns:

  • (String)


2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 2530

class GetLogGroupFieldsRequest < Struct.new(
  :log_group_name,
  :time,
  :log_group_identifier)
  SENSITIVE = []
  include Aws::Structure
end

#timeInteger

The time to set as the center of the query. If you specify ‘time`, the 8 minutes before and 8 minutes after this time are searched. If you omit `time`, the most recent 15 minutes up to the current time are searched.

The ‘time` value is specified as epoch time, which is the number of seconds since `January 1, 1970, 00:00:00 UTC`.

Returns:

  • (Integer)


2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 2530

class GetLogGroupFieldsRequest < Struct.new(
  :log_group_name,
  :time,
  :log_group_identifier)
  SENSITIVE = []
  include Aws::Structure
end