AWS SDK for Go Code Examples Code Examples Guide
Table of Contents
What is the AWS SDK for Go V2 Code Examples Guide? .............................................................. 1
Code examples ................................................................................................................................. 2
Aurora .............................................................................................................................................................. 2
Basics .......................................................................................................................................................... 4
Actions ..................................................................................................................................................... 22
Amazon Bedrock ......................................................................................................................................... 37
Actions ..................................................................................................................................................... 22
Amazon Bedrock Runtime ........................................................................................................................ 40
Scenarios ................................................................................................................................................. 44
AI21 Labs Jurassic-2 ............................................................................................................................. 47
Amazon Titan Image Generator ........................................................................................................ 49
Amazon Titan Text ............................................................................................................................... 51
Anthropic Claude .................................................................................................................................. 53
Meta Llama ............................................................................................................................................. 58
AWS CloudFormation ................................................................................................................................ 60
Actions ..................................................................................................................................................... 22
CloudWatch Logs ........................................................................................................................................ 62
Actions ..................................................................................................................................................... 22
Amazon Cognito Identity Provider ......................................................................................................... 64
Actions ..................................................................................................................................................... 22
Scenarios ................................................................................................................................................. 44
Amazon DocumentDB ............................................................................................................................. 138
Serverless examples ........................................................................................................................... 138
DynamoDB ................................................................................................................................................. 140
Basics .......................................................................................................................................................... 4
Actions ..................................................................................................................................................... 22
Scenarios ................................................................................................................................................. 44
Serverless examples ........................................................................................................................... 138
IAM .............................................................................................................................................................. 202
Actions ..................................................................................................................................................... 22
Scenarios ................................................................................................................................................. 44
Kinesis ......................................................................................................................................................... 253
Serverless examples ........................................................................................................................... 138
Lambda ....................................................................................................................................................... 256
iii