There are more AWS SDK examples available in the AWS Doc SDK Examples
Code examples for SDK for JavaScript (v3)
The following code examples show you how to use the AWS SDK for JavaScript (v3) 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.
Some services contain additional example categories that show how to leverage libraries or functions specific to the service.
More resources
-
SDK for JavaScript (v3) Developer Guide – More about using JavaScript 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
- API Gateway
- Aurora
- Auto Scaling
- Amazon Bedrock
- Amazon Bedrock Runtime
- Amazon Bedrock Agents
- Amazon Bedrock Agents Runtime
- CloudWatch
- CloudWatch Events
- CloudWatch Logs
- CodeBuild
- Amazon Cognito Identity Provider
- Amazon Comprehend
- Amazon DocumentDB
- DynamoDB
- Amazon EC2
- Elastic Load Balancing - Version 2
- EventBridge
- AWS Glue
- HealthImaging
- IAM
- Kinesis
- Lambda
- Amazon Lex
- Amazon MSK
- Amazon Personalize
- Amazon Personalize Events
- Amazon Personalize Runtime
- Amazon Pinpoint
- Amazon Polly
- Amazon RDS
- Amazon RDS Data Service
- Amazon Redshift
- Amazon Rekognition
- Amazon S3
- S3 Glacier
- SageMaker AI
- Secrets Manager
- Amazon SES
- Amazon SNS
- Amazon SQS
- Step Functions
- AWS STS
- AWS Support
- Systems Manager
- Amazon Textract
- Amazon Transcribe
- Amazon Translate