s3

package
v0.0.0-...-62343dc Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_fetching_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_helpers_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_referenced_resource_file.tmpl

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertTags

func ConvertTags(tags []types.Tag) map[string]string

func PostProcessBucket

func PostProcessBucket(ctx context.Context, params *localAws.AwsFetchInput, model *Bucket) error

Types

type AbortIncompleteMultipartUpload

type AbortIncompleteMultipartUpload struct {
	DaysAfterInitiation int32 `` /* 227-byte string literal not displayed */
}

type AccessControlTranslation

type AccessControlTranslation struct {
	Owner string `` /* 155-byte string literal not displayed */
}

type Bucket

type Bucket struct {
	CreationDate                      int64                              `` /* 210-byte string literal not displayed */
	Name                              string                             `` /* 189-byte string literal not displayed */
	AccountId                         string                             `` /* 185-byte string literal not displayed */
	Region                            string                             `` /* 161-byte string literal not displayed */
	ReportTime                        int64                              `` /* 208-byte string literal not displayed */
	InventoryUUID                     string                             `` /* 152-byte string literal not displayed */
	Policy                            string                             `` /* 161-byte string literal not displayed */
	IsPublic                          bool                               `` /* 147-byte string literal not displayed */
	Tags                              map[string]string                  `` /* 209-byte string literal not displayed */
	VersioningStatus                  string                             `` /* 227-byte string literal not displayed */
	MFADeleteStatus                   string                             `` /* 227-byte string literal not displayed */
	ReplicationConfiguration          *ReplicationConfiguration          `` /* 240-byte string literal not displayed */
	AclGrants                         []*Grant                           `` /* 178-byte string literal not displayed */
	CorsRules                         []*CORSRule                        `` /* 178-byte string literal not displayed */
	ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `` /* 306-byte string literal not displayed */
	IntelligentTieringConfigurations  []*IntelligentTieringConfiguration `` /* 322-byte string literal not displayed */
	InventoryConfigurations           []*InventoryConfiguration          `` /* 262-byte string literal not displayed */
	LifecycleRules                    []*LifecycleRule                   `` /* 208-byte string literal not displayed */
	Logging                           *LoggingEnabled                    `` /* 132-byte string literal not displayed */
}

func FetchBuckets

func FetchBuckets(ctx context.Context, params *aws.AwsFetchInput) ([]*Bucket, *aws.AwsFetchOutputMetadata)

type CORSRule

type CORSRule struct {
	AllowedMethods []string `` /* 253-byte string literal not displayed */
	AllowedOrigins []string `` /* 253-byte string literal not displayed */
	AllowedHeaders []string `` /* 253-byte string literal not displayed */
	ExposeHeaders  []string `` /* 247-byte string literal not displayed */
	ID             string   `` /* 137-byte string literal not displayed */
	MaxAgeSeconds  int32    `` /* 191-byte string literal not displayed */
}

type DeleteMarkerReplication

type DeleteMarkerReplication struct {
	Status string `` /* 161-byte string literal not displayed */
}

type Destination

type Destination struct {
	Bucket                   string                    `` /* 161-byte string literal not displayed */
	AccessControlTranslation *AccessControlTranslation `` /* 246-byte string literal not displayed */
	Account                  string                    `` /* 167-byte string literal not displayed */
	EncryptionConfiguration  *EncryptionConfiguration  `` /* 234-byte string literal not displayed */
	Metrics                  *Metrics                  `` /* 132-byte string literal not displayed */
	ReplicationTime          *ReplicationTime          `` /* 186-byte string literal not displayed */
	StorageClass             string                    `` /* 203-byte string literal not displayed */
}

type EncryptionConfiguration

type EncryptionConfiguration struct {
	ReplicaKmsKeyID string `` /* 233-byte string literal not displayed */
}

type ExistingObjectReplication

type ExistingObjectReplication struct {
	Status string `` /* 161-byte string literal not displayed */
}

type Grant

type Grant struct {
	Grantee    *Grantee `` /* 132-byte string literal not displayed */
	Permission string   `` /* 185-byte string literal not displayed */
}

type Grantee

type Grantee struct {
	Type         string `` /* 149-byte string literal not displayed */
	DisplayName  string `` /* 197-byte string literal not displayed */
	EmailAddress string `` /* 203-byte string literal not displayed */
	ID           string `` /* 137-byte string literal not displayed */
	URI          string `` /* 143-byte string literal not displayed */
}

type IntelligentTieringAndOperator

type IntelligentTieringAndOperator struct {
	Prefix string `` /* 161-byte string literal not displayed */
	Tags   []*Tag `` /* 142-byte string literal not displayed */
}

type IntelligentTieringConfiguration

type IntelligentTieringConfiguration struct {
	Id       string                    `` /* 137-byte string literal not displayed */
	Status   string                    `` /* 161-byte string literal not displayed */
	Tierings []*Tiering                `` /* 166-byte string literal not displayed */
	Filter   *IntelligentTieringFilter `` /* 126-byte string literal not displayed */
}

type IntelligentTieringFilter

type IntelligentTieringFilter struct {
	And    *IntelligentTieringAndOperator `bson:"and,omitempty" ion:"and" dynamodbav:"and,omitempty" parquet:"name=and" json:"and,omitempty" diff:"and"`
	Prefix string                         `` /* 161-byte string literal not displayed */
	Tag    *Tag                           `bson:"tag,omitempty" ion:"tag" dynamodbav:"tag,omitempty" parquet:"name=tag" json:"tag,omitempty" diff:"tag"`
}

type InventoryConfiguration

type InventoryConfiguration struct {
	Destination            *InventoryDestination `` /* 156-byte string literal not displayed */
	Id                     string                `` /* 137-byte string literal not displayed */
	IncludedObjectVersions string                `` /* 269-byte string literal not displayed */
	IsEnabled              bool                  `` /* 153-byte string literal not displayed */
	Schedule               *InventorySchedule    `` /* 138-byte string literal not displayed */
	Filter                 *InventoryFilter      `` /* 126-byte string literal not displayed */
	OptionalFields         []string              `` /* 253-byte string literal not displayed */
}

type InventoryDestination

type InventoryDestination struct {
	S3BucketDestination *InventoryS3BucketDestination `` /* 216-byte string literal not displayed */
}

type InventoryEncryption

type InventoryEncryption struct {
	SSEKMS *SSEKMS `` /* 126-byte string literal not displayed */
}

type InventoryFilter

type InventoryFilter struct {
	Prefix string `` /* 161-byte string literal not displayed */
}

type InventoryS3BucketDestination

type InventoryS3BucketDestination struct {
	Bucket     string               `` /* 161-byte string literal not displayed */
	Format     string               `` /* 161-byte string literal not displayed */
	AccountId  string               `` /* 185-byte string literal not displayed */
	Encryption *InventoryEncryption `` /* 150-byte string literal not displayed */
	Prefix     string               `` /* 161-byte string literal not displayed */
}

type InventorySchedule

type InventorySchedule struct {
	Frequency string `` /* 179-byte string literal not displayed */
}

type LifecycleExpiration

type LifecycleExpiration struct {
	Date                      int64 `` /* 156-byte string literal not displayed */
	Days                      int32 `bson:"days,omitempty" ion:"days" dynamodbav:"days,omitempty" parquet:"name=days,type=INT32" json:"days,omitempty" diff:"days"`
	ExpiredObjectDeleteMarker bool  `` /* 261-byte string literal not displayed */
}

type LifecycleRule

type LifecycleRule struct {
	Status                         string                          `` /* 161-byte string literal not displayed */
	AbortIncompleteMultipartUpload *AbortIncompleteMultipartUpload `` /* 288-byte string literal not displayed */
	Expiration                     *LifecycleExpiration            `` /* 150-byte string literal not displayed */
	ID                             string                          `` /* 137-byte string literal not displayed */
	NoncurrentVersionExpiration    *NoncurrentVersionExpiration    `` /* 264-byte string literal not displayed */
	NoncurrentVersionTransitions   []*NoncurrentVersionTransition  `` /* 298-byte string literal not displayed */
	Prefix                         string                          `` /* 161-byte string literal not displayed */
	Transitions                    []*Transition                   `` /* 184-byte string literal not displayed */
}

type LoggingEnabled

type LoggingEnabled struct {
	TargetBucket string         `` /* 203-byte string literal not displayed */
	TargetPrefix string         `` /* 203-byte string literal not displayed */
	TargetGrants []*TargetGrant `` /* 196-byte string literal not displayed */
}

type Metrics

type Metrics struct {
	Status         string                `` /* 161-byte string literal not displayed */
	EventThreshold *ReplicationTimeValue `` /* 180-byte string literal not displayed */
}

type NoncurrentVersionExpiration

type NoncurrentVersionExpiration struct {
	NewerNoncurrentVersions int32 `` /* 251-byte string literal not displayed */
	NoncurrentDays          int32 `` /* 191-byte string literal not displayed */
}

type NoncurrentVersionTransition

type NoncurrentVersionTransition struct {
	NewerNoncurrentVersions int32  `` /* 251-byte string literal not displayed */
	NoncurrentDays          int32  `` /* 191-byte string literal not displayed */
	StorageClass            string `` /* 203-byte string literal not displayed */
}

type ReplicaModifications

type ReplicaModifications struct {
	Status string `` /* 161-byte string literal not displayed */
}

type ReplicationConfiguration

type ReplicationConfiguration struct {
	Role  string             `` /* 149-byte string literal not displayed */
	Rules []*ReplicationRule `` /* 148-byte string literal not displayed */
}

type ReplicationRule

type ReplicationRule struct {
	Destination               *Destination               `` /* 156-byte string literal not displayed */
	Status                    string                     `` /* 161-byte string literal not displayed */
	DeleteMarkerReplication   *DeleteMarkerReplication   `` /* 240-byte string literal not displayed */
	ExistingObjectReplication *ExistingObjectReplication `` /* 252-byte string literal not displayed */
	ID                        string                     `` /* 137-byte string literal not displayed */
	Prefix                    string                     `` /* 161-byte string literal not displayed */
	Priority                  int32                      `` /* 149-byte string literal not displayed */
	SourceSelectionCriteria   *SourceSelectionCriteria   `` /* 240-byte string literal not displayed */
}

type ReplicationTime

type ReplicationTime struct {
	Status string                `` /* 161-byte string literal not displayed */
	Time   *ReplicationTimeValue `bson:"time,omitempty" ion:"time" dynamodbav:"time,omitempty" parquet:"name=time" json:"time,omitempty" diff:"time"`
}

type ReplicationTimeValue

type ReplicationTimeValue struct {
	Minutes int32 `` /* 143-byte string literal not displayed */
}

type SSEKMS

type SSEKMS struct {
	KeyId string `` /* 161-byte string literal not displayed */
}

type ServerSideEncryptionByDefault

type ServerSideEncryptionByDefault struct {
	SSEAlgorithm   string `` /* 203-byte string literal not displayed */
	KMSMasterKeyID string `` /* 227-byte string literal not displayed */
}

type ServerSideEncryptionConfiguration

type ServerSideEncryptionConfiguration struct {
	Rules []*ServerSideEncryptionRule `` /* 148-byte string literal not displayed */
}

type ServerSideEncryptionRule

type ServerSideEncryptionRule struct {
	ApplyServerSideEncryptionByDefault *ServerSideEncryptionByDefault `` /* 324-byte string literal not displayed */
	BucketKeyEnabled                   bool                           `` /* 201-byte string literal not displayed */
}

type SourceSelectionCriteria

type SourceSelectionCriteria struct {
	ReplicaModifications   *ReplicaModifications   `` /* 216-byte string literal not displayed */
	SseKmsEncryptedObjects *SseKmsEncryptedObjects `` /* 240-byte string literal not displayed */
}

type SseKmsEncryptedObjects

type SseKmsEncryptedObjects struct {
	Status string `` /* 161-byte string literal not displayed */
}

type Tag

type Tag struct {
	Key   string `` /* 143-byte string literal not displayed */
	Value string `` /* 155-byte string literal not displayed */
}

type TargetGrant

type TargetGrant struct {
	Grantee    *Grantee `` /* 132-byte string literal not displayed */
	Permission string   `` /* 185-byte string literal not displayed */
}

type Tiering

type Tiering struct {
	AccessTier string `` /* 191-byte string literal not displayed */
	Days       int32  `bson:"days,omitempty" ion:"days" dynamodbav:"days,omitempty" parquet:"name=days,type=INT32" json:"days,omitempty" diff:"days"`
}

type Transition

type Transition struct {
	Date         int64  `` /* 156-byte string literal not displayed */
	Days         int32  `bson:"days,omitempty" ion:"days" dynamodbav:"days,omitempty" parquet:"name=days,type=INT32" json:"days,omitempty" diff:"days"`
	StorageClass string `` /* 203-byte string literal not displayed */
}

Jump to

Keyboard shortcuts

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