Open Gleefre opened 1 year ago
Just to follow up here, the ec2 describe-instances logic has a number of problems,
instance-ids
parameter gets turned into parameters of the form InstanceIds.1
, but really needs to be InstanceId.1
(singular) (sample debug output below)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 followingrequest-params
:instead of something like this: