GeneratePresignedURL

command
v0.0.0-...-e8b88a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

README

GeneratePresignedURLv2.go

This example retrieves a presigned URL for an Amazon Simple Storage Service (Amazon S3) bucket object.

go run GeneratePresignedURLv2.go -b BUCKET -k KEY

  • BUCKET is the name of the bucket.
  • KEY is the name of the object (key).

The unit test accepts a similar value in config.json.

Documentation

Overview

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX - License - Identifier: Apache - 2.0 snippet-start:[s3.go-v2.generate_presigned_url]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL