| 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 the trail associated with the current region for your account.
|
default DescribeTrailsResponse |
CloudTrailClient.describeTrails(Consumer<DescribeTrailsRequest.Builder> describeTrailsRequest)
Retrieves settings for the trail associated with the current region for your account.
|
default DescribeTrailsResponse |
CloudTrailClient.describeTrails(DescribeTrailsRequest describeTrailsRequest)
Retrieves settings for the trail 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 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 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 LookupEventsResponse |
CloudTrailClient.lookupEvents()
Looks up management events captured by CloudTrail.
|
default LookupEventsResponse |
CloudTrailClient.lookupEvents(Consumer<LookupEventsRequest.Builder> lookupEventsRequest)
Looks up management events captured by CloudTrail.
|
default LookupEventsResponse |
CloudTrailClient.lookupEvents(LookupEventsRequest lookupEventsRequest)
Looks up management events captured by CloudTrail.
|
default LookupEventsIterable |
CloudTrailClient.lookupEventsPaginator()
Looks up management events captured by CloudTrail.
|
default LookupEventsIterable |
CloudTrailClient.lookupEventsPaginator(Consumer<LookupEventsRequest.Builder> lookupEventsRequest)
Looks up management events captured by CloudTrail.
|
default LookupEventsIterable |
CloudTrailClient.lookupEventsPaginator(LookupEventsRequest lookupEventsRequest)
Looks up management events captured by CloudTrail.
|
default PutEventSelectorsResponse |
CloudTrailClient.putEventSelectors(Consumer<PutEventSelectorsRequest.Builder> putEventSelectorsRequest)
Configures an event selector for your trail.
|
default PutEventSelectorsResponse |
CloudTrailClient.putEventSelectors(PutEventSelectorsRequest putEventSelectorsRequest)
Configures an event selector for your 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 |
CloudWatchLogsDeliveryUnavailableException
Cannot set a CloudWatch Logs delivery for this region.
|
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 |
InvalidEventSelectorsException
This exception is thrown when the
PutEventSelectors operation is called with a number of 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 |
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 key or value specified for the tag does not match the regular expression
^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$. |
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, or when the S3 bucket and the KMS key are 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 deprecated.
|
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 © 2019. All rights reserved.