Search code examples
amazon-web-servicesamazon-cloudwatchlogs

What are the CloudWatch Logs API v2 equivalents of these three V1 classes: AWSLogs, AWSLogsClientBuilder, PutLogEventsResult?


I decided to just cold-turkey update my Cloudwatch Logs from v1.x to v2.x (latest) in the POM, then go into the code that uses it and hit Ctrl+Shift+O ("Reorganize Imports") in Eclipse.

The result was actually not bad with just three classes not found:

enter image description here

i.e.

AWSLogs
AWSLogsClientBuilder
PutLogEventsResult

What are the replacements or closest equivalents to these classes in V2?


Solution