| Package | Description |
|---|---|
| software.amazon.awssdk.services.cloudwatchlogs |
You can use Amazon CloudWatch Logs to monitor, store, and access your log files from EC2 instances, CloudTrail, and
other sources.
|
| Modifier and Type | Method and Description |
|---|---|
default PutRetentionPolicyResponse |
CloudWatchLogsClient.putRetentionPolicy(Consumer<PutRetentionPolicyRequest.Builder> putRetentionPolicyRequest)
Sets the retention of the specified log group.
|
default PutRetentionPolicyResponse |
CloudWatchLogsClient.putRetentionPolicy(PutRetentionPolicyRequest putRetentionPolicyRequest)
Sets the retention of the specified log group.
|
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<PutRetentionPolicyResponse> |
CloudWatchLogsAsyncClient.putRetentionPolicy(Consumer<PutRetentionPolicyRequest.Builder> putRetentionPolicyRequest)
Sets the retention of the specified log group.
|
default CompletableFuture<PutRetentionPolicyResponse> |
CloudWatchLogsAsyncClient.putRetentionPolicy(PutRetentionPolicyRequest putRetentionPolicyRequest)
Sets the retention of the specified log group.
|
Copyright © 2023. All rights reserved.