@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSCloudTrailDataClient extends AmazonWebServiceClient implements AWSCloudTrailData
The CloudTrail Data Service lets you ingest events into CloudTrail from any source in your hybrid environments, such
as in-house or SaaS applications hosted on-premises or in the cloud, virtual machines, or containers. You can store,
access, analyze, troubleshoot and take action on this data without maintaining multiple log aggregators and reporting
tools. After you run PutAuditEvents to ingest your application activity into CloudTrail, you can use
CloudTrail Lake to search, query, and analyze the data that is logged from your applications.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSCloudTrailDataClientBuilder |
builder() |
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
PutAuditEventsResult |
putAuditEvents(PutAuditEventsRequest request)
Ingests your application events into CloudTrail Lake.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AWSCloudTrailDataClientBuilder builder()
public PutAuditEventsResult putAuditEvents(PutAuditEventsRequest request)
Ingests your application events into CloudTrail Lake. A required parameter, auditEvents, accepts the
JSON records (also called payload) of events that you want CloudTrail to ingest. You can add up to 100 of
these events (or up to 1 MB) per PutAuditEvents request.
putAuditEvents in interface AWSCloudTrailDataputAuditEventsRequest - ChannelInsufficientPermissionException - The caller's account ID must be the same as the channel owner's account ID.ChannelNotFoundException - The channel could not be found.InvalidChannelARNException - The specified channel ARN is not a valid channel ARN.ChannelUnsupportedSchemaException - The schema type of the event is not supported.DuplicatedAuditEventIdException - Two or more entries in the request have the same event ID.UnsupportedOperationException - The operation requested is not supported in this region or account.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AWSCloudTrailDatarequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AWSCloudTrailDatashutdown in class AmazonWebServiceClient