| Package | Description |
|---|---|
| software.amazon.awssdk.services.cloudtrail |
|
| software.amazon.awssdk.services.cloudtrail.model |
| Modifier and Type | Method and Description |
|---|---|
default AddTagsResponse |
CloudTrailClient.addTags(AddTagsRequest addTagsRequest)
Adds one or more tags to a trail, up to a limit of 50.
|
default AddTagsResponse |
CloudTrailClient.addTags(Consumer<AddTagsRequest.Builder> addTagsRequest)
Adds one or more tags to a trail, up to a limit of 50.
|
default CreateTrailResponse |
CloudTrailClient.createTrail(Consumer<CreateTrailRequest.Builder> createTrailRequest)
Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.
|
default CreateTrailResponse |
CloudTrailClient.createTrail(CreateTrailRequest createTrailRequest)
Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.
|
default DeleteTrailResponse |
CloudTrailClient.deleteTrail(Consumer<DeleteTrailRequest.Builder> deleteTrailRequest)
Deletes a trail.
|
default DeleteTrailResponse |
CloudTrailClient.deleteTrail(DeleteTrailRequest deleteTrailRequest)
Deletes a trail.
|
default DescribeTrailsResponse |
CloudTrailClient.describeTrails()
Retrieves settings for one or more trails associated with the current region for your account.
|
default DescribeTrailsResponse |
CloudTrailClient.describeTrails(Consumer<DescribeTrailsRequest.Builder> describeTrailsRequest)
Retrieves settings for one or more trails associated with the current region for your account.
|
default DescribeTrailsResponse |
CloudTrailClient.describeTrails(DescribeTrailsRequest describeTrailsRequest)
Retrieves settings for one or more trails associated with the current region for your account.
|
default GetEventSelectorsResponse |
CloudTrailClient.getEventSelectors(Consumer<GetEventSelectorsRequest.Builder> getEventSelectorsRequest)
Describes the settings for the event selectors that you configured for your trail.
|
default GetEventSelectorsResponse |
CloudTrailClient.getEventSelectors(GetEventSelectorsRequest getEventSelectorsRequest)
Describes the settings for the event selectors that you configured for your trail.
|
default GetInsightSelectorsResponse |
CloudTrailClient.getInsightSelectors(Consumer<GetInsightSelectorsRequest.Builder> getInsightSelectorsRequest)
Describes the settings for the Insights event selectors that you configured for your trail.
|
default GetInsightSelectorsResponse |
CloudTrailClient.getInsightSelectors(GetInsightSelectorsRequest getInsightSelectorsRequest)
Describes the settings for the Insights event selectors that you configured for your trail.
|
default GetTrailResponse |
CloudTrailClient.getTrail(Consumer<GetTrailRequest.Builder> getTrailRequest)
Returns settings information for a specified trail.
|
default GetTrailResponse |
CloudTrailClient.getTrail(GetTrailRequest getTrailRequest)
Returns settings information for a specified trail.
|
default GetTrailStatusResponse |
CloudTrailClient.getTrailStatus(Consumer<GetTrailStatusRequest.Builder> getTrailStatusRequest)
Returns a JSON-formatted list of information about the specified trail.
|
default GetTrailStatusResponse |
CloudTrailClient.getTrailStatus(GetTrailStatusRequest getTrailStatusRequest)
Returns a JSON-formatted list of information about the specified trail.
|
default ListPublicKeysResponse |
CloudTrailClient.listPublicKeys()
Returns all public keys whose private keys were used to sign the digest files within the specified time range.
|
default ListPublicKeysResponse |
CloudTrailClient.listPublicKeys(Consumer<ListPublicKeysRequest.Builder> listPublicKeysRequest)
Returns all public keys whose private keys were used to sign the digest files within the specified time range.
|
default ListPublicKeysResponse |
CloudTrailClient.listPublicKeys(ListPublicKeysRequest listPublicKeysRequest)
Returns all public keys whose private keys were used to sign the digest files within the specified time range.
|
default ListPublicKeysIterable |
CloudTrailClient.listPublicKeysPaginator()
Returns all public keys whose private keys were used to sign the digest files within the specified time range.
|
default ListPublicKeysIterable |
CloudTrailClient.listPublicKeysPaginator(Consumer<ListPublicKeysRequest.Builder> listPublicKeysRequest)
Returns all public keys whose private keys were used to sign the digest files within the specified time range.
|
default ListPublicKeysIterable |
CloudTrailClient.listPublicKeysPaginator(ListPublicKeysRequest listPublicKeysRequest)
Returns all public keys whose private keys were used to sign the digest files within the specified time range.
|
default ListTagsResponse |
CloudTrailClient.listTags(Consumer<ListTagsRequest.Builder> listTagsRequest)
Lists the tags for the trail in the current region.
|
default ListTagsResponse |
CloudTrailClient.listTags(ListTagsRequest listTagsRequest)
Lists the tags for the trail in the current region.
|
default ListTagsIterable |
CloudTrailClient.listTagsPaginator(Consumer<ListTagsRequest.Builder> listTagsRequest)
Lists the tags for the trail in the current region.
|
default ListTagsIterable |
CloudTrailClient.listTagsPaginator(ListTagsRequest listTagsRequest)
Lists the tags for the trail in the current region.
|
default ListTrailsResponse |
CloudTrailClient.listTrails(Consumer<ListTrailsRequest.Builder> listTrailsRequest)
Lists trails that are in the current account.
|
default ListTrailsResponse |
CloudTrailClient.listTrails(ListTrailsRequest listTrailsRequest)
Lists trails that are in the current account.
|
default ListTrailsIterable |
CloudTrailClient.listTrailsPaginator(Consumer<ListTrailsRequest.Builder> listTrailsRequest)
Lists trails that are in the current account.
|
default ListTrailsIterable |
CloudTrailClient.listTrailsPaginator(ListTrailsRequest listTrailsRequest)
Lists trails that are in the current account.
|
default LookupEventsResponse |
CloudTrailClient.lookupEvents()
Looks up management events or CloudTrail Insights events that are captured by CloudTrail.
|
default LookupEventsResponse |
CloudTrailClient.lookupEvents(Consumer<LookupEventsRequest.Builder> lookupEventsRequest)
Looks up management events or CloudTrail Insights events that are captured by CloudTrail.
|
default LookupEventsResponse |
CloudTrailClient.lookupEvents(LookupEventsRequest lookupEventsRequest)
Looks up management events or CloudTrail Insights events that are captured by CloudTrail.
|
default LookupEventsIterable |
CloudTrailClient.lookupEventsPaginator()
Looks up management events or CloudTrail Insights events that are captured by CloudTrail.
|
default LookupEventsIterable |
CloudTrailClient.lookupEventsPaginator(Consumer<LookupEventsRequest.Builder> lookupEventsRequest)
Looks up management events or CloudTrail Insights events that are captured by CloudTrail.
|
default LookupEventsIterable |
CloudTrailClient.lookupEventsPaginator(LookupEventsRequest lookupEventsRequest)
Looks up management events or CloudTrail Insights events that are captured by CloudTrail.
|
default PutEventSelectorsResponse |
CloudTrailClient.putEventSelectors(Consumer<PutEventSelectorsRequest.Builder> putEventSelectorsRequest)
Configures an event selector or advanced event selectors for your trail.
|
default PutEventSelectorsResponse |
CloudTrailClient.putEventSelectors(PutEventSelectorsRequest putEventSelectorsRequest)
Configures an event selector or advanced event selectors for your trail.
|
default PutInsightSelectorsResponse |
CloudTrailClient.putInsightSelectors(Consumer<PutInsightSelectorsRequest.Builder> putInsightSelectorsRequest)
Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an
existing trail.
|
default PutInsightSelectorsResponse |
CloudTrailClient.putInsightSelectors(PutInsightSelectorsRequest putInsightSelectorsRequest)
Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an
existing trail.
|
default RemoveTagsResponse |
CloudTrailClient.removeTags(Consumer<RemoveTagsRequest.Builder> removeTagsRequest)
Removes the specified tags from a trail.
|
default RemoveTagsResponse |
CloudTrailClient.removeTags(RemoveTagsRequest removeTagsRequest)
Removes the specified tags from a trail.
|
default StartLoggingResponse |
CloudTrailClient.startLogging(Consumer<StartLoggingRequest.Builder> startLoggingRequest)
Starts the recording of AWS API calls and log file delivery for a trail.
|
default StartLoggingResponse |
CloudTrailClient.startLogging(StartLoggingRequest startLoggingRequest)
Starts the recording of AWS API calls and log file delivery for a trail.
|
default StopLoggingResponse |
CloudTrailClient.stopLogging(Consumer<StopLoggingRequest.Builder> stopLoggingRequest)
Suspends the recording of AWS API calls and log file delivery for the specified trail.
|
default StopLoggingResponse |
CloudTrailClient.stopLogging(StopLoggingRequest stopLoggingRequest)
Suspends the recording of AWS API calls and log file delivery for the specified trail.
|
default UpdateTrailResponse |
CloudTrailClient.updateTrail(Consumer<UpdateTrailRequest.Builder> updateTrailRequest)
Updates the settings that specify delivery of log files.
|
default UpdateTrailResponse |
CloudTrailClient.updateTrail(UpdateTrailRequest updateTrailRequest)
Updates the settings that specify delivery of log files.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CloudTrailAccessNotEnabledException
This exception is thrown when trusted access has not been enabled between AWS CloudTrail and AWS Organizations.
|
class |
CloudTrailArnInvalidException
This exception is thrown when an operation is called with an invalid trail ARN.
|
class |
CloudTrailInvalidClientTokenIdException
This exception is thrown when a call results in the
InvalidClientTokenId error code. |
class |
CloudWatchLogsDeliveryUnavailableException
Cannot set a CloudWatch Logs delivery for this region.
|
class |
InsightNotEnabledException
If you run
GetInsightSelectors on a trail that does not have Insights events enabled, the operation
throws the exception InsightNotEnabledException. |
class |
InsufficientDependencyServiceAccessPermissionException
This exception is thrown when the IAM user or role that is used to create the organization trail is lacking one or
more required permissions for creating an organization trail in a required service.
|
class |
InsufficientEncryptionPolicyException
This exception is thrown when the policy on the S3 bucket or KMS key is not sufficient.
|
class |
InsufficientS3BucketPolicyException
This exception is thrown when the policy on the S3 bucket is not sufficient.
|
class |
InsufficientSnsTopicPolicyException
This exception is thrown when the policy on the SNS topic is not sufficient.
|
class |
InvalidCloudWatchLogsLogGroupArnException
This exception is thrown when the provided CloudWatch log group is not valid.
|
class |
InvalidCloudWatchLogsRoleArnException
This exception is thrown when the provided role is not valid.
|
class |
InvalidEventCategoryException
Occurs if an event category that is not valid is specified as a value of
EventCategory. |
class |
InvalidEventSelectorsException
This exception is thrown when the
PutEventSelectors operation is called with a number of event
selectors, advanced event selectors, or data resources that is not valid. |
class |
InvalidHomeRegionException
This exception is thrown when an operation is called on a trail from a region other than the region in which the
trail was created.
|
class |
InvalidInsightSelectorsException
The formatting or syntax of the
InsightSelectors JSON statement in your PutInsightSelectors
or GetInsightSelectors request is not valid, or the specified insight type in the
InsightSelectors statement is not a valid insight type. |
class |
InvalidKmsKeyIdException
This exception is thrown when the KMS key ARN is invalid.
|
class |
InvalidLookupAttributesException
Occurs when an invalid lookup attribute is specified.
|
class |
InvalidMaxResultsException
This exception is thrown if the limit specified is invalid.
|
class |
InvalidNextTokenException
Invalid token or token that was previously used in a request with different parameters.
|
class |
InvalidParameterCombinationException
This exception is thrown when the combination of parameters provided is not valid.
|
class |
InvalidS3BucketNameException
This exception is thrown when the provided S3 bucket name is not valid.
|
class |
InvalidS3PrefixException
This exception is thrown when the provided S3 prefix is not valid.
|
class |
InvalidSnsTopicNameException
This exception is thrown when the provided SNS topic name is not valid.
|
class |
InvalidTagParameterException
This exception is thrown when the specified tag key or values are not valid.
|
class |
InvalidTimeRangeException
Occurs if the timestamp values are invalid.
|
class |
InvalidTokenException
Reserved for future use.
|
class |
InvalidTrailNameException
This exception is thrown when the provided trail name is not valid.
|
class |
KmsException
This exception is thrown when there is an issue with the specified KMS key and the trail can’t be updated.
|
class |
KmsKeyNotFoundException
This exception is thrown when the KMS key does not exist, when the S3 bucket and the KMS key are not in the same
region, or when the KMS key associated with the SNS topic either does not exist or is not in the same region.
|
class |
MaximumNumberOfTrailsExceededException
This exception is thrown when the maximum number of trails is reached.
|
class |
NotOrganizationMasterAccountException
This exception is thrown when the AWS account making the request to create or update an organization trail is not the
master account for an organization in AWS Organizations.
|
class |
OperationNotPermittedException
This exception is thrown when the requested operation is not permitted.
|
class |
OrganizationNotInAllFeaturesModeException
This exception is thrown when AWS Organizations is not configured to support all features.
|
class |
OrganizationsNotInUseException
This exception is thrown when the request is made from an AWS account that is not a member of an organization.
|
class |
ResourceNotFoundException
This exception is thrown when the specified resource is not found.
|
class |
ResourceTypeNotSupportedException
This exception is thrown when the specified resource type is not supported by CloudTrail.
|
class |
S3BucketDoesNotExistException
This exception is thrown when the specified S3 bucket does not exist.
|
class |
TagsLimitExceededException
The number of tags per trail has exceeded the permitted amount.
|
class |
TrailAlreadyExistsException
This exception is thrown when the specified trail already exists.
|
class |
TrailNotFoundException
This exception is thrown when the trail with the given name is not found.
|
class |
TrailNotProvidedException
This exception is no longer in use.
|
class |
UnsupportedOperationException
This exception is thrown when the requested operation is not supported.
|
| Modifier and Type | Method and Description |
|---|---|
CloudTrailException |
CloudTrailException.BuilderImpl.build() |
| Constructor and Description |
|---|
BuilderImpl(CloudTrailException ex) |
Copyright © 2020. All rights reserved.