cloudtrail_start_import: Starts an import of logged trail events from a source S3...

View source: R/cloudtrail_operations.R

cloudtrail_start_importR Documentation

Starts an import of logged trail events from a source S3 bucket to a destination event data store

Description

Starts an import of logged trail events from a source S3 bucket to a destination event data store. By default, CloudTrail only imports events contained in the S3 bucket's CloudTrail prefix and the prefixes inside the CloudTrail prefix, and does not check prefixes for other Amazon Web Services services. If you want to import CloudTrail events contained in another prefix, you must include the prefix in the S3LocationUri. For more considerations about importing trail events, see Considerations for copying trail events in the CloudTrail User Guide.

See https://www.paws-r-sdk.com/docs/cloudtrail_start_import/ for full documentation.

Usage

cloudtrail_start_import(
  Destinations = NULL,
  ImportSource = NULL,
  StartEventTime = NULL,
  EndEventTime = NULL,
  ImportId = NULL
)

Arguments

Destinations

The ARN of the destination event data store. Use this parameter for a new import.

ImportSource

The source S3 bucket for the import. Use this parameter for a new import.

StartEventTime

Use with EndEventTime to bound a start_import request, and limit imported trail events to only those events logged within a specified time period. When you specify a time range, CloudTrail checks the prefix and log file names to verify the names contain a date between the specified StartEventTime and EndEventTime before attempting to import events.

EndEventTime

Use with StartEventTime to bound a start_import request, and limit imported trail events to only those events logged within a specified time period. When you specify a time range, CloudTrail checks the prefix and log file names to verify the names contain a date between the specified StartEventTime and EndEventTime before attempting to import events.

ImportId

The ID of the import. Use this parameter when you are retrying an import.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.