You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package uses AWSCore.jl which does not interoperate with AWS.jl, the config struct in particular:
julia> ?CloudWatchLogStream
CloudWatchLogStream(config::AWSConfig, log_group_name, log_stream_name)
Create a reference to a CloudWatch Log Stream on AWS with the log group name and
log stream name. This constructor will automatically fetch the latest [sequence
token](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html#CWL-PutLogEvents-request-sequenceToken) for the stream.
julia> stream =CloudWatchLogStream(AWS.global_aws_config(), "my-group", "my-stream")
MethodError: no method matching CloudWatchLogStream(::AWSConfig, ::String, ::String)
Closest candidates are:CloudWatchLogStream(::Any, ::Any, ::Any, ::Any) at /home/ubuntu/.julia/packages/CloudWatchLogs/W1Ltg/src/stream.jl:22CloudWatchLogStream(::Dict{Symbol, Any}, ::String, ::String, ::Ref{Union{Nothing, String}}) at /home/ubuntu/.julia/packages/CloudWatchLogs/W1Ltg/src/stream.jl:22CloudWatchLogStream(::Dict{Symbol, Any}, ::AbstractString, ::AbstractString) at /home/ubuntu/.julia/packages/CloudWatchLogs/W1Ltg/src/stream.jl:36
I think the solution to this is to "just" upgrade to AWS.jl but I'm not sure how heavy a lift that would be.
The text was updated successfully, but these errors were encountered:
Ah yes, forgot about this package existing. Updating it to use AWS.jl is really trivial:
Replace all usages of AWSCore with AWS
Use the higher-level function calls if we want, or just keep the lower-level ones as this already uses them
Version bump
My hands are full currently with work, but when I have some time I can make this a priority. If you'd like to attempt tackling the changes yourself I am available on the Julia Slack for any questions, comments, etc. or through GitHub for the code review process. Just feel free to tag me in anything. 😄
This package uses AWSCore.jl which does not interoperate with AWS.jl, the config struct in particular:
I think the solution to this is to "just" upgrade to AWS.jl but I'm not sure how heavy a lift that would be.
The text was updated successfully, but these errors were encountered: