There are more AWS SDK examples available in the AWS Doc SDK Examples
Code examples for AWS CLI
The following code examples show you how to use the AWS Command Line Interface 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
-
AWS CLI Developer Guide – More about using CLI 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
- API Gateway HTTP and WebSocket API
- API Gateway Management API
- App Mesh
- App Runner
- AWS AppConfig
- Application Auto Scaling
- Application Discovery Service
- AppRegistry
- Athena
- Auto Scaling
- Auto Scaling Plans
- AWS Backup
- AWS Batch
- AWS Budgets
- Amazon Chime
- Cloud Control API
- AWS Cloud Map
- AWS Cloud9
- AWS CloudFormation
- CloudFront
- Amazon CloudSearch
- CloudTrail
- CloudWatch
- CloudWatch Logs
- CloudWatch Network Monitoring
- CodeArtifact
- CodeBuild
- CodeCommit
- CodeDeploy
- CodeGuru Reviewer
- CodePipeline
- AWS CodeStar Notifications
- CodeConnections
- Amazon Cognito Identity
- Amazon Cognito Identity Provider
- Amazon Comprehend
- Amazon Comprehend Medical
- AWS Config
- Amazon Connect
- AWS Cost and Usage Report
- Cost Explorer Service
- Firehose
- Amazon Data Lifecycle Manager
- AWS Data Pipeline
- DataSync
- DAX
- Detective
- Device Farm
- AWS Direct Connect
- AWS Directory Service
- AWS DMS
- Amazon DocumentDB
- DynamoDB
- DynamoDB Streams
- Amazon EC2
- Amazon EC2 Instance Connect
- Amazon ECR
- Amazon ECR Public
- Amazon ECS
- Amazon EFS
- Amazon EKS
- Elastic Beanstalk
- Elastic Load Balancing - Version 1
- Elastic Load Balancing - Version 2
- Elastic Transcoder
- ElastiCache
- MediaStore
- Amazon EMR
- Amazon EMR on EKS
- EventBridge
- Firewall Manager
- AWS FIS
- Amazon GameLift
- Global Accelerator
- AWS Glue
- GuardDuty
- AWS Health
- HealthImaging
- HealthLake
- HealthOmics
- IAM
- IAM Access Analyzer
- Image Builder
- Incident Manager
- Incident Manager Contacts
- Amazon Inspector
- AWS IoT
- AWS IoT 1-Click Devices
- AWS IoT 1-Click Projects
- AWS IoT Analytics
- Device Advisor
- AWS IoT data
- AWS IoT Events
- AWS IoT Events-Data
- AWS IoT Greengrass
- AWS IoT Greengrass V2
- AWS IoT Jobs SDK release
- AWS IoT SiteWise
- AWS IoT Things Graph
- AWS IoT Wireless
- Amazon IVS
- Amazon IVS Chat
- Amazon IVS Real-Time Streaming
- Amazon Kendra
- Kinesis
- AWS KMS
- Lake Formation
- Lambda
- License Manager
- Lightsail
- Macie
- Amazon Managed Grafana
- MediaConnect
- MediaConvert
- MediaLive
- MediaPackage
- MediaPackage VOD
- MediaStore Data Plane
- MediaTailor
- MemoryDB
- Amazon MSK
- Network Manager
- Nimble Studio
- OpenSearch Service
- AWS OpsWorks
- AWS OpsWorks CM
- Organizations
- AWS Outposts
- AWS Payment Cryptography
- AWS Payment Cryptography Data Plane
- Amazon Pinpoint
- Amazon Polly
- AWS Price List
- AWS Private CA
- AWS Proton
- QLDB
- Amazon RDS
- Amazon RDS Data Service
- Amazon RDS Performance Insights
- Amazon Redshift
- Amazon Rekognition
- AWS RAM
- Resource Explorer
- Resource Groups
- Resource Groups Tagging API
- AWS RoboMaker
- Route 53
- Route 53 domain registration
- Route 53 Profiles
- Route 53 Resolver
- Amazon S3
- Amazon S3 Control
- S3 Glacier
- Secrets Manager
- Security Hub
- Security Lake
- AWS Serverless Application Repository
- Service Catalog
- Service Quotas
- Amazon SES
- Shield
- Signer
- Snowball
- Amazon SNS
- Amazon SQS
- Storage Gateway
- AWS STS
- AWS Support
- Amazon SWF
- Systems Manager
- Amazon Textract
- Amazon Transcribe
- Amazon Translate
- Trusted Advisor
- Verified Permissions
- VPC Lattice
- AWS WAF Classic
- AWS WAF Classic Regional
- AWS WAFV2
- Amazon WorkDocs
- Amazon WorkMail
- Amazon WorkMail Message Flow
- WorkSpaces
- X-Ray

