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
;; sbcl
The value of QURI.ENCODE::VALUE is #S(AWS-SDK/SERVICES/EC2/API:FILTER
:NAME"filter-1":VALUES ("val-1""val-2")), which is not of type (ORSTRINGNUMBER
(SIMPLE-ARRAY
(UNSIGNED-BYTE8)
(*))).
[Condition of type SIMPLE-TYPE-ERROR]
After some investigation, it seems that ec2-request is not generated properly when :filters argument is presented.
The generated request has following request-params:
Just to follow up here, the ec2 describe-instances logic has a number of problems,
The first being parsing partially fixed in Gleefre's diffs above.
That the instance-ids parameter gets turned into parameters of the form InstanceIds.1, but really needs to be InstanceId.1 (singular) (sample debug output below)
That filters are turned into Filter.member.<n> but need to become Filter.<n>.Name and Filter.<n>.Value. with possibly an additional suffix after values i.e. Filter.<n>.Value.<m> when there are multiple values on a filter expression for a specific filter name.
Here's the sample incorrect params for :instance-ids
(let ((dex:*verbose* :debug))
(aws/ec2:describe-instances :instance-ids '("i-0ff9a89a4b89353c0")))
POST /?Action=DescribeInstances&Version=2016-11-15&InstanceIds.1=i-0ff9a89a4b89353c0 HTTP/1.1
Sorry there won't be any patches from me, I solved my problem other ways and have moved on. I like that the project is trying to build a comprehensive interface, good luck!
Consider the following request:
An error occurs:
After some investigation, it seems that
ec2-request
is not generated properly when:filters
argument is presented.The generated request has following
request-params
:instead of something like this:
The text was updated successfully, but these errors were encountered: