Class: Aws::CloudWatchLogs::Types::CreateExportTaskRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::CreateExportTaskRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudwatchlogs/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#destination ⇒ String
The name of S3 bucket for the exported log data.
-
#destination_prefix ⇒ String
The prefix used as the start of the key for every object exported.
-
#from ⇒ Integer
The start time of the range for the request, expressed as the number of milliseconds after ‘Jan 1, 1970 00:00:00 UTC`.
-
#log_group_name ⇒ String
The name of the log group.
-
#log_stream_name_prefix ⇒ String
Export only log streams that match the provided prefix.
-
#task_name ⇒ String
The name of the export task.
-
#to ⇒ Integer
The end time of the range for the request, expressed as the number of milliseconds after ‘Jan 1, 1970 00:00:00 UTC`.
Instance Attribute Details
#destination ⇒ String
The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services Region.
759 760 761 762 763 764 765 766 767 768 769 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 759 class CreateExportTaskRequest < Struct.new( :task_name, :log_group_name, :log_stream_name_prefix, :from, :to, :destination, :destination_prefix) SENSITIVE = [] include Aws::Structure end |
#destination_prefix ⇒ String
The prefix used as the start of the key for every object exported. If you don’t specify a value, the default is ‘exportedlogs`.
The length of this parameter must comply with the S3 object key name length limits. The object key name is a sequence of Unicode characters with UTF-8 encoding, and can be up to 1,024 bytes.
759 760 761 762 763 764 765 766 767 768 769 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 759 class CreateExportTaskRequest < Struct.new( :task_name, :log_group_name, :log_stream_name_prefix, :from, :to, :destination, :destination_prefix) SENSITIVE = [] include Aws::Structure end |
#from ⇒ Integer
The start time of the range for the request, expressed as the number of milliseconds after ‘Jan 1, 1970 00:00:00 UTC`. Events with a timestamp earlier than this time are not exported.
759 760 761 762 763 764 765 766 767 768 769 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 759 class CreateExportTaskRequest < Struct.new( :task_name, :log_group_name, :log_stream_name_prefix, :from, :to, :destination, :destination_prefix) SENSITIVE = [] include Aws::Structure end |
#log_group_name ⇒ String
The name of the log group.
759 760 761 762 763 764 765 766 767 768 769 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 759 class CreateExportTaskRequest < Struct.new( :task_name, :log_group_name, :log_stream_name_prefix, :from, :to, :destination, :destination_prefix) SENSITIVE = [] include Aws::Structure end |
#log_stream_name_prefix ⇒ String
Export only log streams that match the provided prefix. If you don’t specify a value, no prefix filter is applied.
759 760 761 762 763 764 765 766 767 768 769 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 759 class CreateExportTaskRequest < Struct.new( :task_name, :log_group_name, :log_stream_name_prefix, :from, :to, :destination, :destination_prefix) SENSITIVE = [] include Aws::Structure end |
#task_name ⇒ String
The name of the export task.
759 760 761 762 763 764 765 766 767 768 769 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 759 class CreateExportTaskRequest < Struct.new( :task_name, :log_group_name, :log_stream_name_prefix, :from, :to, :destination, :destination_prefix) SENSITIVE = [] include Aws::Structure end |
#to ⇒ Integer
The end time of the range for the request, expressed as the number of milliseconds after ‘Jan 1, 1970 00:00:00 UTC`. Events with a timestamp later than this time are not exported.
You must specify a time that is not earlier than when this log group was created.
759 760 761 762 763 764 765 766 767 768 769 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 759 class CreateExportTaskRequest < Struct.new( :task_name, :log_group_name, :log_stream_name_prefix, :from, :to, :destination, :destination_prefix) SENSITIVE = [] include Aws::Structure end |