Discover Packages
github.com/awsdocs/aws-doc-sdk-examples/gov2
s3
GeneratePresignedURL
command
Version:
v0.0.0-...-9d6317c
Opens a new window with list of versions in this module.
Published: Mar 2, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
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 .
Expand ▾
Collapse ▴
Documentation
¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX - License - Identifier: Apache - 2.0
snippet-start:[s3.go-v2.generate_presigned_url]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.