We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ff0e28 commit c275331Copy full SHA for c275331
README.md
@@ -17,11 +17,12 @@ import gleam/result
17
18
pub fn main() {
19
// create a client for the AWS service, such as DynamoDB
20
- let assert Ok(dynamo_client) =
21
- config.new()
22
- |> config.with_region("us-east-1")
23
- |> config.build
24
- |> result.map(dynamodb.new)
+ let dynamo_client =
+ dynamodb.new(
+ access_key_id: "AKIDEXAMPLE",
+ secret_access_key: "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY",
+ region: "us-east-1",
25
+ )
26
27
// Create the request body if necessary
28
let body =
0 commit comments