@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface CloudTrailDataAsyncClient extends AwsClient
builder() method.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static CloudTrailDataAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
CloudTrailDataAsyncClient. |
static CloudTrailDataAsyncClient |
create()
Create a
CloudTrailDataAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<PutAuditEventsResponse> |
putAuditEvents(Consumer<PutAuditEventsRequest.Builder> putAuditEventsRequest)
Ingests your application events into CloudTrail Lake.
|
default CompletableFuture<PutAuditEventsResponse> |
putAuditEvents(PutAuditEventsRequest putAuditEventsRequest)
Ingests your application events into CloudTrail Lake.
|
default CloudTrailDataServiceClientConfiguration |
serviceClientConfiguration() |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<PutAuditEventsResponse> putAuditEvents(PutAuditEventsRequest putAuditEventsRequest)
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.
putAuditEventsRequest - default CompletableFuture<PutAuditEventsResponse> putAuditEvents(Consumer<PutAuditEventsRequest.Builder> putAuditEventsRequest)
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.
This is a convenience which creates an instance of the PutAuditEventsRequest.Builder avoiding the need to
create one manually via PutAuditEventsRequest.builder()
putAuditEventsRequest - A Consumer that will call methods on PutAuditEventsRequest.Builder to create a request.default CloudTrailDataServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic CloudTrailDataAsyncClient create()
CloudTrailDataAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static CloudTrailDataAsyncClientBuilder builder()
CloudTrailDataAsyncClient.Copyright © 2023. All rights reserved.