Difference between revisions of "Boto3"
Jump to navigation
Jump to search
↑ https://aws.amazon.com/blogs/aws/now-available-aws-sdk-for-python-3-boto3/
(3 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
:sudo apt-get install python-boto | :sudo apt-get install python-boto | ||
− | + | <code>[[/etc/boto.cfg]]</code> | |
− | + | ||
+ | <code>[[.boto]]</code> | ||
== Examples == | == Examples == | ||
Line 25: | Line 26: | ||
* [[config]], [[credentials]] | * [[config]], [[credentials]] | ||
* <code>[[gsutil config -e]]</code> | * <code>[[gsutil config -e]]</code> | ||
− | + | * <code>[[boto3 required for this module]]</code> | |
+ | * <code>[[Failed to import the required Python library]] ([[botocore]] or [[boto3]])</code> | ||
== See also == | == See also == |
Latest revision as of 14:19, 17 January 2023
wikipedia:Boto3 (Jun 2015) [1] AWS Python library.
- Homepage: https://aws.amazon.com/sdk-for-python/
- Installation:
pip install boto3
- sudo apt-get install python-boto
Examples[edit]
import boto3
for i in ec2.instances.all(): if i.state['Name'] == 'stopped': i.start()
Related[edit]
- AWS Chalice
botocore
boto3.resource
boto3.client
boto3.set_stream_logger
requirements.txt
- config, credentials
gsutil config -e
boto3 required for this module
Failed to import the required Python library (botocore or boto3)
See also[edit]
- Boto3,
botocore, boto3.client, Boto3: aws s3 ls
- Python, PIP, GIL, Flask, Django, Marshmallow,
def
, logging, Pandas, Numpy, AWS Chalice,import
,from
,tuple
,list
, Python exceptions,virtualenv
,.append
,pytz
,TZ
,print
,python3 -c
,os
, PEP, Python Institute, Methods: Dunder methods, Flake8, Python collections, Function decorators in Python, Click python library, Python module, Flower,kwargs
, Black (Python), Python list structure, Mypy,variables
, Casting,try:
, pydoc, argparse, Anaconda,pyenv, setup.py, python3 --version, python3 --help
, Data Classes, raise - AWS CLI, AWS Cloudformation, AWS CDK, Boto3
Advertising: