option

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package option provides adapters to change a parameter in S3 request.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CopyObjectInput

type CopyObjectInput func(req *s3.CopyObjectInput)

The CopyObjectInput type is an adapter to change a parameter in s3.CopyObjectInput.

func CopySSEKMSKeyID

func CopySSEKMSKeyID(keyID string) CopyObjectInput

CopySSEKMSKeyID returns a CopyObjectInput that changes a SSE-KMS Key ID.

type GetObjectInput

type GetObjectInput func(req *s3.GetObjectInput)

The GetObjectInput type is an adapter to change a parameter in s3.GetObjectInput.

type HeadObjectInput

type HeadObjectInput func(req *s3.HeadObjectInput)

The HeadObjectInput type is an adapter to change a parameter in s3.HeadObjectInput.

type ListObjectVersionsInput

type ListObjectVersionsInput func(req *s3.ListObjectVersionsInput)

The ListObjectVersionsInput type is an adapter to change a parameter in s3.ListObjectVersionsInput.

type ListObjectsInput

type ListObjectsInput func(req *s3.ListObjectsInput)

The ListObjectsInput type is an adapter to change a parameter in s3.ListObjectsInput.

func ListDelimiter

func ListDelimiter(delim string) ListObjectsInput

ListDelimiter returns a ListObjectsInput that changes a delimiter in s3.ListObjectsInput.

func ListEncodingType

func ListEncodingType(typ types.EncodingType) ListObjectsInput

ListEncodingType returns a ListObjectsInput that changes a EncodingType in s3.ListObjectsInput.

func ListMarker

func ListMarker(marker string) ListObjectsInput

ListMarker returns a ListObjectsInput that changes a Marker in s3.ListObjectsInput.

type ListObjectsV2Input

type ListObjectsV2Input func(req *s3.ListObjectsV2Input)

The ListObjectsV2Input type is an adapter to change a parameter in s3.ListObjectsV2Input.

type PutObjectInput

type PutObjectInput func(req *s3.PutObjectInput)

The PutObjectInput type is an adapter to change a parameter in s3.PutObjectInput.

func ACLPrivate

func ACLPrivate() PutObjectInput

ACLPrivate returns a PutObjectInput that set ACL private.

func ACLPublicRead

func ACLPublicRead() PutObjectInput

ACLPublicRead returns a PutObjectInput that set ACL public-read.

func ContentLength

func ContentLength(length int64) PutObjectInput

ContentLength returns a PutObjectInput that set Content-Length.

func ContentType

func ContentType(ct string) PutObjectInput

ContentType returns a PutObjectInput that set Content-Type.

func SSEKMSKeyID

func SSEKMSKeyID(keyID string) PutObjectInput

SSEKMSKeyID returns a PutObjectInput that changes a SSE-KMS Key ID.

func SSES3

func SSES3() PutObjectInput

SSES3 returns a PutObjectInput that uses SSE-S3 (AES256) in S3.

Jump to

Keyboard shortcuts

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