![]() |
![]()
| ![]() |
![]()
NAMEPaws::CloudWatchLogs::CreateExportTask - Arguments for method CreateExportTask on Paws::CloudWatchLogs DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESREQUIRED Destination => StrThe name of S3 bucket for the exported log data. The bucket must be in the same AWS region. DestinationPrefix => StrThe 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 => IntThe 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 => StrThe name of the log group. LogStreamNamePrefix => StrExport only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied. TaskName => StrThe name of the export task. REQUIRED To => IntThe 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 ALSOThis class forms part of Paws, documenting arguments for method CreateExportTask in Paws::CloudWatchLogs BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|