Skip to content

Commit c275331

Browse files
author
Ryan Miville
committed
update readme
1 parent 0ff0e28 commit c275331

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ import gleam/result
1717
1818
pub fn main() {
1919
// 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)
20+
let dynamo_client =
21+
dynamodb.new(
22+
access_key_id: "AKIDEXAMPLE",
23+
secret_access_key: "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY",
24+
region: "us-east-1",
25+
)
2526
2627
// Create the request body if necessary
2728
let body =

0 commit comments

Comments
 (0)