AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates an export task, which allows you to efficiently export data from a log group
to an Amazon S3 bucket. When you perform a
you must use credentials that have permission to write to the S3 bucket that you specify
as the destination.
This is an asynchronous call. If all the required information is provided, this operation
initiates an export task and responds with the ID of the task. After the task has
started, you can use DescribeExportTasks
to get the status of the export task. Each account can only have one active (
PENDING) export task at a time. To cancel an export task, use CancelExportTask.
You can export logs from multiple log groups or multiple time ranges to the same S3 bucket. To separate out log data for each export task, you can specify a prefix to be used as the Amazon S3 key prefix for all exported objects.
Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets encrypted with SSE-KMS is not supported.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginCreateExportTask and EndCreateExportTask.
public virtual Task<CreateExportTaskResponse> CreateExportTaskAsync( CreateExportTaskRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the CreateExportTask service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|InvalidParameterException||A parameter is specified incorrectly.|
|LimitExceededException||You have reached the maximum number of resources that can be created.|
|OperationAbortedException||Multiple requests to update the same resource were in conflict.|
|ResourceAlreadyExistsException||The specified resource already exists.|
|ResourceNotFoundException||The specified resource does not exist.|
|ServiceUnavailableException||The service cannot complete the request.|
.NET Core App:
Supported in: 3.1
Supported in: 2.0, 1.3
Supported in: 4.5