v1alpha1

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketNotification

type BucketNotification struct {
	EventVersion      string                `json:"eventVersion"`
	EventSource       string                `json:"eventSource"`
	AwsRegion         string                `json:"awsRegion"`
	EventTime         string                `json:"eventTime"`
	EventName         string                `json:"eventName"`
	UserIdentity      UserIdentitySpec      `json:"userIdentity"`
	RequestParameters RequestParametersSpec `json:"requestParameters"`
	ResponseElements  ResponseElementsSpec  `json:"responseElements"`
	S3                S3Spec                `json:"s3"`
	EventID           string                `json:"eventId"`
}

type BucketNotifications

type BucketNotifications struct {
	Records []BucketNotification `json:"Records"`
}

type BucketSpec

type BucketSpec struct {
	Name          string            `json:"name"`
	OwnerIdentity OwnerIdentitySpec `json:"ownerIdentity"`
	Arn           string            `json:"arn"`
	ID            string            `json:"id"`
}

type MetadataEntry

type MetadataEntry struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type ObjectSpec

type ObjectSpec struct {
	Key       string          `json:"key"`
	Size      uint            `json:"size"`
	ETag      string          `json:"eTag"`
	VersionID string          `json:"versionId"`
	Sequencer string          `json:"sequencer"`
	Metadata  []MetadataEntry `json:"metadata"`
}

type OwnerIdentitySpec

type OwnerIdentitySpec struct {
	PrincipalID string `json:"principalId"`
}

type RequestParametersSpec

type RequestParametersSpec struct {
	SourceIPAddress string `json:"sourceIPAddress"`
}

type ResponseElementsSpec

type ResponseElementsSpec struct {
	XAmzRequestID string `json:"x-amz-request-id"`
	XAmzID2       string `json:"x-amz-id-2"`
}

type S3Spec

type S3Spec struct {
	S3SchemaVersion string     `json:"s3SchemaVersion"`
	ConfigurationID string     `json:"configurationId"`
	Bucket          BucketSpec `json:"bucket"`
	Object          ObjectSpec `json:"object"`
}

type UserIdentitySpec

type UserIdentitySpec struct {
	PrincipalID string `json:"principalId"`
}

Jump to

Keyboard shortcuts

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