Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
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)
Metadata
Release files for awswrapper 0.2.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.2.0.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awswrapper-0.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 6.5 kB
Release files / awswrapper-0.2.0.tar.gz
| Download URL | awswrapper-0.2.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
026082fe5a2a0591687048303eb98c599d43e480e2c87be48361e67dfec5b348
|
|
BLAKE2b-256 checksum How to use checksums |
9380b3a5276b95cf077900b606ba6fbe24da83b50e7260f0d62446ba625bf53e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / awswrapper-0.2.0-py2.py3-none-any.whl
| Download URL | awswrapper-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0108aa44b387982897523d96238317776576699d758dcebc9307b01ae1ff124e
|
|
BLAKE2b-256 checksum How to use checksums |
dd20a3623b7521fa990efa56f9ff367da31254f953a7acbe1a78d713213d6187
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |