There are more AWS SDK examples available in the AWS Doc SDK Examples
Code examples by service using AWS SDKs
The following code examples show you how to use AWS services with an AWS software development kit (SDK). This section is organized by AWS service.
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.
Some services contain additional example categories that show how to leverage libraries or functions specific to the service.
More resources
-
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.
Code examples
- ACM
- API Gateway
- API Gateway Management API
- Application Auto Scaling
- Application Recovery Controller
- Audit Manager
- Aurora
- Auto Scaling
- AWS Batch
- Amazon Bedrock
- Amazon Bedrock Runtime
- Amazon Bedrock Agents
- Amazon Bedrock Agents Runtime
- AWS Budgets
- AWS Cloud9
- AWS CloudFormation
- CloudFront
- CloudTrail
- CloudWatch
- CloudWatch Events
- CloudWatch Logs
- CodeBuild
- CodeCommit
- CodeDeploy
- CodePipeline
- Amazon Cognito Identity
- Amazon Cognito Identity Provider
- Amazon Cognito Sync
- Amazon Comprehend
- AWS Config
- Firehose
- Device Farm
- AWS Directory Service
- AWS DMS
- Amazon DocumentDB
- DynamoDB
- Amazon EBS
- Amazon EC2
- Amazon ECR
- Amazon ECS
- Amazon EFS
- Amazon EKS
- Elastic Beanstalk
- Elastic Load Balancing - Version 1
- Elastic Load Balancing - Version 2
- MediaStore
- Amazon EMR
- OpenSearch Service
- EventBridge
- EventBridge Scheduler
- Forecast
- AWS Glue
- AWS Health
- HealthImaging
- HealthLake
- IAM
- AWS IoT
- AWS IoT data
- AWS IoT SiteWise
- Amazon Keyspaces
- Kinesis
- AWS KMS
- Lambda
- Amazon Lex
- Lookout for Vision
- Managed Service for Apache Flink
- AWS Marketplace Catalog API
- AWS Marketplace Agreement API
- MediaConvert
- MediaLive
- MediaPackage
- Migration Hub
- Amazon MSK
- AWS OpsWorks
- Organizations
- Amazon Personalize
- Amazon Personalize Events
- Amazon Personalize Runtime
- Amazon Pinpoint
- Amazon Pinpoint SMS and Voice API
- Amazon Polly
- AWS Price List
- QLDB
- Amazon RDS
- Amazon RDS Data Service
- Amazon Redshift
- Amazon Rekognition
- Resource Groups
- Resource Groups Tagging API
- Route 53
- Route 53 domain registration
- Amazon S3
- Amazon S3 Control
- S3 Directory Buckets
- S3 Glacier
- SageMaker AI
- Secrets Manager
- Amazon SES
- Amazon SES API v2
- Amazon SNS
- Amazon SQS
- Step Functions
- AWS STS
- AWS Support
- Systems Manager
- Amazon Textract
- Amazon Transcribe
- Amazon Transcribe Streaming
- Amazon Translate
- AWS WAFV2
- Amazon WorkDocs
- WorkSpaces