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:
i.e.
AWSLogs
AWSLogsClientBuilder
PutLogEventsResult
What are the replacements or closest equivalents to these classes in V2?
CodePudding user response:
- AWSLogs -> CloudWatchLogsClient
- AWSLogsClientBuilder -> CloudWatchLogsClientBuilder
- PutLogsEventResult -> PutLogEventsResponse