AWS CloudWatch Logging

I’m trying to add the AWSCloudWatchLogs integration into our agent code but I’m getting a deployment build error:
agent_code error (line 5, column 11): no such public library awscloudwatchlogs.lib.nut

I have the following require statements:

#require “Promise.lib.nut:4.0.0”
#require “Messenger.lib.nut:0.2.0”
#require “AWSRequestV4.class.nut:1.0.2”
#require “AWSKinesisFirehose.class.nut:1.0.2”
#require “AWSCloudWatchLogs.lib.nut:1.0.0”
#require “JSONParser.class.nut:1.0.1”

Any ideas why this isn’t working?
Tony

Ah, the documentation is incorrect. The correct library name is:

#require “AWSCloudWatchLogs.agent.lib.nut:1.0.0”

@smittytone doc update! :slight_smile:

1 Like

Dev Center page updated.

1 Like