awswrapper - AWS API Wrapper
========================
AWS API Wrapper for Lambda
Usage
-----
It will look into your aws credentials file
Import the ec2wrapper
>>> from awswrapper import ec2wrapper
Use describe functions for talk to aws
>>> ec2wrapper.describe_instances(state=None)
>>> ec2wrapper.describe_instances_by_tag(tag, value=None, state=None)
Execute actions on those Instances
>>> ec2wrapper.terminate_instances(instance_ids, dry_run)
>>> ec2wrapper.stop_instances(instance_ids, dry_run)
>>> ec2wrapper.start_instances(instance_ids, dry_run)
Get data from the EC2 Response
>>> ec2wrapper.get_instances_data(ec2_instances)
>>> ec2wrapper.get_instances_ids(ec2_instances)
Get data from Instance
>>> ec2wrapper.get_tags_from_instance(instance)
Get the EC2 Connection
>>> ec2wrapper.get_ec2_connection(instance)
========================
AWS API Wrapper for Lambda
Usage
-----
It will look into your aws credentials file
Import the ec2wrapper
>>> from awswrapper import ec2wrapper
Use describe functions for talk to aws
>>> ec2wrapper.describe_instances(state=None)
>>> ec2wrapper.describe_instances_by_tag(tag, value=None, state=None)
Execute actions on those Instances
>>> ec2wrapper.terminate_instances(instance_ids, dry_run)
>>> ec2wrapper.stop_instances(instance_ids, dry_run)
>>> ec2wrapper.start_instances(instance_ids, dry_run)
Get data from the EC2 Response
>>> ec2wrapper.get_instances_data(ec2_instances)
>>> ec2wrapper.get_instances_ids(ec2_instances)
Get data from Instance
>>> ec2wrapper.get_tags_from_instance(instance)
Get the EC2 Connection
>>> ec2wrapper.get_ec2_connection(instance)
Release files for awswrapper 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| awswrapper-0.3.0.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awswrapper-0.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 7.0 kB
Release files / awswrapper-0.3.0.tar.gz
| Download URL | awswrapper-0.3.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c20a8b08c5c26ffbecd402fc053349948732025b97cb7b1438d4eea6443f247
|
|
BLAKE2b-256 checksum How to use checksums |
49d42bf0e172f8ca25b6cb41897f8dde4c74c02c469aea09575d1afd39ac9ee4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / awswrapper-0.3.0-py2.py3-none-any.whl
| Download URL | awswrapper-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
38ac430c3a31503317a67bd2606ef9687e5a1e0e0586506efd3fa8553e88116a
|
|
BLAKE2b-256 checksum How to use checksums |
69418a5c49c15c5cb952455b57b47f4cffc7671dd3fc8bb9b799cb0bb9e45abd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |