Open hangoocn opened 4 months ago
Thanks for filing this! Added to the PR here: https://github.com/aws-amplify/docs/pull/7489
Thanks @aspittel, I was looking at syntax error in these 3 lines:
options: {
validateObjectExistence?: false, // [error:] extra question mark
expiresIn?: 20 // [error:] extra question mark, no comma
useAccelerateEndpoint: true; // [error:] comma instead of semi-colon
}
I just added comment for each line error
Describe the content issue: Get or download file from a URL the same code' syntax is not correct:
URL page where content issue is: Both Gen 1 and Gen 2 doc have same error: Gen 1: Generate a download URL Gen 2: Get or download file from a URL
Btw, not sure if it is better to set
useAccelerateEndpoint
to false in the sampl code otherwise user will experience a failure because of missign acceleration setup, or at least we can add a comment there to let user know it may fail.