There are more AWS SDK examples available in the AWS Doc SDK Examples
Code examples for SDK for Python (Boto3)
The following code examples show you how to use the AWS SDK for Python (Boto3) with AWS.
Basics are code examples that show you how to perform the essential operations within a service.
Actions are code excerpts from larger programs and must be run in context. While actions show you how to call individual service functions, you can see actions in context in their related scenarios.
Scenarios are code examples that show you how to accomplish specific tasks by calling multiple functions within a service or combined with other AWS services.
More resources
-
SDK for Python (Boto3) Developer Guide
– More about using Python with AWS. -
AWS Developer Center
– Code examples that you can filter by category or full-text search. -
AWS SDK Examples
– GitHub repo with complete code in preferred languages. Includes instructions for setting up and running the code.
Services
- ACM
- API Gateway
- Application Recovery Controller
- Audit Manager
- Aurora
- Auto Scaling
- Amazon Bedrock
- Amazon Bedrock Runtime
- Amazon Bedrock Agents
- Amazon Bedrock Agents Runtime
- AWS CloudFormation
- CloudFront
- CloudWatch
- CloudWatch Logs
- Amazon Cognito Identity Provider
- Amazon Comprehend
- AWS Config
- Firehose
- Device Farm
- Amazon DocumentDB
- DynamoDB
- Amazon EC2
- Elastic Load Balancing - Version 2
- Amazon EMR
- EventBridge
- EventBridge Scheduler
- AWS Glue
- HealthImaging
- IAM
- Amazon Keyspaces
- Kinesis
- AWS KMS
- Lambda
- Lookout for Vision
- Managed Service for Apache Flink
- AWS Marketplace Catalog API
- AWS Marketplace Agreement API
- Amazon MSK
- Organizations
- Amazon Pinpoint
- Amazon Pinpoint SMS and Voice API
- Amazon Polly
- Amazon RDS
- Amazon RDS Data Service
- Amazon Redshift
- Amazon Rekognition
- Amazon S3
- S3 Glacier
- Secrets Manager
- Amazon SES
- Amazon SES API v2
- Amazon SNS
- Amazon SQS
- Step Functions
- AWS STS
- AWS Support
- Systems Manager
- Amazon Textract
- Amazon Transcribe