Difference between revisions of "Boto3"

From wikieduonline
Jump to navigation Jump to search
 
(34 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> AWS [[Python]] library.
 +
* Homepage: https://aws.amazon.com/sdk-for-python/
 +
* Installation:
 +
:<code>[[pip install boto3]]</code>
 +
:sudo apt-get install python-boto
  
* Installation: <code>[[pip install]] boto3</code>
+
<code>[[/etc/boto.cfg]]</code>
  
 +
<code>[[.boto]]</code>
  
 +
== Examples ==
 +
* <code>[[import]] boto3</code>
  
* <code>[[import]] boto3</code>
 
  
<code>
 
 
  [[for]] i in ec2.instances.all():
 
  [[for]] i in ec2.instances.all():
 
     if i.state['Name'] == 'stopped':
 
     if i.state['Name'] == 'stopped':
 
         i.start()
 
         i.start()
</code>
 
  
 +
== Related ==
 +
* [[AWS Chalice]]
 +
* <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

Advertising: