You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudWatchLogs::Types::ExportTask

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

Overview

Represents an export task.

Instance Attribute Summary collapse

Instance Attribute Details

#destinationString

The name of Amazon S3 bucket to which the log data was exported.

Returns:

  • (String)


850
851
852
853
854
855
856
857
858
859
860
861
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 850

class ExportTask < Struct.new(
  :task_id,
  :task_name,
  :log_group_name,
  :from,
  :to,
  :destination,
  :destination_prefix,
  :status,
  :execution_info)
  include Aws::Structure
end

#destination_prefixString

The prefix that was used as the start of Amazon S3 key for every object exported.

Returns:

  • (String)


850
851
852
853
854
855
856
857
858
859
860
861
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 850

class ExportTask < Struct.new(
  :task_id,
  :task_name,
  :log_group_name,
  :from,
  :to,
  :destination,
  :destination_prefix,
  :status,
  :execution_info)
  include Aws::Structure
end

#execution_infoTypes::ExportTaskExecutionInfo

Execution info about the export task.



850
851
852
853
854
855
856
857
858
859
860
861
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 850

class ExportTask < Struct.new(
  :task_id,
  :task_name,
  :log_group_name,
  :from,
  :to,
  :destination,
  :destination_prefix,
  :status,
  :execution_info)
  include Aws::Structure
end

#fromInteger

The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp before this time are not exported.

Returns:

  • (Integer)


850
851
852
853
854
855
856
857
858
859
860
861
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 850

class ExportTask < Struct.new(
  :task_id,
  :task_name,
  :log_group_name,
  :from,
  :to,
  :destination,
  :destination_prefix,
  :status,
  :execution_info)
  include Aws::Structure
end

#log_group_nameString

The name of the log group from which logs data was exported.

Returns:

  • (String)


850
851
852
853
854
855
856
857
858
859
860
861
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 850

class ExportTask < Struct.new(
  :task_id,
  :task_name,
  :log_group_name,
  :from,
  :to,
  :destination,
  :destination_prefix,
  :status,
  :execution_info)
  include Aws::Structure
end

#statusTypes::ExportTaskStatus

The status of the export task.



850
851
852
853
854
855
856
857
858
859
860
861
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 850

class ExportTask < Struct.new(
  :task_id,
  :task_name,
  :log_group_name,
  :from,
  :to,
  :destination,
  :destination_prefix,
  :status,
  :execution_info)
  include Aws::Structure
end

#task_idString

The ID of the export task.

Returns:

  • (String)


850
851
852
853
854
855
856
857
858
859
860
861
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 850

class ExportTask < Struct.new(
  :task_id,
  :task_name,
  :log_group_name,
  :from,
  :to,
  :destination,
  :destination_prefix,
  :status,
  :execution_info)
  include Aws::Structure
end

#task_nameString

The name of the export task.

Returns:

  • (String)


850
851
852
853
854
855
856
857
858
859
860
861
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 850

class ExportTask < Struct.new(
  :task_id,
  :task_name,
  :log_group_name,
  :from,
  :to,
  :destination,
  :destination_prefix,
  :status,
  :execution_info)
  include Aws::Structure
end

#toInteger

The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp later than this time are not exported.

Returns:

  • (Integer)


850
851
852
853
854
855
856
857
858
859
860
861
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 850

class ExportTask < Struct.new(
  :task_id,
  :task_name,
  :log_group_name,
  :from,
  :to,
  :destination,
  :destination_prefix,
  :status,
  :execution_info)
  include Aws::Structure
end