Python boto3
From wikinotes
boto3 is a module used to control amazon AWS services from python.
Documentation
official docs | https://boto3.amazonaws.com/v1/documentation/api/latest/index.html |
Services
boto3 S3 CDN/object file store boto3 route53 DNS boto3 cloudwatch alarms/notifications
General Info
Boto3 controls Amazon AWS services using various clients attached to a single session.
Generating Keys
See https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html .
Create an IAM user, assign them the permissions you'd like them to have, and record their accesskey and secretkey .
Connecting
The workflow looks like this
import boto3 session = boto3.session.Session() s3_client = session.client('s3', region=) route53_client = session.client('route53', region=) # list all client types session.get_available_services() # list all regions for service-type session.get_available_regions('route53domains')