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/
(22 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | [[wikipedia:Boto3]] ([[AWS timeline|Jun 2015]]) <ref>https://aws.amazon.com/blogs/aws/now-available-aws-sdk-for-python-3-boto3/</ref> | + | [[wikipedia:Boto3]] ([[AWS timeline|Jun 2015]]) <ref>https://aws.amazon.com/blogs/aws/now-available-aws-sdk-for-python-3-boto3/</ref> AWS [[Python]] library. |
− | * Homepage: https://aws.amazon.com/sdk-for-python/ | + | * Homepage: https://aws.amazon.com/sdk-for-python/ |
− | * Installation: <code>[[pip install]] | + | * Installation: |
+ | :<code>[[pip install boto3]]</code> | ||
+ | :sudo apt-get install python-boto | ||
+ | <code>[[/etc/boto.cfg]]</code> | ||
+ | <code>[[.boto]]</code> | ||
+ | == Examples == | ||
* <code>[[import]] boto3</code> | * <code>[[import]] boto3</code> | ||
− | |||
− | |||
− | |||
− | |||
Line 18: | Line 19: | ||
== Related == | == Related == | ||
* [[AWS Chalice]] | * [[AWS Chalice]] | ||
− | * [[botocore]] | + | * <code>[[botocore]]</code> |
+ | * <code>[[boto3.resource]]</code> | ||
+ | * <code>[[boto3.client]]</code> | ||
+ | * <code>[[boto3.set_stream_logger]]</code> | ||
+ | * <code>[[requirements.txt]]</code> | ||
+ | * [[config]], [[credentials]] | ||
+ | * <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 == | ||
+ | * {{Boto3}} | ||
* {{Python}} | * {{Python}} | ||
* {{AWS IaC}} | * {{AWS IaC}} | ||
+ | [[Category:Boto3]] | ||
[[Category:Python]] | [[Category:Python]] |
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: