Jq Examples
Jump to navigation
Jump to search
Internal
Organizatorium
Get the ID of a Amazon API Gateway API with a certain name:
aws apigateway get-rest-apis | jq -r '.items[] | select(.name == "blue") | .id'
Get the ID of a Amazon API Gateway API with a certain name:
aws apigateway get-rest-apis | jq -r '.items[] | select(.name == "blue") | .id'