I assume you have actual Fedora 23 distro. For other distros scripts can differ
$ git clone https://github.com/awslabs/aws-apigateway-importer
$ cd aws-apigateway-importer/
$ sudo docker build -t aws-apigateway-importer .
$ sudo docker run aws-apigateway-importer
Usage: aws-api-import [options] Path to API definition file to import
Options:
--create, -c
Create a new API
Default: false
--deploy, -d
Stage used to deploy the API (optional)
--help
Default: false
--profile, -p
AWS CLI profile to use (optional)
Default: default
--raml-config
RAML file for API Gateway metadata (optional)
--region, -r
AWS region to use (optional)
--test, -t
Delete the API after import (create only)
Default: false
--update, -u
API ID to import swagger into an existing API
$ sudo 'dnf install python-pip'
$ sudo 'pip install aws-shell'
$ mkdir -p $HOME/bin
$ cd $HOME/bin
$ wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64
$ mv jq-linux jq
$ chmod a+x jq