Reference other services' resources from server side completions
Open
feature-request
- Dominant language
- Python
- Stars
- 7.3k
- Forks
- 780
- PR merge metrics
- No merged PRs in 30d
Description
This is a feature request.
# Usecase
`elb attach-load-balancer-to-subnets` API accepts
- load-balancer-name(`elb describe-loadbalancers`)
- subnet(`ec2 describe-subnets`)
and you want to autocomplete both parameters.
# Problem
At `completions-1.json`, `operation` assumes you call API of the same service, and subnet retrieval API belongs to a different service(ec2), you cannot define subnet resource outside of ec2.
```
"resources": {
"Subnet": {
"operation": "EC2:DescribeSubnets", <-- DOES NOT WORK
"resourceIdentifier": {
"Id": "Subnets[].SubnetId"
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.