txaws-discover1
Txaws aws api discovery tool
Usage
txaws-discover [--key
KEY]
[--secret
SECRET]
[--endpoint
ENDPOINT]
Overview
Purpose: Invoke an EC2 API method with arbitrary parameters.
-
--actionACTION [PARAMETERS, ...]
Options
-
--key -
The AWS access key to use when making the API request.
-
--secret -
The AWS secret key to use when making the API request.
-
--endpoint -
The region endpoint to make the API request against.
-
--action -
The name of the EC2 API to invoke.
-
-h, --help -
Show help message.
Description:
- The purpose of this program is to aid discovery of the EC2 API.
-
It can run
- any EC2 API method, with arbitrary parameters.
-
The response received from
-
the backend cloud is printed to the screen, to show exactly what happened in response to the request. The
--key,--secret,--endpointand--actioncommand-line arguments are required. If AWS_ENDPOINT, AWS_ACCESS_KEY_ID or AWS_SECRET_ACCESS_KEY environment variables are defined the corresponding options can be omitted and the values defined in the environment variables will be used.
-
Any additional parameters, beyond those defined above, will be included with the request as method parameters.
Examples
-
The following examples omit the
--key,--secretand--endpointcommand-line arguments for brevity. They must be included unless corresponding values are available from the environment.
-
Run the DescribeRegions method, without any optional parameters:
-
txaws-discover
--actionDescribeRegions
-
Run the DescribeRegions method, with an optional RegionName.0 parameter:
-
txaws-discover
--actionDescribeRegions--RegionName.0 us-west-1