NAME

Paws::CloudWatchLogs::CreateExportTask - Arguments for method CreateExportTask on Paws::CloudWatchLogs

DESCRIPTION

This class represents the parameters used for calling the method CreateExportTask on the Amazon CloudWatch Logs service. Use the attributes of this class as arguments to method CreateExportTask.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateExportTask.

SYNOPSIS

my $logs = Paws->service('CloudWatchLogs');
my $CreateExportTaskResponse = $logs->CreateExportTask(
  Destination         => 'MyExportDestinationBucket',
  From                => 1,
  LogGroupName        => 'MyLogGroupName',
  To                  => 1,
  DestinationPrefix   => 'MyExportDestinationPrefix',    # OPTIONAL
  LogStreamNamePrefix => 'MyLogStreamName',              # OPTIONAL
  TaskName            => 'MyExportTaskName',             # OPTIONAL
);

# Results:
my $TaskId = $CreateExportTaskResponse->TaskId;

# Returns a L<Paws::CloudWatchLogs::CreateExportTaskResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/logs/CreateExportTask

ATTRIBUTES

REQUIRED Destination => Str

The name of S3 bucket for the exported log data. The bucket must be in the same AWS region.

DestinationPrefix => Str

The prefix used as the start of the key for every object exported. If you don't specify a value, the default is exportedlogs.

REQUIRED From => Int

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.

REQUIRED LogGroupName => Str

The name of the log group.

LogStreamNamePrefix => Str

Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied.

TaskName => Str

The name of the export task.

REQUIRED To => Int

The end time of the range for the request, expreswatchlogsdocused as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateExportTask in Paws::CloudWatchLogs

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues