S3ResourceClient allows you to perform operations on S3 buckets, such as listing objects, uploading files, and generating presigned URLs.
Usage
Inputs
Theinvoke method accepts the following arguments:
The S3 command to execute. Supported commands include
"ListObjectsV2",
"HeadObject", "GetObjectTagging", "PutObjectTagging", "DeleteObject",
"DeleteObjects", "CopyObject", "ListBuckets", "GetBucketLocation",
"GeneratePresignedUrl".The parameters for the command, matching the AWS SDK input shape (e.g.,
{(Bucket, Key, Prefix)}).A unique identifier for this operation.
Optional configuration object.
Outputs
On success (ok: true), the result object structure depends on the command.
Standard Commands
For most commands (e.g.,ListObjectsV2, HeadObject):
Discriminator for the response type.
The command that was executed.
The result data from S3.
GeneratePresignedUrl
For theGeneratePresignedUrl command:
Discriminator for the response type.
The generated presigned URL.
The expiration timestamp of the URL.