awslabs / awslabs/aws-shell

Reference other services' resources from server side completions

Open
#80 2 comments 0 reactions 1 assignee Claimed by @jamesls View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.