Documentation ¶
Overview ¶
Package s3 provides the client and types for making API requests to Amazon Simple Storage Service.
See https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01 for more information on this service.
See s3 package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/s3/
Using the Client ¶
To Amazon Simple Storage Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Simple Storage Service client S3 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/s3/#New
Upload Managers ¶
The s3manager package's Uploader provides concurrent upload of content to S3 by taking advantage of S3's Multipart APIs. The Uploader also supports both io.Reader for streaming uploads, and will also take advantage of io.ReadSeeker for optimizations if the Body satisfies that type. Once the Uploader instance is created you can call Upload concurrently from multiple goroutines safely.
// The config the S3 Uploader will use cfg, err := external.LoadDefaultAWSConfig() // Create an uploader with the config and default options uploader := s3manager.NewUploader(cfg) f, err := os.Open(filename) if err != nil { return fmt.Errorf("failed to open file %q, %v", filename, err) } // Upload the file to S3. result, err := uploader.Upload(&s3manager.UploadInput{ Bucket: aws.String(myBucket), Key: aws.String(myString), Body: f, }) if err != nil { return fmt.Errorf("failed to upload file, %v", err) } fmt.Printf("file uploaded to, %s\n", aws.StringValue(result.Location))
See the s3manager package's Uploader type documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/#Uploader
Download Manager ¶
The s3manager package's Downloader provides concurrently downloading of Objects from S3. The Downloader will write S3 Object content with an io.WriterAt. Once the Downloader instance is created you can call Upload concurrently from multiple goroutines safely.
// The config the S3 Downloader will use cfg, err := external.LoadDefaultAWSConfig() // Create a downloader with the config and default options downloader := s3manager.NewDownloader(cfg) // Create a file to write the S3 Object contents to. f, err := os.Create(filename) if err != nil { return fmt.Errorf("failed to create file %q, %v", filename, err) } // Write the contents of S3 Object to the file n, err := downloader.Download(f, &s3.GetObjectInput{ Bucket: aws.String(myBucket), Key: aws.String(myString), }) if err != nil { return fmt.Errorf("failed to upload file, %v", err) } fmt.Printf("file downloaded, %d bytes\n", n)
See the s3manager package's Downloader type documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/#Downloader
Get Bucket Region ¶
GetBucketRegion will attempt to get the region for a bucket using a region hint to determine which AWS partition to perform the query on. Use this utility to determine the region a bucket is in.
cfg, err := external.LoadDefaultAWSConfig() bucket := "my-bucket" region, err := s3manager.GetBucketRegion(ctx, cfg, bucket, "us-west-2") if err != nil { if aerr, ok := err.(awserr.Error); ok && aerr.Code() == "NotFound" { fmt.Fprintf(os.Stderr, "unable to find bucket %s's region not found\n", bucket) } return err } fmt.Printf("Bucket %s is in %s region\n", bucket, region)
See the s3manager package's GetBucketRegion function documentation for more information https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/#GetBucketRegion
S3 Crypto Client ¶
The s3crypto package provides the tools to upload and download encrypted content from S3. The Encryption and Decryption clients can be used concurrently once the client is created.
cfg, err := external.LoadDefaultAWSConfig() // Create the decryption client. svc := s3crypto.NewDecryptionClient(cfg) // The object will be downloaded from S3 and decrypted locally. By metadata // about the object's encryption will instruct the decryption client how // decrypt the content of the object. By default KMS is used for keys. result, err := svc.GetObject(&s3.GetObjectInput { Bucket: aws.String(myBucket), Key: aws.String(myKey), })
See the s3crypto package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3crypto/
Index ¶
- Constants
- Variables
- func WithNormalizeBucketLocation(r *aws.Request)
- type AbortIncompleteMultipartUpload
- type AbortMultipartUploadInput
- type AbortMultipartUploadOutput
- type AbortMultipartUploadRequest
- type AccelerateConfiguration
- type AccessControlPolicy
- type AccessControlTranslation
- type AnalyticsAndOperator
- type AnalyticsConfiguration
- type AnalyticsExportDestination
- type AnalyticsFilter
- type AnalyticsS3BucketDestination
- type AnalyticsS3ExportFileFormat
- type Bucket
- type BucketAccelerateStatus
- type BucketCannedACL
- type BucketLifecycleConfiguration
- type BucketLocationConstraint
- type BucketLoggingStatus
- type BucketLogsPermission
- type BucketVersioningStatus
- type CORSConfiguration
- type CORSRule
- type CSVInput
- type CSVOutput
- type CloudFunctionConfiguration
- type CommonPrefix
- type CompleteMultipartUploadInput
- type CompleteMultipartUploadOutput
- type CompleteMultipartUploadRequest
- type CompletedMultipartUpload
- type CompletedPart
- type CompressionType
- type Condition
- type CopyObjectInput
- type CopyObjectOutput
- type CopyObjectRequest
- type CopyObjectResult
- type CopyPartResult
- type CreateBucketConfiguration
- type CreateBucketInput
- type CreateBucketOutput
- type CreateBucketRequest
- type CreateMultipartUploadInput
- type CreateMultipartUploadOutput
- type CreateMultipartUploadRequest
- type DefaultRetention
- type Delete
- type DeleteBucketAnalyticsConfigurationInput
- type DeleteBucketAnalyticsConfigurationOutput
- func (s DeleteBucketAnalyticsConfigurationOutput) GoString() string
- func (s DeleteBucketAnalyticsConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteBucketAnalyticsConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s DeleteBucketAnalyticsConfigurationOutput) String() string
- type DeleteBucketAnalyticsConfigurationRequest
- type DeleteBucketCorsInput
- type DeleteBucketCorsOutput
- type DeleteBucketCorsRequest
- type DeleteBucketEncryptionInput
- type DeleteBucketEncryptionOutput
- type DeleteBucketEncryptionRequest
- type DeleteBucketInput
- type DeleteBucketInventoryConfigurationInput
- type DeleteBucketInventoryConfigurationOutput
- func (s DeleteBucketInventoryConfigurationOutput) GoString() string
- func (s DeleteBucketInventoryConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteBucketInventoryConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s DeleteBucketInventoryConfigurationOutput) String() string
- type DeleteBucketInventoryConfigurationRequest
- type DeleteBucketLifecycleInput
- type DeleteBucketLifecycleOutput
- type DeleteBucketLifecycleRequest
- type DeleteBucketMetricsConfigurationInput
- type DeleteBucketMetricsConfigurationOutput
- func (s DeleteBucketMetricsConfigurationOutput) GoString() string
- func (s DeleteBucketMetricsConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteBucketMetricsConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s DeleteBucketMetricsConfigurationOutput) String() string
- type DeleteBucketMetricsConfigurationRequest
- type DeleteBucketOutput
- type DeleteBucketPolicyInput
- type DeleteBucketPolicyOutput
- type DeleteBucketPolicyRequest
- type DeleteBucketReplicationInput
- type DeleteBucketReplicationOutput
- type DeleteBucketReplicationRequest
- type DeleteBucketRequest
- type DeleteBucketTaggingInput
- type DeleteBucketTaggingOutput
- type DeleteBucketTaggingRequest
- type DeleteBucketWebsiteInput
- type DeleteBucketWebsiteOutput
- type DeleteBucketWebsiteRequest
- type DeleteMarkerEntry
- type DeleteMarkerReplication
- type DeleteMarkerReplicationStatus
- type DeleteObjectInput
- type DeleteObjectOutput
- type DeleteObjectRequest
- type DeleteObjectTaggingInput
- type DeleteObjectTaggingOutput
- type DeleteObjectTaggingRequest
- type DeleteObjectsInput
- type DeleteObjectsOutput
- type DeleteObjectsRequest
- type DeletePublicAccessBlockInput
- type DeletePublicAccessBlockOutput
- type DeletePublicAccessBlockRequest
- type DeletedObject
- type Destination
- type EncodingType
- type Encryption
- type EncryptionConfiguration
- type Error
- type ErrorDocument
- type Event
- type ExpirationStatus
- type ExpressionType
- type FileHeaderInfo
- type FilterRule
- type FilterRuleName
- type GetBucketAccelerateConfigurationInput
- type GetBucketAccelerateConfigurationOutput
- func (s GetBucketAccelerateConfigurationOutput) GoString() string
- func (s GetBucketAccelerateConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetBucketAccelerateConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s GetBucketAccelerateConfigurationOutput) String() string
- type GetBucketAccelerateConfigurationRequest
- type GetBucketAclInput
- type GetBucketAclOutput
- type GetBucketAclRequest
- type GetBucketAnalyticsConfigurationInput
- type GetBucketAnalyticsConfigurationOutput
- func (s GetBucketAnalyticsConfigurationOutput) GoString() string
- func (s GetBucketAnalyticsConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetBucketAnalyticsConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s GetBucketAnalyticsConfigurationOutput) String() string
- type GetBucketAnalyticsConfigurationRequest
- type GetBucketCorsInput
- type GetBucketCorsOutput
- type GetBucketCorsRequest
- type GetBucketEncryptionInput
- type GetBucketEncryptionOutput
- type GetBucketEncryptionRequest
- type GetBucketInventoryConfigurationInput
- type GetBucketInventoryConfigurationOutput
- func (s GetBucketInventoryConfigurationOutput) GoString() string
- func (s GetBucketInventoryConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetBucketInventoryConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s GetBucketInventoryConfigurationOutput) String() string
- type GetBucketInventoryConfigurationRequest
- type GetBucketLifecycleConfigurationInput
- type GetBucketLifecycleConfigurationOutput
- func (s GetBucketLifecycleConfigurationOutput) GoString() string
- func (s GetBucketLifecycleConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetBucketLifecycleConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s GetBucketLifecycleConfigurationOutput) String() string
- type GetBucketLifecycleConfigurationRequest
- type GetBucketLifecycleInput
- type GetBucketLifecycleOutput
- type GetBucketLifecycleRequest
- type GetBucketLocationInput
- type GetBucketLocationOutput
- type GetBucketLocationRequest
- type GetBucketLoggingInput
- type GetBucketLoggingOutput
- type GetBucketLoggingRequest
- type GetBucketMetricsConfigurationInput
- type GetBucketMetricsConfigurationOutput
- type GetBucketMetricsConfigurationRequest
- type GetBucketNotificationConfigurationInput
- type GetBucketNotificationConfigurationOutput
- func (s GetBucketNotificationConfigurationOutput) GoString() string
- func (s GetBucketNotificationConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetBucketNotificationConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s GetBucketNotificationConfigurationOutput) String() string
- func (s *GetBucketNotificationConfigurationOutput) Validate() error
- type GetBucketNotificationConfigurationRequest
- type GetBucketNotificationOutput
- type GetBucketNotificationRequest
- type GetBucketPolicyInput
- type GetBucketPolicyOutput
- type GetBucketPolicyRequest
- type GetBucketPolicyStatusInput
- type GetBucketPolicyStatusOutput
- type GetBucketPolicyStatusRequest
- type GetBucketReplicationInput
- type GetBucketReplicationOutput
- type GetBucketReplicationRequest
- type GetBucketRequestPaymentInput
- type GetBucketRequestPaymentOutput
- type GetBucketRequestPaymentRequest
- type GetBucketTaggingInput
- type GetBucketTaggingOutput
- type GetBucketTaggingRequest
- type GetBucketVersioningInput
- type GetBucketVersioningOutput
- type GetBucketVersioningRequest
- type GetBucketWebsiteInput
- type GetBucketWebsiteOutput
- type GetBucketWebsiteRequest
- type GetObjectAclInput
- type GetObjectAclOutput
- type GetObjectAclRequest
- type GetObjectInput
- type GetObjectLegalHoldInput
- type GetObjectLegalHoldOutput
- type GetObjectLegalHoldRequest
- type GetObjectLockConfigurationInput
- type GetObjectLockConfigurationOutput
- type GetObjectLockConfigurationRequest
- type GetObjectOutput
- type GetObjectRequest
- type GetObjectRetentionInput
- type GetObjectRetentionOutput
- type GetObjectRetentionRequest
- type GetObjectTaggingInput
- type GetObjectTaggingOutput
- type GetObjectTaggingRequest
- type GetObjectTorrentInput
- type GetObjectTorrentOutput
- type GetObjectTorrentRequest
- type GetPublicAccessBlockInput
- type GetPublicAccessBlockOutput
- type GetPublicAccessBlockRequest
- type GlacierJobParameters
- type Grant
- type Grantee
- type HeadBucketInput
- type HeadBucketOutput
- type HeadBucketRequest
- type HeadObjectInput
- type HeadObjectOutput
- type HeadObjectRequest
- type IndexDocument
- type Initiator
- type InputSerialization
- type InventoryConfiguration
- type InventoryDestination
- type InventoryEncryption
- type InventoryFilter
- type InventoryFormat
- type InventoryFrequency
- type InventoryIncludedObjectVersions
- type InventoryOptionalField
- type InventoryS3BucketDestination
- type InventorySchedule
- type JSONInput
- type JSONOutput
- type JSONType
- type KeyFilter
- type LambdaFunctionConfiguration
- type LifecycleConfiguration
- type LifecycleExpiration
- type LifecycleRule
- type LifecycleRuleAndOperator
- type LifecycleRuleFilter
- type ListBucketAnalyticsConfigurationsInput
- type ListBucketAnalyticsConfigurationsOutput
- func (s ListBucketAnalyticsConfigurationsOutput) GoString() string
- func (s ListBucketAnalyticsConfigurationsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListBucketAnalyticsConfigurationsOutput) SDKResponseMetadata() aws.Response
- func (s ListBucketAnalyticsConfigurationsOutput) String() string
- type ListBucketAnalyticsConfigurationsRequest
- type ListBucketInventoryConfigurationsInput
- type ListBucketInventoryConfigurationsOutput
- func (s ListBucketInventoryConfigurationsOutput) GoString() string
- func (s ListBucketInventoryConfigurationsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListBucketInventoryConfigurationsOutput) SDKResponseMetadata() aws.Response
- func (s ListBucketInventoryConfigurationsOutput) String() string
- type ListBucketInventoryConfigurationsRequest
- type ListBucketMetricsConfigurationsInput
- type ListBucketMetricsConfigurationsOutput
- func (s ListBucketMetricsConfigurationsOutput) GoString() string
- func (s ListBucketMetricsConfigurationsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListBucketMetricsConfigurationsOutput) SDKResponseMetadata() aws.Response
- func (s ListBucketMetricsConfigurationsOutput) String() string
- type ListBucketMetricsConfigurationsRequest
- type ListBucketsInput
- type ListBucketsOutput
- type ListBucketsRequest
- type ListMultipartUploadsInput
- type ListMultipartUploadsOutput
- type ListMultipartUploadsPager
- type ListMultipartUploadsRequest
- type ListObjectVersionsInput
- type ListObjectVersionsOutput
- type ListObjectVersionsPager
- type ListObjectVersionsRequest
- type ListObjectsInput
- type ListObjectsOutput
- type ListObjectsPager
- type ListObjectsRequest
- type ListObjectsV2Input
- type ListObjectsV2Output
- type ListObjectsV2Pager
- type ListObjectsV2Request
- type ListPartsInput
- type ListPartsOutput
- type ListPartsPager
- type ListPartsRequest
- type Location
- type LoggingEnabled
- type MFADelete
- type MFADeleteStatus
- type MetadataDirective
- type MetadataEntry
- type MetricsAndOperator
- type MetricsConfiguration
- type MetricsFilter
- type MultipartUpload
- type NoncurrentVersionExpiration
- type NoncurrentVersionTransition
- type NotificationConfigurationFilter
- type Object
- type ObjectCannedACL
- type ObjectIdentifier
- type ObjectLockConfiguration
- type ObjectLockEnabled
- type ObjectLockLegalHold
- type ObjectLockLegalHoldStatus
- type ObjectLockMode
- type ObjectLockRetention
- type ObjectLockRetentionMode
- type ObjectLockRule
- type ObjectStorageClass
- type ObjectVersion
- type ObjectVersionStorageClass
- type OutputLocation
- type OutputSerialization
- type Owner
- type OwnerOverride
- type ParquetInput
- type Part
- type Payer
- type Permission
- type PolicyStatus
- type Protocol
- type PublicAccessBlockConfiguration
- type PutBucketAccelerateConfigurationInput
- type PutBucketAccelerateConfigurationOutput
- func (s PutBucketAccelerateConfigurationOutput) GoString() string
- func (s PutBucketAccelerateConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s PutBucketAccelerateConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s PutBucketAccelerateConfigurationOutput) String() string
- type PutBucketAccelerateConfigurationRequest
- type PutBucketAclInput
- type PutBucketAclOutput
- type PutBucketAclRequest
- type PutBucketAnalyticsConfigurationInput
- type PutBucketAnalyticsConfigurationOutput
- func (s PutBucketAnalyticsConfigurationOutput) GoString() string
- func (s PutBucketAnalyticsConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s PutBucketAnalyticsConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s PutBucketAnalyticsConfigurationOutput) String() string
- type PutBucketAnalyticsConfigurationRequest
- type PutBucketCorsInput
- type PutBucketCorsOutput
- type PutBucketCorsRequest
- type PutBucketEncryptionInput
- type PutBucketEncryptionOutput
- type PutBucketEncryptionRequest
- type PutBucketInventoryConfigurationInput
- type PutBucketInventoryConfigurationOutput
- func (s PutBucketInventoryConfigurationOutput) GoString() string
- func (s PutBucketInventoryConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s PutBucketInventoryConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s PutBucketInventoryConfigurationOutput) String() string
- type PutBucketInventoryConfigurationRequest
- type PutBucketLifecycleConfigurationInput
- type PutBucketLifecycleConfigurationOutput
- func (s PutBucketLifecycleConfigurationOutput) GoString() string
- func (s PutBucketLifecycleConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s PutBucketLifecycleConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s PutBucketLifecycleConfigurationOutput) String() string
- type PutBucketLifecycleConfigurationRequest
- type PutBucketLifecycleInput
- type PutBucketLifecycleOutput
- type PutBucketLifecycleRequest
- type PutBucketLoggingInput
- type PutBucketLoggingOutput
- type PutBucketLoggingRequest
- type PutBucketMetricsConfigurationInput
- type PutBucketMetricsConfigurationOutput
- type PutBucketMetricsConfigurationRequest
- type PutBucketNotificationConfigurationInput
- type PutBucketNotificationConfigurationOutput
- func (s PutBucketNotificationConfigurationOutput) GoString() string
- func (s PutBucketNotificationConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s PutBucketNotificationConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s PutBucketNotificationConfigurationOutput) String() string
- type PutBucketNotificationConfigurationRequest
- type PutBucketNotificationInput
- type PutBucketNotificationOutput
- type PutBucketNotificationRequest
- type PutBucketPolicyInput
- type PutBucketPolicyOutput
- type PutBucketPolicyRequest
- type PutBucketReplicationInput
- type PutBucketReplicationOutput
- type PutBucketReplicationRequest
- type PutBucketRequestPaymentInput
- type PutBucketRequestPaymentOutput
- type PutBucketRequestPaymentRequest
- type PutBucketTaggingInput
- type PutBucketTaggingOutput
- type PutBucketTaggingRequest
- type PutBucketVersioningInput
- type PutBucketVersioningOutput
- type PutBucketVersioningRequest
- type PutBucketWebsiteInput
- type PutBucketWebsiteOutput
- type PutBucketWebsiteRequest
- type PutObjectAclInput
- type PutObjectAclOutput
- type PutObjectAclRequest
- type PutObjectInput
- type PutObjectLegalHoldInput
- type PutObjectLegalHoldOutput
- type PutObjectLegalHoldRequest
- type PutObjectLockConfigurationInput
- type PutObjectLockConfigurationOutput
- type PutObjectLockConfigurationRequest
- type PutObjectOutput
- type PutObjectRequest
- type PutObjectRetentionInput
- type PutObjectRetentionOutput
- type PutObjectRetentionRequest
- type PutObjectTaggingInput
- type PutObjectTaggingOutput
- type PutObjectTaggingRequest
- type PutPublicAccessBlockInput
- type PutPublicAccessBlockOutput
- type PutPublicAccessBlockRequest
- type QueueConfiguration
- type QueueConfigurationDeprecated
- type QuoteFields
- type Redirect
- type RedirectAllRequestsTo
- type ReplicationConfiguration
- type ReplicationRule
- type ReplicationRuleAndOperator
- type ReplicationRuleFilter
- type ReplicationRuleStatus
- type ReplicationStatus
- type RequestCharged
- type RequestFailure
- type RequestPayer
- type RequestPaymentConfiguration
- type RestoreObjectInput
- type RestoreObjectOutput
- type RestoreObjectRequest
- type RestoreRequest
- type RestoreRequestType
- type RoutingRule
- type Rule
- type S3
- func (c *S3) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) AbortMultipartUploadRequest
- func (c *S3) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) CompleteMultipartUploadRequest
- func (c *S3) CopyObjectRequest(input *CopyObjectInput) CopyObjectRequest
- func (c *S3) CreateBucketRequest(input *CreateBucketInput) CreateBucketRequest
- func (c *S3) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) CreateMultipartUploadRequest
- func (c *S3) DeleteBucketAnalyticsConfigurationRequest(input *DeleteBucketAnalyticsConfigurationInput) DeleteBucketAnalyticsConfigurationRequest
- func (c *S3) DeleteBucketCorsRequest(input *DeleteBucketCorsInput) DeleteBucketCorsRequest
- func (c *S3) DeleteBucketEncryptionRequest(input *DeleteBucketEncryptionInput) DeleteBucketEncryptionRequest
- func (c *S3) DeleteBucketInventoryConfigurationRequest(input *DeleteBucketInventoryConfigurationInput) DeleteBucketInventoryConfigurationRequest
- func (c *S3) DeleteBucketLifecycleRequest(input *DeleteBucketLifecycleInput) DeleteBucketLifecycleRequest
- func (c *S3) DeleteBucketMetricsConfigurationRequest(input *DeleteBucketMetricsConfigurationInput) DeleteBucketMetricsConfigurationRequest
- func (c *S3) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) DeleteBucketPolicyRequest
- func (c *S3) DeleteBucketReplicationRequest(input *DeleteBucketReplicationInput) DeleteBucketReplicationRequest
- func (c *S3) DeleteBucketRequest(input *DeleteBucketInput) DeleteBucketRequest
- func (c *S3) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) DeleteBucketTaggingRequest
- func (c *S3) DeleteBucketWebsiteRequest(input *DeleteBucketWebsiteInput) DeleteBucketWebsiteRequest
- func (c *S3) DeleteObjectRequest(input *DeleteObjectInput) DeleteObjectRequest
- func (c *S3) DeleteObjectTaggingRequest(input *DeleteObjectTaggingInput) DeleteObjectTaggingRequest
- func (c *S3) DeleteObjectsRequest(input *DeleteObjectsInput) DeleteObjectsRequest
- func (c *S3) DeletePublicAccessBlockRequest(input *DeletePublicAccessBlockInput) DeletePublicAccessBlockRequest
- func (c *S3) GetBucketAccelerateConfigurationRequest(input *GetBucketAccelerateConfigurationInput) GetBucketAccelerateConfigurationRequest
- func (c *S3) GetBucketAclRequest(input *GetBucketAclInput) GetBucketAclRequest
- func (c *S3) GetBucketAnalyticsConfigurationRequest(input *GetBucketAnalyticsConfigurationInput) GetBucketAnalyticsConfigurationRequest
- func (c *S3) GetBucketCorsRequest(input *GetBucketCorsInput) GetBucketCorsRequest
- func (c *S3) GetBucketEncryptionRequest(input *GetBucketEncryptionInput) GetBucketEncryptionRequest
- func (c *S3) GetBucketInventoryConfigurationRequest(input *GetBucketInventoryConfigurationInput) GetBucketInventoryConfigurationRequest
- func (c *S3) GetBucketLifecycleConfigurationRequest(input *GetBucketLifecycleConfigurationInput) GetBucketLifecycleConfigurationRequest
- func (c *S3) GetBucketLifecycleRequest(input *GetBucketLifecycleInput) GetBucketLifecycleRequest
- func (c *S3) GetBucketLocationRequest(input *GetBucketLocationInput) GetBucketLocationRequest
- func (c *S3) GetBucketLoggingRequest(input *GetBucketLoggingInput) GetBucketLoggingRequest
- func (c *S3) GetBucketMetricsConfigurationRequest(input *GetBucketMetricsConfigurationInput) GetBucketMetricsConfigurationRequest
- func (c *S3) GetBucketNotificationConfigurationRequest(input *GetBucketNotificationConfigurationInput) GetBucketNotificationConfigurationRequest
- func (c *S3) GetBucketNotificationRequest(input *GetBucketNotificationConfigurationInput) GetBucketNotificationRequest
- func (c *S3) GetBucketPolicyRequest(input *GetBucketPolicyInput) GetBucketPolicyRequest
- func (c *S3) GetBucketPolicyStatusRequest(input *GetBucketPolicyStatusInput) GetBucketPolicyStatusRequest
- func (c *S3) GetBucketReplicationRequest(input *GetBucketReplicationInput) GetBucketReplicationRequest
- func (c *S3) GetBucketRequestPaymentRequest(input *GetBucketRequestPaymentInput) GetBucketRequestPaymentRequest
- func (c *S3) GetBucketTaggingRequest(input *GetBucketTaggingInput) GetBucketTaggingRequest
- func (c *S3) GetBucketVersioningRequest(input *GetBucketVersioningInput) GetBucketVersioningRequest
- func (c *S3) GetBucketWebsiteRequest(input *GetBucketWebsiteInput) GetBucketWebsiteRequest
- func (c *S3) GetObjectAclRequest(input *GetObjectAclInput) GetObjectAclRequest
- func (c *S3) GetObjectLegalHoldRequest(input *GetObjectLegalHoldInput) GetObjectLegalHoldRequest
- func (c *S3) GetObjectLockConfigurationRequest(input *GetObjectLockConfigurationInput) GetObjectLockConfigurationRequest
- func (c *S3) GetObjectRequest(input *GetObjectInput) GetObjectRequest
- func (c *S3) GetObjectRetentionRequest(input *GetObjectRetentionInput) GetObjectRetentionRequest
- func (c *S3) GetObjectTaggingRequest(input *GetObjectTaggingInput) GetObjectTaggingRequest
- func (c *S3) GetObjectTorrentRequest(input *GetObjectTorrentInput) GetObjectTorrentRequest
- func (c *S3) GetPublicAccessBlockRequest(input *GetPublicAccessBlockInput) GetPublicAccessBlockRequest
- func (c *S3) HeadBucketRequest(input *HeadBucketInput) HeadBucketRequest
- func (c *S3) HeadObjectRequest(input *HeadObjectInput) HeadObjectRequest
- func (c *S3) ListBucketAnalyticsConfigurationsRequest(input *ListBucketAnalyticsConfigurationsInput) ListBucketAnalyticsConfigurationsRequest
- func (c *S3) ListBucketInventoryConfigurationsRequest(input *ListBucketInventoryConfigurationsInput) ListBucketInventoryConfigurationsRequest
- func (c *S3) ListBucketMetricsConfigurationsRequest(input *ListBucketMetricsConfigurationsInput) ListBucketMetricsConfigurationsRequest
- func (c *S3) ListBucketsRequest(input *ListBucketsInput) ListBucketsRequest
- func (c *S3) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) ListMultipartUploadsRequest
- func (c *S3) ListObjectVersionsRequest(input *ListObjectVersionsInput) ListObjectVersionsRequest
- func (c *S3) ListObjectsRequest(input *ListObjectsInput) ListObjectsRequest
- func (c *S3) ListObjectsV2Request(input *ListObjectsV2Input) ListObjectsV2Request
- func (c *S3) ListPartsRequest(input *ListPartsInput) ListPartsRequest
- func (c *S3) PutBucketAccelerateConfigurationRequest(input *PutBucketAccelerateConfigurationInput) PutBucketAccelerateConfigurationRequest
- func (c *S3) PutBucketAclRequest(input *PutBucketAclInput) PutBucketAclRequest
- func (c *S3) PutBucketAnalyticsConfigurationRequest(input *PutBucketAnalyticsConfigurationInput) PutBucketAnalyticsConfigurationRequest
- func (c *S3) PutBucketCorsRequest(input *PutBucketCorsInput) PutBucketCorsRequest
- func (c *S3) PutBucketEncryptionRequest(input *PutBucketEncryptionInput) PutBucketEncryptionRequest
- func (c *S3) PutBucketInventoryConfigurationRequest(input *PutBucketInventoryConfigurationInput) PutBucketInventoryConfigurationRequest
- func (c *S3) PutBucketLifecycleConfigurationRequest(input *PutBucketLifecycleConfigurationInput) PutBucketLifecycleConfigurationRequest
- func (c *S3) PutBucketLifecycleRequest(input *PutBucketLifecycleInput) PutBucketLifecycleRequest
- func (c *S3) PutBucketLoggingRequest(input *PutBucketLoggingInput) PutBucketLoggingRequest
- func (c *S3) PutBucketMetricsConfigurationRequest(input *PutBucketMetricsConfigurationInput) PutBucketMetricsConfigurationRequest
- func (c *S3) PutBucketNotificationConfigurationRequest(input *PutBucketNotificationConfigurationInput) PutBucketNotificationConfigurationRequest
- func (c *S3) PutBucketNotificationRequest(input *PutBucketNotificationInput) PutBucketNotificationRequest
- func (c *S3) PutBucketPolicyRequest(input *PutBucketPolicyInput) PutBucketPolicyRequest
- func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) PutBucketReplicationRequest
- func (c *S3) PutBucketRequestPaymentRequest(input *PutBucketRequestPaymentInput) PutBucketRequestPaymentRequest
- func (c *S3) PutBucketTaggingRequest(input *PutBucketTaggingInput) PutBucketTaggingRequest
- func (c *S3) PutBucketVersioningRequest(input *PutBucketVersioningInput) PutBucketVersioningRequest
- func (c *S3) PutBucketWebsiteRequest(input *PutBucketWebsiteInput) PutBucketWebsiteRequest
- func (c *S3) PutObjectAclRequest(input *PutObjectAclInput) PutObjectAclRequest
- func (c *S3) PutObjectLegalHoldRequest(input *PutObjectLegalHoldInput) PutObjectLegalHoldRequest
- func (c *S3) PutObjectLockConfigurationRequest(input *PutObjectLockConfigurationInput) PutObjectLockConfigurationRequest
- func (c *S3) PutObjectRequest(input *PutObjectInput) PutObjectRequest
- func (c *S3) PutObjectRetentionRequest(input *PutObjectRetentionInput) PutObjectRetentionRequest
- func (c *S3) PutObjectTaggingRequest(input *PutObjectTaggingInput) PutObjectTaggingRequest
- func (c *S3) PutPublicAccessBlockRequest(input *PutPublicAccessBlockInput) PutPublicAccessBlockRequest
- func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) RestoreObjectRequest
- func (c *S3) UploadPartCopyRequest(input *UploadPartCopyInput) UploadPartCopyRequest
- func (c *S3) UploadPartRequest(input *UploadPartInput) UploadPartRequest
- func (c *S3) WaitUntilBucketExists(input *HeadBucketInput) error
- func (c *S3) WaitUntilBucketExistsWithContext(ctx aws.Context, input *HeadBucketInput, opts ...aws.WaiterOption) error
- func (c *S3) WaitUntilBucketNotExists(input *HeadBucketInput) error
- func (c *S3) WaitUntilBucketNotExistsWithContext(ctx aws.Context, input *HeadBucketInput, opts ...aws.WaiterOption) error
- func (c *S3) WaitUntilObjectExists(input *HeadObjectInput) error
- func (c *S3) WaitUntilObjectExistsWithContext(ctx aws.Context, input *HeadObjectInput, opts ...aws.WaiterOption) error
- func (c *S3) WaitUntilObjectNotExists(input *HeadObjectInput) error
- func (c *S3) WaitUntilObjectNotExistsWithContext(ctx aws.Context, input *HeadObjectInput, opts ...aws.WaiterOption) error
- type SSEKMS
- type SSES3
- type SelectParameters
- type ServerSideEncryption
- type ServerSideEncryptionByDefault
- type ServerSideEncryptionConfiguration
- type ServerSideEncryptionRule
- type SourceSelectionCriteria
- type SseKmsEncryptedObjects
- type SseKmsEncryptedObjectsStatus
- type StorageClass
- type StorageClassAnalysis
- type StorageClassAnalysisDataExport
- type StorageClassAnalysisSchemaVersion
- type Tag
- type Tagging
- type TaggingDirective
- type TargetGrant
- type Tier
- type TopicConfiguration
- type TopicConfigurationDeprecated
- type Transition
- type TransitionStorageClass
- type Type
- type UploadPartCopyInput
- type UploadPartCopyOutput
- type UploadPartCopyRequest
- type UploadPartInput
- type UploadPartOutput
- type UploadPartRequest
- type VersioningConfiguration
- type WebsiteConfiguration
Examples ¶
- S3.AbortMultipartUploadRequest (Shared00)
- S3.CompleteMultipartUploadRequest (Shared00)
- S3.CopyObjectRequest (Shared00)
- S3.CreateBucketRequest (Shared00)
- S3.CreateBucketRequest (Shared01)
- S3.CreateMultipartUploadRequest (Shared00)
- S3.DeleteBucketCorsRequest (Shared00)
- S3.DeleteBucketLifecycleRequest (Shared00)
- S3.DeleteBucketPolicyRequest (Shared00)
- S3.DeleteBucketReplicationRequest (Shared00)
- S3.DeleteBucketRequest (Shared00)
- S3.DeleteBucketTaggingRequest (Shared00)
- S3.DeleteBucketWebsiteRequest (Shared00)
- S3.DeleteObjectRequest (Shared00)
- S3.DeleteObjectRequest (Shared01)
- S3.DeleteObjectTaggingRequest (Shared00)
- S3.DeleteObjectTaggingRequest (Shared01)
- S3.DeleteObjectsRequest (Shared00)
- S3.DeleteObjectsRequest (Shared01)
- S3.GetBucketCorsRequest (Shared00)
- S3.GetBucketLifecycleConfigurationRequest (Shared00)
- S3.GetBucketLifecycleRequest (Shared00)
- S3.GetBucketLocationRequest (Shared00)
- S3.GetBucketNotificationRequest (Shared00)
- S3.GetBucketNotificationRequest (Shared01)
- S3.GetBucketPolicyRequest (Shared00)
- S3.GetBucketReplicationRequest (Shared00)
- S3.GetBucketRequestPaymentRequest (Shared00)
- S3.GetBucketTaggingRequest (Shared00)
- S3.GetBucketVersioningRequest (Shared00)
- S3.GetBucketWebsiteRequest (Shared00)
- S3.GetObjectAclRequest (Shared00)
- S3.GetObjectRequest (Shared00)
- S3.GetObjectRequest (Shared01)
- S3.GetObjectTaggingRequest (Shared00)
- S3.GetObjectTaggingRequest (Shared01)
- S3.GetObjectTorrentRequest (Shared00)
- S3.HeadBucketRequest (Shared00)
- S3.HeadObjectRequest (Shared00)
- S3.ListBucketsRequest (Shared00)
- S3.ListMultipartUploadsRequest (Shared00)
- S3.ListMultipartUploadsRequest (Shared01)
- S3.ListObjectVersionsRequest (Shared00)
- S3.ListObjectsRequest (Shared00)
- S3.ListObjectsV2Request (Shared00)
- S3.ListPartsRequest (Shared00)
- S3.PutBucketAclRequest (Shared00)
- S3.PutBucketCorsRequest (Shared00)
- S3.PutBucketLifecycleConfigurationRequest (Shared00)
- S3.PutBucketLoggingRequest (Shared00)
- S3.PutBucketNotificationConfigurationRequest (Shared00)
- S3.PutBucketPolicyRequest (Shared00)
- S3.PutBucketReplicationRequest (Shared00)
- S3.PutBucketRequestPaymentRequest (Shared00)
- S3.PutBucketTaggingRequest (Shared00)
- S3.PutBucketVersioningRequest (Shared00)
- S3.PutBucketWebsiteRequest (Shared00)
- S3.PutObjectAclRequest (Shared00)
- S3.PutObjectRequest (Shared00)
- S3.PutObjectRequest (Shared01)
- S3.PutObjectRequest (Shared02)
- S3.PutObjectRequest (Shared03)
- S3.PutObjectRequest (Shared04)
- S3.PutObjectRequest (Shared05)
- S3.PutObjectRequest (Shared06)
- S3.PutObjectTaggingRequest (Shared00)
- S3.RestoreObjectRequest (Shared00)
- S3.UploadPartCopyRequest (Shared00)
- S3.UploadPartCopyRequest (Shared01)
- S3.UploadPartRequest (Shared00)
Constants ¶
const ( // ErrCodeBucketAlreadyExists for service response error code // "BucketAlreadyExists". // // The requested bucket name is not available. The bucket namespace is shared // by all users of the system. Please select a different name and try again. ErrCodeBucketAlreadyExists = "BucketAlreadyExists" // ErrCodeBucketAlreadyOwnedByYou for service response error code // "BucketAlreadyOwnedByYou". ErrCodeBucketAlreadyOwnedByYou = "BucketAlreadyOwnedByYou" // ErrCodeNoSuchBucket for service response error code // "NoSuchBucket". // // The specified bucket does not exist. ErrCodeNoSuchBucket = "NoSuchBucket" // ErrCodeNoSuchKey for service response error code // "NoSuchKey". // // The specified key does not exist. ErrCodeNoSuchKey = "NoSuchKey" // ErrCodeNoSuchUpload for service response error code // "NoSuchUpload". // // The specified multipart upload does not exist. ErrCodeNoSuchUpload = "NoSuchUpload" // ErrCodeObjectAlreadyInActiveTierError for service response error code // "ObjectAlreadyInActiveTierError". // // This operation is not allowed against this storage tier ErrCodeObjectAlreadyInActiveTierError = "ObjectAlreadyInActiveTierError" // ErrCodeObjectNotInActiveTierError for service response error code // "ObjectNotInActiveTierError". // // The source object of the COPY operation is not in the active tier and is // only stored in Amazon Glacier. ErrCodeObjectNotInActiveTierError = "ObjectNotInActiveTierError" )
const ( ServiceName = "s3" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
var NormalizeBucketLocationHandler = aws.NamedHandler{ Name: "awssdk.s3.NormalizeBucketLocation", Fn: func(req *aws.Request) { if req.Error != nil { return } out := req.Data.(*GetBucketLocationOutput) loc := NormalizeBucketLocation(out.LocationConstraint) out.LocationConstraint = loc }, }
NormalizeBucketLocationHandler is a request handler which will update the GetBucketLocation's result LocationConstraint value to always be a region ID.
Replaces empty string with "us-east-1", and "EU" with "eu-west-1".
See http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html for more information on the values that can be returned.
req, result := svc.GetBucketLocationRequest(&s3.GetBucketLocationInput{ Bucket: aws.String(bucket), }) req.Handlers.Unmarshal.PushBackNamed(NormalizeBucketLocationHandler) err := req.Send()
Functions ¶
func WithNormalizeBucketLocation ¶
WithNormalizeBucketLocation is a request option which will update the GetBucketLocation's result LocationConstraint value to always be a region ID.
Replaces empty string with "us-east-1", and "EU" with "eu-west-1".
See http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html for more information on the values that can be returned.
result, err := svc.GetBucketLocationWithContext(ctx, &s3.GetBucketLocationInput{ Bucket: aws.String(bucket), }, s3.WithNormalizeBucketLocation, )
Types ¶
type AbortIncompleteMultipartUpload ¶
type AbortIncompleteMultipartUpload struct { // Indicates the number of days that must pass since initiation for Lifecycle // to abort an Incomplete Multipart Upload. DaysAfterInitiation *int64 `type:"integer"` // contains filtered or unexported fields }
Specifies the days since the initiation of an Incomplete Multipart Upload that Lifecycle will wait before permanently removing all parts of the upload. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortIncompleteMultipartUpload
func (AbortIncompleteMultipartUpload) GoString ¶
func (s AbortIncompleteMultipartUpload) GoString() string
GoString returns the string representation
func (AbortIncompleteMultipartUpload) MarshalFields ¶ added in v0.3.0
func (s AbortIncompleteMultipartUpload) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AbortIncompleteMultipartUpload) String ¶
func (s AbortIncompleteMultipartUpload) String() string
String returns the string representation
type AbortMultipartUploadInput ¶
type AbortMultipartUploadInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // UploadId is a required field UploadId *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadRequest
func (AbortMultipartUploadInput) GoString ¶
func (s AbortMultipartUploadInput) GoString() string
GoString returns the string representation
func (AbortMultipartUploadInput) MarshalFields ¶ added in v0.3.0
func (s AbortMultipartUploadInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AbortMultipartUploadInput) String ¶
func (s AbortMultipartUploadInput) String() string
String returns the string representation
func (*AbortMultipartUploadInput) Validate ¶
func (s *AbortMultipartUploadInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AbortMultipartUploadOutput ¶
type AbortMultipartUploadOutput struct { // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadOutput
func (AbortMultipartUploadOutput) GoString ¶
func (s AbortMultipartUploadOutput) GoString() string
GoString returns the string representation
func (AbortMultipartUploadOutput) MarshalFields ¶ added in v0.3.0
func (s AbortMultipartUploadOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AbortMultipartUploadOutput) SDKResponseMetadata ¶
func (s AbortMultipartUploadOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AbortMultipartUploadOutput) String ¶
func (s AbortMultipartUploadOutput) String() string
String returns the string representation
type AbortMultipartUploadRequest ¶
type AbortMultipartUploadRequest struct { *aws.Request Input *AbortMultipartUploadInput Copy func(*AbortMultipartUploadInput) AbortMultipartUploadRequest }
AbortMultipartUploadRequest is a API request type for the AbortMultipartUpload API operation.
func (AbortMultipartUploadRequest) Send ¶
func (r AbortMultipartUploadRequest) Send() (*AbortMultipartUploadOutput, error)
Send marshals and sends the AbortMultipartUpload API request.
type AccelerateConfiguration ¶
type AccelerateConfiguration struct { // The accelerate configuration of the bucket. Status BucketAccelerateStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccelerateConfiguration
func (AccelerateConfiguration) GoString ¶
func (s AccelerateConfiguration) GoString() string
GoString returns the string representation
func (AccelerateConfiguration) MarshalFields ¶ added in v0.3.0
func (s AccelerateConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AccelerateConfiguration) String ¶
func (s AccelerateConfiguration) String() string
String returns the string representation
type AccessControlPolicy ¶
type AccessControlPolicy struct { // A list of grants. Grants []Grant `locationName:"AccessControlList" locationNameList:"Grant" type:"list"` Owner *Owner `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlPolicy
func (AccessControlPolicy) GoString ¶
func (s AccessControlPolicy) GoString() string
GoString returns the string representation
func (AccessControlPolicy) MarshalFields ¶ added in v0.3.0
func (s AccessControlPolicy) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AccessControlPolicy) String ¶
func (s AccessControlPolicy) String() string
String returns the string representation
func (*AccessControlPolicy) Validate ¶
func (s *AccessControlPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AccessControlTranslation ¶ added in v0.2.0
type AccessControlTranslation struct { // The override value for the owner of the replica object. // // Owner is a required field Owner OwnerOverride `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
A container for information about access control for replicas. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlTranslation
func (AccessControlTranslation) GoString ¶ added in v0.2.0
func (s AccessControlTranslation) GoString() string
GoString returns the string representation
func (AccessControlTranslation) MarshalFields ¶ added in v0.3.0
func (s AccessControlTranslation) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AccessControlTranslation) String ¶ added in v0.2.0
func (s AccessControlTranslation) String() string
String returns the string representation
func (*AccessControlTranslation) Validate ¶ added in v0.2.0
func (s *AccessControlTranslation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AnalyticsAndOperator ¶
type AnalyticsAndOperator struct { // The prefix to use when evaluating an AND predicate. Prefix *string `type:"string"` // The list of tags to use when evaluating an AND predicate. Tags []Tag `locationName:"Tag" locationNameList:"Tag" type:"list" flattened:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsAndOperator
func (AnalyticsAndOperator) GoString ¶
func (s AnalyticsAndOperator) GoString() string
GoString returns the string representation
func (AnalyticsAndOperator) MarshalFields ¶ added in v0.3.0
func (s AnalyticsAndOperator) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AnalyticsAndOperator) String ¶
func (s AnalyticsAndOperator) String() string
String returns the string representation
func (*AnalyticsAndOperator) Validate ¶
func (s *AnalyticsAndOperator) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AnalyticsConfiguration ¶
type AnalyticsConfiguration struct { // The filter used to describe a set of objects for analyses. A filter must // have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). // If no filter is provided, all objects will be considered in any analysis. Filter *AnalyticsFilter `type:"structure"` // The identifier used to represent an analytics configuration. // // Id is a required field Id *string `type:"string" required:"true"` // If present, it indicates that data related to access patterns will be collected // and made available to analyze the tradeoffs between different storage classes. // // StorageClassAnalysis is a required field StorageClassAnalysis *StorageClassAnalysis `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsConfiguration
func (AnalyticsConfiguration) GoString ¶
func (s AnalyticsConfiguration) GoString() string
GoString returns the string representation
func (AnalyticsConfiguration) MarshalFields ¶ added in v0.3.0
func (s AnalyticsConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AnalyticsConfiguration) String ¶
func (s AnalyticsConfiguration) String() string
String returns the string representation
func (*AnalyticsConfiguration) Validate ¶
func (s *AnalyticsConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AnalyticsExportDestination ¶
type AnalyticsExportDestination struct { // A destination signifying output to an S3 bucket. // // S3BucketDestination is a required field S3BucketDestination *AnalyticsS3BucketDestination `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsExportDestination
func (AnalyticsExportDestination) GoString ¶
func (s AnalyticsExportDestination) GoString() string
GoString returns the string representation
func (AnalyticsExportDestination) MarshalFields ¶ added in v0.3.0
func (s AnalyticsExportDestination) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AnalyticsExportDestination) String ¶
func (s AnalyticsExportDestination) String() string
String returns the string representation
func (*AnalyticsExportDestination) Validate ¶
func (s *AnalyticsExportDestination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AnalyticsFilter ¶
type AnalyticsFilter struct { // A conjunction (logical AND) of predicates, which is used in evaluating an // analytics filter. The operator must have at least two predicates. And *AnalyticsAndOperator `type:"structure"` // The prefix to use when evaluating an analytics filter. Prefix *string `type:"string"` // The tag to use when evaluating an analytics filter. Tag *Tag `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsFilter
func (AnalyticsFilter) GoString ¶
func (s AnalyticsFilter) GoString() string
GoString returns the string representation
func (AnalyticsFilter) MarshalFields ¶ added in v0.3.0
func (s AnalyticsFilter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AnalyticsFilter) String ¶
func (s AnalyticsFilter) String() string
String returns the string representation
func (*AnalyticsFilter) Validate ¶
func (s *AnalyticsFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AnalyticsS3BucketDestination ¶
type AnalyticsS3BucketDestination struct { // The Amazon resource name (ARN) of the bucket to which data is exported. // // Bucket is a required field Bucket *string `type:"string" required:"true"` // The account ID that owns the destination bucket. If no account ID is provided, // the owner will not be validated prior to exporting data. BucketAccountId *string `type:"string"` // The file format used when exporting data to Amazon S3. // // Format is a required field Format AnalyticsS3ExportFileFormat `type:"string" required:"true" enum:"true"` // The prefix to use when exporting data. The exported data begins with this // prefix. Prefix *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsS3BucketDestination
func (AnalyticsS3BucketDestination) GoString ¶
func (s AnalyticsS3BucketDestination) GoString() string
GoString returns the string representation
func (AnalyticsS3BucketDestination) MarshalFields ¶ added in v0.3.0
func (s AnalyticsS3BucketDestination) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AnalyticsS3BucketDestination) String ¶
func (s AnalyticsS3BucketDestination) String() string
String returns the string representation
func (*AnalyticsS3BucketDestination) Validate ¶
func (s *AnalyticsS3BucketDestination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AnalyticsS3ExportFileFormat ¶
type AnalyticsS3ExportFileFormat string
const (
AnalyticsS3ExportFileFormatCsv AnalyticsS3ExportFileFormat = "CSV"
)
Enum values for AnalyticsS3ExportFileFormat
func (AnalyticsS3ExportFileFormat) MarshalValue ¶ added in v0.3.0
func (enum AnalyticsS3ExportFileFormat) MarshalValue() (string, error)
func (AnalyticsS3ExportFileFormat) MarshalValueBuf ¶ added in v0.3.0
func (enum AnalyticsS3ExportFileFormat) MarshalValueBuf(b []byte) ([]byte, error)
type Bucket ¶
type Bucket struct { // Date the bucket was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The name of the bucket. Name *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Bucket
func (Bucket) MarshalFields ¶ added in v0.3.0
func (s Bucket) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type BucketAccelerateStatus ¶
type BucketAccelerateStatus string
const ( BucketAccelerateStatusEnabled BucketAccelerateStatus = "Enabled" BucketAccelerateStatusSuspended BucketAccelerateStatus = "Suspended" )
Enum values for BucketAccelerateStatus
func (BucketAccelerateStatus) MarshalValue ¶ added in v0.3.0
func (enum BucketAccelerateStatus) MarshalValue() (string, error)
func (BucketAccelerateStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum BucketAccelerateStatus) MarshalValueBuf(b []byte) ([]byte, error)
type BucketCannedACL ¶
type BucketCannedACL string
const ( BucketCannedACLPrivate BucketCannedACL = "private" BucketCannedACLPublicRead BucketCannedACL = "public-read" BucketCannedACLPublicReadWrite BucketCannedACL = "public-read-write" BucketCannedACLAuthenticatedRead BucketCannedACL = "authenticated-read" )
Enum values for BucketCannedACL
func (BucketCannedACL) MarshalValue ¶ added in v0.3.0
func (enum BucketCannedACL) MarshalValue() (string, error)
func (BucketCannedACL) MarshalValueBuf ¶ added in v0.3.0
func (enum BucketCannedACL) MarshalValueBuf(b []byte) ([]byte, error)
type BucketLifecycleConfiguration ¶
type BucketLifecycleConfiguration struct { // Rules is a required field Rules []LifecycleRule `locationName:"Rule" type:"list" flattened:"true" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLifecycleConfiguration
func (BucketLifecycleConfiguration) GoString ¶
func (s BucketLifecycleConfiguration) GoString() string
GoString returns the string representation
func (BucketLifecycleConfiguration) MarshalFields ¶ added in v0.3.0
func (s BucketLifecycleConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (BucketLifecycleConfiguration) String ¶
func (s BucketLifecycleConfiguration) String() string
String returns the string representation
func (*BucketLifecycleConfiguration) Validate ¶
func (s *BucketLifecycleConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BucketLocationConstraint ¶
type BucketLocationConstraint string
const ( BucketLocationConstraintEu BucketLocationConstraint = "EU" BucketLocationConstraintEuWest1 BucketLocationConstraint = "eu-west-1" BucketLocationConstraintUsWest1 BucketLocationConstraint = "us-west-1" BucketLocationConstraintUsWest2 BucketLocationConstraint = "us-west-2" BucketLocationConstraintApSouth1 BucketLocationConstraint = "ap-south-1" BucketLocationConstraintApSoutheast1 BucketLocationConstraint = "ap-southeast-1" BucketLocationConstraintApSoutheast2 BucketLocationConstraint = "ap-southeast-2" BucketLocationConstraintApNortheast1 BucketLocationConstraint = "ap-northeast-1" BucketLocationConstraintSaEast1 BucketLocationConstraint = "sa-east-1" BucketLocationConstraintCnNorth1 BucketLocationConstraint = "cn-north-1" BucketLocationConstraintEuCentral1 BucketLocationConstraint = "eu-central-1" )
Enum values for BucketLocationConstraint
func NormalizeBucketLocation ¶
func NormalizeBucketLocation(loc BucketLocationConstraint) BucketLocationConstraint
NormalizeBucketLocation is a utility function which will update the passed in value to always be a region ID. Generally this would be used with GetBucketLocation API operation.
Replaces empty string with "us-east-1", and "EU" with "eu-west-1".
See http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html for more information on the values that can be returned.
func (BucketLocationConstraint) MarshalValue ¶ added in v0.3.0
func (enum BucketLocationConstraint) MarshalValue() (string, error)
func (BucketLocationConstraint) MarshalValueBuf ¶ added in v0.3.0
func (enum BucketLocationConstraint) MarshalValueBuf(b []byte) ([]byte, error)
type BucketLoggingStatus ¶
type BucketLoggingStatus struct { // Container for logging information. Presence of this element indicates that // logging is enabled. Parameters TargetBucket and TargetPrefix are required // in this case. LoggingEnabled *LoggingEnabled `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLoggingStatus
func (BucketLoggingStatus) GoString ¶
func (s BucketLoggingStatus) GoString() string
GoString returns the string representation
func (BucketLoggingStatus) MarshalFields ¶ added in v0.3.0
func (s BucketLoggingStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (BucketLoggingStatus) String ¶
func (s BucketLoggingStatus) String() string
String returns the string representation
func (*BucketLoggingStatus) Validate ¶
func (s *BucketLoggingStatus) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BucketLogsPermission ¶
type BucketLogsPermission string
const ( BucketLogsPermissionFullControl BucketLogsPermission = "FULL_CONTROL" BucketLogsPermissionRead BucketLogsPermission = "READ" BucketLogsPermissionWrite BucketLogsPermission = "WRITE" )
Enum values for BucketLogsPermission
func (BucketLogsPermission) MarshalValue ¶ added in v0.3.0
func (enum BucketLogsPermission) MarshalValue() (string, error)
func (BucketLogsPermission) MarshalValueBuf ¶ added in v0.3.0
func (enum BucketLogsPermission) MarshalValueBuf(b []byte) ([]byte, error)
type BucketVersioningStatus ¶
type BucketVersioningStatus string
const ( BucketVersioningStatusEnabled BucketVersioningStatus = "Enabled" BucketVersioningStatusSuspended BucketVersioningStatus = "Suspended" )
Enum values for BucketVersioningStatus
func (BucketVersioningStatus) MarshalValue ¶ added in v0.3.0
func (enum BucketVersioningStatus) MarshalValue() (string, error)
func (BucketVersioningStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum BucketVersioningStatus) MarshalValueBuf(b []byte) ([]byte, error)
type CORSConfiguration ¶
type CORSConfiguration struct { // CORSRules is a required field CORSRules []CORSRule `locationName:"CORSRule" type:"list" flattened:"true" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSConfiguration
func (CORSConfiguration) GoString ¶
func (s CORSConfiguration) GoString() string
GoString returns the string representation
func (CORSConfiguration) MarshalFields ¶ added in v0.3.0
func (s CORSConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CORSConfiguration) String ¶
func (s CORSConfiguration) String() string
String returns the string representation
func (*CORSConfiguration) Validate ¶
func (s *CORSConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CORSRule ¶
type CORSRule struct { // Specifies which headers are allowed in a pre-flight OPTIONS request. AllowedHeaders []string `locationName:"AllowedHeader" type:"list" flattened:"true"` // Identifies HTTP methods that the domain/origin specified in the rule is allowed // to execute. // // AllowedMethods is a required field AllowedMethods []string `locationName:"AllowedMethod" type:"list" flattened:"true" required:"true"` // One or more origins you want customers to be able to access the bucket from. // // AllowedOrigins is a required field AllowedOrigins []string `locationName:"AllowedOrigin" type:"list" flattened:"true" required:"true"` // One or more headers in the response that you want customers to be able to // access from their applications (for example, from a JavaScript XMLHttpRequest // object). ExposeHeaders []string `locationName:"ExposeHeader" type:"list" flattened:"true"` // The time in seconds that your browser is to cache the preflight response // for the specified resource. MaxAgeSeconds *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSRule
func (CORSRule) MarshalFields ¶ added in v0.3.0
func (s CORSRule) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type CSVInput ¶ added in v0.2.0
type CSVInput struct { // Specifies that CSV field values may contain quoted record delimiters and // such records should be allowed. Default value is FALSE. Setting this value // to TRUE may lower performance. AllowQuotedRecordDelimiter *bool `type:"boolean"` // The single character used to indicate a row should be ignored when present // at the start of a row. Comments *string `type:"string"` // The value used to separate individual fields in a record. FieldDelimiter *string `type:"string"` // Describes the first line of input. Valid values: None, Ignore, Use. FileHeaderInfo FileHeaderInfo `type:"string" enum:"true"` // Value used for escaping where the field delimiter is part of the value. QuoteCharacter *string `type:"string"` // The single character used for escaping the quote character inside an already // escaped value. QuoteEscapeCharacter *string `type:"string"` // The value used to separate individual records. RecordDelimiter *string `type:"string"` // contains filtered or unexported fields }
Describes how a CSV-formatted input object is formatted. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CSVInput
func (CSVInput) MarshalFields ¶ added in v0.3.0
func (s CSVInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type CSVOutput ¶ added in v0.2.0
type CSVOutput struct { // The value used to separate individual fields in a record. FieldDelimiter *string `type:"string"` // The value used for escaping where the field delimiter is part of the value. QuoteCharacter *string `type:"string"` // Th single character used for escaping the quote character inside an already // escaped value. QuoteEscapeCharacter *string `type:"string"` // Indicates whether or not all output fields should be quoted. QuoteFields QuoteFields `type:"string" enum:"true"` // The value used to separate individual records. RecordDelimiter *string `type:"string"` // contains filtered or unexported fields }
Describes how CSV-formatted results are formatted. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CSVOutput
func (CSVOutput) MarshalFields ¶ added in v0.3.0
func (s CSVOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type CloudFunctionConfiguration ¶
type CloudFunctionConfiguration struct { CloudFunction *string `type:"string"` // The bucket event for which to send notifications. Event Event `deprecated:"true" type:"string" enum:"true"` Events []Event `locationName:"Event" type:"list" flattened:"true"` // An optional unique identifier for configurations in a notification configuration. // If you don't provide one, Amazon S3 will assign an ID. Id *string `type:"string"` InvocationRole *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CloudFunctionConfiguration
func (CloudFunctionConfiguration) GoString ¶
func (s CloudFunctionConfiguration) GoString() string
GoString returns the string representation
func (CloudFunctionConfiguration) MarshalFields ¶ added in v0.3.0
func (s CloudFunctionConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CloudFunctionConfiguration) String ¶
func (s CloudFunctionConfiguration) String() string
String returns the string representation
type CommonPrefix ¶
type CommonPrefix struct { Prefix *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CommonPrefix
func (CommonPrefix) GoString ¶
func (s CommonPrefix) GoString() string
GoString returns the string representation
func (CommonPrefix) MarshalFields ¶ added in v0.3.0
func (s CommonPrefix) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CommonPrefix) String ¶
func (s CommonPrefix) String() string
String returns the string representation
type CompleteMultipartUploadInput ¶
type CompleteMultipartUploadInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` MultipartUpload *CompletedMultipartUpload `locationName:"CompleteMultipartUpload" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // UploadId is a required field UploadId *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUploadRequest
func (CompleteMultipartUploadInput) GoString ¶
func (s CompleteMultipartUploadInput) GoString() string
GoString returns the string representation
func (CompleteMultipartUploadInput) MarshalFields ¶ added in v0.3.0
func (s CompleteMultipartUploadInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CompleteMultipartUploadInput) String ¶
func (s CompleteMultipartUploadInput) String() string
String returns the string representation
func (*CompleteMultipartUploadInput) Validate ¶
func (s *CompleteMultipartUploadInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CompleteMultipartUploadOutput ¶
type CompleteMultipartUploadOutput struct { Bucket *string `type:"string"` // Entity tag of the object. ETag *string `type:"string"` // If the object expiration is configured, this will contain the expiration // date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded. Expiration *string `location:"header" locationName:"x-amz-expiration" type:"string"` Key *string `min:"1" type:"string"` Location *string `type:"string"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // If present, specifies the ID of the AWS Key Management Service (KMS) master // encryption key that was used for the object. SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string"` // The Server-side encryption algorithm used when storing this object in S3 // (e.g., AES256, aws:kms). ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"true"` // Version of the object. VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUploadOutput
func (CompleteMultipartUploadOutput) GoString ¶
func (s CompleteMultipartUploadOutput) GoString() string
GoString returns the string representation
func (CompleteMultipartUploadOutput) MarshalFields ¶ added in v0.3.0
func (s CompleteMultipartUploadOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CompleteMultipartUploadOutput) SDKResponseMetadata ¶
func (s CompleteMultipartUploadOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CompleteMultipartUploadOutput) String ¶
func (s CompleteMultipartUploadOutput) String() string
String returns the string representation
type CompleteMultipartUploadRequest ¶
type CompleteMultipartUploadRequest struct { *aws.Request Input *CompleteMultipartUploadInput Copy func(*CompleteMultipartUploadInput) CompleteMultipartUploadRequest }
CompleteMultipartUploadRequest is a API request type for the CompleteMultipartUpload API operation.
func (CompleteMultipartUploadRequest) Send ¶
func (r CompleteMultipartUploadRequest) Send() (*CompleteMultipartUploadOutput, error)
Send marshals and sends the CompleteMultipartUpload API request.
type CompletedMultipartUpload ¶
type CompletedMultipartUpload struct { Parts []CompletedPart `locationName:"Part" type:"list" flattened:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedMultipartUpload
func (CompletedMultipartUpload) GoString ¶
func (s CompletedMultipartUpload) GoString() string
GoString returns the string representation
func (CompletedMultipartUpload) MarshalFields ¶ added in v0.3.0
func (s CompletedMultipartUpload) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CompletedMultipartUpload) String ¶
func (s CompletedMultipartUpload) String() string
String returns the string representation
type CompletedPart ¶
type CompletedPart struct { // Entity tag returned when the part was uploaded. ETag *string `type:"string"` // Part number that identifies the part. This is a positive integer between // 1 and 10,000. PartNumber *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedPart
func (CompletedPart) GoString ¶
func (s CompletedPart) GoString() string
GoString returns the string representation
func (CompletedPart) MarshalFields ¶ added in v0.3.0
func (s CompletedPart) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CompletedPart) String ¶
func (s CompletedPart) String() string
String returns the string representation
type CompressionType ¶ added in v0.4.0
type CompressionType string
const ( CompressionTypeNone CompressionType = "NONE" CompressionTypeGzip CompressionType = "GZIP" CompressionTypeBzip2 CompressionType = "BZIP2" )
Enum values for CompressionType
func (CompressionType) MarshalValue ¶ added in v0.4.0
func (enum CompressionType) MarshalValue() (string, error)
func (CompressionType) MarshalValueBuf ¶ added in v0.4.0
func (enum CompressionType) MarshalValueBuf(b []byte) ([]byte, error)
type Condition ¶
type Condition struct { // The HTTP error code when the redirect is applied. In the event of an error, // if the error code equals this value, then the specified redirect is applied. // Required when parent element Condition is specified and sibling KeyPrefixEquals // is not specified. If both are specified, then both must be true for the redirect // to be applied. HttpErrorCodeReturnedEquals *string `type:"string"` // The object key name prefix when the redirect is applied. For example, to // redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. // To redirect request for all pages with the prefix docs/, the key prefix will // be /docs, which identifies all objects in the docs/ folder. Required when // the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals // is not specified. If both conditions are specified, both must be true for // the redirect to be applied. KeyPrefixEquals *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Condition
func (Condition) MarshalFields ¶ added in v0.3.0
func (s Condition) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type CopyObjectInput ¶
type CopyObjectInput struct { // The canned ACL to apply to the object. ACL ObjectCannedACL `location:"header" locationName:"x-amz-acl" type:"string" enum:"true"` // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Specifies caching behavior along the request/reply chain. CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"` // Specifies presentational information for the object. ContentDisposition *string `location:"header" locationName:"Content-Disposition" type:"string"` // Specifies what content encodings have been applied to the object and thus // what decoding mechanisms must be applied to obtain the media-type referenced // by the Content-Type header field. ContentEncoding *string `location:"header" locationName:"Content-Encoding" type:"string"` // The language the content is in. ContentLanguage *string `location:"header" locationName:"Content-Language" type:"string"` // A standard MIME type describing the format of the object data. ContentType *string `location:"header" locationName:"Content-Type" type:"string"` // The name of the source bucket and key name of the source object, separated // by a slash (/). Must be URL-encoded. // // CopySource is a required field CopySource *string `location:"header" locationName:"x-amz-copy-source" type:"string" required:"true"` // Copies the object if its entity tag (ETag) matches the specified tag. CopySourceIfMatch *string `location:"header" locationName:"x-amz-copy-source-if-match" type:"string"` // Copies the object if it has been modified since the specified time. CopySourceIfModifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-modified-since" type:"timestamp" timestampFormat:"rfc822"` // Copies the object if its entity tag (ETag) is different than the specified // ETag. CopySourceIfNoneMatch *string `location:"header" locationName:"x-amz-copy-source-if-none-match" type:"string"` // Copies the object if it hasn't been modified since the specified time. CopySourceIfUnmodifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-unmodified-since" type:"timestamp" timestampFormat:"rfc822"` // Specifies the algorithm to use when decrypting the source object (e.g., AES256). CopySourceSSECustomerAlgorithm *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm" type:"string"` // Specifies the customer-provided encryption key for Amazon S3 to use to decrypt // the source object. The encryption key provided in this header must be one // that was used when the source object was created. CopySourceSSECustomerKey *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-key" type:"string"` // Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. // Amazon S3 uses this header for a message integrity check to ensure the encryption // key was transmitted without error. CopySourceSSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5" type:"string"` // The date and time at which the object is no longer cacheable. Expires *time.Time `location:"header" locationName:"Expires" type:"timestamp" timestampFormat:"rfc822"` // Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object. GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"` // Allows grantee to read the object data and its metadata. GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"` // Allows grantee to read the object ACL. GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"` // Allows grantee to write the ACL for the applicable object. GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // A map of metadata to store with the object in S3. Metadata map[string]string `location:"headers" locationName:"x-amz-meta-" type:"map"` // Specifies whether the metadata is copied from the source object or replaced // with metadata provided in the request. MetadataDirective MetadataDirective `location:"header" locationName:"x-amz-metadata-directive" type:"string" enum:"true"` // Specifies whether you want to apply a Legal Hold to the copied object. ObjectLockLegalHoldStatus ObjectLockLegalHoldStatus `location:"header" locationName:"x-amz-object-lock-legal-hold" type:"string" enum:"true"` // The Object Lock mode that you want to apply to the copied object. ObjectLockMode ObjectLockMode `location:"header" locationName:"x-amz-object-lock-mode" type:"string" enum:"true"` // The date and time when you want the copied object's Object Lock to expire. ObjectLockRetainUntilDate *time.Time `location:"header" locationName:"x-amz-object-lock-retain-until-date" type:"timestamp" timestampFormat:"rfc822"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // Specifies the algorithm to use to when encrypting the object (e.g., AES256). SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // Specifies the customer-provided encryption key for Amazon S3 to use in encrypting // data. This value is used to store the object and then it is discarded; Amazon // does not store the encryption key. The key must be appropriate for use with // the algorithm specified in the x-amz-server-side-encryption-customer-algorithm // header. SSECustomerKey *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string"` // Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. // Amazon S3 uses this header for a message integrity check to ensure the encryption // key was transmitted without error. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // Specifies the AWS KMS key ID to use for object encryption. All GET and PUT // requests for an object protected by AWS KMS will fail if not made via SSL // or using SigV4. Documentation on configuring any of the officially supported // AWS SDKs and CLI can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string"` // The Server-side encryption algorithm used when storing this object in S3 // (e.g., AES256, aws:kms). ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"true"` // The type of storage to use for the object. Defaults to 'STANDARD'. StorageClass StorageClass `location:"header" locationName:"x-amz-storage-class" type:"string" enum:"true"` // The tag-set for the object destination object this value must be used in // conjunction with the TaggingDirective. The tag-set must be encoded as URL // Query parameters Tagging *string `location:"header" locationName:"x-amz-tagging" type:"string"` // Specifies whether the object tag-set are copied from the source object or // replaced with tag-set provided in the request. TaggingDirective TaggingDirective `location:"header" locationName:"x-amz-tagging-directive" type:"string" enum:"true"` // If the bucket is configured as a website, redirects requests for this object // to another object in the same bucket or to an external URL. Amazon S3 stores // the value of this header in the object metadata. WebsiteRedirectLocation *string `location:"header" locationName:"x-amz-website-redirect-location" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectRequest
func (CopyObjectInput) GoString ¶
func (s CopyObjectInput) GoString() string
GoString returns the string representation
func (CopyObjectInput) MarshalFields ¶ added in v0.3.0
func (s CopyObjectInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CopyObjectInput) String ¶
func (s CopyObjectInput) String() string
String returns the string representation
func (*CopyObjectInput) Validate ¶
func (s *CopyObjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CopyObjectOutput ¶
type CopyObjectOutput struct { CopyObjectResult *CopyObjectResult `type:"structure"` CopySourceVersionId *string `location:"header" locationName:"x-amz-copy-source-version-id" type:"string"` // If the object expiration is configured, the response includes this header. Expiration *string `location:"header" locationName:"x-amz-expiration" type:"string"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header confirming the encryption algorithm // used. SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header to provide round trip message integrity // verification of the customer-provided encryption key. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // If present, specifies the ID of the AWS Key Management Service (KMS) master // encryption key that was used for the object. SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string"` // The Server-side encryption algorithm used when storing this object in S3 // (e.g., AES256, aws:kms). ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"true"` // Version ID of the newly created copy. VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectOutput
func (CopyObjectOutput) GoString ¶
func (s CopyObjectOutput) GoString() string
GoString returns the string representation
func (CopyObjectOutput) MarshalFields ¶ added in v0.3.0
func (s CopyObjectOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CopyObjectOutput) SDKResponseMetadata ¶
func (s CopyObjectOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CopyObjectOutput) String ¶
func (s CopyObjectOutput) String() string
String returns the string representation
type CopyObjectRequest ¶
type CopyObjectRequest struct { *aws.Request Input *CopyObjectInput Copy func(*CopyObjectInput) CopyObjectRequest }
CopyObjectRequest is a API request type for the CopyObject API operation.
func (CopyObjectRequest) Send ¶
func (r CopyObjectRequest) Send() (*CopyObjectOutput, error)
Send marshals and sends the CopyObject API request.
type CopyObjectResult ¶
type CopyObjectResult struct { ETag *string `type:"string"` LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectResult
func (CopyObjectResult) GoString ¶
func (s CopyObjectResult) GoString() string
GoString returns the string representation
func (CopyObjectResult) MarshalFields ¶ added in v0.3.0
func (s CopyObjectResult) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CopyObjectResult) String ¶
func (s CopyObjectResult) String() string
String returns the string representation
type CopyPartResult ¶
type CopyPartResult struct { // Entity tag of the object. ETag *string `type:"string"` // Date and time at which the object was uploaded. LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyPartResult
func (CopyPartResult) GoString ¶
func (s CopyPartResult) GoString() string
GoString returns the string representation
func (CopyPartResult) MarshalFields ¶ added in v0.3.0
func (s CopyPartResult) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CopyPartResult) String ¶
func (s CopyPartResult) String() string
String returns the string representation
type CreateBucketConfiguration ¶
type CreateBucketConfiguration struct { // Specifies the region where the bucket will be created. If you don't specify // a region, the bucket will be created in US Standard. LocationConstraint BucketLocationConstraint `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketConfiguration
func (CreateBucketConfiguration) GoString ¶
func (s CreateBucketConfiguration) GoString() string
GoString returns the string representation
func (CreateBucketConfiguration) MarshalFields ¶ added in v0.3.0
func (s CreateBucketConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateBucketConfiguration) String ¶
func (s CreateBucketConfiguration) String() string
String returns the string representation
type CreateBucketInput ¶
type CreateBucketInput struct { // The canned ACL to apply to the bucket. ACL BucketCannedACL `location:"header" locationName:"x-amz-acl" type:"string" enum:"true"` // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` CreateBucketConfiguration *CreateBucketConfiguration `locationName:"CreateBucketConfiguration" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // Allows grantee the read, write, read ACP, and write ACP permissions on the // bucket. GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"` // Allows grantee to list the objects in the bucket. GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"` // Allows grantee to read the bucket ACL. GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"` // Allows grantee to create, overwrite, and delete any object in the bucket. GrantWrite *string `location:"header" locationName:"x-amz-grant-write" type:"string"` // Allows grantee to write the ACL for the applicable bucket. GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"` // Specifies whether you want S3 Object Lock to be enabled for the new bucket. ObjectLockEnabledForBucket *bool `location:"header" locationName:"x-amz-bucket-object-lock-enabled" type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketRequest
func (CreateBucketInput) GoString ¶
func (s CreateBucketInput) GoString() string
GoString returns the string representation
func (CreateBucketInput) MarshalFields ¶ added in v0.3.0
func (s CreateBucketInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateBucketInput) String ¶
func (s CreateBucketInput) String() string
String returns the string representation
func (*CreateBucketInput) Validate ¶
func (s *CreateBucketInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateBucketOutput ¶
type CreateBucketOutput struct { Location *string `location:"header" locationName:"Location" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketOutput
func (CreateBucketOutput) GoString ¶
func (s CreateBucketOutput) GoString() string
GoString returns the string representation
func (CreateBucketOutput) MarshalFields ¶ added in v0.3.0
func (s CreateBucketOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateBucketOutput) SDKResponseMetadata ¶
func (s CreateBucketOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateBucketOutput) String ¶
func (s CreateBucketOutput) String() string
String returns the string representation
type CreateBucketRequest ¶
type CreateBucketRequest struct { *aws.Request Input *CreateBucketInput Copy func(*CreateBucketInput) CreateBucketRequest }
CreateBucketRequest is a API request type for the CreateBucket API operation.
func (CreateBucketRequest) Send ¶
func (r CreateBucketRequest) Send() (*CreateBucketOutput, error)
Send marshals and sends the CreateBucket API request.
type CreateMultipartUploadInput ¶
type CreateMultipartUploadInput struct { // The canned ACL to apply to the object. ACL ObjectCannedACL `location:"header" locationName:"x-amz-acl" type:"string" enum:"true"` // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Specifies caching behavior along the request/reply chain. CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"` // Specifies presentational information for the object. ContentDisposition *string `location:"header" locationName:"Content-Disposition" type:"string"` // Specifies what content encodings have been applied to the object and thus // what decoding mechanisms must be applied to obtain the media-type referenced // by the Content-Type header field. ContentEncoding *string `location:"header" locationName:"Content-Encoding" type:"string"` // The language the content is in. ContentLanguage *string `location:"header" locationName:"Content-Language" type:"string"` // A standard MIME type describing the format of the object data. ContentType *string `location:"header" locationName:"Content-Type" type:"string"` // The date and time at which the object is no longer cacheable. Expires *time.Time `location:"header" locationName:"Expires" type:"timestamp" timestampFormat:"rfc822"` // Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object. GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"` // Allows grantee to read the object data and its metadata. GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"` // Allows grantee to read the object ACL. GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"` // Allows grantee to write the ACL for the applicable object. GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // A map of metadata to store with the object in S3. Metadata map[string]string `location:"headers" locationName:"x-amz-meta-" type:"map"` // Specifies whether you want to apply a Legal Hold to the uploaded object. ObjectLockLegalHoldStatus ObjectLockLegalHoldStatus `location:"header" locationName:"x-amz-object-lock-legal-hold" type:"string" enum:"true"` // Specifies the Object Lock mode that you want to apply to the uploaded object. ObjectLockMode ObjectLockMode `location:"header" locationName:"x-amz-object-lock-mode" type:"string" enum:"true"` // Specifies the date and time when you want the Object Lock to expire. ObjectLockRetainUntilDate *time.Time `location:"header" locationName:"x-amz-object-lock-retain-until-date" type:"timestamp" timestampFormat:"rfc822"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // Specifies the algorithm to use to when encrypting the object (e.g., AES256). SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // Specifies the customer-provided encryption key for Amazon S3 to use in encrypting // data. This value is used to store the object and then it is discarded; Amazon // does not store the encryption key. The key must be appropriate for use with // the algorithm specified in the x-amz-server-side-encryption-customer-algorithm // header. SSECustomerKey *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string"` // Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. // Amazon S3 uses this header for a message integrity check to ensure the encryption // key was transmitted without error. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // Specifies the AWS KMS key ID to use for object encryption. All GET and PUT // requests for an object protected by AWS KMS will fail if not made via SSL // or using SigV4. Documentation on configuring any of the officially supported // AWS SDKs and CLI can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string"` // The Server-side encryption algorithm used when storing this object in S3 // (e.g., AES256, aws:kms). ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"true"` // The type of storage to use for the object. Defaults to 'STANDARD'. StorageClass StorageClass `location:"header" locationName:"x-amz-storage-class" type:"string" enum:"true"` // The tag-set for the object. The tag-set must be encoded as URL Query parameters Tagging *string `location:"header" locationName:"x-amz-tagging" type:"string"` // If the bucket is configured as a website, redirects requests for this object // to another object in the same bucket or to an external URL. Amazon S3 stores // the value of this header in the object metadata. WebsiteRedirectLocation *string `location:"header" locationName:"x-amz-website-redirect-location" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadRequest
func (CreateMultipartUploadInput) GoString ¶
func (s CreateMultipartUploadInput) GoString() string
GoString returns the string representation
func (CreateMultipartUploadInput) MarshalFields ¶ added in v0.3.0
func (s CreateMultipartUploadInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateMultipartUploadInput) String ¶
func (s CreateMultipartUploadInput) String() string
String returns the string representation
func (*CreateMultipartUploadInput) Validate ¶
func (s *CreateMultipartUploadInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateMultipartUploadOutput ¶
type CreateMultipartUploadOutput struct { // Date when multipart upload will become eligible for abort operation by lifecycle. AbortDate *time.Time `location:"header" locationName:"x-amz-abort-date" type:"timestamp" timestampFormat:"rfc822"` // Id of the lifecycle rule that makes a multipart upload eligible for abort // operation. AbortRuleId *string `location:"header" locationName:"x-amz-abort-rule-id" type:"string"` // Name of the bucket to which the multipart upload was initiated. Bucket *string `locationName:"Bucket" type:"string"` // Object key for which the multipart upload was initiated. Key *string `min:"1" type:"string"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header confirming the encryption algorithm // used. SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header to provide round trip message integrity // verification of the customer-provided encryption key. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // If present, specifies the ID of the AWS Key Management Service (KMS) master // encryption key that was used for the object. SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string"` // The Server-side encryption algorithm used when storing this object in S3 // (e.g., AES256, aws:kms). ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"true"` // ID for the initiated multipart upload. UploadId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadOutput
func (CreateMultipartUploadOutput) GoString ¶
func (s CreateMultipartUploadOutput) GoString() string
GoString returns the string representation
func (CreateMultipartUploadOutput) MarshalFields ¶ added in v0.3.0
func (s CreateMultipartUploadOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateMultipartUploadOutput) SDKResponseMetadata ¶
func (s CreateMultipartUploadOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateMultipartUploadOutput) String ¶
func (s CreateMultipartUploadOutput) String() string
String returns the string representation
type CreateMultipartUploadRequest ¶
type CreateMultipartUploadRequest struct { *aws.Request Input *CreateMultipartUploadInput Copy func(*CreateMultipartUploadInput) CreateMultipartUploadRequest }
CreateMultipartUploadRequest is a API request type for the CreateMultipartUpload API operation.
func (CreateMultipartUploadRequest) Send ¶
func (r CreateMultipartUploadRequest) Send() (*CreateMultipartUploadOutput, error)
Send marshals and sends the CreateMultipartUpload API request.
type DefaultRetention ¶ added in v0.6.0
type DefaultRetention struct { // The number of days that you want to specify for the default retention period. Days *int64 `type:"integer"` // The default Object Lock retention mode you want to apply to new objects placed // in the specified bucket. Mode ObjectLockRetentionMode `type:"string" enum:"true"` // The number of years that you want to specify for the default retention period. Years *int64 `type:"integer"` // contains filtered or unexported fields }
The container element for specifying the default Object Lock retention settings for new objects placed in the specified bucket. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DefaultRetention
func (DefaultRetention) GoString ¶ added in v0.6.0
func (s DefaultRetention) GoString() string
GoString returns the string representation
func (DefaultRetention) MarshalFields ¶ added in v0.6.0
func (s DefaultRetention) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DefaultRetention) String ¶ added in v0.6.0
func (s DefaultRetention) String() string
String returns the string representation
type Delete ¶
type Delete struct { // Objects is a required field Objects []ObjectIdentifier `locationName:"Object" type:"list" flattened:"true" required:"true"` // Element to enable quiet mode for the request. When you add this element, // you must set its value to true. Quiet *bool `type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Delete
func (Delete) MarshalFields ¶ added in v0.3.0
func (s Delete) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type DeleteBucketAnalyticsConfigurationInput ¶
type DeleteBucketAnalyticsConfigurationInput struct { // The name of the bucket from which an analytics configuration is deleted. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The identifier used to represent an analytics configuration. // // Id is a required field Id *string `location:"querystring" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfigurationRequest
func (DeleteBucketAnalyticsConfigurationInput) GoString ¶
func (s DeleteBucketAnalyticsConfigurationInput) GoString() string
GoString returns the string representation
func (DeleteBucketAnalyticsConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketAnalyticsConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketAnalyticsConfigurationInput) String ¶
func (s DeleteBucketAnalyticsConfigurationInput) String() string
String returns the string representation
func (*DeleteBucketAnalyticsConfigurationInput) Validate ¶
func (s *DeleteBucketAnalyticsConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBucketAnalyticsConfigurationOutput ¶
type DeleteBucketAnalyticsConfigurationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfigurationOutput
func (DeleteBucketAnalyticsConfigurationOutput) GoString ¶
func (s DeleteBucketAnalyticsConfigurationOutput) GoString() string
GoString returns the string representation
func (DeleteBucketAnalyticsConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketAnalyticsConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketAnalyticsConfigurationOutput) SDKResponseMetadata ¶
func (s DeleteBucketAnalyticsConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteBucketAnalyticsConfigurationOutput) String ¶
func (s DeleteBucketAnalyticsConfigurationOutput) String() string
String returns the string representation
type DeleteBucketAnalyticsConfigurationRequest ¶
type DeleteBucketAnalyticsConfigurationRequest struct { *aws.Request Input *DeleteBucketAnalyticsConfigurationInput Copy func(*DeleteBucketAnalyticsConfigurationInput) DeleteBucketAnalyticsConfigurationRequest }
DeleteBucketAnalyticsConfigurationRequest is a API request type for the DeleteBucketAnalyticsConfiguration API operation.
func (DeleteBucketAnalyticsConfigurationRequest) Send ¶
func (r DeleteBucketAnalyticsConfigurationRequest) Send() (*DeleteBucketAnalyticsConfigurationOutput, error)
Send marshals and sends the DeleteBucketAnalyticsConfiguration API request.
type DeleteBucketCorsInput ¶
type DeleteBucketCorsInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCorsRequest
func (DeleteBucketCorsInput) GoString ¶
func (s DeleteBucketCorsInput) GoString() string
GoString returns the string representation
func (DeleteBucketCorsInput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketCorsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketCorsInput) String ¶
func (s DeleteBucketCorsInput) String() string
String returns the string representation
func (*DeleteBucketCorsInput) Validate ¶
func (s *DeleteBucketCorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBucketCorsOutput ¶
type DeleteBucketCorsOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCorsOutput
func (DeleteBucketCorsOutput) GoString ¶
func (s DeleteBucketCorsOutput) GoString() string
GoString returns the string representation
func (DeleteBucketCorsOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketCorsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketCorsOutput) SDKResponseMetadata ¶
func (s DeleteBucketCorsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteBucketCorsOutput) String ¶
func (s DeleteBucketCorsOutput) String() string
String returns the string representation
type DeleteBucketCorsRequest ¶
type DeleteBucketCorsRequest struct { *aws.Request Input *DeleteBucketCorsInput Copy func(*DeleteBucketCorsInput) DeleteBucketCorsRequest }
DeleteBucketCorsRequest is a API request type for the DeleteBucketCors API operation.
func (DeleteBucketCorsRequest) Send ¶
func (r DeleteBucketCorsRequest) Send() (*DeleteBucketCorsOutput, error)
Send marshals and sends the DeleteBucketCors API request.
type DeleteBucketEncryptionInput ¶ added in v0.2.0
type DeleteBucketEncryptionInput struct { // The name of the bucket containing the server-side encryption configuration // to delete. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryptionRequest
func (DeleteBucketEncryptionInput) GoString ¶ added in v0.2.0
func (s DeleteBucketEncryptionInput) GoString() string
GoString returns the string representation
func (DeleteBucketEncryptionInput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketEncryptionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketEncryptionInput) String ¶ added in v0.2.0
func (s DeleteBucketEncryptionInput) String() string
String returns the string representation
func (*DeleteBucketEncryptionInput) Validate ¶ added in v0.2.0
func (s *DeleteBucketEncryptionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBucketEncryptionOutput ¶ added in v0.2.0
type DeleteBucketEncryptionOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryptionOutput
func (DeleteBucketEncryptionOutput) GoString ¶ added in v0.2.0
func (s DeleteBucketEncryptionOutput) GoString() string
GoString returns the string representation
func (DeleteBucketEncryptionOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketEncryptionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketEncryptionOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DeleteBucketEncryptionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteBucketEncryptionOutput) String ¶ added in v0.2.0
func (s DeleteBucketEncryptionOutput) String() string
String returns the string representation
type DeleteBucketEncryptionRequest ¶ added in v0.2.0
type DeleteBucketEncryptionRequest struct { *aws.Request Input *DeleteBucketEncryptionInput Copy func(*DeleteBucketEncryptionInput) DeleteBucketEncryptionRequest }
DeleteBucketEncryptionRequest is a API request type for the DeleteBucketEncryption API operation.
func (DeleteBucketEncryptionRequest) Send ¶ added in v0.2.0
func (r DeleteBucketEncryptionRequest) Send() (*DeleteBucketEncryptionOutput, error)
Send marshals and sends the DeleteBucketEncryption API request.
type DeleteBucketInput ¶
type DeleteBucketInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketRequest
func (DeleteBucketInput) GoString ¶
func (s DeleteBucketInput) GoString() string
GoString returns the string representation
func (DeleteBucketInput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketInput) String ¶
func (s DeleteBucketInput) String() string
String returns the string representation
func (*DeleteBucketInput) Validate ¶
func (s *DeleteBucketInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBucketInventoryConfigurationInput ¶
type DeleteBucketInventoryConfigurationInput struct { // The name of the bucket containing the inventory configuration to delete. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The ID used to identify the inventory configuration. // // Id is a required field Id *string `location:"querystring" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfigurationRequest
func (DeleteBucketInventoryConfigurationInput) GoString ¶
func (s DeleteBucketInventoryConfigurationInput) GoString() string
GoString returns the string representation
func (DeleteBucketInventoryConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketInventoryConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketInventoryConfigurationInput) String ¶
func (s DeleteBucketInventoryConfigurationInput) String() string
String returns the string representation
func (*DeleteBucketInventoryConfigurationInput) Validate ¶
func (s *DeleteBucketInventoryConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBucketInventoryConfigurationOutput ¶
type DeleteBucketInventoryConfigurationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfigurationOutput
func (DeleteBucketInventoryConfigurationOutput) GoString ¶
func (s DeleteBucketInventoryConfigurationOutput) GoString() string
GoString returns the string representation
func (DeleteBucketInventoryConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketInventoryConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketInventoryConfigurationOutput) SDKResponseMetadata ¶
func (s DeleteBucketInventoryConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteBucketInventoryConfigurationOutput) String ¶
func (s DeleteBucketInventoryConfigurationOutput) String() string
String returns the string representation
type DeleteBucketInventoryConfigurationRequest ¶
type DeleteBucketInventoryConfigurationRequest struct { *aws.Request Input *DeleteBucketInventoryConfigurationInput Copy func(*DeleteBucketInventoryConfigurationInput) DeleteBucketInventoryConfigurationRequest }
DeleteBucketInventoryConfigurationRequest is a API request type for the DeleteBucketInventoryConfiguration API operation.
func (DeleteBucketInventoryConfigurationRequest) Send ¶
func (r DeleteBucketInventoryConfigurationRequest) Send() (*DeleteBucketInventoryConfigurationOutput, error)
Send marshals and sends the DeleteBucketInventoryConfiguration API request.
type DeleteBucketLifecycleInput ¶
type DeleteBucketLifecycleInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleRequest
func (DeleteBucketLifecycleInput) GoString ¶
func (s DeleteBucketLifecycleInput) GoString() string
GoString returns the string representation
func (DeleteBucketLifecycleInput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketLifecycleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketLifecycleInput) String ¶
func (s DeleteBucketLifecycleInput) String() string
String returns the string representation
func (*DeleteBucketLifecycleInput) Validate ¶
func (s *DeleteBucketLifecycleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBucketLifecycleOutput ¶
type DeleteBucketLifecycleOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleOutput
func (DeleteBucketLifecycleOutput) GoString ¶
func (s DeleteBucketLifecycleOutput) GoString() string
GoString returns the string representation
func (DeleteBucketLifecycleOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketLifecycleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketLifecycleOutput) SDKResponseMetadata ¶
func (s DeleteBucketLifecycleOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteBucketLifecycleOutput) String ¶
func (s DeleteBucketLifecycleOutput) String() string
String returns the string representation
type DeleteBucketLifecycleRequest ¶
type DeleteBucketLifecycleRequest struct { *aws.Request Input *DeleteBucketLifecycleInput Copy func(*DeleteBucketLifecycleInput) DeleteBucketLifecycleRequest }
DeleteBucketLifecycleRequest is a API request type for the DeleteBucketLifecycle API operation.
func (DeleteBucketLifecycleRequest) Send ¶
func (r DeleteBucketLifecycleRequest) Send() (*DeleteBucketLifecycleOutput, error)
Send marshals and sends the DeleteBucketLifecycle API request.
type DeleteBucketMetricsConfigurationInput ¶
type DeleteBucketMetricsConfigurationInput struct { // The name of the bucket containing the metrics configuration to delete. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The ID used to identify the metrics configuration. // // Id is a required field Id *string `location:"querystring" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfigurationRequest
func (DeleteBucketMetricsConfigurationInput) GoString ¶
func (s DeleteBucketMetricsConfigurationInput) GoString() string
GoString returns the string representation
func (DeleteBucketMetricsConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketMetricsConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketMetricsConfigurationInput) String ¶
func (s DeleteBucketMetricsConfigurationInput) String() string
String returns the string representation
func (*DeleteBucketMetricsConfigurationInput) Validate ¶
func (s *DeleteBucketMetricsConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBucketMetricsConfigurationOutput ¶
type DeleteBucketMetricsConfigurationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfigurationOutput
func (DeleteBucketMetricsConfigurationOutput) GoString ¶
func (s DeleteBucketMetricsConfigurationOutput) GoString() string
GoString returns the string representation
func (DeleteBucketMetricsConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketMetricsConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketMetricsConfigurationOutput) SDKResponseMetadata ¶
func (s DeleteBucketMetricsConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteBucketMetricsConfigurationOutput) String ¶
func (s DeleteBucketMetricsConfigurationOutput) String() string
String returns the string representation
type DeleteBucketMetricsConfigurationRequest ¶
type DeleteBucketMetricsConfigurationRequest struct { *aws.Request Input *DeleteBucketMetricsConfigurationInput Copy func(*DeleteBucketMetricsConfigurationInput) DeleteBucketMetricsConfigurationRequest }
DeleteBucketMetricsConfigurationRequest is a API request type for the DeleteBucketMetricsConfiguration API operation.
func (DeleteBucketMetricsConfigurationRequest) Send ¶
func (r DeleteBucketMetricsConfigurationRequest) Send() (*DeleteBucketMetricsConfigurationOutput, error)
Send marshals and sends the DeleteBucketMetricsConfiguration API request.
type DeleteBucketOutput ¶
type DeleteBucketOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketOutput
func (DeleteBucketOutput) GoString ¶
func (s DeleteBucketOutput) GoString() string
GoString returns the string representation
func (DeleteBucketOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketOutput) SDKResponseMetadata ¶
func (s DeleteBucketOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteBucketOutput) String ¶
func (s DeleteBucketOutput) String() string
String returns the string representation
type DeleteBucketPolicyInput ¶
type DeleteBucketPolicyInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicyRequest
func (DeleteBucketPolicyInput) GoString ¶
func (s DeleteBucketPolicyInput) GoString() string
GoString returns the string representation
func (DeleteBucketPolicyInput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketPolicyInput) String ¶
func (s DeleteBucketPolicyInput) String() string
String returns the string representation
func (*DeleteBucketPolicyInput) Validate ¶
func (s *DeleteBucketPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBucketPolicyOutput ¶
type DeleteBucketPolicyOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicyOutput
func (DeleteBucketPolicyOutput) GoString ¶
func (s DeleteBucketPolicyOutput) GoString() string
GoString returns the string representation
func (DeleteBucketPolicyOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketPolicyOutput) SDKResponseMetadata ¶
func (s DeleteBucketPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteBucketPolicyOutput) String ¶
func (s DeleteBucketPolicyOutput) String() string
String returns the string representation
type DeleteBucketPolicyRequest ¶
type DeleteBucketPolicyRequest struct { *aws.Request Input *DeleteBucketPolicyInput Copy func(*DeleteBucketPolicyInput) DeleteBucketPolicyRequest }
DeleteBucketPolicyRequest is a API request type for the DeleteBucketPolicy API operation.
func (DeleteBucketPolicyRequest) Send ¶
func (r DeleteBucketPolicyRequest) Send() (*DeleteBucketPolicyOutput, error)
Send marshals and sends the DeleteBucketPolicy API request.
type DeleteBucketReplicationInput ¶
type DeleteBucketReplicationInput struct { // The bucket name. // // It can take a while to propagate the deletion of a replication configuration // to all Amazon S3 systems. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplicationRequest
func (DeleteBucketReplicationInput) GoString ¶
func (s DeleteBucketReplicationInput) GoString() string
GoString returns the string representation
func (DeleteBucketReplicationInput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketReplicationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketReplicationInput) String ¶
func (s DeleteBucketReplicationInput) String() string
String returns the string representation
func (*DeleteBucketReplicationInput) Validate ¶
func (s *DeleteBucketReplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBucketReplicationOutput ¶
type DeleteBucketReplicationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplicationOutput
func (DeleteBucketReplicationOutput) GoString ¶
func (s DeleteBucketReplicationOutput) GoString() string
GoString returns the string representation
func (DeleteBucketReplicationOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketReplicationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketReplicationOutput) SDKResponseMetadata ¶
func (s DeleteBucketReplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteBucketReplicationOutput) String ¶
func (s DeleteBucketReplicationOutput) String() string
String returns the string representation
type DeleteBucketReplicationRequest ¶
type DeleteBucketReplicationRequest struct { *aws.Request Input *DeleteBucketReplicationInput Copy func(*DeleteBucketReplicationInput) DeleteBucketReplicationRequest }
DeleteBucketReplicationRequest is a API request type for the DeleteBucketReplication API operation.
func (DeleteBucketReplicationRequest) Send ¶
func (r DeleteBucketReplicationRequest) Send() (*DeleteBucketReplicationOutput, error)
Send marshals and sends the DeleteBucketReplication API request.
type DeleteBucketRequest ¶
type DeleteBucketRequest struct { *aws.Request Input *DeleteBucketInput Copy func(*DeleteBucketInput) DeleteBucketRequest }
DeleteBucketRequest is a API request type for the DeleteBucket API operation.
func (DeleteBucketRequest) Send ¶
func (r DeleteBucketRequest) Send() (*DeleteBucketOutput, error)
Send marshals and sends the DeleteBucket API request.
type DeleteBucketTaggingInput ¶
type DeleteBucketTaggingInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTaggingRequest
func (DeleteBucketTaggingInput) GoString ¶
func (s DeleteBucketTaggingInput) GoString() string
GoString returns the string representation
func (DeleteBucketTaggingInput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketTaggingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketTaggingInput) String ¶
func (s DeleteBucketTaggingInput) String() string
String returns the string representation
func (*DeleteBucketTaggingInput) Validate ¶
func (s *DeleteBucketTaggingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBucketTaggingOutput ¶
type DeleteBucketTaggingOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTaggingOutput
func (DeleteBucketTaggingOutput) GoString ¶
func (s DeleteBucketTaggingOutput) GoString() string
GoString returns the string representation
func (DeleteBucketTaggingOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketTaggingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketTaggingOutput) SDKResponseMetadata ¶
func (s DeleteBucketTaggingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteBucketTaggingOutput) String ¶
func (s DeleteBucketTaggingOutput) String() string
String returns the string representation
type DeleteBucketTaggingRequest ¶
type DeleteBucketTaggingRequest struct { *aws.Request Input *DeleteBucketTaggingInput Copy func(*DeleteBucketTaggingInput) DeleteBucketTaggingRequest }
DeleteBucketTaggingRequest is a API request type for the DeleteBucketTagging API operation.
func (DeleteBucketTaggingRequest) Send ¶
func (r DeleteBucketTaggingRequest) Send() (*DeleteBucketTaggingOutput, error)
Send marshals and sends the DeleteBucketTagging API request.
type DeleteBucketWebsiteInput ¶
type DeleteBucketWebsiteInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsiteRequest
func (DeleteBucketWebsiteInput) GoString ¶
func (s DeleteBucketWebsiteInput) GoString() string
GoString returns the string representation
func (DeleteBucketWebsiteInput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketWebsiteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketWebsiteInput) String ¶
func (s DeleteBucketWebsiteInput) String() string
String returns the string representation
func (*DeleteBucketWebsiteInput) Validate ¶
func (s *DeleteBucketWebsiteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBucketWebsiteOutput ¶
type DeleteBucketWebsiteOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsiteOutput
func (DeleteBucketWebsiteOutput) GoString ¶
func (s DeleteBucketWebsiteOutput) GoString() string
GoString returns the string representation
func (DeleteBucketWebsiteOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteBucketWebsiteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBucketWebsiteOutput) SDKResponseMetadata ¶
func (s DeleteBucketWebsiteOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteBucketWebsiteOutput) String ¶
func (s DeleteBucketWebsiteOutput) String() string
String returns the string representation
type DeleteBucketWebsiteRequest ¶
type DeleteBucketWebsiteRequest struct { *aws.Request Input *DeleteBucketWebsiteInput Copy func(*DeleteBucketWebsiteInput) DeleteBucketWebsiteRequest }
DeleteBucketWebsiteRequest is a API request type for the DeleteBucketWebsite API operation.
func (DeleteBucketWebsiteRequest) Send ¶
func (r DeleteBucketWebsiteRequest) Send() (*DeleteBucketWebsiteOutput, error)
Send marshals and sends the DeleteBucketWebsite API request.
type DeleteMarkerEntry ¶
type DeleteMarkerEntry struct { // Specifies whether the object is (true) or is not (false) the latest version // of an object. IsLatest *bool `type:"boolean"` // The object key. Key *string `min:"1" type:"string"` // Date and time the object was last modified. LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` Owner *Owner `type:"structure"` // Version ID of an object. VersionId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteMarkerEntry
func (DeleteMarkerEntry) GoString ¶
func (s DeleteMarkerEntry) GoString() string
GoString returns the string representation
func (DeleteMarkerEntry) MarshalFields ¶ added in v0.3.0
func (s DeleteMarkerEntry) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteMarkerEntry) String ¶
func (s DeleteMarkerEntry) String() string
String returns the string representation
type DeleteMarkerReplication ¶ added in v0.5.0
type DeleteMarkerReplication struct { // The status of the delete marker replication. // // In the current implementation, Amazon S3 doesn't replicate the delete markers. // The status must be Disabled. Status DeleteMarkerReplicationStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
Specifies whether Amazon S3 should replicate delete makers. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteMarkerReplication
func (DeleteMarkerReplication) GoString ¶ added in v0.5.0
func (s DeleteMarkerReplication) GoString() string
GoString returns the string representation
func (DeleteMarkerReplication) MarshalFields ¶ added in v0.5.0
func (s DeleteMarkerReplication) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteMarkerReplication) String ¶ added in v0.5.0
func (s DeleteMarkerReplication) String() string
String returns the string representation
type DeleteMarkerReplicationStatus ¶ added in v0.5.0
type DeleteMarkerReplicationStatus string
const ( DeleteMarkerReplicationStatusEnabled DeleteMarkerReplicationStatus = "Enabled" DeleteMarkerReplicationStatusDisabled DeleteMarkerReplicationStatus = "Disabled" )
Enum values for DeleteMarkerReplicationStatus
func (DeleteMarkerReplicationStatus) MarshalValue ¶ added in v0.5.0
func (enum DeleteMarkerReplicationStatus) MarshalValue() (string, error)
func (DeleteMarkerReplicationStatus) MarshalValueBuf ¶ added in v0.5.0
func (enum DeleteMarkerReplicationStatus) MarshalValueBuf(b []byte) ([]byte, error)
type DeleteObjectInput ¶
type DeleteObjectInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Indicates whether S3 Object Lock should bypass Governance-mode restrictions // to process this operation. BypassGovernanceRetention *bool `location:"header" locationName:"x-amz-bypass-governance-retention" type:"boolean"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // The concatenation of the authentication device's serial number, a space, // and the value that is displayed on your authentication device. MFA *string `location:"header" locationName:"x-amz-mfa" type:"string"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // VersionId used to reference a specific version of the object. VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectRequest
func (DeleteObjectInput) GoString ¶
func (s DeleteObjectInput) GoString() string
GoString returns the string representation
func (DeleteObjectInput) MarshalFields ¶ added in v0.3.0
func (s DeleteObjectInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteObjectInput) String ¶
func (s DeleteObjectInput) String() string
String returns the string representation
func (*DeleteObjectInput) Validate ¶
func (s *DeleteObjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteObjectOutput ¶
type DeleteObjectOutput struct { // Specifies whether the versioned object that was permanently deleted was (true) // or was not (false) a delete marker. DeleteMarker *bool `location:"header" locationName:"x-amz-delete-marker" type:"boolean"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // Returns the version ID of the delete marker created as a result of the DELETE // operation. VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectOutput
func (DeleteObjectOutput) GoString ¶
func (s DeleteObjectOutput) GoString() string
GoString returns the string representation
func (DeleteObjectOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteObjectOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteObjectOutput) SDKResponseMetadata ¶
func (s DeleteObjectOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteObjectOutput) String ¶
func (s DeleteObjectOutput) String() string
String returns the string representation
type DeleteObjectRequest ¶
type DeleteObjectRequest struct { *aws.Request Input *DeleteObjectInput Copy func(*DeleteObjectInput) DeleteObjectRequest }
DeleteObjectRequest is a API request type for the DeleteObject API operation.
func (DeleteObjectRequest) Send ¶
func (r DeleteObjectRequest) Send() (*DeleteObjectOutput, error)
Send marshals and sends the DeleteObject API request.
type DeleteObjectTaggingInput ¶
type DeleteObjectTaggingInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // The versionId of the object that the tag-set will be removed from. VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTaggingRequest
func (DeleteObjectTaggingInput) GoString ¶
func (s DeleteObjectTaggingInput) GoString() string
GoString returns the string representation
func (DeleteObjectTaggingInput) MarshalFields ¶ added in v0.3.0
func (s DeleteObjectTaggingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteObjectTaggingInput) String ¶
func (s DeleteObjectTaggingInput) String() string
String returns the string representation
func (*DeleteObjectTaggingInput) Validate ¶
func (s *DeleteObjectTaggingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteObjectTaggingOutput ¶
type DeleteObjectTaggingOutput struct { // The versionId of the object the tag-set was removed from. VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTaggingOutput
func (DeleteObjectTaggingOutput) GoString ¶
func (s DeleteObjectTaggingOutput) GoString() string
GoString returns the string representation
func (DeleteObjectTaggingOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteObjectTaggingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteObjectTaggingOutput) SDKResponseMetadata ¶
func (s DeleteObjectTaggingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteObjectTaggingOutput) String ¶
func (s DeleteObjectTaggingOutput) String() string
String returns the string representation
type DeleteObjectTaggingRequest ¶
type DeleteObjectTaggingRequest struct { *aws.Request Input *DeleteObjectTaggingInput Copy func(*DeleteObjectTaggingInput) DeleteObjectTaggingRequest }
DeleteObjectTaggingRequest is a API request type for the DeleteObjectTagging API operation.
func (DeleteObjectTaggingRequest) Send ¶
func (r DeleteObjectTaggingRequest) Send() (*DeleteObjectTaggingOutput, error)
Send marshals and sends the DeleteObjectTagging API request.
type DeleteObjectsInput ¶
type DeleteObjectsInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Specifies whether you want to delete this object even if it has a Governance-type // Object Lock in place. You must have sufficient permissions to perform this // operation. BypassGovernanceRetention *bool `location:"header" locationName:"x-amz-bypass-governance-retention" type:"boolean"` // Delete is a required field Delete *Delete `locationName:"Delete" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // The concatenation of the authentication device's serial number, a space, // and the value that is displayed on your authentication device. MFA *string `location:"header" locationName:"x-amz-mfa" type:"string"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsRequest
func (DeleteObjectsInput) GoString ¶
func (s DeleteObjectsInput) GoString() string
GoString returns the string representation
func (DeleteObjectsInput) MarshalFields ¶ added in v0.3.0
func (s DeleteObjectsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteObjectsInput) String ¶
func (s DeleteObjectsInput) String() string
String returns the string representation
func (*DeleteObjectsInput) Validate ¶
func (s *DeleteObjectsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteObjectsOutput ¶
type DeleteObjectsOutput struct { Deleted []DeletedObject `type:"list" flattened:"true"` Errors []Error `locationName:"Error" type:"list" flattened:"true"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsOutput
func (DeleteObjectsOutput) GoString ¶
func (s DeleteObjectsOutput) GoString() string
GoString returns the string representation
func (DeleteObjectsOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteObjectsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteObjectsOutput) SDKResponseMetadata ¶
func (s DeleteObjectsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteObjectsOutput) String ¶
func (s DeleteObjectsOutput) String() string
String returns the string representation
type DeleteObjectsRequest ¶
type DeleteObjectsRequest struct { *aws.Request Input *DeleteObjectsInput Copy func(*DeleteObjectsInput) DeleteObjectsRequest }
DeleteObjectsRequest is a API request type for the DeleteObjects API operation.
func (DeleteObjectsRequest) Send ¶
func (r DeleteObjectsRequest) Send() (*DeleteObjectsOutput, error)
Send marshals and sends the DeleteObjects API request.
type DeletePublicAccessBlockInput ¶ added in v0.6.0
type DeletePublicAccessBlockInput struct { // The Amazon S3 bucket whose PublicAccessBlock configuration you want to delete. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletePublicAccessBlockRequest
func (DeletePublicAccessBlockInput) GoString ¶ added in v0.6.0
func (s DeletePublicAccessBlockInput) GoString() string
GoString returns the string representation
func (DeletePublicAccessBlockInput) MarshalFields ¶ added in v0.6.0
func (s DeletePublicAccessBlockInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeletePublicAccessBlockInput) String ¶ added in v0.6.0
func (s DeletePublicAccessBlockInput) String() string
String returns the string representation
func (*DeletePublicAccessBlockInput) Validate ¶ added in v0.6.0
func (s *DeletePublicAccessBlockInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeletePublicAccessBlockOutput ¶ added in v0.6.0
type DeletePublicAccessBlockOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletePublicAccessBlockOutput
func (DeletePublicAccessBlockOutput) GoString ¶ added in v0.6.0
func (s DeletePublicAccessBlockOutput) GoString() string
GoString returns the string representation
func (DeletePublicAccessBlockOutput) MarshalFields ¶ added in v0.6.0
func (s DeletePublicAccessBlockOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeletePublicAccessBlockOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s DeletePublicAccessBlockOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeletePublicAccessBlockOutput) String ¶ added in v0.6.0
func (s DeletePublicAccessBlockOutput) String() string
String returns the string representation
type DeletePublicAccessBlockRequest ¶ added in v0.6.0
type DeletePublicAccessBlockRequest struct { *aws.Request Input *DeletePublicAccessBlockInput Copy func(*DeletePublicAccessBlockInput) DeletePublicAccessBlockRequest }
DeletePublicAccessBlockRequest is a API request type for the DeletePublicAccessBlock API operation.
func (DeletePublicAccessBlockRequest) Send ¶ added in v0.6.0
func (r DeletePublicAccessBlockRequest) Send() (*DeletePublicAccessBlockOutput, error)
Send marshals and sends the DeletePublicAccessBlock API request.
type DeletedObject ¶
type DeletedObject struct { DeleteMarker *bool `type:"boolean"` DeleteMarkerVersionId *string `type:"string"` Key *string `min:"1" type:"string"` VersionId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletedObject
func (DeletedObject) GoString ¶
func (s DeletedObject) GoString() string
GoString returns the string representation
func (DeletedObject) MarshalFields ¶ added in v0.3.0
func (s DeletedObject) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeletedObject) String ¶
func (s DeletedObject) String() string
String returns the string representation
type Destination ¶
type Destination struct { // A container for information about access control for replicas. // // Use this element only in a cross-account scenario where source and destination // bucket owners are not the same to change replica ownership to the AWS account // that owns the destination bucket. If you don't add this element to the replication // configuration, the replicas are owned by same AWS account that owns the source // object. AccessControlTranslation *AccessControlTranslation `type:"structure"` // The account ID of the destination bucket. Currently, Amazon S3 verifies this // value only if Access Control Translation is enabled. // // In a cross-account scenario, if you change replica ownership to the AWS account // that owns the destination bucket by adding the AccessControlTranslation element, // this is the account ID of the owner of the destination bucket. Account *string `type:"string"` // The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to // store replicas of the object identified by the rule. // // If there are multiple rules in your replication configuration, all rules // must specify the same bucket as the destination. A replication configuration // can replicate objects to only one destination bucket. // // Bucket is a required field Bucket *string `type:"string" required:"true"` // A container that provides information about encryption. If SourceSelectionCriteria // is specified, you must specify this element. EncryptionConfiguration *EncryptionConfiguration `type:"structure"` // The class of storage used to store the object. By default Amazon S3 uses // storage class of the source object when creating a replica. StorageClass StorageClass `type:"string" enum:"true"` // contains filtered or unexported fields }
A container for information about the replication destination. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Destination
func (Destination) GoString ¶
func (s Destination) GoString() string
GoString returns the string representation
func (Destination) MarshalFields ¶ added in v0.3.0
func (s Destination) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Destination) String ¶
func (s Destination) String() string
String returns the string representation
func (*Destination) Validate ¶
func (s *Destination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EncodingType ¶
type EncodingType string
Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key may contain any Unicode character; however, XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response.
const (
EncodingTypeUrl EncodingType = "url"
)
Enum values for EncodingType
func (EncodingType) MarshalValue ¶ added in v0.3.0
func (enum EncodingType) MarshalValue() (string, error)
func (EncodingType) MarshalValueBuf ¶ added in v0.3.0
func (enum EncodingType) MarshalValueBuf(b []byte) ([]byte, error)
type Encryption ¶ added in v0.2.0
type Encryption struct { // The server-side encryption algorithm used when storing job results in Amazon // S3 (e.g., AES256, aws:kms). // // EncryptionType is a required field EncryptionType ServerSideEncryption `type:"string" required:"true" enum:"true"` // If the encryption type is aws:kms, this optional value can be used to specify // the encryption context for the restore results. KMSContext *string `type:"string"` // If the encryption type is aws:kms, this optional value specifies the AWS // KMS key ID to use for encryption of job results. KMSKeyId *string `type:"string"` // contains filtered or unexported fields }
Describes the server-side encryption that will be applied to the restore results. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Encryption
func (Encryption) GoString ¶ added in v0.2.0
func (s Encryption) GoString() string
GoString returns the string representation
func (Encryption) MarshalFields ¶ added in v0.3.0
func (s Encryption) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Encryption) String ¶ added in v0.2.0
func (s Encryption) String() string
String returns the string representation
func (*Encryption) Validate ¶ added in v0.2.0
func (s *Encryption) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EncryptionConfiguration ¶ added in v0.2.0
type EncryptionConfiguration struct { // The ID of the AWS KMS key for the AWS Region where the destination bucket // resides. Amazon S3 uses this key to encrypt the replica object. ReplicaKmsKeyID *string `type:"string"` // contains filtered or unexported fields }
A container for information about the encryption-based configuration for replicas. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EncryptionConfiguration
func (EncryptionConfiguration) GoString ¶ added in v0.2.0
func (s EncryptionConfiguration) GoString() string
GoString returns the string representation
func (EncryptionConfiguration) MarshalFields ¶ added in v0.3.0
func (s EncryptionConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (EncryptionConfiguration) String ¶ added in v0.2.0
func (s EncryptionConfiguration) String() string
String returns the string representation
type Error ¶
type Error struct { Code *string `type:"string"` Key *string `min:"1" type:"string"` Message *string `type:"string"` VersionId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Error
func (Error) MarshalFields ¶ added in v0.3.0
func (s Error) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type ErrorDocument ¶
type ErrorDocument struct { // The object key name to use when a 4XX class error occurs. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDocument
func (ErrorDocument) GoString ¶
func (s ErrorDocument) GoString() string
GoString returns the string representation
func (ErrorDocument) MarshalFields ¶ added in v0.3.0
func (s ErrorDocument) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ErrorDocument) String ¶
func (s ErrorDocument) String() string
String returns the string representation
func (*ErrorDocument) Validate ¶
func (s *ErrorDocument) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Event ¶
type Event string
The bucket event for which to send notifications.
const ( EventS3ReducedRedundancyLostObject Event = "s3:ReducedRedundancyLostObject" EventS3ObjectCreated Event = "s3:ObjectCreated:*" EventS3ObjectCreatedPut Event = "s3:ObjectCreated:Put" EventS3ObjectCreatedPost Event = "s3:ObjectCreated:Post" EventS3ObjectCreatedCopy Event = "s3:ObjectCreated:Copy" EventS3ObjectCreatedCompleteMultipartUpload Event = "s3:ObjectCreated:CompleteMultipartUpload" EventS3ObjectRemoved Event = "s3:ObjectRemoved:*" EventS3ObjectRemovedDelete Event = "s3:ObjectRemoved:Delete" EventS3ObjectRemovedDeleteMarkerCreated Event = "s3:ObjectRemoved:DeleteMarkerCreated" EventS3ObjectRestorePost Event = "s3:ObjectRestore:Post" EventS3ObjectRestoreCompleted Event = "s3:ObjectRestore:Completed" )
Enum values for Event
func (Event) MarshalValue ¶ added in v0.3.0
type ExpirationStatus ¶
type ExpirationStatus string
const ( ExpirationStatusEnabled ExpirationStatus = "Enabled" ExpirationStatusDisabled ExpirationStatus = "Disabled" )
Enum values for ExpirationStatus
func (ExpirationStatus) MarshalValue ¶ added in v0.3.0
func (enum ExpirationStatus) MarshalValue() (string, error)
func (ExpirationStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum ExpirationStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ExpressionType ¶ added in v0.2.0
type ExpressionType string
const (
ExpressionTypeSql ExpressionType = "SQL"
)
Enum values for ExpressionType
func (ExpressionType) MarshalValue ¶ added in v0.3.0
func (enum ExpressionType) MarshalValue() (string, error)
func (ExpressionType) MarshalValueBuf ¶ added in v0.3.0
func (enum ExpressionType) MarshalValueBuf(b []byte) ([]byte, error)
type FileHeaderInfo ¶ added in v0.2.0
type FileHeaderInfo string
const ( FileHeaderInfoUse FileHeaderInfo = "USE" FileHeaderInfoIgnore FileHeaderInfo = "IGNORE" FileHeaderInfoNone FileHeaderInfo = "NONE" )
Enum values for FileHeaderInfo
func (FileHeaderInfo) MarshalValue ¶ added in v0.3.0
func (enum FileHeaderInfo) MarshalValue() (string, error)
func (FileHeaderInfo) MarshalValueBuf ¶ added in v0.3.0
func (enum FileHeaderInfo) MarshalValueBuf(b []byte) ([]byte, error)
type FilterRule ¶
type FilterRule struct { // The object key name prefix or suffix identifying one or more objects to which // the filtering rule applies. The maximum prefix length is 1,024 characters. // Overlapping prefixes and suffixes are not supported. For more information, // see Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) // in the Amazon Simple Storage Service Developer Guide. Name FilterRuleName `type:"string" enum:"true"` Value *string `type:"string"` // contains filtered or unexported fields }
A container for a key value pair that defines the criteria for the filter rule. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/FilterRule
func (FilterRule) GoString ¶
func (s FilterRule) GoString() string
GoString returns the string representation
func (FilterRule) MarshalFields ¶ added in v0.3.0
func (s FilterRule) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FilterRule) String ¶
func (s FilterRule) String() string
String returns the string representation
type FilterRuleName ¶
type FilterRuleName string
const ( FilterRuleNamePrefix FilterRuleName = "prefix" FilterRuleNameSuffix FilterRuleName = "suffix" )
Enum values for FilterRuleName
func (FilterRuleName) MarshalValue ¶ added in v0.3.0
func (enum FilterRuleName) MarshalValue() (string, error)
func (FilterRuleName) MarshalValueBuf ¶ added in v0.3.0
func (enum FilterRuleName) MarshalValueBuf(b []byte) ([]byte, error)
type GetBucketAccelerateConfigurationInput ¶
type GetBucketAccelerateConfigurationInput struct { // Name of the bucket for which the accelerate configuration is retrieved. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfigurationRequest
func (GetBucketAccelerateConfigurationInput) GoString ¶
func (s GetBucketAccelerateConfigurationInput) GoString() string
GoString returns the string representation
func (GetBucketAccelerateConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketAccelerateConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketAccelerateConfigurationInput) String ¶
func (s GetBucketAccelerateConfigurationInput) String() string
String returns the string representation
func (*GetBucketAccelerateConfigurationInput) Validate ¶
func (s *GetBucketAccelerateConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketAccelerateConfigurationOutput ¶
type GetBucketAccelerateConfigurationOutput struct { // The accelerate configuration of the bucket. Status BucketAccelerateStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfigurationOutput
func (GetBucketAccelerateConfigurationOutput) GoString ¶
func (s GetBucketAccelerateConfigurationOutput) GoString() string
GoString returns the string representation
func (GetBucketAccelerateConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketAccelerateConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketAccelerateConfigurationOutput) SDKResponseMetadata ¶
func (s GetBucketAccelerateConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketAccelerateConfigurationOutput) String ¶
func (s GetBucketAccelerateConfigurationOutput) String() string
String returns the string representation
type GetBucketAccelerateConfigurationRequest ¶
type GetBucketAccelerateConfigurationRequest struct { *aws.Request Input *GetBucketAccelerateConfigurationInput Copy func(*GetBucketAccelerateConfigurationInput) GetBucketAccelerateConfigurationRequest }
GetBucketAccelerateConfigurationRequest is a API request type for the GetBucketAccelerateConfiguration API operation.
func (GetBucketAccelerateConfigurationRequest) Send ¶
func (r GetBucketAccelerateConfigurationRequest) Send() (*GetBucketAccelerateConfigurationOutput, error)
Send marshals and sends the GetBucketAccelerateConfiguration API request.
type GetBucketAclInput ¶
type GetBucketAclInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAclRequest
func (GetBucketAclInput) GoString ¶
func (s GetBucketAclInput) GoString() string
GoString returns the string representation
func (GetBucketAclInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketAclInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketAclInput) String ¶
func (s GetBucketAclInput) String() string
String returns the string representation
func (*GetBucketAclInput) Validate ¶
func (s *GetBucketAclInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketAclOutput ¶
type GetBucketAclOutput struct { // A list of grants. Grants []Grant `locationName:"AccessControlList" locationNameList:"Grant" type:"list"` Owner *Owner `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAclOutput
func (GetBucketAclOutput) GoString ¶
func (s GetBucketAclOutput) GoString() string
GoString returns the string representation
func (GetBucketAclOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketAclOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketAclOutput) SDKResponseMetadata ¶
func (s GetBucketAclOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketAclOutput) String ¶
func (s GetBucketAclOutput) String() string
String returns the string representation
type GetBucketAclRequest ¶
type GetBucketAclRequest struct { *aws.Request Input *GetBucketAclInput Copy func(*GetBucketAclInput) GetBucketAclRequest }
GetBucketAclRequest is a API request type for the GetBucketAcl API operation.
func (GetBucketAclRequest) Send ¶
func (r GetBucketAclRequest) Send() (*GetBucketAclOutput, error)
Send marshals and sends the GetBucketAcl API request.
type GetBucketAnalyticsConfigurationInput ¶
type GetBucketAnalyticsConfigurationInput struct { // The name of the bucket from which an analytics configuration is retrieved. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The identifier used to represent an analytics configuration. // // Id is a required field Id *string `location:"querystring" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfigurationRequest
func (GetBucketAnalyticsConfigurationInput) GoString ¶
func (s GetBucketAnalyticsConfigurationInput) GoString() string
GoString returns the string representation
func (GetBucketAnalyticsConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketAnalyticsConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketAnalyticsConfigurationInput) String ¶
func (s GetBucketAnalyticsConfigurationInput) String() string
String returns the string representation
func (*GetBucketAnalyticsConfigurationInput) Validate ¶
func (s *GetBucketAnalyticsConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketAnalyticsConfigurationOutput ¶
type GetBucketAnalyticsConfigurationOutput struct { // The configuration and any analyses for the analytics filter. AnalyticsConfiguration *AnalyticsConfiguration `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfigurationOutput
func (GetBucketAnalyticsConfigurationOutput) GoString ¶
func (s GetBucketAnalyticsConfigurationOutput) GoString() string
GoString returns the string representation
func (GetBucketAnalyticsConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketAnalyticsConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketAnalyticsConfigurationOutput) SDKResponseMetadata ¶
func (s GetBucketAnalyticsConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketAnalyticsConfigurationOutput) String ¶
func (s GetBucketAnalyticsConfigurationOutput) String() string
String returns the string representation
type GetBucketAnalyticsConfigurationRequest ¶
type GetBucketAnalyticsConfigurationRequest struct { *aws.Request Input *GetBucketAnalyticsConfigurationInput Copy func(*GetBucketAnalyticsConfigurationInput) GetBucketAnalyticsConfigurationRequest }
GetBucketAnalyticsConfigurationRequest is a API request type for the GetBucketAnalyticsConfiguration API operation.
func (GetBucketAnalyticsConfigurationRequest) Send ¶
func (r GetBucketAnalyticsConfigurationRequest) Send() (*GetBucketAnalyticsConfigurationOutput, error)
Send marshals and sends the GetBucketAnalyticsConfiguration API request.
type GetBucketCorsInput ¶
type GetBucketCorsInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCorsRequest
func (GetBucketCorsInput) GoString ¶
func (s GetBucketCorsInput) GoString() string
GoString returns the string representation
func (GetBucketCorsInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketCorsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketCorsInput) String ¶
func (s GetBucketCorsInput) String() string
String returns the string representation
func (*GetBucketCorsInput) Validate ¶
func (s *GetBucketCorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketCorsOutput ¶
type GetBucketCorsOutput struct { CORSRules []CORSRule `locationName:"CORSRule" type:"list" flattened:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCorsOutput
func (GetBucketCorsOutput) GoString ¶
func (s GetBucketCorsOutput) GoString() string
GoString returns the string representation
func (GetBucketCorsOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketCorsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketCorsOutput) SDKResponseMetadata ¶
func (s GetBucketCorsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketCorsOutput) String ¶
func (s GetBucketCorsOutput) String() string
String returns the string representation
type GetBucketCorsRequest ¶
type GetBucketCorsRequest struct { *aws.Request Input *GetBucketCorsInput Copy func(*GetBucketCorsInput) GetBucketCorsRequest }
GetBucketCorsRequest is a API request type for the GetBucketCors API operation.
func (GetBucketCorsRequest) Send ¶
func (r GetBucketCorsRequest) Send() (*GetBucketCorsOutput, error)
Send marshals and sends the GetBucketCors API request.
type GetBucketEncryptionInput ¶ added in v0.2.0
type GetBucketEncryptionInput struct { // The name of the bucket from which the server-side encryption configuration // is retrieved. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryptionRequest
func (GetBucketEncryptionInput) GoString ¶ added in v0.2.0
func (s GetBucketEncryptionInput) GoString() string
GoString returns the string representation
func (GetBucketEncryptionInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketEncryptionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketEncryptionInput) String ¶ added in v0.2.0
func (s GetBucketEncryptionInput) String() string
String returns the string representation
func (*GetBucketEncryptionInput) Validate ¶ added in v0.2.0
func (s *GetBucketEncryptionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketEncryptionOutput ¶ added in v0.2.0
type GetBucketEncryptionOutput struct { // Container for server-side encryption configuration rules. Currently S3 supports // one rule only. ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryptionOutput
func (GetBucketEncryptionOutput) GoString ¶ added in v0.2.0
func (s GetBucketEncryptionOutput) GoString() string
GoString returns the string representation
func (GetBucketEncryptionOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketEncryptionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketEncryptionOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s GetBucketEncryptionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketEncryptionOutput) String ¶ added in v0.2.0
func (s GetBucketEncryptionOutput) String() string
String returns the string representation
type GetBucketEncryptionRequest ¶ added in v0.2.0
type GetBucketEncryptionRequest struct { *aws.Request Input *GetBucketEncryptionInput Copy func(*GetBucketEncryptionInput) GetBucketEncryptionRequest }
GetBucketEncryptionRequest is a API request type for the GetBucketEncryption API operation.
func (GetBucketEncryptionRequest) Send ¶ added in v0.2.0
func (r GetBucketEncryptionRequest) Send() (*GetBucketEncryptionOutput, error)
Send marshals and sends the GetBucketEncryption API request.
type GetBucketInventoryConfigurationInput ¶
type GetBucketInventoryConfigurationInput struct { // The name of the bucket containing the inventory configuration to retrieve. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The ID used to identify the inventory configuration. // // Id is a required field Id *string `location:"querystring" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfigurationRequest
func (GetBucketInventoryConfigurationInput) GoString ¶
func (s GetBucketInventoryConfigurationInput) GoString() string
GoString returns the string representation
func (GetBucketInventoryConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketInventoryConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketInventoryConfigurationInput) String ¶
func (s GetBucketInventoryConfigurationInput) String() string
String returns the string representation
func (*GetBucketInventoryConfigurationInput) Validate ¶
func (s *GetBucketInventoryConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketInventoryConfigurationOutput ¶
type GetBucketInventoryConfigurationOutput struct { // Specifies the inventory configuration. InventoryConfiguration *InventoryConfiguration `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfigurationOutput
func (GetBucketInventoryConfigurationOutput) GoString ¶
func (s GetBucketInventoryConfigurationOutput) GoString() string
GoString returns the string representation
func (GetBucketInventoryConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketInventoryConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketInventoryConfigurationOutput) SDKResponseMetadata ¶
func (s GetBucketInventoryConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketInventoryConfigurationOutput) String ¶
func (s GetBucketInventoryConfigurationOutput) String() string
String returns the string representation
type GetBucketInventoryConfigurationRequest ¶
type GetBucketInventoryConfigurationRequest struct { *aws.Request Input *GetBucketInventoryConfigurationInput Copy func(*GetBucketInventoryConfigurationInput) GetBucketInventoryConfigurationRequest }
GetBucketInventoryConfigurationRequest is a API request type for the GetBucketInventoryConfiguration API operation.
func (GetBucketInventoryConfigurationRequest) Send ¶
func (r GetBucketInventoryConfigurationRequest) Send() (*GetBucketInventoryConfigurationOutput, error)
Send marshals and sends the GetBucketInventoryConfiguration API request.
type GetBucketLifecycleConfigurationInput ¶
type GetBucketLifecycleConfigurationInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationRequest
func (GetBucketLifecycleConfigurationInput) GoString ¶
func (s GetBucketLifecycleConfigurationInput) GoString() string
GoString returns the string representation
func (GetBucketLifecycleConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketLifecycleConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketLifecycleConfigurationInput) String ¶
func (s GetBucketLifecycleConfigurationInput) String() string
String returns the string representation
func (*GetBucketLifecycleConfigurationInput) Validate ¶
func (s *GetBucketLifecycleConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketLifecycleConfigurationOutput ¶
type GetBucketLifecycleConfigurationOutput struct { Rules []LifecycleRule `locationName:"Rule" type:"list" flattened:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationOutput
func (GetBucketLifecycleConfigurationOutput) GoString ¶
func (s GetBucketLifecycleConfigurationOutput) GoString() string
GoString returns the string representation
func (GetBucketLifecycleConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketLifecycleConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketLifecycleConfigurationOutput) SDKResponseMetadata ¶
func (s GetBucketLifecycleConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketLifecycleConfigurationOutput) String ¶
func (s GetBucketLifecycleConfigurationOutput) String() string
String returns the string representation
type GetBucketLifecycleConfigurationRequest ¶
type GetBucketLifecycleConfigurationRequest struct { *aws.Request Input *GetBucketLifecycleConfigurationInput Copy func(*GetBucketLifecycleConfigurationInput) GetBucketLifecycleConfigurationRequest }
GetBucketLifecycleConfigurationRequest is a API request type for the GetBucketLifecycleConfiguration API operation.
func (GetBucketLifecycleConfigurationRequest) Send ¶
func (r GetBucketLifecycleConfigurationRequest) Send() (*GetBucketLifecycleConfigurationOutput, error)
Send marshals and sends the GetBucketLifecycleConfiguration API request.
type GetBucketLifecycleInput ¶
type GetBucketLifecycleInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleRequest
func (GetBucketLifecycleInput) GoString ¶
func (s GetBucketLifecycleInput) GoString() string
GoString returns the string representation
func (GetBucketLifecycleInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketLifecycleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketLifecycleInput) String ¶
func (s GetBucketLifecycleInput) String() string
String returns the string representation
func (*GetBucketLifecycleInput) Validate ¶
func (s *GetBucketLifecycleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketLifecycleOutput ¶
type GetBucketLifecycleOutput struct { Rules []Rule `locationName:"Rule" type:"list" flattened:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleOutput
func (GetBucketLifecycleOutput) GoString ¶
func (s GetBucketLifecycleOutput) GoString() string
GoString returns the string representation
func (GetBucketLifecycleOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketLifecycleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketLifecycleOutput) SDKResponseMetadata ¶
func (s GetBucketLifecycleOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketLifecycleOutput) String ¶
func (s GetBucketLifecycleOutput) String() string
String returns the string representation
type GetBucketLifecycleRequest ¶
type GetBucketLifecycleRequest struct { *aws.Request Input *GetBucketLifecycleInput Copy func(*GetBucketLifecycleInput) GetBucketLifecycleRequest }
GetBucketLifecycleRequest is a API request type for the GetBucketLifecycle API operation.
func (GetBucketLifecycleRequest) Send ¶
func (r GetBucketLifecycleRequest) Send() (*GetBucketLifecycleOutput, error)
Send marshals and sends the GetBucketLifecycle API request.
type GetBucketLocationInput ¶
type GetBucketLocationInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocationRequest
func (GetBucketLocationInput) GoString ¶
func (s GetBucketLocationInput) GoString() string
GoString returns the string representation
func (GetBucketLocationInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketLocationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketLocationInput) String ¶
func (s GetBucketLocationInput) String() string
String returns the string representation
func (*GetBucketLocationInput) Validate ¶
func (s *GetBucketLocationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketLocationOutput ¶
type GetBucketLocationOutput struct { LocationConstraint BucketLocationConstraint `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocationOutput
func (GetBucketLocationOutput) GoString ¶
func (s GetBucketLocationOutput) GoString() string
GoString returns the string representation
func (GetBucketLocationOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketLocationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketLocationOutput) SDKResponseMetadata ¶
func (s GetBucketLocationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketLocationOutput) String ¶
func (s GetBucketLocationOutput) String() string
String returns the string representation
type GetBucketLocationRequest ¶
type GetBucketLocationRequest struct { *aws.Request Input *GetBucketLocationInput Copy func(*GetBucketLocationInput) GetBucketLocationRequest }
GetBucketLocationRequest is a API request type for the GetBucketLocation API operation.
func (GetBucketLocationRequest) Send ¶
func (r GetBucketLocationRequest) Send() (*GetBucketLocationOutput, error)
Send marshals and sends the GetBucketLocation API request.
type GetBucketLoggingInput ¶
type GetBucketLoggingInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLoggingRequest
func (GetBucketLoggingInput) GoString ¶
func (s GetBucketLoggingInput) GoString() string
GoString returns the string representation
func (GetBucketLoggingInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketLoggingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketLoggingInput) String ¶
func (s GetBucketLoggingInput) String() string
String returns the string representation
func (*GetBucketLoggingInput) Validate ¶
func (s *GetBucketLoggingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketLoggingOutput ¶
type GetBucketLoggingOutput struct { // Container for logging information. Presence of this element indicates that // logging is enabled. Parameters TargetBucket and TargetPrefix are required // in this case. LoggingEnabled *LoggingEnabled `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLoggingOutput
func (GetBucketLoggingOutput) GoString ¶
func (s GetBucketLoggingOutput) GoString() string
GoString returns the string representation
func (GetBucketLoggingOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketLoggingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketLoggingOutput) SDKResponseMetadata ¶
func (s GetBucketLoggingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketLoggingOutput) String ¶
func (s GetBucketLoggingOutput) String() string
String returns the string representation
type GetBucketLoggingRequest ¶
type GetBucketLoggingRequest struct { *aws.Request Input *GetBucketLoggingInput Copy func(*GetBucketLoggingInput) GetBucketLoggingRequest }
GetBucketLoggingRequest is a API request type for the GetBucketLogging API operation.
func (GetBucketLoggingRequest) Send ¶
func (r GetBucketLoggingRequest) Send() (*GetBucketLoggingOutput, error)
Send marshals and sends the GetBucketLogging API request.
type GetBucketMetricsConfigurationInput ¶
type GetBucketMetricsConfigurationInput struct { // The name of the bucket containing the metrics configuration to retrieve. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The ID used to identify the metrics configuration. // // Id is a required field Id *string `location:"querystring" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfigurationRequest
func (GetBucketMetricsConfigurationInput) GoString ¶
func (s GetBucketMetricsConfigurationInput) GoString() string
GoString returns the string representation
func (GetBucketMetricsConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketMetricsConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketMetricsConfigurationInput) String ¶
func (s GetBucketMetricsConfigurationInput) String() string
String returns the string representation
func (*GetBucketMetricsConfigurationInput) Validate ¶
func (s *GetBucketMetricsConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketMetricsConfigurationOutput ¶
type GetBucketMetricsConfigurationOutput struct { // Specifies the metrics configuration. MetricsConfiguration *MetricsConfiguration `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfigurationOutput
func (GetBucketMetricsConfigurationOutput) GoString ¶
func (s GetBucketMetricsConfigurationOutput) GoString() string
GoString returns the string representation
func (GetBucketMetricsConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketMetricsConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketMetricsConfigurationOutput) SDKResponseMetadata ¶
func (s GetBucketMetricsConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketMetricsConfigurationOutput) String ¶
func (s GetBucketMetricsConfigurationOutput) String() string
String returns the string representation
type GetBucketMetricsConfigurationRequest ¶
type GetBucketMetricsConfigurationRequest struct { *aws.Request Input *GetBucketMetricsConfigurationInput Copy func(*GetBucketMetricsConfigurationInput) GetBucketMetricsConfigurationRequest }
GetBucketMetricsConfigurationRequest is a API request type for the GetBucketMetricsConfiguration API operation.
func (GetBucketMetricsConfigurationRequest) Send ¶
func (r GetBucketMetricsConfigurationRequest) Send() (*GetBucketMetricsConfigurationOutput, error)
Send marshals and sends the GetBucketMetricsConfiguration API request.
type GetBucketNotificationConfigurationInput ¶
type GetBucketNotificationConfigurationInput struct { // Name of the bucket to get the notification configuration for. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationInput
func (GetBucketNotificationConfigurationInput) GoString ¶
func (s GetBucketNotificationConfigurationInput) GoString() string
GoString returns the string representation
func (GetBucketNotificationConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketNotificationConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketNotificationConfigurationInput) String ¶
func (s GetBucketNotificationConfigurationInput) String() string
String returns the string representation
func (*GetBucketNotificationConfigurationInput) Validate ¶
func (s *GetBucketNotificationConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketNotificationConfigurationOutput ¶
type GetBucketNotificationConfigurationOutput struct { LambdaFunctionConfigurations []LambdaFunctionConfiguration `locationName:"CloudFunctionConfiguration" type:"list" flattened:"true"` QueueConfigurations []QueueConfiguration `locationName:"QueueConfiguration" type:"list" flattened:"true"` TopicConfigurations []TopicConfiguration `locationName:"TopicConfiguration" type:"list" flattened:"true"` // contains filtered or unexported fields }
A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfiguration
func (GetBucketNotificationConfigurationOutput) GoString ¶
func (s GetBucketNotificationConfigurationOutput) GoString() string
GoString returns the string representation
func (GetBucketNotificationConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketNotificationConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketNotificationConfigurationOutput) SDKResponseMetadata ¶
func (s GetBucketNotificationConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketNotificationConfigurationOutput) String ¶
func (s GetBucketNotificationConfigurationOutput) String() string
String returns the string representation
func (*GetBucketNotificationConfigurationOutput) Validate ¶
func (s *GetBucketNotificationConfigurationOutput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketNotificationConfigurationRequest ¶
type GetBucketNotificationConfigurationRequest struct { *aws.Request Input *GetBucketNotificationConfigurationInput Copy func(*GetBucketNotificationConfigurationInput) GetBucketNotificationConfigurationRequest }
GetBucketNotificationConfigurationRequest is a API request type for the GetBucketNotificationConfiguration API operation.
func (GetBucketNotificationConfigurationRequest) Send ¶
func (r GetBucketNotificationConfigurationRequest) Send() (*GetBucketNotificationConfigurationOutput, error)
Send marshals and sends the GetBucketNotificationConfiguration API request.
type GetBucketNotificationOutput ¶
type GetBucketNotificationOutput struct { CloudFunctionConfiguration *CloudFunctionConfiguration `type:"structure"` QueueConfiguration *QueueConfigurationDeprecated `type:"structure"` TopicConfiguration *TopicConfigurationDeprecated `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfigurationDeprecated
func (GetBucketNotificationOutput) GoString ¶
func (s GetBucketNotificationOutput) GoString() string
GoString returns the string representation
func (GetBucketNotificationOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketNotificationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketNotificationOutput) SDKResponseMetadata ¶
func (s GetBucketNotificationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketNotificationOutput) String ¶
func (s GetBucketNotificationOutput) String() string
String returns the string representation
type GetBucketNotificationRequest ¶
type GetBucketNotificationRequest struct { *aws.Request Input *GetBucketNotificationConfigurationInput Copy func(*GetBucketNotificationConfigurationInput) GetBucketNotificationRequest }
GetBucketNotificationRequest is a API request type for the GetBucketNotification API operation.
func (GetBucketNotificationRequest) Send ¶
func (r GetBucketNotificationRequest) Send() (*GetBucketNotificationOutput, error)
Send marshals and sends the GetBucketNotification API request.
type GetBucketPolicyInput ¶
type GetBucketPolicyInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyRequest
func (GetBucketPolicyInput) GoString ¶
func (s GetBucketPolicyInput) GoString() string
GoString returns the string representation
func (GetBucketPolicyInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketPolicyInput) String ¶
func (s GetBucketPolicyInput) String() string
String returns the string representation
func (*GetBucketPolicyInput) Validate ¶
func (s *GetBucketPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketPolicyOutput ¶
type GetBucketPolicyOutput struct { // The bucket policy as a JSON document. Policy *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyOutput
func (GetBucketPolicyOutput) GoString ¶
func (s GetBucketPolicyOutput) GoString() string
GoString returns the string representation
func (GetBucketPolicyOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketPolicyOutput) SDKResponseMetadata ¶
func (s GetBucketPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketPolicyOutput) String ¶
func (s GetBucketPolicyOutput) String() string
String returns the string representation
type GetBucketPolicyRequest ¶
type GetBucketPolicyRequest struct { *aws.Request Input *GetBucketPolicyInput Copy func(*GetBucketPolicyInput) GetBucketPolicyRequest }
GetBucketPolicyRequest is a API request type for the GetBucketPolicy API operation.
func (GetBucketPolicyRequest) Send ¶
func (r GetBucketPolicyRequest) Send() (*GetBucketPolicyOutput, error)
Send marshals and sends the GetBucketPolicy API request.
type GetBucketPolicyStatusInput ¶ added in v0.6.0
type GetBucketPolicyStatusInput struct { // The name of the Amazon S3 bucket whose policy status you want to retrieve. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyStatusRequest
func (GetBucketPolicyStatusInput) GoString ¶ added in v0.6.0
func (s GetBucketPolicyStatusInput) GoString() string
GoString returns the string representation
func (GetBucketPolicyStatusInput) MarshalFields ¶ added in v0.6.0
func (s GetBucketPolicyStatusInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketPolicyStatusInput) String ¶ added in v0.6.0
func (s GetBucketPolicyStatusInput) String() string
String returns the string representation
func (*GetBucketPolicyStatusInput) Validate ¶ added in v0.6.0
func (s *GetBucketPolicyStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketPolicyStatusOutput ¶ added in v0.6.0
type GetBucketPolicyStatusOutput struct { // The policy status for the specified bucket. PolicyStatus *PolicyStatus `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyStatusOutput
func (GetBucketPolicyStatusOutput) GoString ¶ added in v0.6.0
func (s GetBucketPolicyStatusOutput) GoString() string
GoString returns the string representation
func (GetBucketPolicyStatusOutput) MarshalFields ¶ added in v0.6.0
func (s GetBucketPolicyStatusOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketPolicyStatusOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s GetBucketPolicyStatusOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketPolicyStatusOutput) String ¶ added in v0.6.0
func (s GetBucketPolicyStatusOutput) String() string
String returns the string representation
type GetBucketPolicyStatusRequest ¶ added in v0.6.0
type GetBucketPolicyStatusRequest struct { *aws.Request Input *GetBucketPolicyStatusInput Copy func(*GetBucketPolicyStatusInput) GetBucketPolicyStatusRequest }
GetBucketPolicyStatusRequest is a API request type for the GetBucketPolicyStatus API operation.
func (GetBucketPolicyStatusRequest) Send ¶ added in v0.6.0
func (r GetBucketPolicyStatusRequest) Send() (*GetBucketPolicyStatusOutput, error)
Send marshals and sends the GetBucketPolicyStatus API request.
type GetBucketReplicationInput ¶
type GetBucketReplicationInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplicationRequest
func (GetBucketReplicationInput) GoString ¶
func (s GetBucketReplicationInput) GoString() string
GoString returns the string representation
func (GetBucketReplicationInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketReplicationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketReplicationInput) String ¶
func (s GetBucketReplicationInput) String() string
String returns the string representation
func (*GetBucketReplicationInput) Validate ¶
func (s *GetBucketReplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketReplicationOutput ¶
type GetBucketReplicationOutput struct { // A container for replication rules. You can add up to 1,000 rules. The maximum // size of a replication configuration is 2 MB. ReplicationConfiguration *ReplicationConfiguration `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplicationOutput
func (GetBucketReplicationOutput) GoString ¶
func (s GetBucketReplicationOutput) GoString() string
GoString returns the string representation
func (GetBucketReplicationOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketReplicationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketReplicationOutput) SDKResponseMetadata ¶
func (s GetBucketReplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketReplicationOutput) String ¶
func (s GetBucketReplicationOutput) String() string
String returns the string representation
type GetBucketReplicationRequest ¶
type GetBucketReplicationRequest struct { *aws.Request Input *GetBucketReplicationInput Copy func(*GetBucketReplicationInput) GetBucketReplicationRequest }
GetBucketReplicationRequest is a API request type for the GetBucketReplication API operation.
func (GetBucketReplicationRequest) Send ¶
func (r GetBucketReplicationRequest) Send() (*GetBucketReplicationOutput, error)
Send marshals and sends the GetBucketReplication API request.
type GetBucketRequestPaymentInput ¶
type GetBucketRequestPaymentInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPaymentRequest
func (GetBucketRequestPaymentInput) GoString ¶
func (s GetBucketRequestPaymentInput) GoString() string
GoString returns the string representation
func (GetBucketRequestPaymentInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketRequestPaymentInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketRequestPaymentInput) String ¶
func (s GetBucketRequestPaymentInput) String() string
String returns the string representation
func (*GetBucketRequestPaymentInput) Validate ¶
func (s *GetBucketRequestPaymentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketRequestPaymentOutput ¶
type GetBucketRequestPaymentOutput struct { // Specifies who pays for the download and request fees. Payer Payer `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPaymentOutput
func (GetBucketRequestPaymentOutput) GoString ¶
func (s GetBucketRequestPaymentOutput) GoString() string
GoString returns the string representation
func (GetBucketRequestPaymentOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketRequestPaymentOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketRequestPaymentOutput) SDKResponseMetadata ¶
func (s GetBucketRequestPaymentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketRequestPaymentOutput) String ¶
func (s GetBucketRequestPaymentOutput) String() string
String returns the string representation
type GetBucketRequestPaymentRequest ¶
type GetBucketRequestPaymentRequest struct { *aws.Request Input *GetBucketRequestPaymentInput Copy func(*GetBucketRequestPaymentInput) GetBucketRequestPaymentRequest }
GetBucketRequestPaymentRequest is a API request type for the GetBucketRequestPayment API operation.
func (GetBucketRequestPaymentRequest) Send ¶
func (r GetBucketRequestPaymentRequest) Send() (*GetBucketRequestPaymentOutput, error)
Send marshals and sends the GetBucketRequestPayment API request.
type GetBucketTaggingInput ¶
type GetBucketTaggingInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTaggingRequest
func (GetBucketTaggingInput) GoString ¶
func (s GetBucketTaggingInput) GoString() string
GoString returns the string representation
func (GetBucketTaggingInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketTaggingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketTaggingInput) String ¶
func (s GetBucketTaggingInput) String() string
String returns the string representation
func (*GetBucketTaggingInput) Validate ¶
func (s *GetBucketTaggingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketTaggingOutput ¶
type GetBucketTaggingOutput struct { // TagSet is a required field TagSet []Tag `locationNameList:"Tag" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTaggingOutput
func (GetBucketTaggingOutput) GoString ¶
func (s GetBucketTaggingOutput) GoString() string
GoString returns the string representation
func (GetBucketTaggingOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketTaggingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketTaggingOutput) SDKResponseMetadata ¶
func (s GetBucketTaggingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketTaggingOutput) String ¶
func (s GetBucketTaggingOutput) String() string
String returns the string representation
type GetBucketTaggingRequest ¶
type GetBucketTaggingRequest struct { *aws.Request Input *GetBucketTaggingInput Copy func(*GetBucketTaggingInput) GetBucketTaggingRequest }
GetBucketTaggingRequest is a API request type for the GetBucketTagging API operation.
func (GetBucketTaggingRequest) Send ¶
func (r GetBucketTaggingRequest) Send() (*GetBucketTaggingOutput, error)
Send marshals and sends the GetBucketTagging API request.
type GetBucketVersioningInput ¶
type GetBucketVersioningInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioningRequest
func (GetBucketVersioningInput) GoString ¶
func (s GetBucketVersioningInput) GoString() string
GoString returns the string representation
func (GetBucketVersioningInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketVersioningInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketVersioningInput) String ¶
func (s GetBucketVersioningInput) String() string
String returns the string representation
func (*GetBucketVersioningInput) Validate ¶
func (s *GetBucketVersioningInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketVersioningOutput ¶
type GetBucketVersioningOutput struct { // Specifies whether MFA delete is enabled in the bucket versioning configuration. // This element is only returned if the bucket has been configured with MFA // delete. If the bucket has never been so configured, this element is not returned. MFADelete MFADeleteStatus `locationName:"MfaDelete" type:"string" enum:"true"` // The versioning state of the bucket. Status BucketVersioningStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioningOutput
func (GetBucketVersioningOutput) GoString ¶
func (s GetBucketVersioningOutput) GoString() string
GoString returns the string representation
func (GetBucketVersioningOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketVersioningOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketVersioningOutput) SDKResponseMetadata ¶
func (s GetBucketVersioningOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketVersioningOutput) String ¶
func (s GetBucketVersioningOutput) String() string
String returns the string representation
type GetBucketVersioningRequest ¶
type GetBucketVersioningRequest struct { *aws.Request Input *GetBucketVersioningInput Copy func(*GetBucketVersioningInput) GetBucketVersioningRequest }
GetBucketVersioningRequest is a API request type for the GetBucketVersioning API operation.
func (GetBucketVersioningRequest) Send ¶
func (r GetBucketVersioningRequest) Send() (*GetBucketVersioningOutput, error)
Send marshals and sends the GetBucketVersioning API request.
type GetBucketWebsiteInput ¶
type GetBucketWebsiteInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsiteRequest
func (GetBucketWebsiteInput) GoString ¶
func (s GetBucketWebsiteInput) GoString() string
GoString returns the string representation
func (GetBucketWebsiteInput) MarshalFields ¶ added in v0.3.0
func (s GetBucketWebsiteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketWebsiteInput) String ¶
func (s GetBucketWebsiteInput) String() string
String returns the string representation
func (*GetBucketWebsiteInput) Validate ¶
func (s *GetBucketWebsiteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBucketWebsiteOutput ¶
type GetBucketWebsiteOutput struct { ErrorDocument *ErrorDocument `type:"structure"` IndexDocument *IndexDocument `type:"structure"` RedirectAllRequestsTo *RedirectAllRequestsTo `type:"structure"` RoutingRules []RoutingRule `locationNameList:"RoutingRule" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsiteOutput
func (GetBucketWebsiteOutput) GoString ¶
func (s GetBucketWebsiteOutput) GoString() string
GoString returns the string representation
func (GetBucketWebsiteOutput) MarshalFields ¶ added in v0.3.0
func (s GetBucketWebsiteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetBucketWebsiteOutput) SDKResponseMetadata ¶
func (s GetBucketWebsiteOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetBucketWebsiteOutput) String ¶
func (s GetBucketWebsiteOutput) String() string
String returns the string representation
type GetBucketWebsiteRequest ¶
type GetBucketWebsiteRequest struct { *aws.Request Input *GetBucketWebsiteInput Copy func(*GetBucketWebsiteInput) GetBucketWebsiteRequest }
GetBucketWebsiteRequest is a API request type for the GetBucketWebsite API operation.
func (GetBucketWebsiteRequest) Send ¶
func (r GetBucketWebsiteRequest) Send() (*GetBucketWebsiteOutput, error)
Send marshals and sends the GetBucketWebsite API request.
type GetObjectAclInput ¶
type GetObjectAclInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // VersionId used to reference a specific version of the object. VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAclRequest
func (GetObjectAclInput) GoString ¶
func (s GetObjectAclInput) GoString() string
GoString returns the string representation
func (GetObjectAclInput) MarshalFields ¶ added in v0.3.0
func (s GetObjectAclInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectAclInput) String ¶
func (s GetObjectAclInput) String() string
String returns the string representation
func (*GetObjectAclInput) Validate ¶
func (s *GetObjectAclInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetObjectAclOutput ¶
type GetObjectAclOutput struct { // A list of grants. Grants []Grant `locationName:"AccessControlList" locationNameList:"Grant" type:"list"` Owner *Owner `type:"structure"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAclOutput
func (GetObjectAclOutput) GoString ¶
func (s GetObjectAclOutput) GoString() string
GoString returns the string representation
func (GetObjectAclOutput) MarshalFields ¶ added in v0.3.0
func (s GetObjectAclOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectAclOutput) SDKResponseMetadata ¶
func (s GetObjectAclOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetObjectAclOutput) String ¶
func (s GetObjectAclOutput) String() string
String returns the string representation
type GetObjectAclRequest ¶
type GetObjectAclRequest struct { *aws.Request Input *GetObjectAclInput Copy func(*GetObjectAclInput) GetObjectAclRequest }
GetObjectAclRequest is a API request type for the GetObjectAcl API operation.
func (GetObjectAclRequest) Send ¶
func (r GetObjectAclRequest) Send() (*GetObjectAclOutput, error)
Send marshals and sends the GetObjectAcl API request.
type GetObjectInput ¶
type GetObjectInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Return the object only if its entity tag (ETag) is the same as the one specified, // otherwise return a 412 (precondition failed). IfMatch *string `location:"header" locationName:"If-Match" type:"string"` // Return the object only if it has been modified since the specified time, // otherwise return a 304 (not modified). IfModifiedSince *time.Time `location:"header" locationName:"If-Modified-Since" type:"timestamp" timestampFormat:"rfc822"` // Return the object only if its entity tag (ETag) is different from the one // specified, otherwise return a 304 (not modified). IfNoneMatch *string `location:"header" locationName:"If-None-Match" type:"string"` // Return the object only if it has not been modified since the specified time, // otherwise return a 412 (precondition failed). IfUnmodifiedSince *time.Time `location:"header" locationName:"If-Unmodified-Since" type:"timestamp" timestampFormat:"rfc822"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Part number of the object being read. This is a positive integer between // 1 and 10,000. Effectively performs a 'ranged' GET request for the part specified. // Useful for downloading just a part of an object. PartNumber *int64 `location:"querystring" locationName:"partNumber" type:"integer"` // Downloads the specified range bytes of an object. For more information about // the HTTP Range header, go to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35. Range *string `location:"header" locationName:"Range" type:"string"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // Sets the Cache-Control header of the response. ResponseCacheControl *string `location:"querystring" locationName:"response-cache-control" type:"string"` // Sets the Content-Disposition header of the response ResponseContentDisposition *string `location:"querystring" locationName:"response-content-disposition" type:"string"` // Sets the Content-Encoding header of the response. ResponseContentEncoding *string `location:"querystring" locationName:"response-content-encoding" type:"string"` // Sets the Content-Language header of the response. ResponseContentLanguage *string `location:"querystring" locationName:"response-content-language" type:"string"` // Sets the Content-Type header of the response. ResponseContentType *string `location:"querystring" locationName:"response-content-type" type:"string"` // Sets the Expires header of the response. ResponseExpires *time.Time `location:"querystring" locationName:"response-expires" type:"timestamp" timestampFormat:"iso8601"` // Specifies the algorithm to use to when encrypting the object (e.g., AES256). SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // Specifies the customer-provided encryption key for Amazon S3 to use in encrypting // data. This value is used to store the object and then it is discarded; Amazon // does not store the encryption key. The key must be appropriate for use with // the algorithm specified in the x-amz-server-side-encryption-customer-algorithm // header. SSECustomerKey *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string"` // Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. // Amazon S3 uses this header for a message integrity check to ensure the encryption // key was transmitted without error. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // VersionId used to reference a specific version of the object. VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRequest
func (GetObjectInput) GoString ¶
func (s GetObjectInput) GoString() string
GoString returns the string representation
func (GetObjectInput) MarshalFields ¶ added in v0.3.0
func (s GetObjectInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectInput) String ¶
func (s GetObjectInput) String() string
String returns the string representation
func (*GetObjectInput) Validate ¶
func (s *GetObjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetObjectLegalHoldInput ¶ added in v0.6.0
type GetObjectLegalHoldInput struct { // The bucket containing the object whose Legal Hold status you want to retrieve. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The key name for the object whose Legal Hold status you want to retrieve. // // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // The version ID of the object whose Legal Hold status you want to retrieve. VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLegalHoldRequest
func (GetObjectLegalHoldInput) GoString ¶ added in v0.6.0
func (s GetObjectLegalHoldInput) GoString() string
GoString returns the string representation
func (GetObjectLegalHoldInput) MarshalFields ¶ added in v0.6.0
func (s GetObjectLegalHoldInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectLegalHoldInput) String ¶ added in v0.6.0
func (s GetObjectLegalHoldInput) String() string
String returns the string representation
func (*GetObjectLegalHoldInput) Validate ¶ added in v0.6.0
func (s *GetObjectLegalHoldInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetObjectLegalHoldOutput ¶ added in v0.6.0
type GetObjectLegalHoldOutput struct { // The current Legal Hold status for the specified object. LegalHold *ObjectLockLegalHold `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLegalHoldOutput
func (GetObjectLegalHoldOutput) GoString ¶ added in v0.6.0
func (s GetObjectLegalHoldOutput) GoString() string
GoString returns the string representation
func (GetObjectLegalHoldOutput) MarshalFields ¶ added in v0.6.0
func (s GetObjectLegalHoldOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectLegalHoldOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s GetObjectLegalHoldOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetObjectLegalHoldOutput) String ¶ added in v0.6.0
func (s GetObjectLegalHoldOutput) String() string
String returns the string representation
type GetObjectLegalHoldRequest ¶ added in v0.6.0
type GetObjectLegalHoldRequest struct { *aws.Request Input *GetObjectLegalHoldInput Copy func(*GetObjectLegalHoldInput) GetObjectLegalHoldRequest }
GetObjectLegalHoldRequest is a API request type for the GetObjectLegalHold API operation.
func (GetObjectLegalHoldRequest) Send ¶ added in v0.6.0
func (r GetObjectLegalHoldRequest) Send() (*GetObjectLegalHoldOutput, error)
Send marshals and sends the GetObjectLegalHold API request.
type GetObjectLockConfigurationInput ¶ added in v0.6.0
type GetObjectLockConfigurationInput struct { // The bucket whose Object Lock configuration you want to retrieve. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLockConfigurationRequest
func (GetObjectLockConfigurationInput) GoString ¶ added in v0.6.0
func (s GetObjectLockConfigurationInput) GoString() string
GoString returns the string representation
func (GetObjectLockConfigurationInput) MarshalFields ¶ added in v0.6.0
func (s GetObjectLockConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectLockConfigurationInput) String ¶ added in v0.6.0
func (s GetObjectLockConfigurationInput) String() string
String returns the string representation
func (*GetObjectLockConfigurationInput) Validate ¶ added in v0.6.0
func (s *GetObjectLockConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetObjectLockConfigurationOutput ¶ added in v0.6.0
type GetObjectLockConfigurationOutput struct { // The specified bucket's Object Lock configuration. ObjectLockConfiguration *ObjectLockConfiguration `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLockConfigurationOutput
func (GetObjectLockConfigurationOutput) GoString ¶ added in v0.6.0
func (s GetObjectLockConfigurationOutput) GoString() string
GoString returns the string representation
func (GetObjectLockConfigurationOutput) MarshalFields ¶ added in v0.6.0
func (s GetObjectLockConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectLockConfigurationOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s GetObjectLockConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetObjectLockConfigurationOutput) String ¶ added in v0.6.0
func (s GetObjectLockConfigurationOutput) String() string
String returns the string representation
type GetObjectLockConfigurationRequest ¶ added in v0.6.0
type GetObjectLockConfigurationRequest struct { *aws.Request Input *GetObjectLockConfigurationInput Copy func(*GetObjectLockConfigurationInput) GetObjectLockConfigurationRequest }
GetObjectLockConfigurationRequest is a API request type for the GetObjectLockConfiguration API operation.
func (GetObjectLockConfigurationRequest) Send ¶ added in v0.6.0
func (r GetObjectLockConfigurationRequest) Send() (*GetObjectLockConfigurationOutput, error)
Send marshals and sends the GetObjectLockConfiguration API request.
type GetObjectOutput ¶
type GetObjectOutput struct { AcceptRanges *string `location:"header" locationName:"accept-ranges" type:"string"` // Object data. Body io.ReadCloser `type:"blob"` // Specifies caching behavior along the request/reply chain. CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"` // Specifies presentational information for the object. ContentDisposition *string `location:"header" locationName:"Content-Disposition" type:"string"` // Specifies what content encodings have been applied to the object and thus // what decoding mechanisms must be applied to obtain the media-type referenced // by the Content-Type header field. ContentEncoding *string `location:"header" locationName:"Content-Encoding" type:"string"` // The language the content is in. ContentLanguage *string `location:"header" locationName:"Content-Language" type:"string"` // Size of the body in bytes. ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"` // The portion of the object returned in the response. ContentRange *string `location:"header" locationName:"Content-Range" type:"string"` // A standard MIME type describing the format of the object data. ContentType *string `location:"header" locationName:"Content-Type" type:"string"` // Specifies whether the object retrieved was (true) or was not (false) a Delete // Marker. If false, this response header does not appear in the response. DeleteMarker *bool `location:"header" locationName:"x-amz-delete-marker" type:"boolean"` // An ETag is an opaque identifier assigned by a web server to a specific version // of a resource found at a URL ETag *string `location:"header" locationName:"ETag" type:"string"` // If the object expiration is configured (see PUT Bucket lifecycle), the response // includes this header. It includes the expiry-date and rule-id key value pairs // providing object expiration information. The value of the rule-id is URL // encoded. Expiration *string `location:"header" locationName:"x-amz-expiration" type:"string"` // The date and time at which the object is no longer cacheable. Expires *string `location:"header" locationName:"Expires" type:"string"` // Last modified date of the object LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp" timestampFormat:"rfc822"` // A map of metadata to store with the object in S3. Metadata map[string]string `location:"headers" locationName:"x-amz-meta-" type:"map"` // This is set to the number of metadata entries not returned in x-amz-meta // headers. This can happen if you create metadata using an API like SOAP that // supports more flexible metadata than the REST API. For example, using SOAP, // you can create metadata whose values are not legal HTTP headers. MissingMeta *int64 `location:"header" locationName:"x-amz-missing-meta" type:"integer"` // Indicates whether this object has an active legal hold. This field is only // returned if you have permission to view an object's legal hold status. ObjectLockLegalHoldStatus ObjectLockLegalHoldStatus `location:"header" locationName:"x-amz-object-lock-legal-hold" type:"string" enum:"true"` // The Object Lock mode currently in place for this object. ObjectLockMode ObjectLockMode `location:"header" locationName:"x-amz-object-lock-mode" type:"string" enum:"true"` // The date and time when this object's Object Lock will expire. ObjectLockRetainUntilDate *time.Time `location:"header" locationName:"x-amz-object-lock-retain-until-date" type:"timestamp" timestampFormat:"rfc822"` // The count of parts this object has. PartsCount *int64 `location:"header" locationName:"x-amz-mp-parts-count" type:"integer"` ReplicationStatus ReplicationStatus `location:"header" locationName:"x-amz-replication-status" type:"string" enum:"true"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // Provides information about object restoration operation and expiration time // of the restored object copy. Restore *string `location:"header" locationName:"x-amz-restore" type:"string"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header confirming the encryption algorithm // used. SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header to provide round trip message integrity // verification of the customer-provided encryption key. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // If present, specifies the ID of the AWS Key Management Service (KMS) master // encryption key that was used for the object. SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string"` // The Server-side encryption algorithm used when storing this object in S3 // (e.g., AES256, aws:kms). ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"true"` StorageClass StorageClass `location:"header" locationName:"x-amz-storage-class" type:"string" enum:"true"` // The number of tags, if any, on the object. TagCount *int64 `location:"header" locationName:"x-amz-tagging-count" type:"integer"` // Version of the object. VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"` // If the bucket is configured as a website, redirects requests for this object // to another object in the same bucket or to an external URL. Amazon S3 stores // the value of this header in the object metadata. WebsiteRedirectLocation *string `location:"header" locationName:"x-amz-website-redirect-location" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectOutput
func (GetObjectOutput) GoString ¶
func (s GetObjectOutput) GoString() string
GoString returns the string representation
func (GetObjectOutput) MarshalFields ¶ added in v0.3.0
func (s GetObjectOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectOutput) SDKResponseMetadata ¶
func (s GetObjectOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetObjectOutput) String ¶
func (s GetObjectOutput) String() string
String returns the string representation
type GetObjectRequest ¶
type GetObjectRequest struct { *aws.Request Input *GetObjectInput Copy func(*GetObjectInput) GetObjectRequest }
GetObjectRequest is a API request type for the GetObject API operation.
func (GetObjectRequest) Send ¶
func (r GetObjectRequest) Send() (*GetObjectOutput, error)
Send marshals and sends the GetObject API request.
type GetObjectRetentionInput ¶ added in v0.6.0
type GetObjectRetentionInput struct { // The bucket containing the object whose retention settings you want to retrieve. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The key name for the object whose retention settings you want to retrieve. // // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // The version ID for the object whose retention settings you want to retrieve. VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRetentionRequest
func (GetObjectRetentionInput) GoString ¶ added in v0.6.0
func (s GetObjectRetentionInput) GoString() string
GoString returns the string representation
func (GetObjectRetentionInput) MarshalFields ¶ added in v0.6.0
func (s GetObjectRetentionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectRetentionInput) String ¶ added in v0.6.0
func (s GetObjectRetentionInput) String() string
String returns the string representation
func (*GetObjectRetentionInput) Validate ¶ added in v0.6.0
func (s *GetObjectRetentionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetObjectRetentionOutput ¶ added in v0.6.0
type GetObjectRetentionOutput struct { // The container element for an object's retention settings. Retention *ObjectLockRetention `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRetentionOutput
func (GetObjectRetentionOutput) GoString ¶ added in v0.6.0
func (s GetObjectRetentionOutput) GoString() string
GoString returns the string representation
func (GetObjectRetentionOutput) MarshalFields ¶ added in v0.6.0
func (s GetObjectRetentionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectRetentionOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s GetObjectRetentionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetObjectRetentionOutput) String ¶ added in v0.6.0
func (s GetObjectRetentionOutput) String() string
String returns the string representation
type GetObjectRetentionRequest ¶ added in v0.6.0
type GetObjectRetentionRequest struct { *aws.Request Input *GetObjectRetentionInput Copy func(*GetObjectRetentionInput) GetObjectRetentionRequest }
GetObjectRetentionRequest is a API request type for the GetObjectRetention API operation.
func (GetObjectRetentionRequest) Send ¶ added in v0.6.0
func (r GetObjectRetentionRequest) Send() (*GetObjectRetentionOutput, error)
Send marshals and sends the GetObjectRetention API request.
type GetObjectTaggingInput ¶
type GetObjectTaggingInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTaggingRequest
func (GetObjectTaggingInput) GoString ¶
func (s GetObjectTaggingInput) GoString() string
GoString returns the string representation
func (GetObjectTaggingInput) MarshalFields ¶ added in v0.3.0
func (s GetObjectTaggingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectTaggingInput) String ¶
func (s GetObjectTaggingInput) String() string
String returns the string representation
func (*GetObjectTaggingInput) Validate ¶
func (s *GetObjectTaggingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetObjectTaggingOutput ¶
type GetObjectTaggingOutput struct { // TagSet is a required field TagSet []Tag `locationNameList:"Tag" type:"list" required:"true"` VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTaggingOutput
func (GetObjectTaggingOutput) GoString ¶
func (s GetObjectTaggingOutput) GoString() string
GoString returns the string representation
func (GetObjectTaggingOutput) MarshalFields ¶ added in v0.3.0
func (s GetObjectTaggingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectTaggingOutput) SDKResponseMetadata ¶
func (s GetObjectTaggingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetObjectTaggingOutput) String ¶
func (s GetObjectTaggingOutput) String() string
String returns the string representation
type GetObjectTaggingRequest ¶
type GetObjectTaggingRequest struct { *aws.Request Input *GetObjectTaggingInput Copy func(*GetObjectTaggingInput) GetObjectTaggingRequest }
GetObjectTaggingRequest is a API request type for the GetObjectTagging API operation.
func (GetObjectTaggingRequest) Send ¶
func (r GetObjectTaggingRequest) Send() (*GetObjectTaggingOutput, error)
Send marshals and sends the GetObjectTagging API request.
type GetObjectTorrentInput ¶
type GetObjectTorrentInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrentRequest
func (GetObjectTorrentInput) GoString ¶
func (s GetObjectTorrentInput) GoString() string
GoString returns the string representation
func (GetObjectTorrentInput) MarshalFields ¶ added in v0.3.0
func (s GetObjectTorrentInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectTorrentInput) String ¶
func (s GetObjectTorrentInput) String() string
String returns the string representation
func (*GetObjectTorrentInput) Validate ¶
func (s *GetObjectTorrentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetObjectTorrentOutput ¶
type GetObjectTorrentOutput struct { Body io.ReadCloser `type:"blob"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrentOutput
func (GetObjectTorrentOutput) GoString ¶
func (s GetObjectTorrentOutput) GoString() string
GoString returns the string representation
func (GetObjectTorrentOutput) MarshalFields ¶ added in v0.3.0
func (s GetObjectTorrentOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetObjectTorrentOutput) SDKResponseMetadata ¶
func (s GetObjectTorrentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetObjectTorrentOutput) String ¶
func (s GetObjectTorrentOutput) String() string
String returns the string representation
type GetObjectTorrentRequest ¶
type GetObjectTorrentRequest struct { *aws.Request Input *GetObjectTorrentInput Copy func(*GetObjectTorrentInput) GetObjectTorrentRequest }
GetObjectTorrentRequest is a API request type for the GetObjectTorrent API operation.
func (GetObjectTorrentRequest) Send ¶
func (r GetObjectTorrentRequest) Send() (*GetObjectTorrentOutput, error)
Send marshals and sends the GetObjectTorrent API request.
type GetPublicAccessBlockInput ¶ added in v0.6.0
type GetPublicAccessBlockInput struct { // The name of the Amazon S3 bucket whose PublicAccessBlock configuration you // want to retrieve. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetPublicAccessBlockRequest
func (GetPublicAccessBlockInput) GoString ¶ added in v0.6.0
func (s GetPublicAccessBlockInput) GoString() string
GoString returns the string representation
func (GetPublicAccessBlockInput) MarshalFields ¶ added in v0.6.0
func (s GetPublicAccessBlockInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetPublicAccessBlockInput) String ¶ added in v0.6.0
func (s GetPublicAccessBlockInput) String() string
String returns the string representation
func (*GetPublicAccessBlockInput) Validate ¶ added in v0.6.0
func (s *GetPublicAccessBlockInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPublicAccessBlockOutput ¶ added in v0.6.0
type GetPublicAccessBlockOutput struct { // The PublicAccessBlock configuration currently in effect for this Amazon S3 // bucket. PublicAccessBlockConfiguration *PublicAccessBlockConfiguration `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetPublicAccessBlockOutput
func (GetPublicAccessBlockOutput) GoString ¶ added in v0.6.0
func (s GetPublicAccessBlockOutput) GoString() string
GoString returns the string representation
func (GetPublicAccessBlockOutput) MarshalFields ¶ added in v0.6.0
func (s GetPublicAccessBlockOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetPublicAccessBlockOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s GetPublicAccessBlockOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetPublicAccessBlockOutput) String ¶ added in v0.6.0
func (s GetPublicAccessBlockOutput) String() string
String returns the string representation
type GetPublicAccessBlockRequest ¶ added in v0.6.0
type GetPublicAccessBlockRequest struct { *aws.Request Input *GetPublicAccessBlockInput Copy func(*GetPublicAccessBlockInput) GetPublicAccessBlockRequest }
GetPublicAccessBlockRequest is a API request type for the GetPublicAccessBlock API operation.
func (GetPublicAccessBlockRequest) Send ¶ added in v0.6.0
func (r GetPublicAccessBlockRequest) Send() (*GetPublicAccessBlockOutput, error)
Send marshals and sends the GetPublicAccessBlock API request.
type GlacierJobParameters ¶
type GlacierJobParameters struct { // Glacier retrieval tier at which the restore will be processed. // // Tier is a required field Tier Tier `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GlacierJobParameters
func (GlacierJobParameters) GoString ¶
func (s GlacierJobParameters) GoString() string
GoString returns the string representation
func (GlacierJobParameters) MarshalFields ¶ added in v0.3.0
func (s GlacierJobParameters) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GlacierJobParameters) String ¶
func (s GlacierJobParameters) String() string
String returns the string representation
func (*GlacierJobParameters) Validate ¶
func (s *GlacierJobParameters) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Grant ¶
type Grant struct { Grantee *Grantee `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"` // Specifies the permission given to the grantee. Permission Permission `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grant
func (Grant) MarshalFields ¶ added in v0.3.0
func (s Grant) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type Grantee ¶
type Grantee struct { // Screen name of the grantee. DisplayName *string `type:"string"` // Email address of the grantee. EmailAddress *string `type:"string"` // The canonical user ID of the grantee. ID *string `type:"string"` // Type of grantee // // Type is a required field Type Type `locationName:"xsi:type" type:"string" xmlAttribute:"true" required:"true" enum:"true"` // URI of the grantee group. URI *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grantee
func (Grantee) MarshalFields ¶ added in v0.3.0
func (s Grantee) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type HeadBucketInput ¶
type HeadBucketInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucketRequest
func (HeadBucketInput) GoString ¶
func (s HeadBucketInput) GoString() string
GoString returns the string representation
func (HeadBucketInput) MarshalFields ¶ added in v0.3.0
func (s HeadBucketInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HeadBucketInput) String ¶
func (s HeadBucketInput) String() string
String returns the string representation
func (*HeadBucketInput) Validate ¶
func (s *HeadBucketInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HeadBucketOutput ¶
type HeadBucketOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucketOutput
func (HeadBucketOutput) GoString ¶
func (s HeadBucketOutput) GoString() string
GoString returns the string representation
func (HeadBucketOutput) MarshalFields ¶ added in v0.3.0
func (s HeadBucketOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HeadBucketOutput) SDKResponseMetadata ¶
func (s HeadBucketOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (HeadBucketOutput) String ¶
func (s HeadBucketOutput) String() string
String returns the string representation
type HeadBucketRequest ¶
type HeadBucketRequest struct { *aws.Request Input *HeadBucketInput Copy func(*HeadBucketInput) HeadBucketRequest }
HeadBucketRequest is a API request type for the HeadBucket API operation.
func (HeadBucketRequest) Send ¶
func (r HeadBucketRequest) Send() (*HeadBucketOutput, error)
Send marshals and sends the HeadBucket API request.
type HeadObjectInput ¶
type HeadObjectInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Return the object only if its entity tag (ETag) is the same as the one specified, // otherwise return a 412 (precondition failed). IfMatch *string `location:"header" locationName:"If-Match" type:"string"` // Return the object only if it has been modified since the specified time, // otherwise return a 304 (not modified). IfModifiedSince *time.Time `location:"header" locationName:"If-Modified-Since" type:"timestamp" timestampFormat:"rfc822"` // Return the object only if its entity tag (ETag) is different from the one // specified, otherwise return a 304 (not modified). IfNoneMatch *string `location:"header" locationName:"If-None-Match" type:"string"` // Return the object only if it has not been modified since the specified time, // otherwise return a 412 (precondition failed). IfUnmodifiedSince *time.Time `location:"header" locationName:"If-Unmodified-Since" type:"timestamp" timestampFormat:"rfc822"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Part number of the object being read. This is a positive integer between // 1 and 10,000. Effectively performs a 'ranged' HEAD request for the part specified. // Useful querying about the size of the part and the number of parts in this // object. PartNumber *int64 `location:"querystring" locationName:"partNumber" type:"integer"` // Downloads the specified range bytes of an object. For more information about // the HTTP Range header, go to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35. Range *string `location:"header" locationName:"Range" type:"string"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // Specifies the algorithm to use to when encrypting the object (e.g., AES256). SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // Specifies the customer-provided encryption key for Amazon S3 to use in encrypting // data. This value is used to store the object and then it is discarded; Amazon // does not store the encryption key. The key must be appropriate for use with // the algorithm specified in the x-amz-server-side-encryption-customer-algorithm // header. SSECustomerKey *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string"` // Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. // Amazon S3 uses this header for a message integrity check to ensure the encryption // key was transmitted without error. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // VersionId used to reference a specific version of the object. VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectRequest
func (HeadObjectInput) GoString ¶
func (s HeadObjectInput) GoString() string
GoString returns the string representation
func (HeadObjectInput) MarshalFields ¶ added in v0.3.0
func (s HeadObjectInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HeadObjectInput) String ¶
func (s HeadObjectInput) String() string
String returns the string representation
func (*HeadObjectInput) Validate ¶
func (s *HeadObjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HeadObjectOutput ¶
type HeadObjectOutput struct { AcceptRanges *string `location:"header" locationName:"accept-ranges" type:"string"` // Specifies caching behavior along the request/reply chain. CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"` // Specifies presentational information for the object. ContentDisposition *string `location:"header" locationName:"Content-Disposition" type:"string"` // Specifies what content encodings have been applied to the object and thus // what decoding mechanisms must be applied to obtain the media-type referenced // by the Content-Type header field. ContentEncoding *string `location:"header" locationName:"Content-Encoding" type:"string"` // The language the content is in. ContentLanguage *string `location:"header" locationName:"Content-Language" type:"string"` // Size of the body in bytes. ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"` // A standard MIME type describing the format of the object data. ContentType *string `location:"header" locationName:"Content-Type" type:"string"` // Specifies whether the object retrieved was (true) or was not (false) a Delete // Marker. If false, this response header does not appear in the response. DeleteMarker *bool `location:"header" locationName:"x-amz-delete-marker" type:"boolean"` // An ETag is an opaque identifier assigned by a web server to a specific version // of a resource found at a URL ETag *string `location:"header" locationName:"ETag" type:"string"` // If the object expiration is configured (see PUT Bucket lifecycle), the response // includes this header. It includes the expiry-date and rule-id key value pairs // providing object expiration information. The value of the rule-id is URL // encoded. Expiration *string `location:"header" locationName:"x-amz-expiration" type:"string"` // The date and time at which the object is no longer cacheable. Expires *string `location:"header" locationName:"Expires" type:"string"` // Last modified date of the object LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp" timestampFormat:"rfc822"` // A map of metadata to store with the object in S3. Metadata map[string]string `location:"headers" locationName:"x-amz-meta-" type:"map"` // This is set to the number of metadata entries not returned in x-amz-meta // headers. This can happen if you create metadata using an API like SOAP that // supports more flexible metadata than the REST API. For example, using SOAP, // you can create metadata whose values are not legal HTTP headers. MissingMeta *int64 `location:"header" locationName:"x-amz-missing-meta" type:"integer"` // The Legal Hold status for the specified object. ObjectLockLegalHoldStatus ObjectLockLegalHoldStatus `location:"header" locationName:"x-amz-object-lock-legal-hold" type:"string" enum:"true"` // The Object Lock mode currently in place for this object. ObjectLockMode ObjectLockMode `location:"header" locationName:"x-amz-object-lock-mode" type:"string" enum:"true"` // The date and time when this object's Object Lock will expire. ObjectLockRetainUntilDate *time.Time `location:"header" locationName:"x-amz-object-lock-retain-until-date" type:"timestamp" timestampFormat:"rfc822"` // The count of parts this object has. PartsCount *int64 `location:"header" locationName:"x-amz-mp-parts-count" type:"integer"` ReplicationStatus ReplicationStatus `location:"header" locationName:"x-amz-replication-status" type:"string" enum:"true"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // Provides information about object restoration operation and expiration time // of the restored object copy. Restore *string `location:"header" locationName:"x-amz-restore" type:"string"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header confirming the encryption algorithm // used. SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header to provide round trip message integrity // verification of the customer-provided encryption key. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // If present, specifies the ID of the AWS Key Management Service (KMS) master // encryption key that was used for the object. SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string"` // The Server-side encryption algorithm used when storing this object in S3 // (e.g., AES256, aws:kms). ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"true"` StorageClass StorageClass `location:"header" locationName:"x-amz-storage-class" type:"string" enum:"true"` // Version of the object. VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"` // If the bucket is configured as a website, redirects requests for this object // to another object in the same bucket or to an external URL. Amazon S3 stores // the value of this header in the object metadata. WebsiteRedirectLocation *string `location:"header" locationName:"x-amz-website-redirect-location" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectOutput
func (HeadObjectOutput) GoString ¶
func (s HeadObjectOutput) GoString() string
GoString returns the string representation
func (HeadObjectOutput) MarshalFields ¶ added in v0.3.0
func (s HeadObjectOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HeadObjectOutput) SDKResponseMetadata ¶
func (s HeadObjectOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (HeadObjectOutput) String ¶
func (s HeadObjectOutput) String() string
String returns the string representation
type HeadObjectRequest ¶
type HeadObjectRequest struct { *aws.Request Input *HeadObjectInput Copy func(*HeadObjectInput) HeadObjectRequest }
HeadObjectRequest is a API request type for the HeadObject API operation.
func (HeadObjectRequest) Send ¶
func (r HeadObjectRequest) Send() (*HeadObjectOutput, error)
Send marshals and sends the HeadObject API request.
type IndexDocument ¶
type IndexDocument struct { // A suffix that is appended to a request that is for a directory on the website // endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ // the data that is returned will be for the object with the key name images/index.html) // The suffix must not be empty and must not include a slash character. // // Suffix is a required field Suffix *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IndexDocument
func (IndexDocument) GoString ¶
func (s IndexDocument) GoString() string
GoString returns the string representation
func (IndexDocument) MarshalFields ¶ added in v0.3.0
func (s IndexDocument) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (IndexDocument) String ¶
func (s IndexDocument) String() string
String returns the string representation
func (*IndexDocument) Validate ¶
func (s *IndexDocument) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Initiator ¶
type Initiator struct { // Name of the Principal. DisplayName *string `type:"string"` // If the principal is an AWS account, it provides the Canonical User ID. If // the principal is an IAM User, it provides a user ARN value. ID *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Initiator
func (Initiator) MarshalFields ¶ added in v0.3.0
func (s Initiator) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type InputSerialization ¶ added in v0.2.0
type InputSerialization struct { // Describes the serialization of a CSV-encoded object. CSV *CSVInput `type:"structure"` // Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default // Value: NONE. CompressionType CompressionType `type:"string" enum:"true"` // Specifies JSON as object's input serialization format. JSON *JSONInput `type:"structure"` // Specifies Parquet as object's input serialization format. Parquet *ParquetInput `type:"structure"` // contains filtered or unexported fields }
Describes the serialization format of the object. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InputSerialization
func (InputSerialization) GoString ¶ added in v0.2.0
func (s InputSerialization) GoString() string
GoString returns the string representation
func (InputSerialization) MarshalFields ¶ added in v0.3.0
func (s InputSerialization) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (InputSerialization) String ¶ added in v0.2.0
func (s InputSerialization) String() string
String returns the string representation
type InventoryConfiguration ¶
type InventoryConfiguration struct { // Contains information about where to publish the inventory results. // // Destination is a required field Destination *InventoryDestination `type:"structure" required:"true"` // Specifies an inventory filter. The inventory only includes objects that meet // the filter's criteria. Filter *InventoryFilter `type:"structure"` // The ID used to identify the inventory configuration. // // Id is a required field Id *string `type:"string" required:"true"` // Specifies which object version(s) to included in the inventory results. // // IncludedObjectVersions is a required field IncludedObjectVersions InventoryIncludedObjectVersions `type:"string" required:"true" enum:"true"` // Specifies whether the inventory is enabled or disabled. // // IsEnabled is a required field IsEnabled *bool `type:"boolean" required:"true"` // Contains the optional fields that are included in the inventory results. OptionalFields []InventoryOptionalField `locationNameList:"Field" type:"list"` // Specifies the schedule for generating inventory results. // // Schedule is a required field Schedule *InventorySchedule `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryConfiguration
func (InventoryConfiguration) GoString ¶
func (s InventoryConfiguration) GoString() string
GoString returns the string representation
func (InventoryConfiguration) MarshalFields ¶ added in v0.3.0
func (s InventoryConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (InventoryConfiguration) String ¶
func (s InventoryConfiguration) String() string
String returns the string representation
func (*InventoryConfiguration) Validate ¶
func (s *InventoryConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InventoryDestination ¶
type InventoryDestination struct { // Contains the bucket name, file format, bucket owner (optional), and prefix // (optional) where inventory results are published. // // S3BucketDestination is a required field S3BucketDestination *InventoryS3BucketDestination `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryDestination
func (InventoryDestination) GoString ¶
func (s InventoryDestination) GoString() string
GoString returns the string representation
func (InventoryDestination) MarshalFields ¶ added in v0.3.0
func (s InventoryDestination) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (InventoryDestination) String ¶
func (s InventoryDestination) String() string
String returns the string representation
func (*InventoryDestination) Validate ¶
func (s *InventoryDestination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InventoryEncryption ¶ added in v0.2.0
type InventoryEncryption struct { // Specifies the use of SSE-KMS to encrypt delivered Inventory reports. SSEKMS *SSEKMS `locationName:"SSE-KMS" type:"structure"` // Specifies the use of SSE-S3 to encrypt delivered Inventory reports. SSES3 *SSES3 `locationName:"SSE-S3" type:"structure"` // contains filtered or unexported fields }
Contains the type of server-side encryption used to encrypt the inventory results. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryEncryption
func (InventoryEncryption) GoString ¶ added in v0.2.0
func (s InventoryEncryption) GoString() string
GoString returns the string representation
func (InventoryEncryption) MarshalFields ¶ added in v0.3.0
func (s InventoryEncryption) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (InventoryEncryption) String ¶ added in v0.2.0
func (s InventoryEncryption) String() string
String returns the string representation
func (*InventoryEncryption) Validate ¶ added in v0.2.0
func (s *InventoryEncryption) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InventoryFilter ¶
type InventoryFilter struct { // The prefix that an object must have to be included in the inventory results. // // Prefix is a required field Prefix *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryFilter
func (InventoryFilter) GoString ¶
func (s InventoryFilter) GoString() string
GoString returns the string representation
func (InventoryFilter) MarshalFields ¶ added in v0.3.0
func (s InventoryFilter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (InventoryFilter) String ¶
func (s InventoryFilter) String() string
String returns the string representation
func (*InventoryFilter) Validate ¶
func (s *InventoryFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InventoryFormat ¶
type InventoryFormat string
const ( InventoryFormatCsv InventoryFormat = "CSV" InventoryFormatOrc InventoryFormat = "ORC" )
Enum values for InventoryFormat
func (InventoryFormat) MarshalValue ¶ added in v0.3.0
func (enum InventoryFormat) MarshalValue() (string, error)
func (InventoryFormat) MarshalValueBuf ¶ added in v0.3.0
func (enum InventoryFormat) MarshalValueBuf(b []byte) ([]byte, error)
type InventoryFrequency ¶
type InventoryFrequency string
const ( InventoryFrequencyDaily InventoryFrequency = "Daily" InventoryFrequencyWeekly InventoryFrequency = "Weekly" )
Enum values for InventoryFrequency
func (InventoryFrequency) MarshalValue ¶ added in v0.3.0
func (enum InventoryFrequency) MarshalValue() (string, error)
func (InventoryFrequency) MarshalValueBuf ¶ added in v0.3.0
func (enum InventoryFrequency) MarshalValueBuf(b []byte) ([]byte, error)
type InventoryIncludedObjectVersions ¶
type InventoryIncludedObjectVersions string
const ( InventoryIncludedObjectVersionsAll InventoryIncludedObjectVersions = "All" InventoryIncludedObjectVersionsCurrent InventoryIncludedObjectVersions = "Current" )
Enum values for InventoryIncludedObjectVersions
func (InventoryIncludedObjectVersions) MarshalValue ¶ added in v0.3.0
func (enum InventoryIncludedObjectVersions) MarshalValue() (string, error)
func (InventoryIncludedObjectVersions) MarshalValueBuf ¶ added in v0.3.0
func (enum InventoryIncludedObjectVersions) MarshalValueBuf(b []byte) ([]byte, error)
type InventoryOptionalField ¶
type InventoryOptionalField string
const ( InventoryOptionalFieldSize InventoryOptionalField = "Size" InventoryOptionalFieldLastModifiedDate InventoryOptionalField = "LastModifiedDate" InventoryOptionalFieldStorageClass InventoryOptionalField = "StorageClass" InventoryOptionalFieldEtag InventoryOptionalField = "ETag" InventoryOptionalFieldIsMultipartUploaded InventoryOptionalField = "IsMultipartUploaded" InventoryOptionalFieldReplicationStatus InventoryOptionalField = "ReplicationStatus" InventoryOptionalFieldEncryptionStatus InventoryOptionalField = "EncryptionStatus" InventoryOptionalFieldObjectLockRetainUntilDate InventoryOptionalField = "ObjectLockRetainUntilDate" InventoryOptionalFieldObjectLockMode InventoryOptionalField = "ObjectLockMode" InventoryOptionalFieldObjectLockLegalHoldStatus InventoryOptionalField = "ObjectLockLegalHoldStatus" )
Enum values for InventoryOptionalField
func (InventoryOptionalField) MarshalValue ¶ added in v0.3.0
func (enum InventoryOptionalField) MarshalValue() (string, error)
func (InventoryOptionalField) MarshalValueBuf ¶ added in v0.3.0
func (enum InventoryOptionalField) MarshalValueBuf(b []byte) ([]byte, error)
type InventoryS3BucketDestination ¶
type InventoryS3BucketDestination struct { // The ID of the account that owns the destination bucket. AccountId *string `type:"string"` // The Amazon resource name (ARN) of the bucket where inventory results will // be published. // // Bucket is a required field Bucket *string `type:"string" required:"true"` // Contains the type of server-side encryption used to encrypt the inventory // results. Encryption *InventoryEncryption `type:"structure"` // Specifies the output format of the inventory results. // // Format is a required field Format InventoryFormat `type:"string" required:"true" enum:"true"` // The prefix that is prepended to all inventory results. Prefix *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryS3BucketDestination
func (InventoryS3BucketDestination) GoString ¶
func (s InventoryS3BucketDestination) GoString() string
GoString returns the string representation
func (InventoryS3BucketDestination) MarshalFields ¶ added in v0.3.0
func (s InventoryS3BucketDestination) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (InventoryS3BucketDestination) String ¶
func (s InventoryS3BucketDestination) String() string
String returns the string representation
func (*InventoryS3BucketDestination) Validate ¶
func (s *InventoryS3BucketDestination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InventorySchedule ¶
type InventorySchedule struct { // Specifies how frequently inventory results are produced. // // Frequency is a required field Frequency InventoryFrequency `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventorySchedule
func (InventorySchedule) GoString ¶
func (s InventorySchedule) GoString() string
GoString returns the string representation
func (InventorySchedule) MarshalFields ¶ added in v0.3.0
func (s InventorySchedule) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (InventorySchedule) String ¶
func (s InventorySchedule) String() string
String returns the string representation
func (*InventorySchedule) Validate ¶
func (s *InventorySchedule) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type JSONInput ¶ added in v0.4.0
type JSONInput struct { // The type of JSON. Valid values: Document, Lines. Type JSONType `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/JSONInput
func (JSONInput) MarshalFields ¶ added in v0.4.0
func (s JSONInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type JSONOutput ¶ added in v0.4.0
type JSONOutput struct { // The value used to separate individual records in the output. RecordDelimiter *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/JSONOutput
func (JSONOutput) GoString ¶ added in v0.4.0
func (s JSONOutput) GoString() string
GoString returns the string representation
func (JSONOutput) MarshalFields ¶ added in v0.4.0
func (s JSONOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (JSONOutput) String ¶ added in v0.4.0
func (s JSONOutput) String() string
String returns the string representation
type JSONType ¶ added in v0.4.0
type JSONType string
Enum values for JSONType
func (JSONType) MarshalValue ¶ added in v0.4.0
type KeyFilter ¶
type KeyFilter struct { // A list of containers for the key value pair that defines the criteria for // the filter rule. FilterRules []FilterRule `locationName:"FilterRule" type:"list" flattened:"true"` // contains filtered or unexported fields }
A container for object key name prefix and suffix filtering rules. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3KeyFilter
func (KeyFilter) MarshalFields ¶ added in v0.3.0
func (s KeyFilter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type LambdaFunctionConfiguration ¶
type LambdaFunctionConfiguration struct { // Events is a required field Events []Event `locationName:"Event" type:"list" flattened:"true" required:"true"` // A container for object key name filtering rules. For information about key // name filtering, see Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) // in the Amazon Simple Storage Service Developer Guide. Filter *NotificationConfigurationFilter `type:"structure"` // An optional unique identifier for configurations in a notification configuration. // If you don't provide one, Amazon S3 will assign an ID. Id *string `type:"string"` // The Amazon Resource Name (ARN) of the Lambda cloud function that Amazon S3 // can invoke when it detects events of the specified type. // // LambdaFunctionArn is a required field LambdaFunctionArn *string `locationName:"CloudFunction" type:"string" required:"true"` // contains filtered or unexported fields }
A container for specifying the configuration for AWS Lambda notifications. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LambdaFunctionConfiguration
func (LambdaFunctionConfiguration) GoString ¶
func (s LambdaFunctionConfiguration) GoString() string
GoString returns the string representation
func (LambdaFunctionConfiguration) MarshalFields ¶ added in v0.3.0
func (s LambdaFunctionConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LambdaFunctionConfiguration) String ¶
func (s LambdaFunctionConfiguration) String() string
String returns the string representation
func (*LambdaFunctionConfiguration) Validate ¶
func (s *LambdaFunctionConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LifecycleConfiguration ¶
type LifecycleConfiguration struct { // Rules is a required field Rules []Rule `locationName:"Rule" type:"list" flattened:"true" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleConfiguration
func (LifecycleConfiguration) GoString ¶
func (s LifecycleConfiguration) GoString() string
GoString returns the string representation
func (LifecycleConfiguration) MarshalFields ¶ added in v0.3.0
func (s LifecycleConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LifecycleConfiguration) String ¶
func (s LifecycleConfiguration) String() string
String returns the string representation
func (*LifecycleConfiguration) Validate ¶
func (s *LifecycleConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LifecycleExpiration ¶
type LifecycleExpiration struct { // Indicates at what date the object is to be moved or deleted. Should be in // GMT ISO 8601 Format. Date *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Indicates the lifetime, in days, of the objects that are subject to the rule. // The value must be a non-zero positive integer. Days *int64 `type:"integer"` // Indicates whether Amazon S3 will remove a delete marker with no noncurrent // versions. If set to true, the delete marker will be expired; if set to false // the policy takes no action. This cannot be specified with Days or Date in // a Lifecycle Expiration Policy. ExpiredObjectDeleteMarker *bool `type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration
func (LifecycleExpiration) GoString ¶
func (s LifecycleExpiration) GoString() string
GoString returns the string representation
func (LifecycleExpiration) MarshalFields ¶ added in v0.3.0
func (s LifecycleExpiration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LifecycleExpiration) String ¶
func (s LifecycleExpiration) String() string
String returns the string representation
type LifecycleRule ¶
type LifecycleRule struct { // Specifies the days since the initiation of an Incomplete Multipart Upload // that Lifecycle will wait before permanently removing all parts of the upload. AbortIncompleteMultipartUpload *AbortIncompleteMultipartUpload `type:"structure"` Expiration *LifecycleExpiration `type:"structure"` // The Filter is used to identify objects that a Lifecycle Rule applies to. // A Filter must have exactly one of Prefix, Tag, or And specified. Filter *LifecycleRuleFilter `type:"structure"` // Unique identifier for the rule. The value cannot be longer than 255 characters. ID *string `type:"string"` // Specifies when noncurrent object versions expire. Upon expiration, Amazon // S3 permanently deletes the noncurrent object versions. You set this lifecycle // configuration action on a bucket that has versioning enabled (or suspended) // to request that Amazon S3 delete noncurrent object versions at a specific // period in the object's lifetime. NoncurrentVersionExpiration *NoncurrentVersionExpiration `type:"structure"` NoncurrentVersionTransitions []NoncurrentVersionTransition `locationName:"NoncurrentVersionTransition" type:"list" flattened:"true"` // Prefix identifying one or more objects to which the rule applies. This is // deprecated; use Filter instead. Prefix *string `deprecated:"true" type:"string"` // If 'Enabled', the rule is currently being applied. If 'Disabled', the rule // is not currently being applied. // // Status is a required field Status ExpirationStatus `type:"string" required:"true" enum:"true"` Transitions []Transition `locationName:"Transition" type:"list" flattened:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRule
func (LifecycleRule) GoString ¶
func (s LifecycleRule) GoString() string
GoString returns the string representation
func (LifecycleRule) MarshalFields ¶ added in v0.3.0
func (s LifecycleRule) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LifecycleRule) String ¶
func (s LifecycleRule) String() string
String returns the string representation
func (*LifecycleRule) Validate ¶
func (s *LifecycleRule) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LifecycleRuleAndOperator ¶
type LifecycleRuleAndOperator struct { Prefix *string `type:"string"` // All of these tags must exist in the object's tag set in order for the rule // to apply. Tags []Tag `locationName:"Tag" locationNameList:"Tag" type:"list" flattened:"true"` // contains filtered or unexported fields }
This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The Lifecycle Rule will apply to any object matching all of the predicates configured inside the And operator. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRuleAndOperator
func (LifecycleRuleAndOperator) GoString ¶
func (s LifecycleRuleAndOperator) GoString() string
GoString returns the string representation
func (LifecycleRuleAndOperator) MarshalFields ¶ added in v0.3.0
func (s LifecycleRuleAndOperator) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LifecycleRuleAndOperator) String ¶
func (s LifecycleRuleAndOperator) String() string
String returns the string representation
func (*LifecycleRuleAndOperator) Validate ¶
func (s *LifecycleRuleAndOperator) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LifecycleRuleFilter ¶
type LifecycleRuleFilter struct { // This is used in a Lifecycle Rule Filter to apply a logical AND to two or // more predicates. The Lifecycle Rule will apply to any object matching all // of the predicates configured inside the And operator. And *LifecycleRuleAndOperator `type:"structure"` // Prefix identifying one or more objects to which the rule applies. Prefix *string `type:"string"` // This tag must exist in the object's tag set in order for the rule to apply. Tag *Tag `type:"structure"` // contains filtered or unexported fields }
The Filter is used to identify objects that a Lifecycle Rule applies to. A Filter must have exactly one of Prefix, Tag, or And specified. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRuleFilter
func (LifecycleRuleFilter) GoString ¶
func (s LifecycleRuleFilter) GoString() string
GoString returns the string representation
func (LifecycleRuleFilter) MarshalFields ¶ added in v0.3.0
func (s LifecycleRuleFilter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LifecycleRuleFilter) String ¶
func (s LifecycleRuleFilter) String() string
String returns the string representation
func (*LifecycleRuleFilter) Validate ¶
func (s *LifecycleRuleFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBucketAnalyticsConfigurationsInput ¶
type ListBucketAnalyticsConfigurationsInput struct { // The name of the bucket from which analytics configurations are retrieved. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The ContinuationToken that represents a placeholder from where this request // should begin. ContinuationToken *string `location:"querystring" locationName:"continuation-token" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurationsRequest
func (ListBucketAnalyticsConfigurationsInput) GoString ¶
func (s ListBucketAnalyticsConfigurationsInput) GoString() string
GoString returns the string representation
func (ListBucketAnalyticsConfigurationsInput) MarshalFields ¶ added in v0.3.0
func (s ListBucketAnalyticsConfigurationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListBucketAnalyticsConfigurationsInput) String ¶
func (s ListBucketAnalyticsConfigurationsInput) String() string
String returns the string representation
func (*ListBucketAnalyticsConfigurationsInput) Validate ¶
func (s *ListBucketAnalyticsConfigurationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBucketAnalyticsConfigurationsOutput ¶
type ListBucketAnalyticsConfigurationsOutput struct { // The list of analytics configurations for a bucket. AnalyticsConfigurationList []AnalyticsConfiguration `locationName:"AnalyticsConfiguration" type:"list" flattened:"true"` // The ContinuationToken that represents where this request began. ContinuationToken *string `type:"string"` // Indicates whether the returned list of analytics configurations is complete. // A value of true indicates that the list is not complete and the NextContinuationToken // will be provided for a subsequent request. IsTruncated *bool `type:"boolean"` // NextContinuationToken is sent when isTruncated is true, which indicates that // there are more analytics configurations to list. The next request must include // this NextContinuationToken. The token is obfuscated and is not a usable value. NextContinuationToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurationsOutput
func (ListBucketAnalyticsConfigurationsOutput) GoString ¶
func (s ListBucketAnalyticsConfigurationsOutput) GoString() string
GoString returns the string representation
func (ListBucketAnalyticsConfigurationsOutput) MarshalFields ¶ added in v0.3.0
func (s ListBucketAnalyticsConfigurationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListBucketAnalyticsConfigurationsOutput) SDKResponseMetadata ¶
func (s ListBucketAnalyticsConfigurationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListBucketAnalyticsConfigurationsOutput) String ¶
func (s ListBucketAnalyticsConfigurationsOutput) String() string
String returns the string representation
type ListBucketAnalyticsConfigurationsRequest ¶
type ListBucketAnalyticsConfigurationsRequest struct { *aws.Request Input *ListBucketAnalyticsConfigurationsInput Copy func(*ListBucketAnalyticsConfigurationsInput) ListBucketAnalyticsConfigurationsRequest }
ListBucketAnalyticsConfigurationsRequest is a API request type for the ListBucketAnalyticsConfigurations API operation.
func (ListBucketAnalyticsConfigurationsRequest) Send ¶
func (r ListBucketAnalyticsConfigurationsRequest) Send() (*ListBucketAnalyticsConfigurationsOutput, error)
Send marshals and sends the ListBucketAnalyticsConfigurations API request.
type ListBucketInventoryConfigurationsInput ¶
type ListBucketInventoryConfigurationsInput struct { // The name of the bucket containing the inventory configurations to retrieve. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The marker used to continue an inventory configuration listing that has been // truncated. Use the NextContinuationToken from a previously truncated list // response to continue the listing. The continuation token is an opaque value // that Amazon S3 understands. ContinuationToken *string `location:"querystring" locationName:"continuation-token" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurationsRequest
func (ListBucketInventoryConfigurationsInput) GoString ¶
func (s ListBucketInventoryConfigurationsInput) GoString() string
GoString returns the string representation
func (ListBucketInventoryConfigurationsInput) MarshalFields ¶ added in v0.3.0
func (s ListBucketInventoryConfigurationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListBucketInventoryConfigurationsInput) String ¶
func (s ListBucketInventoryConfigurationsInput) String() string
String returns the string representation
func (*ListBucketInventoryConfigurationsInput) Validate ¶
func (s *ListBucketInventoryConfigurationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBucketInventoryConfigurationsOutput ¶
type ListBucketInventoryConfigurationsOutput struct { // If sent in the request, the marker that is used as a starting point for this // inventory configuration list response. ContinuationToken *string `type:"string"` // The list of inventory configurations for a bucket. InventoryConfigurationList []InventoryConfiguration `locationName:"InventoryConfiguration" type:"list" flattened:"true"` // Indicates whether the returned list of inventory configurations is truncated // in this response. A value of true indicates that the list is truncated. IsTruncated *bool `type:"boolean"` // The marker used to continue this inventory configuration listing. Use the // NextContinuationToken from this response to continue the listing in a subsequent // request. The continuation token is an opaque value that Amazon S3 understands. NextContinuationToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurationsOutput
func (ListBucketInventoryConfigurationsOutput) GoString ¶
func (s ListBucketInventoryConfigurationsOutput) GoString() string
GoString returns the string representation
func (ListBucketInventoryConfigurationsOutput) MarshalFields ¶ added in v0.3.0
func (s ListBucketInventoryConfigurationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListBucketInventoryConfigurationsOutput) SDKResponseMetadata ¶
func (s ListBucketInventoryConfigurationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListBucketInventoryConfigurationsOutput) String ¶
func (s ListBucketInventoryConfigurationsOutput) String() string
String returns the string representation
type ListBucketInventoryConfigurationsRequest ¶
type ListBucketInventoryConfigurationsRequest struct { *aws.Request Input *ListBucketInventoryConfigurationsInput Copy func(*ListBucketInventoryConfigurationsInput) ListBucketInventoryConfigurationsRequest }
ListBucketInventoryConfigurationsRequest is a API request type for the ListBucketInventoryConfigurations API operation.
func (ListBucketInventoryConfigurationsRequest) Send ¶
func (r ListBucketInventoryConfigurationsRequest) Send() (*ListBucketInventoryConfigurationsOutput, error)
Send marshals and sends the ListBucketInventoryConfigurations API request.
type ListBucketMetricsConfigurationsInput ¶
type ListBucketMetricsConfigurationsInput struct { // The name of the bucket containing the metrics configurations to retrieve. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The marker that is used to continue a metrics configuration listing that // has been truncated. Use the NextContinuationToken from a previously truncated // list response to continue the listing. The continuation token is an opaque // value that Amazon S3 understands. ContinuationToken *string `location:"querystring" locationName:"continuation-token" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsRequest
func (ListBucketMetricsConfigurationsInput) GoString ¶
func (s ListBucketMetricsConfigurationsInput) GoString() string
GoString returns the string representation
func (ListBucketMetricsConfigurationsInput) MarshalFields ¶ added in v0.3.0
func (s ListBucketMetricsConfigurationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListBucketMetricsConfigurationsInput) String ¶
func (s ListBucketMetricsConfigurationsInput) String() string
String returns the string representation
func (*ListBucketMetricsConfigurationsInput) Validate ¶
func (s *ListBucketMetricsConfigurationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBucketMetricsConfigurationsOutput ¶
type ListBucketMetricsConfigurationsOutput struct { // The marker that is used as a starting point for this metrics configuration // list response. This value is present if it was sent in the request. ContinuationToken *string `type:"string"` // Indicates whether the returned list of metrics configurations is complete. // A value of true indicates that the list is not complete and the NextContinuationToken // will be provided for a subsequent request. IsTruncated *bool `type:"boolean"` // The list of metrics configurations for a bucket. MetricsConfigurationList []MetricsConfiguration `locationName:"MetricsConfiguration" type:"list" flattened:"true"` // The marker used to continue a metrics configuration listing that has been // truncated. Use the NextContinuationToken from a previously truncated list // response to continue the listing. The continuation token is an opaque value // that Amazon S3 understands. NextContinuationToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsOutput
func (ListBucketMetricsConfigurationsOutput) GoString ¶
func (s ListBucketMetricsConfigurationsOutput) GoString() string
GoString returns the string representation
func (ListBucketMetricsConfigurationsOutput) MarshalFields ¶ added in v0.3.0
func (s ListBucketMetricsConfigurationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListBucketMetricsConfigurationsOutput) SDKResponseMetadata ¶
func (s ListBucketMetricsConfigurationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListBucketMetricsConfigurationsOutput) String ¶
func (s ListBucketMetricsConfigurationsOutput) String() string
String returns the string representation
type ListBucketMetricsConfigurationsRequest ¶
type ListBucketMetricsConfigurationsRequest struct { *aws.Request Input *ListBucketMetricsConfigurationsInput Copy func(*ListBucketMetricsConfigurationsInput) ListBucketMetricsConfigurationsRequest }
ListBucketMetricsConfigurationsRequest is a API request type for the ListBucketMetricsConfigurations API operation.
func (ListBucketMetricsConfigurationsRequest) Send ¶
func (r ListBucketMetricsConfigurationsRequest) Send() (*ListBucketMetricsConfigurationsOutput, error)
Send marshals and sends the ListBucketMetricsConfigurations API request.
type ListBucketsInput ¶
type ListBucketsInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketsInput
func (ListBucketsInput) GoString ¶
func (s ListBucketsInput) GoString() string
GoString returns the string representation
func (ListBucketsInput) MarshalFields ¶ added in v0.3.0
func (s ListBucketsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListBucketsInput) String ¶
func (s ListBucketsInput) String() string
String returns the string representation
type ListBucketsOutput ¶
type ListBucketsOutput struct { Buckets []Bucket `locationNameList:"Bucket" type:"list"` Owner *Owner `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketsOutput
func (ListBucketsOutput) GoString ¶
func (s ListBucketsOutput) GoString() string
GoString returns the string representation
func (ListBucketsOutput) MarshalFields ¶ added in v0.3.0
func (s ListBucketsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListBucketsOutput) SDKResponseMetadata ¶
func (s ListBucketsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListBucketsOutput) String ¶
func (s ListBucketsOutput) String() string
String returns the string representation
type ListBucketsRequest ¶
type ListBucketsRequest struct { *aws.Request Input *ListBucketsInput Copy func(*ListBucketsInput) ListBucketsRequest }
ListBucketsRequest is a API request type for the ListBuckets API operation.
func (ListBucketsRequest) Send ¶
func (r ListBucketsRequest) Send() (*ListBucketsOutput, error)
Send marshals and sends the ListBuckets API request.
type ListMultipartUploadsInput ¶
type ListMultipartUploadsInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Character you use to group keys. Delimiter *string `location:"querystring" locationName:"delimiter" type:"string"` // Requests Amazon S3 to encode the object keys in the response and specifies // the encoding method to use. An object key may contain any Unicode character; // however, XML 1.0 parser cannot parse some characters, such as characters // with an ASCII value from 0 to 10. For characters that are not supported in // XML 1.0, you can add this parameter to request that Amazon S3 encode the // keys in the response. EncodingType EncodingType `location:"querystring" locationName:"encoding-type" type:"string" enum:"true"` // Together with upload-id-marker, this parameter specifies the multipart upload // after which listing should begin. KeyMarker *string `location:"querystring" locationName:"key-marker" type:"string"` // Sets the maximum number of multipart uploads, from 1 to 1,000, to return // in the response body. 1,000 is the maximum number of uploads that can be // returned in a response. MaxUploads *int64 `location:"querystring" locationName:"max-uploads" type:"integer"` // Lists in-progress uploads only for those keys that begin with the specified // prefix. Prefix *string `location:"querystring" locationName:"prefix" type:"string"` // Together with key-marker, specifies the multipart upload after which listing // should begin. If key-marker is not specified, the upload-id-marker parameter // is ignored. UploadIdMarker *string `location:"querystring" locationName:"upload-id-marker" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsRequest
func (ListMultipartUploadsInput) GoString ¶
func (s ListMultipartUploadsInput) GoString() string
GoString returns the string representation
func (ListMultipartUploadsInput) MarshalFields ¶ added in v0.3.0
func (s ListMultipartUploadsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListMultipartUploadsInput) String ¶
func (s ListMultipartUploadsInput) String() string
String returns the string representation
func (*ListMultipartUploadsInput) Validate ¶
func (s *ListMultipartUploadsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMultipartUploadsOutput ¶
type ListMultipartUploadsOutput struct { // Name of the bucket to which the multipart upload was initiated. Bucket *string `type:"string"` CommonPrefixes []CommonPrefix `type:"list" flattened:"true"` Delimiter *string `type:"string"` // Encoding type used by Amazon S3 to encode object keys in the response. EncodingType EncodingType `type:"string" enum:"true"` // Indicates whether the returned list of multipart uploads is truncated. A // value of true indicates that the list was truncated. The list can be truncated // if the number of multipart uploads exceeds the limit allowed or specified // by max uploads. IsTruncated *bool `type:"boolean"` // The key at or after which the listing began. KeyMarker *string `type:"string"` // Maximum number of multipart uploads that could have been included in the // response. MaxUploads *int64 `type:"integer"` // When a list is truncated, this element specifies the value that should be // used for the key-marker request parameter in a subsequent request. NextKeyMarker *string `type:"string"` // When a list is truncated, this element specifies the value that should be // used for the upload-id-marker request parameter in a subsequent request. NextUploadIdMarker *string `type:"string"` // When a prefix is provided in the request, this field contains the specified // prefix. The result contains only keys starting with the specified prefix. Prefix *string `type:"string"` // Upload ID after which listing began. UploadIdMarker *string `type:"string"` Uploads []MultipartUpload `locationName:"Upload" type:"list" flattened:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsOutput
func (ListMultipartUploadsOutput) GoString ¶
func (s ListMultipartUploadsOutput) GoString() string
GoString returns the string representation
func (ListMultipartUploadsOutput) MarshalFields ¶ added in v0.3.0
func (s ListMultipartUploadsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListMultipartUploadsOutput) SDKResponseMetadata ¶
func (s ListMultipartUploadsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListMultipartUploadsOutput) String ¶
func (s ListMultipartUploadsOutput) String() string
String returns the string representation
type ListMultipartUploadsPager ¶ added in v0.3.0
ListMultipartUploadsPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListMultipartUploadsPager) CurrentPage ¶ added in v0.3.0
func (p *ListMultipartUploadsPager) CurrentPage() *ListMultipartUploadsOutput
type ListMultipartUploadsRequest ¶
type ListMultipartUploadsRequest struct { *aws.Request Input *ListMultipartUploadsInput Copy func(*ListMultipartUploadsInput) ListMultipartUploadsRequest }
ListMultipartUploadsRequest is a API request type for the ListMultipartUploads API operation.
func (*ListMultipartUploadsRequest) Paginate ¶ added in v0.3.0
func (p *ListMultipartUploadsRequest) Paginate(opts ...aws.Option) ListMultipartUploadsPager
Paginate pages iterates over the pages of a ListMultipartUploadsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListMultipartUploads operation. req := client.ListMultipartUploadsRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (ListMultipartUploadsRequest) Send ¶
func (r ListMultipartUploadsRequest) Send() (*ListMultipartUploadsOutput, error)
Send marshals and sends the ListMultipartUploads API request.
type ListObjectVersionsInput ¶
type ListObjectVersionsInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // A delimiter is a character you use to group keys. Delimiter *string `location:"querystring" locationName:"delimiter" type:"string"` // Requests Amazon S3 to encode the object keys in the response and specifies // the encoding method to use. An object key may contain any Unicode character; // however, XML 1.0 parser cannot parse some characters, such as characters // with an ASCII value from 0 to 10. For characters that are not supported in // XML 1.0, you can add this parameter to request that Amazon S3 encode the // keys in the response. EncodingType EncodingType `location:"querystring" locationName:"encoding-type" type:"string" enum:"true"` // Specifies the key to start with when listing objects in a bucket. KeyMarker *string `location:"querystring" locationName:"key-marker" type:"string"` // Sets the maximum number of keys returned in the response. The response might // contain fewer keys but will never contain more. MaxKeys *int64 `location:"querystring" locationName:"max-keys" type:"integer"` // Limits the response to keys that begin with the specified prefix. Prefix *string `location:"querystring" locationName:"prefix" type:"string"` // Specifies the object version you want to start listing from. VersionIdMarker *string `location:"querystring" locationName:"version-id-marker" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsRequest
func (ListObjectVersionsInput) GoString ¶
func (s ListObjectVersionsInput) GoString() string
GoString returns the string representation
func (ListObjectVersionsInput) MarshalFields ¶ added in v0.3.0
func (s ListObjectVersionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListObjectVersionsInput) String ¶
func (s ListObjectVersionsInput) String() string
String returns the string representation
func (*ListObjectVersionsInput) Validate ¶
func (s *ListObjectVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListObjectVersionsOutput ¶
type ListObjectVersionsOutput struct { CommonPrefixes []CommonPrefix `type:"list" flattened:"true"` DeleteMarkers []DeleteMarkerEntry `locationName:"DeleteMarker" type:"list" flattened:"true"` Delimiter *string `type:"string"` // Encoding type used by Amazon S3 to encode object keys in the response. EncodingType EncodingType `type:"string" enum:"true"` // A flag that indicates whether or not Amazon S3 returned all of the results // that satisfied the search criteria. If your results were truncated, you can // make a follow-up paginated request using the NextKeyMarker and NextVersionIdMarker // response parameters as a starting place in another request to return the // rest of the results. IsTruncated *bool `type:"boolean"` // Marks the last Key returned in a truncated response. KeyMarker *string `type:"string"` MaxKeys *int64 `type:"integer"` Name *string `type:"string"` // Use this value for the key marker request parameter in a subsequent request. NextKeyMarker *string `type:"string"` // Use this value for the next version id marker parameter in a subsequent request. NextVersionIdMarker *string `type:"string"` Prefix *string `type:"string"` VersionIdMarker *string `type:"string"` Versions []ObjectVersion `locationName:"Version" type:"list" flattened:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsOutput
func (ListObjectVersionsOutput) GoString ¶
func (s ListObjectVersionsOutput) GoString() string
GoString returns the string representation
func (ListObjectVersionsOutput) MarshalFields ¶ added in v0.3.0
func (s ListObjectVersionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListObjectVersionsOutput) SDKResponseMetadata ¶
func (s ListObjectVersionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListObjectVersionsOutput) String ¶
func (s ListObjectVersionsOutput) String() string
String returns the string representation
type ListObjectVersionsPager ¶ added in v0.3.0
ListObjectVersionsPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListObjectVersionsPager) CurrentPage ¶ added in v0.3.0
func (p *ListObjectVersionsPager) CurrentPage() *ListObjectVersionsOutput
type ListObjectVersionsRequest ¶
type ListObjectVersionsRequest struct { *aws.Request Input *ListObjectVersionsInput Copy func(*ListObjectVersionsInput) ListObjectVersionsRequest }
ListObjectVersionsRequest is a API request type for the ListObjectVersions API operation.
func (*ListObjectVersionsRequest) Paginate ¶ added in v0.3.0
func (p *ListObjectVersionsRequest) Paginate(opts ...aws.Option) ListObjectVersionsPager
Paginate pages iterates over the pages of a ListObjectVersionsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListObjectVersions operation. req := client.ListObjectVersionsRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (ListObjectVersionsRequest) Send ¶
func (r ListObjectVersionsRequest) Send() (*ListObjectVersionsOutput, error)
Send marshals and sends the ListObjectVersions API request.
type ListObjectsInput ¶
type ListObjectsInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // A delimiter is a character you use to group keys. Delimiter *string `location:"querystring" locationName:"delimiter" type:"string"` // Requests Amazon S3 to encode the object keys in the response and specifies // the encoding method to use. An object key may contain any Unicode character; // however, XML 1.0 parser cannot parse some characters, such as characters // with an ASCII value from 0 to 10. For characters that are not supported in // XML 1.0, you can add this parameter to request that Amazon S3 encode the // keys in the response. EncodingType EncodingType `location:"querystring" locationName:"encoding-type" type:"string" enum:"true"` // Specifies the key to start with when listing objects in a bucket. Marker *string `location:"querystring" locationName:"marker" type:"string"` // Sets the maximum number of keys returned in the response. The response might // contain fewer keys but will never contain more. MaxKeys *int64 `location:"querystring" locationName:"max-keys" type:"integer"` // Limits the response to keys that begin with the specified prefix. Prefix *string `location:"querystring" locationName:"prefix" type:"string"` // Confirms that the requester knows that she or he will be charged for the // list objects request. Bucket owners need not specify this parameter in their // requests. RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsRequest
func (ListObjectsInput) GoString ¶
func (s ListObjectsInput) GoString() string
GoString returns the string representation
func (ListObjectsInput) MarshalFields ¶ added in v0.3.0
func (s ListObjectsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListObjectsInput) String ¶
func (s ListObjectsInput) String() string
String returns the string representation
func (*ListObjectsInput) Validate ¶
func (s *ListObjectsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListObjectsOutput ¶
type ListObjectsOutput struct { CommonPrefixes []CommonPrefix `type:"list" flattened:"true"` Contents []Object `type:"list" flattened:"true"` Delimiter *string `type:"string"` // Encoding type used by Amazon S3 to encode object keys in the response. EncodingType EncodingType `type:"string" enum:"true"` // A flag that indicates whether or not Amazon S3 returned all of the results // that satisfied the search criteria. IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` MaxKeys *int64 `type:"integer"` Name *string `type:"string"` // When response is truncated (the IsTruncated element value in the response // is true), you can use the key name in this field as marker in the subsequent // request to get next set of objects. Amazon S3 lists objects in alphabetical // order Note: This element is returned only if you have delimiter request parameter // specified. If response does not include the NextMaker and it is truncated, // you can use the value of the last Key in the response as the marker in the // subsequent request to get the next set of object keys. NextMarker *string `type:"string"` Prefix *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsOutput
func (ListObjectsOutput) GoString ¶
func (s ListObjectsOutput) GoString() string
GoString returns the string representation
func (ListObjectsOutput) MarshalFields ¶ added in v0.3.0
func (s ListObjectsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListObjectsOutput) SDKResponseMetadata ¶
func (s ListObjectsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListObjectsOutput) String ¶
func (s ListObjectsOutput) String() string
String returns the string representation
type ListObjectsPager ¶ added in v0.3.0
ListObjectsPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListObjectsPager) CurrentPage ¶ added in v0.3.0
func (p *ListObjectsPager) CurrentPage() *ListObjectsOutput
type ListObjectsRequest ¶
type ListObjectsRequest struct { *aws.Request Input *ListObjectsInput Copy func(*ListObjectsInput) ListObjectsRequest }
ListObjectsRequest is a API request type for the ListObjects API operation.
func (*ListObjectsRequest) Paginate ¶ added in v0.3.0
func (p *ListObjectsRequest) Paginate(opts ...aws.Option) ListObjectsPager
Paginate pages iterates over the pages of a ListObjectsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListObjects operation. req := client.ListObjectsRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (ListObjectsRequest) Send ¶
func (r ListObjectsRequest) Send() (*ListObjectsOutput, error)
Send marshals and sends the ListObjects API request.
type ListObjectsV2Input ¶
type ListObjectsV2Input struct { // Name of the bucket to list. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // ContinuationToken indicates Amazon S3 that the list is being continued on // this bucket with a token. ContinuationToken is obfuscated and is not a real // key ContinuationToken *string `location:"querystring" locationName:"continuation-token" type:"string"` // A delimiter is a character you use to group keys. Delimiter *string `location:"querystring" locationName:"delimiter" type:"string"` // Encoding type used by Amazon S3 to encode object keys in the response. EncodingType EncodingType `location:"querystring" locationName:"encoding-type" type:"string" enum:"true"` // The owner field is not present in listV2 by default, if you want to return // owner field with each key in the result then set the fetch owner field to // true FetchOwner *bool `location:"querystring" locationName:"fetch-owner" type:"boolean"` // Sets the maximum number of keys returned in the response. The response might // contain fewer keys but will never contain more. MaxKeys *int64 `location:"querystring" locationName:"max-keys" type:"integer"` // Limits the response to keys that begin with the specified prefix. Prefix *string `location:"querystring" locationName:"prefix" type:"string"` // Confirms that the requester knows that she or he will be charged for the // list objects request in V2 style. Bucket owners need not specify this parameter // in their requests. RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts // listing after this specified key. StartAfter can be any key in the bucket StartAfter *string `location:"querystring" locationName:"start-after" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Request
func (ListObjectsV2Input) GoString ¶
func (s ListObjectsV2Input) GoString() string
GoString returns the string representation
func (ListObjectsV2Input) MarshalFields ¶ added in v0.3.0
func (s ListObjectsV2Input) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListObjectsV2Input) String ¶
func (s ListObjectsV2Input) String() string
String returns the string representation
func (*ListObjectsV2Input) Validate ¶
func (s *ListObjectsV2Input) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListObjectsV2Output ¶
type ListObjectsV2Output struct { // CommonPrefixes contains all (if there are any) keys between Prefix and the // next occurrence of the string specified by delimiter CommonPrefixes []CommonPrefix `type:"list" flattened:"true"` // Metadata about each object returned. Contents []Object `type:"list" flattened:"true"` // ContinuationToken indicates Amazon S3 that the list is being continued on // this bucket with a token. ContinuationToken is obfuscated and is not a real // key ContinuationToken *string `type:"string"` // A delimiter is a character you use to group keys. Delimiter *string `type:"string"` // Encoding type used by Amazon S3 to encode object keys in the response. EncodingType EncodingType `type:"string" enum:"true"` // A flag that indicates whether or not Amazon S3 returned all of the results // that satisfied the search criteria. IsTruncated *bool `type:"boolean"` // KeyCount is the number of keys returned with this request. KeyCount will // always be less than equals to MaxKeys field. Say you ask for 50 keys, your // result will include less than equals 50 keys KeyCount *int64 `type:"integer"` // Sets the maximum number of keys returned in the response. The response might // contain fewer keys but will never contain more. MaxKeys *int64 `type:"integer"` // Name of the bucket to list. Name *string `type:"string"` // NextContinuationToken is sent when isTruncated is true which means there // are more keys in the bucket that can be listed. The next list requests to // Amazon S3 can be continued with this NextContinuationToken. NextContinuationToken // is obfuscated and is not a real key NextContinuationToken *string `type:"string"` // Limits the response to keys that begin with the specified prefix. Prefix *string `type:"string"` // StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts // listing after this specified key. StartAfter can be any key in the bucket StartAfter *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Output
func (ListObjectsV2Output) GoString ¶
func (s ListObjectsV2Output) GoString() string
GoString returns the string representation
func (ListObjectsV2Output) MarshalFields ¶ added in v0.3.0
func (s ListObjectsV2Output) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListObjectsV2Output) SDKResponseMetadata ¶
func (s ListObjectsV2Output) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListObjectsV2Output) String ¶
func (s ListObjectsV2Output) String() string
String returns the string representation
type ListObjectsV2Pager ¶ added in v0.3.0
ListObjectsV2Pager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListObjectsV2Pager) CurrentPage ¶ added in v0.3.0
func (p *ListObjectsV2Pager) CurrentPage() *ListObjectsV2Output
type ListObjectsV2Request ¶
type ListObjectsV2Request struct { *aws.Request Input *ListObjectsV2Input Copy func(*ListObjectsV2Input) ListObjectsV2Request }
ListObjectsV2Request is a API request type for the ListObjectsV2 API operation.
func (*ListObjectsV2Request) Paginate ¶ added in v0.3.0
func (p *ListObjectsV2Request) Paginate(opts ...aws.Option) ListObjectsV2Pager
Paginate pages iterates over the pages of a ListObjectsV2Request operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListObjectsV2 operation. req := client.ListObjectsV2Request(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (ListObjectsV2Request) Send ¶
func (r ListObjectsV2Request) Send() (*ListObjectsV2Output, error)
Send marshals and sends the ListObjectsV2 API request.
type ListPartsInput ¶
type ListPartsInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Sets the maximum number of parts to return. MaxParts *int64 `location:"querystring" locationName:"max-parts" type:"integer"` // Specifies the part after which listing should begin. Only parts with higher // part numbers will be listed. PartNumberMarker *int64 `location:"querystring" locationName:"part-number-marker" type:"integer"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // Upload ID identifying the multipart upload whose parts are being listed. // // UploadId is a required field UploadId *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsRequest
func (ListPartsInput) GoString ¶
func (s ListPartsInput) GoString() string
GoString returns the string representation
func (ListPartsInput) MarshalFields ¶ added in v0.3.0
func (s ListPartsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPartsInput) String ¶
func (s ListPartsInput) String() string
String returns the string representation
func (*ListPartsInput) Validate ¶
func (s *ListPartsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPartsOutput ¶
type ListPartsOutput struct { // Date when multipart upload will become eligible for abort operation by lifecycle. AbortDate *time.Time `location:"header" locationName:"x-amz-abort-date" type:"timestamp" timestampFormat:"rfc822"` // Id of the lifecycle rule that makes a multipart upload eligible for abort // operation. AbortRuleId *string `location:"header" locationName:"x-amz-abort-rule-id" type:"string"` // Name of the bucket to which the multipart upload was initiated. Bucket *string `type:"string"` // Identifies who initiated the multipart upload. Initiator *Initiator `type:"structure"` // Indicates whether the returned list of parts is truncated. IsTruncated *bool `type:"boolean"` // Object key for which the multipart upload was initiated. Key *string `min:"1" type:"string"` // Maximum number of parts that were allowed in the response. MaxParts *int64 `type:"integer"` // When a list is truncated, this element specifies the last part in the list, // as well as the value to use for the part-number-marker request parameter // in a subsequent request. NextPartNumberMarker *int64 `type:"integer"` Owner *Owner `type:"structure"` // Part number after which listing begins. PartNumberMarker *int64 `type:"integer"` Parts []Part `locationName:"Part" type:"list" flattened:"true"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // The class of storage used to store the object. StorageClass StorageClass `type:"string" enum:"true"` // Upload ID identifying the multipart upload whose parts are being listed. UploadId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsOutput
func (ListPartsOutput) GoString ¶
func (s ListPartsOutput) GoString() string
GoString returns the string representation
func (ListPartsOutput) MarshalFields ¶ added in v0.3.0
func (s ListPartsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPartsOutput) SDKResponseMetadata ¶
func (s ListPartsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListPartsOutput) String ¶
func (s ListPartsOutput) String() string
String returns the string representation
type ListPartsPager ¶ added in v0.3.0
ListPartsPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListPartsPager) CurrentPage ¶ added in v0.3.0
func (p *ListPartsPager) CurrentPage() *ListPartsOutput
type ListPartsRequest ¶
type ListPartsRequest struct { *aws.Request Input *ListPartsInput Copy func(*ListPartsInput) ListPartsRequest }
ListPartsRequest is a API request type for the ListParts API operation.
func (*ListPartsRequest) Paginate ¶ added in v0.3.0
func (p *ListPartsRequest) Paginate(opts ...aws.Option) ListPartsPager
Paginate pages iterates over the pages of a ListPartsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListParts operation. req := client.ListPartsRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (ListPartsRequest) Send ¶
func (r ListPartsRequest) Send() (*ListPartsOutput, error)
Send marshals and sends the ListParts API request.
type Location ¶ added in v0.2.0
type Location struct { // A list of grants that control access to the staged results. AccessControlList []Grant `locationNameList:"Grant" type:"list"` // The name of the bucket where the restore results will be placed. // // BucketName is a required field BucketName *string `type:"string" required:"true"` // The canned ACL to apply to the restore results. CannedACL ObjectCannedACL `type:"string" enum:"true"` // Describes the server-side encryption that will be applied to the restore // results. Encryption *Encryption `type:"structure"` // The prefix that is prepended to the restore results for this request. // // Prefix is a required field Prefix *string `type:"string" required:"true"` // The class of storage used to store the restore results. StorageClass StorageClass `type:"string" enum:"true"` // The tag-set that is applied to the restore results. Tagging *Tagging `type:"structure"` // A list of metadata to store with the restore results in S3. UserMetadata []MetadataEntry `locationNameList:"MetadataEntry" type:"list"` // contains filtered or unexported fields }
Describes an S3 location that will receive the results of the restore request. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3Location
func (Location) MarshalFields ¶ added in v0.3.0
func (s Location) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type LoggingEnabled ¶
type LoggingEnabled struct { // Specifies the bucket where you want Amazon S3 to store server access logs. // You can have your logs delivered to any bucket that you own, including the // same bucket that is being logged. You can also configure multiple buckets // to deliver their logs to the same target bucket. In this case you should // choose a different TargetPrefix for each source bucket so that the delivered // log files can be distinguished by key. // // TargetBucket is a required field TargetBucket *string `type:"string" required:"true"` TargetGrants []TargetGrant `locationNameList:"Grant" type:"list"` // This element lets you specify a prefix for the keys that the log files will // be stored under. // // TargetPrefix is a required field TargetPrefix *string `type:"string" required:"true"` // contains filtered or unexported fields }
Container for logging information. Presence of this element indicates that logging is enabled. Parameters TargetBucket and TargetPrefix are required in this case. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LoggingEnabled
func (LoggingEnabled) GoString ¶
func (s LoggingEnabled) GoString() string
GoString returns the string representation
func (LoggingEnabled) MarshalFields ¶ added in v0.3.0
func (s LoggingEnabled) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LoggingEnabled) String ¶
func (s LoggingEnabled) String() string
String returns the string representation
func (*LoggingEnabled) Validate ¶
func (s *LoggingEnabled) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MFADelete ¶
type MFADelete string
Enum values for MFADelete
func (MFADelete) MarshalValue ¶ added in v0.3.0
type MFADeleteStatus ¶
type MFADeleteStatus string
const ( MFADeleteStatusEnabled MFADeleteStatus = "Enabled" MFADeleteStatusDisabled MFADeleteStatus = "Disabled" )
Enum values for MFADeleteStatus
func (MFADeleteStatus) MarshalValue ¶ added in v0.3.0
func (enum MFADeleteStatus) MarshalValue() (string, error)
func (MFADeleteStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum MFADeleteStatus) MarshalValueBuf(b []byte) ([]byte, error)
type MetadataDirective ¶
type MetadataDirective string
const ( MetadataDirectiveCopy MetadataDirective = "COPY" MetadataDirectiveReplace MetadataDirective = "REPLACE" )
Enum values for MetadataDirective
func (MetadataDirective) MarshalValue ¶ added in v0.3.0
func (enum MetadataDirective) MarshalValue() (string, error)
func (MetadataDirective) MarshalValueBuf ¶ added in v0.3.0
func (enum MetadataDirective) MarshalValueBuf(b []byte) ([]byte, error)
type MetadataEntry ¶ added in v0.2.0
type MetadataEntry struct { Name *string `type:"string"` Value *string `type:"string"` // contains filtered or unexported fields }
A metadata key-value pair to store with an object. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetadataEntry
func (MetadataEntry) GoString ¶ added in v0.2.0
func (s MetadataEntry) GoString() string
GoString returns the string representation
func (MetadataEntry) MarshalFields ¶ added in v0.3.0
func (s MetadataEntry) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MetadataEntry) String ¶ added in v0.2.0
func (s MetadataEntry) String() string
String returns the string representation
type MetricsAndOperator ¶
type MetricsAndOperator struct { // The prefix used when evaluating an AND predicate. Prefix *string `type:"string"` // The list of tags used when evaluating an AND predicate. Tags []Tag `locationName:"Tag" locationNameList:"Tag" type:"list" flattened:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsAndOperator
func (MetricsAndOperator) GoString ¶
func (s MetricsAndOperator) GoString() string
GoString returns the string representation
func (MetricsAndOperator) MarshalFields ¶ added in v0.3.0
func (s MetricsAndOperator) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MetricsAndOperator) String ¶
func (s MetricsAndOperator) String() string
String returns the string representation
func (*MetricsAndOperator) Validate ¶
func (s *MetricsAndOperator) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MetricsConfiguration ¶
type MetricsConfiguration struct { // Specifies a metrics configuration filter. The metrics configuration will // only include objects that meet the filter's criteria. A filter must be a // prefix, a tag, or a conjunction (MetricsAndOperator). Filter *MetricsFilter `type:"structure"` // The ID used to identify the metrics configuration. // // Id is a required field Id *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsConfiguration
func (MetricsConfiguration) GoString ¶
func (s MetricsConfiguration) GoString() string
GoString returns the string representation
func (MetricsConfiguration) MarshalFields ¶ added in v0.3.0
func (s MetricsConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MetricsConfiguration) String ¶
func (s MetricsConfiguration) String() string
String returns the string representation
func (*MetricsConfiguration) Validate ¶
func (s *MetricsConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MetricsFilter ¶
type MetricsFilter struct { // A conjunction (logical AND) of predicates, which is used in evaluating a // metrics filter. The operator must have at least two predicates, and an object // must match all of the predicates in order for the filter to apply. And *MetricsAndOperator `type:"structure"` // The prefix used when evaluating a metrics filter. Prefix *string `type:"string"` // The tag used when evaluating a metrics filter. Tag *Tag `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsFilter
func (MetricsFilter) GoString ¶
func (s MetricsFilter) GoString() string
GoString returns the string representation
func (MetricsFilter) MarshalFields ¶ added in v0.3.0
func (s MetricsFilter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MetricsFilter) String ¶
func (s MetricsFilter) String() string
String returns the string representation
func (*MetricsFilter) Validate ¶
func (s *MetricsFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MultipartUpload ¶
type MultipartUpload struct { // Date and time at which the multipart upload was initiated. Initiated *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Identifies who initiated the multipart upload. Initiator *Initiator `type:"structure"` // Key of the object for which the multipart upload was initiated. Key *string `min:"1" type:"string"` Owner *Owner `type:"structure"` // The class of storage used to store the object. StorageClass StorageClass `type:"string" enum:"true"` // Upload ID that identifies the multipart upload. UploadId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MultipartUpload
func (MultipartUpload) GoString ¶
func (s MultipartUpload) GoString() string
GoString returns the string representation
func (MultipartUpload) MarshalFields ¶ added in v0.3.0
func (s MultipartUpload) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MultipartUpload) String ¶
func (s MultipartUpload) String() string
String returns the string representation
type NoncurrentVersionExpiration ¶
type NoncurrentVersionExpiration struct { // Specifies the number of days an object is noncurrent before Amazon S3 can // perform the associated action. For information about the noncurrent days // calculations, see How Amazon S3 Calculates When an Object Became Noncurrent // (http://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) in // the Amazon Simple Storage Service Developer Guide. NoncurrentDays *int64 `type:"integer"` // contains filtered or unexported fields }
Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionExpiration
func (NoncurrentVersionExpiration) GoString ¶
func (s NoncurrentVersionExpiration) GoString() string
GoString returns the string representation
func (NoncurrentVersionExpiration) MarshalFields ¶ added in v0.3.0
func (s NoncurrentVersionExpiration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (NoncurrentVersionExpiration) String ¶
func (s NoncurrentVersionExpiration) String() string
String returns the string representation
type NoncurrentVersionTransition ¶
type NoncurrentVersionTransition struct { // Specifies the number of days an object is noncurrent before Amazon S3 can // perform the associated action. For information about the noncurrent days // calculations, see How Amazon S3 Calculates When an Object Became Noncurrent // (http://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) in // the Amazon Simple Storage Service Developer Guide. NoncurrentDays *int64 `type:"integer"` // The class of storage used to store the object. StorageClass TransitionStorageClass `type:"string" enum:"true"` // contains filtered or unexported fields }
Container for the transition rule that describes when noncurrent objects transition to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING or GLACIER storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING or GLACIER storage class at a specific period in the object's lifetime. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionTransition
func (NoncurrentVersionTransition) GoString ¶
func (s NoncurrentVersionTransition) GoString() string
GoString returns the string representation
func (NoncurrentVersionTransition) MarshalFields ¶ added in v0.3.0
func (s NoncurrentVersionTransition) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (NoncurrentVersionTransition) String ¶
func (s NoncurrentVersionTransition) String() string
String returns the string representation
type NotificationConfigurationFilter ¶
type NotificationConfigurationFilter struct { // A container for object key name prefix and suffix filtering rules. Key *KeyFilter `locationName:"S3Key" type:"structure"` // contains filtered or unexported fields }
A container for object key name filtering rules. For information about key name filtering, see Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) in the Amazon Simple Storage Service Developer Guide. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfigurationFilter
func (NotificationConfigurationFilter) GoString ¶
func (s NotificationConfigurationFilter) GoString() string
GoString returns the string representation
func (NotificationConfigurationFilter) MarshalFields ¶ added in v0.3.0
func (s NotificationConfigurationFilter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (NotificationConfigurationFilter) String ¶
func (s NotificationConfigurationFilter) String() string
String returns the string representation
type Object ¶
type Object struct { ETag *string `type:"string"` Key *string `min:"1" type:"string"` LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` Owner *Owner `type:"structure"` Size *int64 `type:"integer"` // The class of storage used to store the object. StorageClass ObjectStorageClass `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Object
func (Object) MarshalFields ¶ added in v0.3.0
func (s Object) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type ObjectCannedACL ¶
type ObjectCannedACL string
const ( ObjectCannedACLPrivate ObjectCannedACL = "private" ObjectCannedACLPublicRead ObjectCannedACL = "public-read" ObjectCannedACLPublicReadWrite ObjectCannedACL = "public-read-write" ObjectCannedACLAuthenticatedRead ObjectCannedACL = "authenticated-read" ObjectCannedACLAwsExecRead ObjectCannedACL = "aws-exec-read" ObjectCannedACLBucketOwnerRead ObjectCannedACL = "bucket-owner-read" ObjectCannedACLBucketOwnerFullControl ObjectCannedACL = "bucket-owner-full-control" )
Enum values for ObjectCannedACL
func (ObjectCannedACL) MarshalValue ¶ added in v0.3.0
func (enum ObjectCannedACL) MarshalValue() (string, error)
func (ObjectCannedACL) MarshalValueBuf ¶ added in v0.3.0
func (enum ObjectCannedACL) MarshalValueBuf(b []byte) ([]byte, error)
type ObjectIdentifier ¶
type ObjectIdentifier struct { // Key name of the object to delete. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // VersionId for the specific version of the object to delete. VersionId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier
func (ObjectIdentifier) GoString ¶
func (s ObjectIdentifier) GoString() string
GoString returns the string representation
func (ObjectIdentifier) MarshalFields ¶ added in v0.3.0
func (s ObjectIdentifier) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ObjectIdentifier) String ¶
func (s ObjectIdentifier) String() string
String returns the string representation
func (*ObjectIdentifier) Validate ¶
func (s *ObjectIdentifier) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ObjectLockConfiguration ¶ added in v0.6.0
type ObjectLockConfiguration struct { // Indicates whether this bucket has an Object Lock configuration enabled. ObjectLockEnabled ObjectLockEnabled `type:"string" enum:"true"` // The Object Lock rule in place for the specified object. Rule *ObjectLockRule `type:"structure"` // contains filtered or unexported fields }
The container element for Object Lock configuration parameters. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockConfiguration
func (ObjectLockConfiguration) GoString ¶ added in v0.6.0
func (s ObjectLockConfiguration) GoString() string
GoString returns the string representation
func (ObjectLockConfiguration) MarshalFields ¶ added in v0.6.0
func (s ObjectLockConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ObjectLockConfiguration) String ¶ added in v0.6.0
func (s ObjectLockConfiguration) String() string
String returns the string representation
type ObjectLockEnabled ¶ added in v0.6.0
type ObjectLockEnabled string
const (
ObjectLockEnabledEnabled ObjectLockEnabled = "Enabled"
)
Enum values for ObjectLockEnabled
func (ObjectLockEnabled) MarshalValue ¶ added in v0.6.0
func (enum ObjectLockEnabled) MarshalValue() (string, error)
func (ObjectLockEnabled) MarshalValueBuf ¶ added in v0.6.0
func (enum ObjectLockEnabled) MarshalValueBuf(b []byte) ([]byte, error)
type ObjectLockLegalHold ¶ added in v0.6.0
type ObjectLockLegalHold struct { // Indicates whether the specified object has a Legal Hold in place. Status ObjectLockLegalHoldStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
A Legal Hold configuration for an object. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockLegalHold
func (ObjectLockLegalHold) GoString ¶ added in v0.6.0
func (s ObjectLockLegalHold) GoString() string
GoString returns the string representation
func (ObjectLockLegalHold) MarshalFields ¶ added in v0.6.0
func (s ObjectLockLegalHold) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ObjectLockLegalHold) String ¶ added in v0.6.0
func (s ObjectLockLegalHold) String() string
String returns the string representation
type ObjectLockLegalHoldStatus ¶ added in v0.6.0
type ObjectLockLegalHoldStatus string
const ( ObjectLockLegalHoldStatusOn ObjectLockLegalHoldStatus = "ON" ObjectLockLegalHoldStatusOff ObjectLockLegalHoldStatus = "OFF" )
Enum values for ObjectLockLegalHoldStatus
func (ObjectLockLegalHoldStatus) MarshalValue ¶ added in v0.6.0
func (enum ObjectLockLegalHoldStatus) MarshalValue() (string, error)
func (ObjectLockLegalHoldStatus) MarshalValueBuf ¶ added in v0.6.0
func (enum ObjectLockLegalHoldStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ObjectLockMode ¶ added in v0.6.0
type ObjectLockMode string
const ( ObjectLockModeGovernance ObjectLockMode = "GOVERNANCE" ObjectLockModeCompliance ObjectLockMode = "COMPLIANCE" )
Enum values for ObjectLockMode
func (ObjectLockMode) MarshalValue ¶ added in v0.6.0
func (enum ObjectLockMode) MarshalValue() (string, error)
func (ObjectLockMode) MarshalValueBuf ¶ added in v0.6.0
func (enum ObjectLockMode) MarshalValueBuf(b []byte) ([]byte, error)
type ObjectLockRetention ¶ added in v0.6.0
type ObjectLockRetention struct { // Indicates the Retention mode for the specified object. Mode ObjectLockRetentionMode `type:"string" enum:"true"` // The date on which this Object Lock Retention will expire. RetainUntilDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // contains filtered or unexported fields }
A Retention configuration for an object. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRetention
func (ObjectLockRetention) GoString ¶ added in v0.6.0
func (s ObjectLockRetention) GoString() string
GoString returns the string representation
func (ObjectLockRetention) MarshalFields ¶ added in v0.6.0
func (s ObjectLockRetention) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ObjectLockRetention) String ¶ added in v0.6.0
func (s ObjectLockRetention) String() string
String returns the string representation
type ObjectLockRetentionMode ¶ added in v0.6.0
type ObjectLockRetentionMode string
const ( ObjectLockRetentionModeGovernance ObjectLockRetentionMode = "GOVERNANCE" ObjectLockRetentionModeCompliance ObjectLockRetentionMode = "COMPLIANCE" )
Enum values for ObjectLockRetentionMode
func (ObjectLockRetentionMode) MarshalValue ¶ added in v0.6.0
func (enum ObjectLockRetentionMode) MarshalValue() (string, error)
func (ObjectLockRetentionMode) MarshalValueBuf ¶ added in v0.6.0
func (enum ObjectLockRetentionMode) MarshalValueBuf(b []byte) ([]byte, error)
type ObjectLockRule ¶ added in v0.6.0
type ObjectLockRule struct { // The default retention period that you want to apply to new objects placed // in the specified bucket. DefaultRetention *DefaultRetention `type:"structure"` // contains filtered or unexported fields }
The container element for an Object Lock rule. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRule
func (ObjectLockRule) GoString ¶ added in v0.6.0
func (s ObjectLockRule) GoString() string
GoString returns the string representation
func (ObjectLockRule) MarshalFields ¶ added in v0.6.0
func (s ObjectLockRule) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ObjectLockRule) String ¶ added in v0.6.0
func (s ObjectLockRule) String() string
String returns the string representation
type ObjectStorageClass ¶
type ObjectStorageClass string
const ( ObjectStorageClassStandard ObjectStorageClass = "STANDARD" ObjectStorageClassReducedRedundancy ObjectStorageClass = "REDUCED_REDUNDANCY" ObjectStorageClassGlacier ObjectStorageClass = "GLACIER" ObjectStorageClassStandardIa ObjectStorageClass = "STANDARD_IA" ObjectStorageClassOnezoneIa ObjectStorageClass = "ONEZONE_IA" ObjectStorageClassIntelligentTiering ObjectStorageClass = "INTELLIGENT_TIERING" )
Enum values for ObjectStorageClass
func (ObjectStorageClass) MarshalValue ¶ added in v0.3.0
func (enum ObjectStorageClass) MarshalValue() (string, error)
func (ObjectStorageClass) MarshalValueBuf ¶ added in v0.3.0
func (enum ObjectStorageClass) MarshalValueBuf(b []byte) ([]byte, error)
type ObjectVersion ¶
type ObjectVersion struct { ETag *string `type:"string"` // Specifies whether the object is (true) or is not (false) the latest version // of an object. IsLatest *bool `type:"boolean"` // The object key. Key *string `min:"1" type:"string"` // Date and time the object was last modified. LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` Owner *Owner `type:"structure"` // Size in bytes of the object. Size *int64 `type:"integer"` // The class of storage used to store the object. StorageClass ObjectVersionStorageClass `type:"string" enum:"true"` // Version ID of an object. VersionId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectVersion
func (ObjectVersion) GoString ¶
func (s ObjectVersion) GoString() string
GoString returns the string representation
func (ObjectVersion) MarshalFields ¶ added in v0.3.0
func (s ObjectVersion) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ObjectVersion) String ¶
func (s ObjectVersion) String() string
String returns the string representation
type ObjectVersionStorageClass ¶
type ObjectVersionStorageClass string
const (
ObjectVersionStorageClassStandard ObjectVersionStorageClass = "STANDARD"
)
Enum values for ObjectVersionStorageClass
func (ObjectVersionStorageClass) MarshalValue ¶ added in v0.3.0
func (enum ObjectVersionStorageClass) MarshalValue() (string, error)
func (ObjectVersionStorageClass) MarshalValueBuf ¶ added in v0.3.0
func (enum ObjectVersionStorageClass) MarshalValueBuf(b []byte) ([]byte, error)
type OutputLocation ¶ added in v0.2.0
type OutputLocation struct { // Describes an S3 location that will receive the results of the restore request. S3 *Location `type:"structure"` // contains filtered or unexported fields }
Describes the location where the restore job's output is stored. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OutputLocation
func (OutputLocation) GoString ¶ added in v0.2.0
func (s OutputLocation) GoString() string
GoString returns the string representation
func (OutputLocation) MarshalFields ¶ added in v0.3.0
func (s OutputLocation) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (OutputLocation) String ¶ added in v0.2.0
func (s OutputLocation) String() string
String returns the string representation
func (*OutputLocation) Validate ¶ added in v0.2.0
func (s *OutputLocation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OutputSerialization ¶ added in v0.2.0
type OutputSerialization struct { // Describes the serialization of CSV-encoded Select results. CSV *CSVOutput `type:"structure"` // Specifies JSON as request's output serialization format. JSON *JSONOutput `type:"structure"` // contains filtered or unexported fields }
Describes how results of the Select job are serialized. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OutputSerialization
func (OutputSerialization) GoString ¶ added in v0.2.0
func (s OutputSerialization) GoString() string
GoString returns the string representation
func (OutputSerialization) MarshalFields ¶ added in v0.3.0
func (s OutputSerialization) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (OutputSerialization) String ¶ added in v0.2.0
func (s OutputSerialization) String() string
String returns the string representation
type Owner ¶
type Owner struct { DisplayName *string `type:"string"` ID *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Owner
func (Owner) MarshalFields ¶ added in v0.3.0
func (s Owner) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type OwnerOverride ¶ added in v0.2.0
type OwnerOverride string
const (
OwnerOverrideDestination OwnerOverride = "Destination"
)
Enum values for OwnerOverride
func (OwnerOverride) MarshalValue ¶ added in v0.3.0
func (enum OwnerOverride) MarshalValue() (string, error)
func (OwnerOverride) MarshalValueBuf ¶ added in v0.3.0
func (enum OwnerOverride) MarshalValueBuf(b []byte) ([]byte, error)
type ParquetInput ¶ added in v0.5.0
type ParquetInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ParquetInput
func (ParquetInput) GoString ¶ added in v0.5.0
func (s ParquetInput) GoString() string
GoString returns the string representation
func (ParquetInput) MarshalFields ¶ added in v0.5.0
func (s ParquetInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ParquetInput) String ¶ added in v0.5.0
func (s ParquetInput) String() string
String returns the string representation
type Part ¶
type Part struct { // Entity tag returned when the part was uploaded. ETag *string `type:"string"` // Date and time at which the part was uploaded. LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Part number identifying the part. This is a positive integer between 1 and // 10,000. PartNumber *int64 `type:"integer"` // Size in bytes of the uploaded part data. Size *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Part
func (Part) MarshalFields ¶ added in v0.3.0
func (s Part) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type Permission ¶
type Permission string
const ( PermissionFullControl Permission = "FULL_CONTROL" PermissionWrite Permission = "WRITE" PermissionWriteAcp Permission = "WRITE_ACP" PermissionRead Permission = "READ" PermissionReadAcp Permission = "READ_ACP" )
Enum values for Permission
func (Permission) MarshalValue ¶ added in v0.3.0
func (enum Permission) MarshalValue() (string, error)
func (Permission) MarshalValueBuf ¶ added in v0.3.0
func (enum Permission) MarshalValueBuf(b []byte) ([]byte, error)
type PolicyStatus ¶ added in v0.6.0
type PolicyStatus struct { // The policy status for this bucket. TRUE indicates that this bucket is public. // FALSE indicates that the bucket is not public. IsPublic *bool `locationName:"IsPublic" type:"boolean"` // contains filtered or unexported fields }
The container element for a bucket's policy status. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PolicyStatus
func (PolicyStatus) GoString ¶ added in v0.6.0
func (s PolicyStatus) GoString() string
GoString returns the string representation
func (PolicyStatus) MarshalFields ¶ added in v0.6.0
func (s PolicyStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PolicyStatus) String ¶ added in v0.6.0
func (s PolicyStatus) String() string
String returns the string representation
type PublicAccessBlockConfiguration ¶ added in v0.6.0
type PublicAccessBlockConfiguration struct { // Specifies whether Amazon S3 should block public access control lists (ACLs) // for this bucket and objects in this bucket. Setting this element to TRUE // causes the following behavior: // // * PUT Bucket acl and PUT Object acl calls fail if the specified ACL is // public. // // * PUT Object calls fail if the request includes a public ACL. // // Enabling this setting doesn't affect existing policies or ACLs. BlockPublicAcls *bool `locationName:"BlockPublicAcls" type:"boolean"` // Specifies whether Amazon S3 should block public bucket policies for this // bucket. Setting this element to TRUE causes Amazon S3 to reject calls to // PUT Bucket policy if the specified bucket policy allows public access. // // Enabling this setting doesn't affect existing bucket policies. BlockPublicPolicy *bool `locationName:"BlockPublicPolicy" type:"boolean"` // Specifies whether Amazon S3 should ignore public ACLs for this bucket and // objects in this bucket. Setting this element to TRUE causes Amazon S3 to // ignore all public ACLs on this bucket and objects in this bucket. // // Enabling this setting doesn't affect the persistence of any existing ACLs // and doesn't prevent new public ACLs from being set. IgnorePublicAcls *bool `locationName:"IgnorePublicAcls" type:"boolean"` // Specifies whether Amazon S3 should restrict public bucket policies for this // bucket. Setting this element to TRUE restricts access to this bucket to only // AWS services and authorized users within this account if the bucket has a // public policy. // // Enabling this setting doesn't affect previously stored bucket policies, except // that public and cross-account access within any public bucket policy, including // non-public delegation to specific accounts, is blocked. RestrictPublicBuckets *bool `locationName:"RestrictPublicBuckets" type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PublicAccessBlockConfiguration
func (PublicAccessBlockConfiguration) GoString ¶ added in v0.6.0
func (s PublicAccessBlockConfiguration) GoString() string
GoString returns the string representation
func (PublicAccessBlockConfiguration) MarshalFields ¶ added in v0.6.0
func (s PublicAccessBlockConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PublicAccessBlockConfiguration) String ¶ added in v0.6.0
func (s PublicAccessBlockConfiguration) String() string
String returns the string representation
type PutBucketAccelerateConfigurationInput ¶
type PutBucketAccelerateConfigurationInput struct { // Specifies the Accelerate Configuration you want to set for the bucket. // // AccelerateConfiguration is a required field AccelerateConfiguration *AccelerateConfiguration `locationName:"AccelerateConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // Name of the bucket for which the accelerate configuration is set. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfigurationRequest
func (PutBucketAccelerateConfigurationInput) GoString ¶
func (s PutBucketAccelerateConfigurationInput) GoString() string
GoString returns the string representation
func (PutBucketAccelerateConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketAccelerateConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketAccelerateConfigurationInput) String ¶
func (s PutBucketAccelerateConfigurationInput) String() string
String returns the string representation
func (*PutBucketAccelerateConfigurationInput) Validate ¶
func (s *PutBucketAccelerateConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketAccelerateConfigurationOutput ¶
type PutBucketAccelerateConfigurationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfigurationOutput
func (PutBucketAccelerateConfigurationOutput) GoString ¶
func (s PutBucketAccelerateConfigurationOutput) GoString() string
GoString returns the string representation
func (PutBucketAccelerateConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketAccelerateConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketAccelerateConfigurationOutput) SDKResponseMetadata ¶
func (s PutBucketAccelerateConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketAccelerateConfigurationOutput) String ¶
func (s PutBucketAccelerateConfigurationOutput) String() string
String returns the string representation
type PutBucketAccelerateConfigurationRequest ¶
type PutBucketAccelerateConfigurationRequest struct { *aws.Request Input *PutBucketAccelerateConfigurationInput Copy func(*PutBucketAccelerateConfigurationInput) PutBucketAccelerateConfigurationRequest }
PutBucketAccelerateConfigurationRequest is a API request type for the PutBucketAccelerateConfiguration API operation.
func (PutBucketAccelerateConfigurationRequest) Send ¶
func (r PutBucketAccelerateConfigurationRequest) Send() (*PutBucketAccelerateConfigurationOutput, error)
Send marshals and sends the PutBucketAccelerateConfiguration API request.
type PutBucketAclInput ¶
type PutBucketAclInput struct { // The canned ACL to apply to the bucket. ACL BucketCannedACL `location:"header" locationName:"x-amz-acl" type:"string" enum:"true"` AccessControlPolicy *AccessControlPolicy `locationName:"AccessControlPolicy" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Allows grantee the read, write, read ACP, and write ACP permissions on the // bucket. GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"` // Allows grantee to list the objects in the bucket. GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"` // Allows grantee to read the bucket ACL. GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"` // Allows grantee to create, overwrite, and delete any object in the bucket. GrantWrite *string `location:"header" locationName:"x-amz-grant-write" type:"string"` // Allows grantee to write the ACL for the applicable bucket. GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAclRequest
func (PutBucketAclInput) GoString ¶
func (s PutBucketAclInput) GoString() string
GoString returns the string representation
func (PutBucketAclInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketAclInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketAclInput) String ¶
func (s PutBucketAclInput) String() string
String returns the string representation
func (*PutBucketAclInput) Validate ¶
func (s *PutBucketAclInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketAclOutput ¶
type PutBucketAclOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAclOutput
func (PutBucketAclOutput) GoString ¶
func (s PutBucketAclOutput) GoString() string
GoString returns the string representation
func (PutBucketAclOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketAclOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketAclOutput) SDKResponseMetadata ¶
func (s PutBucketAclOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketAclOutput) String ¶
func (s PutBucketAclOutput) String() string
String returns the string representation
type PutBucketAclRequest ¶
type PutBucketAclRequest struct { *aws.Request Input *PutBucketAclInput Copy func(*PutBucketAclInput) PutBucketAclRequest }
PutBucketAclRequest is a API request type for the PutBucketAcl API operation.
func (PutBucketAclRequest) Send ¶
func (r PutBucketAclRequest) Send() (*PutBucketAclOutput, error)
Send marshals and sends the PutBucketAcl API request.
type PutBucketAnalyticsConfigurationInput ¶
type PutBucketAnalyticsConfigurationInput struct { // The configuration and any analyses for the analytics filter. // // AnalyticsConfiguration is a required field AnalyticsConfiguration *AnalyticsConfiguration `locationName:"AnalyticsConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // The name of the bucket to which an analytics configuration is stored. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The identifier used to represent an analytics configuration. // // Id is a required field Id *string `location:"querystring" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfigurationRequest
func (PutBucketAnalyticsConfigurationInput) GoString ¶
func (s PutBucketAnalyticsConfigurationInput) GoString() string
GoString returns the string representation
func (PutBucketAnalyticsConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketAnalyticsConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketAnalyticsConfigurationInput) String ¶
func (s PutBucketAnalyticsConfigurationInput) String() string
String returns the string representation
func (*PutBucketAnalyticsConfigurationInput) Validate ¶
func (s *PutBucketAnalyticsConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketAnalyticsConfigurationOutput ¶
type PutBucketAnalyticsConfigurationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfigurationOutput
func (PutBucketAnalyticsConfigurationOutput) GoString ¶
func (s PutBucketAnalyticsConfigurationOutput) GoString() string
GoString returns the string representation
func (PutBucketAnalyticsConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketAnalyticsConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketAnalyticsConfigurationOutput) SDKResponseMetadata ¶
func (s PutBucketAnalyticsConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketAnalyticsConfigurationOutput) String ¶
func (s PutBucketAnalyticsConfigurationOutput) String() string
String returns the string representation
type PutBucketAnalyticsConfigurationRequest ¶
type PutBucketAnalyticsConfigurationRequest struct { *aws.Request Input *PutBucketAnalyticsConfigurationInput Copy func(*PutBucketAnalyticsConfigurationInput) PutBucketAnalyticsConfigurationRequest }
PutBucketAnalyticsConfigurationRequest is a API request type for the PutBucketAnalyticsConfiguration API operation.
func (PutBucketAnalyticsConfigurationRequest) Send ¶
func (r PutBucketAnalyticsConfigurationRequest) Send() (*PutBucketAnalyticsConfigurationOutput, error)
Send marshals and sends the PutBucketAnalyticsConfiguration API request.
type PutBucketCorsInput ¶
type PutBucketCorsInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // CORSConfiguration is a required field CORSConfiguration *CORSConfiguration `locationName:"CORSConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsRequest
func (PutBucketCorsInput) GoString ¶
func (s PutBucketCorsInput) GoString() string
GoString returns the string representation
func (PutBucketCorsInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketCorsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketCorsInput) String ¶
func (s PutBucketCorsInput) String() string
String returns the string representation
func (*PutBucketCorsInput) Validate ¶
func (s *PutBucketCorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketCorsOutput ¶
type PutBucketCorsOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsOutput
func (PutBucketCorsOutput) GoString ¶
func (s PutBucketCorsOutput) GoString() string
GoString returns the string representation
func (PutBucketCorsOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketCorsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketCorsOutput) SDKResponseMetadata ¶
func (s PutBucketCorsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketCorsOutput) String ¶
func (s PutBucketCorsOutput) String() string
String returns the string representation
type PutBucketCorsRequest ¶
type PutBucketCorsRequest struct { *aws.Request Input *PutBucketCorsInput Copy func(*PutBucketCorsInput) PutBucketCorsRequest }
PutBucketCorsRequest is a API request type for the PutBucketCors API operation.
func (PutBucketCorsRequest) Send ¶
func (r PutBucketCorsRequest) Send() (*PutBucketCorsOutput, error)
Send marshals and sends the PutBucketCors API request.
type PutBucketEncryptionInput ¶ added in v0.2.0
type PutBucketEncryptionInput struct { // The name of the bucket for which the server-side encryption configuration // is set. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Container for server-side encryption configuration rules. Currently S3 supports // one rule only. // // ServerSideEncryptionConfiguration is a required field ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryptionRequest
func (PutBucketEncryptionInput) GoString ¶ added in v0.2.0
func (s PutBucketEncryptionInput) GoString() string
GoString returns the string representation
func (PutBucketEncryptionInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketEncryptionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketEncryptionInput) String ¶ added in v0.2.0
func (s PutBucketEncryptionInput) String() string
String returns the string representation
func (*PutBucketEncryptionInput) Validate ¶ added in v0.2.0
func (s *PutBucketEncryptionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketEncryptionOutput ¶ added in v0.2.0
type PutBucketEncryptionOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryptionOutput
func (PutBucketEncryptionOutput) GoString ¶ added in v0.2.0
func (s PutBucketEncryptionOutput) GoString() string
GoString returns the string representation
func (PutBucketEncryptionOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketEncryptionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketEncryptionOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s PutBucketEncryptionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketEncryptionOutput) String ¶ added in v0.2.0
func (s PutBucketEncryptionOutput) String() string
String returns the string representation
type PutBucketEncryptionRequest ¶ added in v0.2.0
type PutBucketEncryptionRequest struct { *aws.Request Input *PutBucketEncryptionInput Copy func(*PutBucketEncryptionInput) PutBucketEncryptionRequest }
PutBucketEncryptionRequest is a API request type for the PutBucketEncryption API operation.
func (PutBucketEncryptionRequest) Send ¶ added in v0.2.0
func (r PutBucketEncryptionRequest) Send() (*PutBucketEncryptionOutput, error)
Send marshals and sends the PutBucketEncryption API request.
type PutBucketInventoryConfigurationInput ¶
type PutBucketInventoryConfigurationInput struct { // The name of the bucket where the inventory configuration will be stored. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The ID used to identify the inventory configuration. // // Id is a required field Id *string `location:"querystring" locationName:"id" type:"string" required:"true"` // Specifies the inventory configuration. // // InventoryConfiguration is a required field InventoryConfiguration *InventoryConfiguration `locationName:"InventoryConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfigurationRequest
func (PutBucketInventoryConfigurationInput) GoString ¶
func (s PutBucketInventoryConfigurationInput) GoString() string
GoString returns the string representation
func (PutBucketInventoryConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketInventoryConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketInventoryConfigurationInput) String ¶
func (s PutBucketInventoryConfigurationInput) String() string
String returns the string representation
func (*PutBucketInventoryConfigurationInput) Validate ¶
func (s *PutBucketInventoryConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketInventoryConfigurationOutput ¶
type PutBucketInventoryConfigurationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfigurationOutput
func (PutBucketInventoryConfigurationOutput) GoString ¶
func (s PutBucketInventoryConfigurationOutput) GoString() string
GoString returns the string representation
func (PutBucketInventoryConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketInventoryConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketInventoryConfigurationOutput) SDKResponseMetadata ¶
func (s PutBucketInventoryConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketInventoryConfigurationOutput) String ¶
func (s PutBucketInventoryConfigurationOutput) String() string
String returns the string representation
type PutBucketInventoryConfigurationRequest ¶
type PutBucketInventoryConfigurationRequest struct { *aws.Request Input *PutBucketInventoryConfigurationInput Copy func(*PutBucketInventoryConfigurationInput) PutBucketInventoryConfigurationRequest }
PutBucketInventoryConfigurationRequest is a API request type for the PutBucketInventoryConfiguration API operation.
func (PutBucketInventoryConfigurationRequest) Send ¶
func (r PutBucketInventoryConfigurationRequest) Send() (*PutBucketInventoryConfigurationOutput, error)
Send marshals and sends the PutBucketInventoryConfiguration API request.
type PutBucketLifecycleConfigurationInput ¶
type PutBucketLifecycleConfigurationInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` LifecycleConfiguration *BucketLifecycleConfiguration `locationName:"LifecycleConfiguration" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationRequest
func (PutBucketLifecycleConfigurationInput) GoString ¶
func (s PutBucketLifecycleConfigurationInput) GoString() string
GoString returns the string representation
func (PutBucketLifecycleConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketLifecycleConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketLifecycleConfigurationInput) String ¶
func (s PutBucketLifecycleConfigurationInput) String() string
String returns the string representation
func (*PutBucketLifecycleConfigurationInput) Validate ¶
func (s *PutBucketLifecycleConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketLifecycleConfigurationOutput ¶
type PutBucketLifecycleConfigurationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationOutput
func (PutBucketLifecycleConfigurationOutput) GoString ¶
func (s PutBucketLifecycleConfigurationOutput) GoString() string
GoString returns the string representation
func (PutBucketLifecycleConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketLifecycleConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketLifecycleConfigurationOutput) SDKResponseMetadata ¶
func (s PutBucketLifecycleConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketLifecycleConfigurationOutput) String ¶
func (s PutBucketLifecycleConfigurationOutput) String() string
String returns the string representation
type PutBucketLifecycleConfigurationRequest ¶
type PutBucketLifecycleConfigurationRequest struct { *aws.Request Input *PutBucketLifecycleConfigurationInput Copy func(*PutBucketLifecycleConfigurationInput) PutBucketLifecycleConfigurationRequest }
PutBucketLifecycleConfigurationRequest is a API request type for the PutBucketLifecycleConfiguration API operation.
func (PutBucketLifecycleConfigurationRequest) Send ¶
func (r PutBucketLifecycleConfigurationRequest) Send() (*PutBucketLifecycleConfigurationOutput, error)
Send marshals and sends the PutBucketLifecycleConfiguration API request.
type PutBucketLifecycleInput ¶
type PutBucketLifecycleInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` LifecycleConfiguration *LifecycleConfiguration `locationName:"LifecycleConfiguration" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleRequest
func (PutBucketLifecycleInput) GoString ¶
func (s PutBucketLifecycleInput) GoString() string
GoString returns the string representation
func (PutBucketLifecycleInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketLifecycleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketLifecycleInput) String ¶
func (s PutBucketLifecycleInput) String() string
String returns the string representation
func (*PutBucketLifecycleInput) Validate ¶
func (s *PutBucketLifecycleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketLifecycleOutput ¶
type PutBucketLifecycleOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleOutput
func (PutBucketLifecycleOutput) GoString ¶
func (s PutBucketLifecycleOutput) GoString() string
GoString returns the string representation
func (PutBucketLifecycleOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketLifecycleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketLifecycleOutput) SDKResponseMetadata ¶
func (s PutBucketLifecycleOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketLifecycleOutput) String ¶
func (s PutBucketLifecycleOutput) String() string
String returns the string representation
type PutBucketLifecycleRequest ¶
type PutBucketLifecycleRequest struct { *aws.Request Input *PutBucketLifecycleInput Copy func(*PutBucketLifecycleInput) PutBucketLifecycleRequest }
PutBucketLifecycleRequest is a API request type for the PutBucketLifecycle API operation.
func (PutBucketLifecycleRequest) Send ¶
func (r PutBucketLifecycleRequest) Send() (*PutBucketLifecycleOutput, error)
Send marshals and sends the PutBucketLifecycle API request.
type PutBucketLoggingInput ¶
type PutBucketLoggingInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // BucketLoggingStatus is a required field BucketLoggingStatus *BucketLoggingStatus `locationName:"BucketLoggingStatus" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLoggingRequest
func (PutBucketLoggingInput) GoString ¶
func (s PutBucketLoggingInput) GoString() string
GoString returns the string representation
func (PutBucketLoggingInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketLoggingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketLoggingInput) String ¶
func (s PutBucketLoggingInput) String() string
String returns the string representation
func (*PutBucketLoggingInput) Validate ¶
func (s *PutBucketLoggingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketLoggingOutput ¶
type PutBucketLoggingOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLoggingOutput
func (PutBucketLoggingOutput) GoString ¶
func (s PutBucketLoggingOutput) GoString() string
GoString returns the string representation
func (PutBucketLoggingOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketLoggingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketLoggingOutput) SDKResponseMetadata ¶
func (s PutBucketLoggingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketLoggingOutput) String ¶
func (s PutBucketLoggingOutput) String() string
String returns the string representation
type PutBucketLoggingRequest ¶
type PutBucketLoggingRequest struct { *aws.Request Input *PutBucketLoggingInput Copy func(*PutBucketLoggingInput) PutBucketLoggingRequest }
PutBucketLoggingRequest is a API request type for the PutBucketLogging API operation.
func (PutBucketLoggingRequest) Send ¶
func (r PutBucketLoggingRequest) Send() (*PutBucketLoggingOutput, error)
Send marshals and sends the PutBucketLogging API request.
type PutBucketMetricsConfigurationInput ¶
type PutBucketMetricsConfigurationInput struct { // The name of the bucket for which the metrics configuration is set. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The ID used to identify the metrics configuration. // // Id is a required field Id *string `location:"querystring" locationName:"id" type:"string" required:"true"` // Specifies the metrics configuration. // // MetricsConfiguration is a required field MetricsConfiguration *MetricsConfiguration `locationName:"MetricsConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfigurationRequest
func (PutBucketMetricsConfigurationInput) GoString ¶
func (s PutBucketMetricsConfigurationInput) GoString() string
GoString returns the string representation
func (PutBucketMetricsConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketMetricsConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketMetricsConfigurationInput) String ¶
func (s PutBucketMetricsConfigurationInput) String() string
String returns the string representation
func (*PutBucketMetricsConfigurationInput) Validate ¶
func (s *PutBucketMetricsConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketMetricsConfigurationOutput ¶
type PutBucketMetricsConfigurationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfigurationOutput
func (PutBucketMetricsConfigurationOutput) GoString ¶
func (s PutBucketMetricsConfigurationOutput) GoString() string
GoString returns the string representation
func (PutBucketMetricsConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketMetricsConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketMetricsConfigurationOutput) SDKResponseMetadata ¶
func (s PutBucketMetricsConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketMetricsConfigurationOutput) String ¶
func (s PutBucketMetricsConfigurationOutput) String() string
String returns the string representation
type PutBucketMetricsConfigurationRequest ¶
type PutBucketMetricsConfigurationRequest struct { *aws.Request Input *PutBucketMetricsConfigurationInput Copy func(*PutBucketMetricsConfigurationInput) PutBucketMetricsConfigurationRequest }
PutBucketMetricsConfigurationRequest is a API request type for the PutBucketMetricsConfiguration API operation.
func (PutBucketMetricsConfigurationRequest) Send ¶
func (r PutBucketMetricsConfigurationRequest) Send() (*PutBucketMetricsConfigurationOutput, error)
Send marshals and sends the PutBucketMetricsConfiguration API request.
type PutBucketNotificationConfigurationInput ¶
type PutBucketNotificationConfigurationInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // A container for specifying the notification configuration of the bucket. // If this element is empty, notifications are turned off for the bucket. // // NotificationConfiguration is a required field NotificationConfiguration *GetBucketNotificationConfigurationOutput `locationName:"NotificationConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfigurationRequest
func (PutBucketNotificationConfigurationInput) GoString ¶
func (s PutBucketNotificationConfigurationInput) GoString() string
GoString returns the string representation
func (PutBucketNotificationConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketNotificationConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketNotificationConfigurationInput) String ¶
func (s PutBucketNotificationConfigurationInput) String() string
String returns the string representation
func (*PutBucketNotificationConfigurationInput) Validate ¶
func (s *PutBucketNotificationConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketNotificationConfigurationOutput ¶
type PutBucketNotificationConfigurationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfigurationOutput
func (PutBucketNotificationConfigurationOutput) GoString ¶
func (s PutBucketNotificationConfigurationOutput) GoString() string
GoString returns the string representation
func (PutBucketNotificationConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketNotificationConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketNotificationConfigurationOutput) SDKResponseMetadata ¶
func (s PutBucketNotificationConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketNotificationConfigurationOutput) String ¶
func (s PutBucketNotificationConfigurationOutput) String() string
String returns the string representation
type PutBucketNotificationConfigurationRequest ¶
type PutBucketNotificationConfigurationRequest struct { *aws.Request Input *PutBucketNotificationConfigurationInput Copy func(*PutBucketNotificationConfigurationInput) PutBucketNotificationConfigurationRequest }
PutBucketNotificationConfigurationRequest is a API request type for the PutBucketNotificationConfiguration API operation.
func (PutBucketNotificationConfigurationRequest) Send ¶
func (r PutBucketNotificationConfigurationRequest) Send() (*PutBucketNotificationConfigurationOutput, error)
Send marshals and sends the PutBucketNotificationConfiguration API request.
type PutBucketNotificationInput ¶
type PutBucketNotificationInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // NotificationConfiguration is a required field NotificationConfiguration *GetBucketNotificationOutput `locationName:"NotificationConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationRequest
func (PutBucketNotificationInput) GoString ¶
func (s PutBucketNotificationInput) GoString() string
GoString returns the string representation
func (PutBucketNotificationInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketNotificationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketNotificationInput) String ¶
func (s PutBucketNotificationInput) String() string
String returns the string representation
func (*PutBucketNotificationInput) Validate ¶
func (s *PutBucketNotificationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketNotificationOutput ¶
type PutBucketNotificationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationOutput
func (PutBucketNotificationOutput) GoString ¶
func (s PutBucketNotificationOutput) GoString() string
GoString returns the string representation
func (PutBucketNotificationOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketNotificationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketNotificationOutput) SDKResponseMetadata ¶
func (s PutBucketNotificationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketNotificationOutput) String ¶
func (s PutBucketNotificationOutput) String() string
String returns the string representation
type PutBucketNotificationRequest ¶
type PutBucketNotificationRequest struct { *aws.Request Input *PutBucketNotificationInput Copy func(*PutBucketNotificationInput) PutBucketNotificationRequest }
PutBucketNotificationRequest is a API request type for the PutBucketNotification API operation.
func (PutBucketNotificationRequest) Send ¶
func (r PutBucketNotificationRequest) Send() (*PutBucketNotificationOutput, error)
Send marshals and sends the PutBucketNotification API request.
type PutBucketPolicyInput ¶
type PutBucketPolicyInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Set this parameter to true to confirm that you want to remove your permissions // to change this bucket policy in the future. ConfirmRemoveSelfBucketAccess *bool `location:"header" locationName:"x-amz-confirm-remove-self-bucket-access" type:"boolean"` // The bucket policy as a JSON document. // // Policy is a required field Policy *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyRequest
func (PutBucketPolicyInput) GoString ¶
func (s PutBucketPolicyInput) GoString() string
GoString returns the string representation
func (PutBucketPolicyInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketPolicyInput) String ¶
func (s PutBucketPolicyInput) String() string
String returns the string representation
func (*PutBucketPolicyInput) Validate ¶
func (s *PutBucketPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketPolicyOutput ¶
type PutBucketPolicyOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyOutput
func (PutBucketPolicyOutput) GoString ¶
func (s PutBucketPolicyOutput) GoString() string
GoString returns the string representation
func (PutBucketPolicyOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketPolicyOutput) SDKResponseMetadata ¶
func (s PutBucketPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketPolicyOutput) String ¶
func (s PutBucketPolicyOutput) String() string
String returns the string representation
type PutBucketPolicyRequest ¶
type PutBucketPolicyRequest struct { *aws.Request Input *PutBucketPolicyInput Copy func(*PutBucketPolicyInput) PutBucketPolicyRequest }
PutBucketPolicyRequest is a API request type for the PutBucketPolicy API operation.
func (PutBucketPolicyRequest) Send ¶
func (r PutBucketPolicyRequest) Send() (*PutBucketPolicyOutput, error)
Send marshals and sends the PutBucketPolicy API request.
type PutBucketReplicationInput ¶
type PutBucketReplicationInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // A container for replication rules. You can add up to 1,000 rules. The maximum // size of a replication configuration is 2 MB. // // ReplicationConfiguration is a required field ReplicationConfiguration *ReplicationConfiguration `locationName:"ReplicationConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplicationRequest
func (PutBucketReplicationInput) GoString ¶
func (s PutBucketReplicationInput) GoString() string
GoString returns the string representation
func (PutBucketReplicationInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketReplicationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketReplicationInput) String ¶
func (s PutBucketReplicationInput) String() string
String returns the string representation
func (*PutBucketReplicationInput) Validate ¶
func (s *PutBucketReplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketReplicationOutput ¶
type PutBucketReplicationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplicationOutput
func (PutBucketReplicationOutput) GoString ¶
func (s PutBucketReplicationOutput) GoString() string
GoString returns the string representation
func (PutBucketReplicationOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketReplicationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketReplicationOutput) SDKResponseMetadata ¶
func (s PutBucketReplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketReplicationOutput) String ¶
func (s PutBucketReplicationOutput) String() string
String returns the string representation
type PutBucketReplicationRequest ¶
type PutBucketReplicationRequest struct { *aws.Request Input *PutBucketReplicationInput Copy func(*PutBucketReplicationInput) PutBucketReplicationRequest }
PutBucketReplicationRequest is a API request type for the PutBucketReplication API operation.
func (PutBucketReplicationRequest) Send ¶
func (r PutBucketReplicationRequest) Send() (*PutBucketReplicationOutput, error)
Send marshals and sends the PutBucketReplication API request.
type PutBucketRequestPaymentInput ¶
type PutBucketRequestPaymentInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // RequestPaymentConfiguration is a required field RequestPaymentConfiguration *RequestPaymentConfiguration `locationName:"RequestPaymentConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPaymentRequest
func (PutBucketRequestPaymentInput) GoString ¶
func (s PutBucketRequestPaymentInput) GoString() string
GoString returns the string representation
func (PutBucketRequestPaymentInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketRequestPaymentInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketRequestPaymentInput) String ¶
func (s PutBucketRequestPaymentInput) String() string
String returns the string representation
func (*PutBucketRequestPaymentInput) Validate ¶
func (s *PutBucketRequestPaymentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketRequestPaymentOutput ¶
type PutBucketRequestPaymentOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPaymentOutput
func (PutBucketRequestPaymentOutput) GoString ¶
func (s PutBucketRequestPaymentOutput) GoString() string
GoString returns the string representation
func (PutBucketRequestPaymentOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketRequestPaymentOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketRequestPaymentOutput) SDKResponseMetadata ¶
func (s PutBucketRequestPaymentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketRequestPaymentOutput) String ¶
func (s PutBucketRequestPaymentOutput) String() string
String returns the string representation
type PutBucketRequestPaymentRequest ¶
type PutBucketRequestPaymentRequest struct { *aws.Request Input *PutBucketRequestPaymentInput Copy func(*PutBucketRequestPaymentInput) PutBucketRequestPaymentRequest }
PutBucketRequestPaymentRequest is a API request type for the PutBucketRequestPayment API operation.
func (PutBucketRequestPaymentRequest) Send ¶
func (r PutBucketRequestPaymentRequest) Send() (*PutBucketRequestPaymentOutput, error)
Send marshals and sends the PutBucketRequestPayment API request.
type PutBucketTaggingInput ¶
type PutBucketTaggingInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Tagging is a required field Tagging *Tagging `locationName:"Tagging" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTaggingRequest
func (PutBucketTaggingInput) GoString ¶
func (s PutBucketTaggingInput) GoString() string
GoString returns the string representation
func (PutBucketTaggingInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketTaggingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketTaggingInput) String ¶
func (s PutBucketTaggingInput) String() string
String returns the string representation
func (*PutBucketTaggingInput) Validate ¶
func (s *PutBucketTaggingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketTaggingOutput ¶
type PutBucketTaggingOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTaggingOutput
func (PutBucketTaggingOutput) GoString ¶
func (s PutBucketTaggingOutput) GoString() string
GoString returns the string representation
func (PutBucketTaggingOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketTaggingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketTaggingOutput) SDKResponseMetadata ¶
func (s PutBucketTaggingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketTaggingOutput) String ¶
func (s PutBucketTaggingOutput) String() string
String returns the string representation
type PutBucketTaggingRequest ¶
type PutBucketTaggingRequest struct { *aws.Request Input *PutBucketTaggingInput Copy func(*PutBucketTaggingInput) PutBucketTaggingRequest }
PutBucketTaggingRequest is a API request type for the PutBucketTagging API operation.
func (PutBucketTaggingRequest) Send ¶
func (r PutBucketTaggingRequest) Send() (*PutBucketTaggingOutput, error)
Send marshals and sends the PutBucketTagging API request.
type PutBucketVersioningInput ¶
type PutBucketVersioningInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The concatenation of the authentication device's serial number, a space, // and the value that is displayed on your authentication device. MFA *string `location:"header" locationName:"x-amz-mfa" type:"string"` // VersioningConfiguration is a required field VersioningConfiguration *VersioningConfiguration `locationName:"VersioningConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioningRequest
func (PutBucketVersioningInput) GoString ¶
func (s PutBucketVersioningInput) GoString() string
GoString returns the string representation
func (PutBucketVersioningInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketVersioningInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketVersioningInput) String ¶
func (s PutBucketVersioningInput) String() string
String returns the string representation
func (*PutBucketVersioningInput) Validate ¶
func (s *PutBucketVersioningInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketVersioningOutput ¶
type PutBucketVersioningOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioningOutput
func (PutBucketVersioningOutput) GoString ¶
func (s PutBucketVersioningOutput) GoString() string
GoString returns the string representation
func (PutBucketVersioningOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketVersioningOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketVersioningOutput) SDKResponseMetadata ¶
func (s PutBucketVersioningOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketVersioningOutput) String ¶
func (s PutBucketVersioningOutput) String() string
String returns the string representation
type PutBucketVersioningRequest ¶
type PutBucketVersioningRequest struct { *aws.Request Input *PutBucketVersioningInput Copy func(*PutBucketVersioningInput) PutBucketVersioningRequest }
PutBucketVersioningRequest is a API request type for the PutBucketVersioning API operation.
func (PutBucketVersioningRequest) Send ¶
func (r PutBucketVersioningRequest) Send() (*PutBucketVersioningOutput, error)
Send marshals and sends the PutBucketVersioning API request.
type PutBucketWebsiteInput ¶
type PutBucketWebsiteInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // WebsiteConfiguration is a required field WebsiteConfiguration *WebsiteConfiguration `locationName:"WebsiteConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsiteRequest
func (PutBucketWebsiteInput) GoString ¶
func (s PutBucketWebsiteInput) GoString() string
GoString returns the string representation
func (PutBucketWebsiteInput) MarshalFields ¶ added in v0.3.0
func (s PutBucketWebsiteInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketWebsiteInput) String ¶
func (s PutBucketWebsiteInput) String() string
String returns the string representation
func (*PutBucketWebsiteInput) Validate ¶
func (s *PutBucketWebsiteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBucketWebsiteOutput ¶
type PutBucketWebsiteOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsiteOutput
func (PutBucketWebsiteOutput) GoString ¶
func (s PutBucketWebsiteOutput) GoString() string
GoString returns the string representation
func (PutBucketWebsiteOutput) MarshalFields ¶ added in v0.3.0
func (s PutBucketWebsiteOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutBucketWebsiteOutput) SDKResponseMetadata ¶
func (s PutBucketWebsiteOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutBucketWebsiteOutput) String ¶
func (s PutBucketWebsiteOutput) String() string
String returns the string representation
type PutBucketWebsiteRequest ¶
type PutBucketWebsiteRequest struct { *aws.Request Input *PutBucketWebsiteInput Copy func(*PutBucketWebsiteInput) PutBucketWebsiteRequest }
PutBucketWebsiteRequest is a API request type for the PutBucketWebsite API operation.
func (PutBucketWebsiteRequest) Send ¶
func (r PutBucketWebsiteRequest) Send() (*PutBucketWebsiteOutput, error)
Send marshals and sends the PutBucketWebsite API request.
type PutObjectAclInput ¶
type PutObjectAclInput struct { // The canned ACL to apply to the object. ACL ObjectCannedACL `location:"header" locationName:"x-amz-acl" type:"string" enum:"true"` AccessControlPolicy *AccessControlPolicy `locationName:"AccessControlPolicy" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Allows grantee the read, write, read ACP, and write ACP permissions on the // bucket. GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"` // Allows grantee to list the objects in the bucket. GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"` // Allows grantee to read the bucket ACL. GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"` // Allows grantee to create, overwrite, and delete any object in the bucket. GrantWrite *string `location:"header" locationName:"x-amz-grant-write" type:"string"` // Allows grantee to write the ACL for the applicable bucket. GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // VersionId used to reference a specific version of the object. VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclRequest
func (PutObjectAclInput) GoString ¶
func (s PutObjectAclInput) GoString() string
GoString returns the string representation
func (PutObjectAclInput) MarshalFields ¶ added in v0.3.0
func (s PutObjectAclInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutObjectAclInput) String ¶
func (s PutObjectAclInput) String() string
String returns the string representation
func (*PutObjectAclInput) Validate ¶
func (s *PutObjectAclInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutObjectAclOutput ¶
type PutObjectAclOutput struct { // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclOutput
func (PutObjectAclOutput) GoString ¶
func (s PutObjectAclOutput) GoString() string
GoString returns the string representation
func (PutObjectAclOutput) MarshalFields ¶ added in v0.3.0
func (s PutObjectAclOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutObjectAclOutput) SDKResponseMetadata ¶
func (s PutObjectAclOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutObjectAclOutput) String ¶
func (s PutObjectAclOutput) String() string
String returns the string representation
type PutObjectAclRequest ¶
type PutObjectAclRequest struct { *aws.Request Input *PutObjectAclInput Copy func(*PutObjectAclInput) PutObjectAclRequest }
PutObjectAclRequest is a API request type for the PutObjectAcl API operation.
func (PutObjectAclRequest) Send ¶
func (r PutObjectAclRequest) Send() (*PutObjectAclOutput, error)
Send marshals and sends the PutObjectAcl API request.
type PutObjectInput ¶
type PutObjectInput struct { // The canned ACL to apply to the object. ACL ObjectCannedACL `location:"header" locationName:"x-amz-acl" type:"string" enum:"true"` // Object data. Body io.ReadSeeker `type:"blob"` // Name of the bucket to which the PUT operation was initiated. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Specifies caching behavior along the request/reply chain. CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"` // Specifies presentational information for the object. ContentDisposition *string `location:"header" locationName:"Content-Disposition" type:"string"` // Specifies what content encodings have been applied to the object and thus // what decoding mechanisms must be applied to obtain the media-type referenced // by the Content-Type header field. ContentEncoding *string `location:"header" locationName:"Content-Encoding" type:"string"` // The language the content is in. ContentLanguage *string `location:"header" locationName:"Content-Language" type:"string"` // Size of the body in bytes. This parameter is useful when the size of the // body cannot be determined automatically. ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"` // The base64-encoded 128-bit MD5 digest of the part data. ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string"` // A standard MIME type describing the format of the object data. ContentType *string `location:"header" locationName:"Content-Type" type:"string"` // The date and time at which the object is no longer cacheable. Expires *time.Time `location:"header" locationName:"Expires" type:"timestamp" timestampFormat:"rfc822"` // Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object. GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"` // Allows grantee to read the object data and its metadata. GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"` // Allows grantee to read the object ACL. GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"` // Allows grantee to write the ACL for the applicable object. GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"` // Object key for which the PUT operation was initiated. // // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // A map of metadata to store with the object in S3. Metadata map[string]string `location:"headers" locationName:"x-amz-meta-" type:"map"` // The Legal Hold status that you want to apply to the specified object. ObjectLockLegalHoldStatus ObjectLockLegalHoldStatus `location:"header" locationName:"x-amz-object-lock-legal-hold" type:"string" enum:"true"` // The Object Lock mode that you want to apply to this object. ObjectLockMode ObjectLockMode `location:"header" locationName:"x-amz-object-lock-mode" type:"string" enum:"true"` // The date and time when you want this object's Object Lock to expire. ObjectLockRetainUntilDate *time.Time `location:"header" locationName:"x-amz-object-lock-retain-until-date" type:"timestamp" timestampFormat:"rfc822"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // Specifies the algorithm to use to when encrypting the object (e.g., AES256). SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // Specifies the customer-provided encryption key for Amazon S3 to use in encrypting // data. This value is used to store the object and then it is discarded; Amazon // does not store the encryption key. The key must be appropriate for use with // the algorithm specified in the x-amz-server-side-encryption-customer-algorithm // header. SSECustomerKey *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string"` // Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. // Amazon S3 uses this header for a message integrity check to ensure the encryption // key was transmitted without error. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // Specifies the AWS KMS key ID to use for object encryption. All GET and PUT // requests for an object protected by AWS KMS will fail if not made via SSL // or using SigV4. Documentation on configuring any of the officially supported // AWS SDKs and CLI can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string"` // The Server-side encryption algorithm used when storing this object in S3 // (e.g., AES256, aws:kms). ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"true"` // The type of storage to use for the object. Defaults to 'STANDARD'. StorageClass StorageClass `location:"header" locationName:"x-amz-storage-class" type:"string" enum:"true"` // The tag-set for the object. The tag-set must be encoded as URL Query parameters. // (For example, "Key1=Value1") Tagging *string `location:"header" locationName:"x-amz-tagging" type:"string"` // If the bucket is configured as a website, redirects requests for this object // to another object in the same bucket or to an external URL. Amazon S3 stores // the value of this header in the object metadata. WebsiteRedirectLocation *string `location:"header" locationName:"x-amz-website-redirect-location" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRequest
func (PutObjectInput) GoString ¶
func (s PutObjectInput) GoString() string
GoString returns the string representation
func (PutObjectInput) MarshalFields ¶ added in v0.3.0
func (s PutObjectInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutObjectInput) String ¶
func (s PutObjectInput) String() string
String returns the string representation
func (*PutObjectInput) Validate ¶
func (s *PutObjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutObjectLegalHoldInput ¶ added in v0.6.0
type PutObjectLegalHoldInput struct { // The bucket containing the object that you want to place a Legal Hold on. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The key name for the object that you want to place a Legal Hold on. // // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Container element for the Legal Hold configuration you want to apply to the // specified object. LegalHold *ObjectLockLegalHold `locationName:"LegalHold" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // The version ID of the object that you want to place a Legal Hold on. VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHoldRequest
func (PutObjectLegalHoldInput) GoString ¶ added in v0.6.0
func (s PutObjectLegalHoldInput) GoString() string
GoString returns the string representation
func (PutObjectLegalHoldInput) MarshalFields ¶ added in v0.6.0
func (s PutObjectLegalHoldInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutObjectLegalHoldInput) String ¶ added in v0.6.0
func (s PutObjectLegalHoldInput) String() string
String returns the string representation
func (*PutObjectLegalHoldInput) Validate ¶ added in v0.6.0
func (s *PutObjectLegalHoldInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutObjectLegalHoldOutput ¶ added in v0.6.0
type PutObjectLegalHoldOutput struct { // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHoldOutput
func (PutObjectLegalHoldOutput) GoString ¶ added in v0.6.0
func (s PutObjectLegalHoldOutput) GoString() string
GoString returns the string representation
func (PutObjectLegalHoldOutput) MarshalFields ¶ added in v0.6.0
func (s PutObjectLegalHoldOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutObjectLegalHoldOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s PutObjectLegalHoldOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutObjectLegalHoldOutput) String ¶ added in v0.6.0
func (s PutObjectLegalHoldOutput) String() string
String returns the string representation
type PutObjectLegalHoldRequest ¶ added in v0.6.0
type PutObjectLegalHoldRequest struct { *aws.Request Input *PutObjectLegalHoldInput Copy func(*PutObjectLegalHoldInput) PutObjectLegalHoldRequest }
PutObjectLegalHoldRequest is a API request type for the PutObjectLegalHold API operation.
func (PutObjectLegalHoldRequest) Send ¶ added in v0.6.0
func (r PutObjectLegalHoldRequest) Send() (*PutObjectLegalHoldOutput, error)
Send marshals and sends the PutObjectLegalHold API request.
type PutObjectLockConfigurationInput ¶ added in v0.6.0
type PutObjectLockConfigurationInput struct { // The bucket whose Object Lock configuration you want to create or replace. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The Object Lock configuration that you want to apply to the specified bucket. ObjectLockConfiguration *ObjectLockConfiguration `locationName:"ObjectLockConfiguration" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` Token *string `location:"header" locationName:"x-amz-bucket-object-lock-token" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfigurationRequest
func (PutObjectLockConfigurationInput) GoString ¶ added in v0.6.0
func (s PutObjectLockConfigurationInput) GoString() string
GoString returns the string representation
func (PutObjectLockConfigurationInput) MarshalFields ¶ added in v0.6.0
func (s PutObjectLockConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutObjectLockConfigurationInput) String ¶ added in v0.6.0
func (s PutObjectLockConfigurationInput) String() string
String returns the string representation
func (*PutObjectLockConfigurationInput) Validate ¶ added in v0.6.0
func (s *PutObjectLockConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutObjectLockConfigurationOutput ¶ added in v0.6.0
type PutObjectLockConfigurationOutput struct { // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfigurationOutput
func (PutObjectLockConfigurationOutput) GoString ¶ added in v0.6.0
func (s PutObjectLockConfigurationOutput) GoString() string
GoString returns the string representation
func (PutObjectLockConfigurationOutput) MarshalFields ¶ added in v0.6.0
func (s PutObjectLockConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutObjectLockConfigurationOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s PutObjectLockConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutObjectLockConfigurationOutput) String ¶ added in v0.6.0
func (s PutObjectLockConfigurationOutput) String() string
String returns the string representation
type PutObjectLockConfigurationRequest ¶ added in v0.6.0
type PutObjectLockConfigurationRequest struct { *aws.Request Input *PutObjectLockConfigurationInput Copy func(*PutObjectLockConfigurationInput) PutObjectLockConfigurationRequest }
PutObjectLockConfigurationRequest is a API request type for the PutObjectLockConfiguration API operation.
func (PutObjectLockConfigurationRequest) Send ¶ added in v0.6.0
func (r PutObjectLockConfigurationRequest) Send() (*PutObjectLockConfigurationOutput, error)
Send marshals and sends the PutObjectLockConfiguration API request.
type PutObjectOutput ¶
type PutObjectOutput struct { // Entity tag for the uploaded object. ETag *string `location:"header" locationName:"ETag" type:"string"` // If the object expiration is configured, this will contain the expiration // date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded. Expiration *string `location:"header" locationName:"x-amz-expiration" type:"string"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header confirming the encryption algorithm // used. SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header to provide round trip message integrity // verification of the customer-provided encryption key. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // If present, specifies the ID of the AWS Key Management Service (KMS) master // encryption key that was used for the object. SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string"` // The Server-side encryption algorithm used when storing this object in S3 // (e.g., AES256, aws:kms). ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"true"` // Version of the object. VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectOutput
func (PutObjectOutput) GoString ¶
func (s PutObjectOutput) GoString() string
GoString returns the string representation
func (PutObjectOutput) MarshalFields ¶ added in v0.3.0
func (s PutObjectOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutObjectOutput) SDKResponseMetadata ¶
func (s PutObjectOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutObjectOutput) String ¶
func (s PutObjectOutput) String() string
String returns the string representation
type PutObjectRequest ¶
type PutObjectRequest struct { *aws.Request Input *PutObjectInput Copy func(*PutObjectInput) PutObjectRequest }
PutObjectRequest is a API request type for the PutObject API operation.
func (PutObjectRequest) Send ¶
func (r PutObjectRequest) Send() (*PutObjectOutput, error)
Send marshals and sends the PutObject API request.
type PutObjectRetentionInput ¶ added in v0.6.0
type PutObjectRetentionInput struct { // The bucket that contains the object you want to apply this Object Retention // configuration to. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Indicates whether this operation should bypass Governance-mode restrictions.j BypassGovernanceRetention *bool `location:"header" locationName:"x-amz-bypass-governance-retention" type:"boolean"` // The key name for the object that you want to apply this Object Retention // configuration to. // // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // The container element for the Object Retention configuration. Retention *ObjectLockRetention `locationName:"Retention" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` // The version ID for the object that you want to apply this Object Retention // configuration to. VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetentionRequest
func (PutObjectRetentionInput) GoString ¶ added in v0.6.0
func (s PutObjectRetentionInput) GoString() string
GoString returns the string representation
func (PutObjectRetentionInput) MarshalFields ¶ added in v0.6.0
func (s PutObjectRetentionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutObjectRetentionInput) String ¶ added in v0.6.0
func (s PutObjectRetentionInput) String() string
String returns the string representation
func (*PutObjectRetentionInput) Validate ¶ added in v0.6.0
func (s *PutObjectRetentionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutObjectRetentionOutput ¶ added in v0.6.0
type PutObjectRetentionOutput struct { // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetentionOutput
func (PutObjectRetentionOutput) GoString ¶ added in v0.6.0
func (s PutObjectRetentionOutput) GoString() string
GoString returns the string representation
func (PutObjectRetentionOutput) MarshalFields ¶ added in v0.6.0
func (s PutObjectRetentionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutObjectRetentionOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s PutObjectRetentionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutObjectRetentionOutput) String ¶ added in v0.6.0
func (s PutObjectRetentionOutput) String() string
String returns the string representation
type PutObjectRetentionRequest ¶ added in v0.6.0
type PutObjectRetentionRequest struct { *aws.Request Input *PutObjectRetentionInput Copy func(*PutObjectRetentionInput) PutObjectRetentionRequest }
PutObjectRetentionRequest is a API request type for the PutObjectRetention API operation.
func (PutObjectRetentionRequest) Send ¶ added in v0.6.0
func (r PutObjectRetentionRequest) Send() (*PutObjectRetentionOutput, error)
Send marshals and sends the PutObjectRetention API request.
type PutObjectTaggingInput ¶
type PutObjectTaggingInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Tagging is a required field Tagging *Tagging `locationName:"Tagging" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingRequest
func (PutObjectTaggingInput) GoString ¶
func (s PutObjectTaggingInput) GoString() string
GoString returns the string representation
func (PutObjectTaggingInput) MarshalFields ¶ added in v0.3.0
func (s PutObjectTaggingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutObjectTaggingInput) String ¶
func (s PutObjectTaggingInput) String() string
String returns the string representation
func (*PutObjectTaggingInput) Validate ¶
func (s *PutObjectTaggingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutObjectTaggingOutput ¶
type PutObjectTaggingOutput struct { VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingOutput
func (PutObjectTaggingOutput) GoString ¶
func (s PutObjectTaggingOutput) GoString() string
GoString returns the string representation
func (PutObjectTaggingOutput) MarshalFields ¶ added in v0.3.0
func (s PutObjectTaggingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutObjectTaggingOutput) SDKResponseMetadata ¶
func (s PutObjectTaggingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutObjectTaggingOutput) String ¶
func (s PutObjectTaggingOutput) String() string
String returns the string representation
type PutObjectTaggingRequest ¶
type PutObjectTaggingRequest struct { *aws.Request Input *PutObjectTaggingInput Copy func(*PutObjectTaggingInput) PutObjectTaggingRequest }
PutObjectTaggingRequest is a API request type for the PutObjectTagging API operation.
func (PutObjectTaggingRequest) Send ¶
func (r PutObjectTaggingRequest) Send() (*PutObjectTaggingOutput, error)
Send marshals and sends the PutObjectTagging API request.
type PutPublicAccessBlockInput ¶ added in v0.6.0
type PutPublicAccessBlockInput struct { // The name of the Amazon S3 bucket whose PublicAccessBlock configuration you // want to set. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The PublicAccessBlock configuration that you want to apply to this Amazon // S3 bucket. You can enable the configuration options in any combination. For // more information about when Amazon S3 considers a bucket or object public, // see The Meaning of "Public" (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status) // in the Amazon Simple Storage Service Developer Guide. // // PublicAccessBlockConfiguration is a required field PublicAccessBlockConfiguration *PublicAccessBlockConfiguration `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlockRequest
func (PutPublicAccessBlockInput) GoString ¶ added in v0.6.0
func (s PutPublicAccessBlockInput) GoString() string
GoString returns the string representation
func (PutPublicAccessBlockInput) MarshalFields ¶ added in v0.6.0
func (s PutPublicAccessBlockInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutPublicAccessBlockInput) String ¶ added in v0.6.0
func (s PutPublicAccessBlockInput) String() string
String returns the string representation
func (*PutPublicAccessBlockInput) Validate ¶ added in v0.6.0
func (s *PutPublicAccessBlockInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutPublicAccessBlockOutput ¶ added in v0.6.0
type PutPublicAccessBlockOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlockOutput
func (PutPublicAccessBlockOutput) GoString ¶ added in v0.6.0
func (s PutPublicAccessBlockOutput) GoString() string
GoString returns the string representation
func (PutPublicAccessBlockOutput) MarshalFields ¶ added in v0.6.0
func (s PutPublicAccessBlockOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutPublicAccessBlockOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s PutPublicAccessBlockOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutPublicAccessBlockOutput) String ¶ added in v0.6.0
func (s PutPublicAccessBlockOutput) String() string
String returns the string representation
type PutPublicAccessBlockRequest ¶ added in v0.6.0
type PutPublicAccessBlockRequest struct { *aws.Request Input *PutPublicAccessBlockInput Copy func(*PutPublicAccessBlockInput) PutPublicAccessBlockRequest }
PutPublicAccessBlockRequest is a API request type for the PutPublicAccessBlock API operation.
func (PutPublicAccessBlockRequest) Send ¶ added in v0.6.0
func (r PutPublicAccessBlockRequest) Send() (*PutPublicAccessBlockOutput, error)
Send marshals and sends the PutPublicAccessBlock API request.
type QueueConfiguration ¶
type QueueConfiguration struct { // Events is a required field Events []Event `locationName:"Event" type:"list" flattened:"true" required:"true"` // A container for object key name filtering rules. For information about key // name filtering, see Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) // in the Amazon Simple Storage Service Developer Guide. Filter *NotificationConfigurationFilter `type:"structure"` // An optional unique identifier for configurations in a notification configuration. // If you don't provide one, Amazon S3 will assign an ID. Id *string `type:"string"` // The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 // will publish a message when it detects events of the specified type. // // QueueArn is a required field QueueArn *string `locationName:"Queue" type:"string" required:"true"` // contains filtered or unexported fields }
A container for specifying the configuration for publication of messages to an Amazon Simple Queue Service (Amazon SQS) queue.when Amazon S3 detects specified events. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfiguration
func (QueueConfiguration) GoString ¶
func (s QueueConfiguration) GoString() string
GoString returns the string representation
func (QueueConfiguration) MarshalFields ¶ added in v0.3.0
func (s QueueConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (QueueConfiguration) String ¶
func (s QueueConfiguration) String() string
String returns the string representation
func (*QueueConfiguration) Validate ¶
func (s *QueueConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type QueueConfigurationDeprecated ¶
type QueueConfigurationDeprecated struct { // The bucket event for which to send notifications. Event Event `deprecated:"true" type:"string" enum:"true"` Events []Event `locationName:"Event" type:"list" flattened:"true"` // An optional unique identifier for configurations in a notification configuration. // If you don't provide one, Amazon S3 will assign an ID. Id *string `type:"string"` Queue *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfigurationDeprecated
func (QueueConfigurationDeprecated) GoString ¶
func (s QueueConfigurationDeprecated) GoString() string
GoString returns the string representation
func (QueueConfigurationDeprecated) MarshalFields ¶ added in v0.3.0
func (s QueueConfigurationDeprecated) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (QueueConfigurationDeprecated) String ¶
func (s QueueConfigurationDeprecated) String() string
String returns the string representation
type QuoteFields ¶ added in v0.2.0
type QuoteFields string
const ( QuoteFieldsAlways QuoteFields = "ALWAYS" QuoteFieldsAsneeded QuoteFields = "ASNEEDED" )
Enum values for QuoteFields
func (QuoteFields) MarshalValue ¶ added in v0.3.0
func (enum QuoteFields) MarshalValue() (string, error)
func (QuoteFields) MarshalValueBuf ¶ added in v0.3.0
func (enum QuoteFields) MarshalValueBuf(b []byte) ([]byte, error)
type Redirect ¶
type Redirect struct { // The host name to use in the redirect request. HostName *string `type:"string"` // The HTTP redirect code to use on the response. Not required if one of the // siblings is present. HttpRedirectCode *string `type:"string"` // Protocol to use (http, https) when redirecting requests. The default is the // protocol that is used in the original request. Protocol Protocol `type:"string" enum:"true"` // The object key prefix to use in the redirect request. For example, to redirect // requests for all pages with prefix docs/ (objects in the docs/ folder) to // documents/, you can set a condition block with KeyPrefixEquals set to docs/ // and in the Redirect set ReplaceKeyPrefixWith to /documents. Not required // if one of the siblings is present. Can be present only if ReplaceKeyWith // is not provided. ReplaceKeyPrefixWith *string `type:"string"` // The specific object key to use in the redirect request. For example, redirect // request to error.html. Not required if one of the sibling is present. Can // be present only if ReplaceKeyPrefixWith is not provided. ReplaceKeyWith *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Redirect
func (Redirect) MarshalFields ¶ added in v0.3.0
func (s Redirect) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type RedirectAllRequestsTo ¶
type RedirectAllRequestsTo struct { // Name of the host where requests will be redirected. // // HostName is a required field HostName *string `type:"string" required:"true"` // Protocol to use (http, https) when redirecting requests. The default is the // protocol that is used in the original request. Protocol Protocol `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RedirectAllRequestsTo
func (RedirectAllRequestsTo) GoString ¶
func (s RedirectAllRequestsTo) GoString() string
GoString returns the string representation
func (RedirectAllRequestsTo) MarshalFields ¶ added in v0.3.0
func (s RedirectAllRequestsTo) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RedirectAllRequestsTo) String ¶
func (s RedirectAllRequestsTo) String() string
String returns the string representation
func (*RedirectAllRequestsTo) Validate ¶
func (s *RedirectAllRequestsTo) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReplicationConfiguration ¶
type ReplicationConfiguration struct { // The Amazon Resource Name (ARN) of the AWS Identity and Access Management // (IAM) role that Amazon S3 can assume when replicating the objects. // // Role is a required field Role *string `type:"string" required:"true"` // A container for one or more replication rules. A replication configuration // must have at least one rule and can contain a maximum of 1,000 rules. // // Rules is a required field Rules []ReplicationRule `locationName:"Rule" type:"list" flattened:"true" required:"true"` // contains filtered or unexported fields }
A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationConfiguration
func (ReplicationConfiguration) GoString ¶
func (s ReplicationConfiguration) GoString() string
GoString returns the string representation
func (ReplicationConfiguration) MarshalFields ¶ added in v0.3.0
func (s ReplicationConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ReplicationConfiguration) String ¶
func (s ReplicationConfiguration) String() string
String returns the string representation
func (*ReplicationConfiguration) Validate ¶
func (s *ReplicationConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReplicationRule ¶
type ReplicationRule struct { // Specifies whether Amazon S3 should replicate delete makers. DeleteMarkerReplication *DeleteMarkerReplication `type:"structure"` // A container for information about the replication destination. // // Destination is a required field Destination *Destination `type:"structure" required:"true"` // A filter that identifies the subset of objects to which the replication rule // applies. A Filter must specify exactly one Prefix, Tag, or an And child element. Filter *ReplicationRuleFilter `type:"structure"` // A unique identifier for the rule. The maximum value is 255 characters. ID *string `type:"string"` // An object keyname prefix that identifies the object or objects to which the // rule applies. The maximum prefix length is 1,024 characters. Prefix *string `deprecated:"true" type:"string"` // The priority associated with the rule. If you specify multiple rules in a // replication configuration, Amazon S3 prioritizes the rules to prevent conflicts // when filtering. If two or more rules identify the same object based on a // specified filter, the rule with higher priority takes precedence. For example: // // * Same object quality prefix based filter criteria If prefixes you specified // in multiple rules overlap // // * Same object qualify tag based filter criteria specified in multiple // rules // // For more information, see Cross-Region Replication (CRR) ( https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html) // in the Amazon S3 Developer Guide. Priority *int64 `type:"integer"` // A container that describes additional filters for identifying the source // objects that you want to replicate. You can choose to enable or disable the // replication of these objects. Currently, Amazon S3 supports only the filter // that you can specify for objects created with server-side encryption using // an AWS KMS-Managed Key (SSE-KMS). // // If you want Amazon S3 to replicate objects created with server-side encryption // using AWS KMS-Managed Keys. SourceSelectionCriteria *SourceSelectionCriteria `type:"structure"` // If status isn't enabled, the rule is ignored. // // Status is a required field Status ReplicationRuleStatus `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
A container for information about a specific replication rule. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRule
func (ReplicationRule) GoString ¶
func (s ReplicationRule) GoString() string
GoString returns the string representation
func (ReplicationRule) MarshalFields ¶ added in v0.3.0
func (s ReplicationRule) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ReplicationRule) String ¶
func (s ReplicationRule) String() string
String returns the string representation
func (*ReplicationRule) Validate ¶
func (s *ReplicationRule) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReplicationRuleAndOperator ¶ added in v0.5.0
type ReplicationRuleAndOperator struct { Prefix *string `type:"string"` Tags []Tag `locationName:"Tag" locationNameList:"Tag" type:"list" flattened:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRuleAndOperator
func (ReplicationRuleAndOperator) GoString ¶ added in v0.5.0
func (s ReplicationRuleAndOperator) GoString() string
GoString returns the string representation
func (ReplicationRuleAndOperator) MarshalFields ¶ added in v0.5.0
func (s ReplicationRuleAndOperator) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ReplicationRuleAndOperator) String ¶ added in v0.5.0
func (s ReplicationRuleAndOperator) String() string
String returns the string representation
func (*ReplicationRuleAndOperator) Validate ¶ added in v0.5.0
func (s *ReplicationRuleAndOperator) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReplicationRuleFilter ¶ added in v0.5.0
type ReplicationRuleFilter struct { // A container for specifying rule filters. The filters determine the subset // of objects to which the rule applies. This element is required only if you // specify more than one filter. For example: // // * If you specify both a Prefix and a Tag filter, wrap these filters in // an And tag. // // * If you specify a filter based on multiple tags, wrap the Tag elements // in an And tag. And *ReplicationRuleAndOperator `type:"structure"` // An object keyname prefix that identifies the subset of objects to which the // rule applies. Prefix *string `type:"string"` // A container for specifying a tag key and value. // // The rule applies only to objects that have the tag in their tag set. Tag *Tag `type:"structure"` // contains filtered or unexported fields }
A filter that identifies the subset of objects to which the replication rule applies. A Filter must specify exactly one Prefix, Tag, or an And child element. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRuleFilter
func (ReplicationRuleFilter) GoString ¶ added in v0.5.0
func (s ReplicationRuleFilter) GoString() string
GoString returns the string representation
func (ReplicationRuleFilter) MarshalFields ¶ added in v0.5.0
func (s ReplicationRuleFilter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ReplicationRuleFilter) String ¶ added in v0.5.0
func (s ReplicationRuleFilter) String() string
String returns the string representation
func (*ReplicationRuleFilter) Validate ¶ added in v0.5.0
func (s *ReplicationRuleFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReplicationRuleStatus ¶
type ReplicationRuleStatus string
const ( ReplicationRuleStatusEnabled ReplicationRuleStatus = "Enabled" ReplicationRuleStatusDisabled ReplicationRuleStatus = "Disabled" )
Enum values for ReplicationRuleStatus
func (ReplicationRuleStatus) MarshalValue ¶ added in v0.3.0
func (enum ReplicationRuleStatus) MarshalValue() (string, error)
func (ReplicationRuleStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum ReplicationRuleStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ReplicationStatus ¶
type ReplicationStatus string
const ( ReplicationStatusComplete ReplicationStatus = "COMPLETE" ReplicationStatusPending ReplicationStatus = "PENDING" ReplicationStatusFailed ReplicationStatus = "FAILED" ReplicationStatusReplica ReplicationStatus = "REPLICA" )
Enum values for ReplicationStatus
func (ReplicationStatus) MarshalValue ¶ added in v0.3.0
func (enum ReplicationStatus) MarshalValue() (string, error)
func (ReplicationStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum ReplicationStatus) MarshalValueBuf(b []byte) ([]byte, error)
type RequestCharged ¶
type RequestCharged string
If present, indicates that the requester was successfully charged for the request.
const (
RequestChargedRequester RequestCharged = "requester"
)
Enum values for RequestCharged
func (RequestCharged) MarshalValue ¶ added in v0.3.0
func (enum RequestCharged) MarshalValue() (string, error)
func (RequestCharged) MarshalValueBuf ¶ added in v0.3.0
func (enum RequestCharged) MarshalValueBuf(b []byte) ([]byte, error)
type RequestFailure ¶
type RequestFailure interface { awserr.RequestFailure // Host ID is the S3 Host ID needed for debug, and contacting support HostID() string }
A RequestFailure provides access to the S3 Request ID and Host ID values returned from API operation errors. Getting the error as a string will return the formated error with the same information as awserr.RequestFailure, while also adding the HostID value from the response.
type RequestPayer ¶
type RequestPayer string
Confirms that the requester knows that she or he will be charged for the request. Bucket owners need not specify this parameter in their requests. Documentation on downloading objects from requester pays buckets can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
const (
RequestPayerRequester RequestPayer = "requester"
)
Enum values for RequestPayer
func (RequestPayer) MarshalValue ¶ added in v0.3.0
func (enum RequestPayer) MarshalValue() (string, error)
func (RequestPayer) MarshalValueBuf ¶ added in v0.3.0
func (enum RequestPayer) MarshalValueBuf(b []byte) ([]byte, error)
type RequestPaymentConfiguration ¶
type RequestPaymentConfiguration struct { // Specifies who pays for the download and request fees. // // Payer is a required field Payer Payer `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RequestPaymentConfiguration
func (RequestPaymentConfiguration) GoString ¶
func (s RequestPaymentConfiguration) GoString() string
GoString returns the string representation
func (RequestPaymentConfiguration) MarshalFields ¶ added in v0.3.0
func (s RequestPaymentConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RequestPaymentConfiguration) String ¶
func (s RequestPaymentConfiguration) String() string
String returns the string representation
func (*RequestPaymentConfiguration) Validate ¶
func (s *RequestPaymentConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RestoreObjectInput ¶
type RestoreObjectInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // Container for restore job parameters. RestoreRequest *RestoreRequest `locationName:"RestoreRequest" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObjectRequest
func (RestoreObjectInput) GoString ¶
func (s RestoreObjectInput) GoString() string
GoString returns the string representation
func (RestoreObjectInput) MarshalFields ¶ added in v0.3.0
func (s RestoreObjectInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RestoreObjectInput) String ¶
func (s RestoreObjectInput) String() string
String returns the string representation
func (*RestoreObjectInput) Validate ¶
func (s *RestoreObjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RestoreObjectOutput ¶
type RestoreObjectOutput struct { // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // Indicates the path in the provided S3 output location where Select results // will be restored to. RestoreOutputPath *string `location:"header" locationName:"x-amz-restore-output-path" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObjectOutput
func (RestoreObjectOutput) GoString ¶
func (s RestoreObjectOutput) GoString() string
GoString returns the string representation
func (RestoreObjectOutput) MarshalFields ¶ added in v0.3.0
func (s RestoreObjectOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RestoreObjectOutput) SDKResponseMetadata ¶
func (s RestoreObjectOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RestoreObjectOutput) String ¶
func (s RestoreObjectOutput) String() string
String returns the string representation
type RestoreObjectRequest ¶
type RestoreObjectRequest struct { *aws.Request Input *RestoreObjectInput Copy func(*RestoreObjectInput) RestoreObjectRequest }
RestoreObjectRequest is a API request type for the RestoreObject API operation.
func (RestoreObjectRequest) Send ¶
func (r RestoreObjectRequest) Send() (*RestoreObjectOutput, error)
Send marshals and sends the RestoreObject API request.
type RestoreRequest ¶
type RestoreRequest struct { // Lifetime of the active copy in days. Do not use with restores that specify // OutputLocation. Days *int64 `type:"integer"` // The optional description for the job. Description *string `type:"string"` // Glacier related parameters pertaining to this job. Do not use with restores // that specify OutputLocation. GlacierJobParameters *GlacierJobParameters `type:"structure"` // Describes the location where the restore job's output is stored. OutputLocation *OutputLocation `type:"structure"` // Describes the parameters for Select job types. SelectParameters *SelectParameters `type:"structure"` // Glacier retrieval tier at which the restore will be processed. Tier Tier `type:"string" enum:"true"` // Type of restore request. Type RestoreRequestType `type:"string" enum:"true"` // contains filtered or unexported fields }
Container for restore job parameters. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreRequest
func (RestoreRequest) GoString ¶
func (s RestoreRequest) GoString() string
GoString returns the string representation
func (RestoreRequest) MarshalFields ¶ added in v0.3.0
func (s RestoreRequest) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RestoreRequest) String ¶
func (s RestoreRequest) String() string
String returns the string representation
func (*RestoreRequest) Validate ¶
func (s *RestoreRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RestoreRequestType ¶ added in v0.2.0
type RestoreRequestType string
const (
RestoreRequestTypeSelect RestoreRequestType = "SELECT"
)
Enum values for RestoreRequestType
func (RestoreRequestType) MarshalValue ¶ added in v0.3.0
func (enum RestoreRequestType) MarshalValue() (string, error)
func (RestoreRequestType) MarshalValueBuf ¶ added in v0.3.0
func (enum RestoreRequestType) MarshalValueBuf(b []byte) ([]byte, error)
type RoutingRule ¶
type RoutingRule struct { // A container for describing a condition that must be met for the specified // redirect to apply. For example, 1. If request is for pages in the /docs folder, // redirect to the /documents folder. 2. If request results in HTTP error 4xx, // redirect request to another host where you might process the error. Condition *Condition `type:"structure"` // Container for redirect information. You can redirect requests to another // host, to another page, or with another protocol. In the event of an error, // you can specify a different error code to return. // // Redirect is a required field Redirect *Redirect `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RoutingRule
func (RoutingRule) GoString ¶
func (s RoutingRule) GoString() string
GoString returns the string representation
func (RoutingRule) MarshalFields ¶ added in v0.3.0
func (s RoutingRule) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RoutingRule) String ¶
func (s RoutingRule) String() string
String returns the string representation
func (*RoutingRule) Validate ¶
func (s *RoutingRule) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Rule ¶
type Rule struct { // Specifies the days since the initiation of an Incomplete Multipart Upload // that Lifecycle will wait before permanently removing all parts of the upload. AbortIncompleteMultipartUpload *AbortIncompleteMultipartUpload `type:"structure"` Expiration *LifecycleExpiration `type:"structure"` // Unique identifier for the rule. The value cannot be longer than 255 characters. ID *string `type:"string"` // Specifies when noncurrent object versions expire. Upon expiration, Amazon // S3 permanently deletes the noncurrent object versions. You set this lifecycle // configuration action on a bucket that has versioning enabled (or suspended) // to request that Amazon S3 delete noncurrent object versions at a specific // period in the object's lifetime. NoncurrentVersionExpiration *NoncurrentVersionExpiration `type:"structure"` // Container for the transition rule that describes when noncurrent objects // transition to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING or GLACIER // storage class. If your bucket is versioning-enabled (or versioning is suspended), // you can set this action to request that Amazon S3 transition noncurrent object // versions to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING or GLACIER storage // class at a specific period in the object's lifetime. NoncurrentVersionTransition *NoncurrentVersionTransition `type:"structure"` // Prefix identifying one or more objects to which the rule applies. // // Prefix is a required field Prefix *string `type:"string" required:"true"` // If 'Enabled', the rule is currently being applied. If 'Disabled', the rule // is not currently being applied. // // Status is a required field Status ExpirationStatus `type:"string" required:"true" enum:"true"` Transition *Transition `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Rule
func (Rule) MarshalFields ¶ added in v0.3.0
func (s Rule) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type S3 ¶
type S3 struct { *aws.Client // Disables the S3 client from using the Expect: 100-Continue header to wait for // the service to respond with a 100 status code before sending the HTTP request // body. // // You should disable 100-Continue if you experience issues with proxies or third // party S3 compatible services. // // See http.Transport's ExpectContinueTimeout for information on adjusting the // continue wait timeout. https://golang.org/pkg/net/http/#Transport Disable100Continue bool // Forces the client to use path-style addressing for S3 API operations. By // default the S3 client will use virtual hosted bucket addressing when possible. // The S3 client will automatically fall back to path-style when the bucket name // is not DNS compatible. // // With ForcePathStyle // // https://s3.us-west-2.amazonaws.com/BUCKET/KEY // // Without ForcePathStyle // // https://BUCKET.s3.us-west-2.amazonaws.com/KEY // // See http://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html ForcePathStyle bool // Enables S3 Accelerate feature for API operation that support S3 Accelerate. // For all operations compatible with S3 Accelerate will use the accelerate // endpoint for requests. Requests not compatible will fall back to normal S3 // requests. // // The bucket must be enable for accelerate to be used with S3 client with // accelerate enabled. If the bucket is not enabled for accelerate an error will // be returned. The bucket name must be DNS compatible to also work with // accelerate. // UseAccelerate bool }
S3 provides the API operation methods for making requests to Amazon Simple Storage Service. See this package's package overview docs for details on the service.
S3 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the S3 client with a config.
Example:
// Create a S3 client from just a config. svc := s3.New(myConfig)
func (*S3) AbortMultipartUploadRequest ¶
func (c *S3) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) AbortMultipartUploadRequest
AbortMultipartUploadRequest returns a request value for making API operation for Amazon Simple Storage Service.
Aborts a multipart upload.
To verify that all parts have been removed, so you don't get charged for the part storage, you should call the List Parts operation and ensure the parts list is empty.
// Example sending a request using the AbortMultipartUploadRequest method. req := client.AbortMultipartUploadRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUpload
func (*S3) CompleteMultipartUploadRequest ¶
func (c *S3) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) CompleteMultipartUploadRequest
CompleteMultipartUploadRequest returns a request value for making API operation for Amazon Simple Storage Service.
Completes a multipart upload by assembling previously uploaded parts.
// Example sending a request using the CompleteMultipartUploadRequest method. req := client.CompleteMultipartUploadRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUpload
func (*S3) CopyObjectRequest ¶
func (c *S3) CopyObjectRequest(input *CopyObjectInput) CopyObjectRequest
CopyObjectRequest returns a request value for making API operation for Amazon Simple Storage Service.
Creates a copy of an object that is already stored in Amazon S3.
// Example sending a request using the CopyObjectRequest method. req := client.CopyObjectRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObject
func (*S3) CreateBucketRequest ¶
func (c *S3) CreateBucketRequest(input *CreateBucketInput) CreateBucketRequest
CreateBucketRequest returns a request value for making API operation for Amazon Simple Storage Service.
Creates a new bucket.
// Example sending a request using the CreateBucketRequest method. req := client.CreateBucketRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucket
func (*S3) CreateMultipartUploadRequest ¶
func (c *S3) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) CreateMultipartUploadRequest
CreateMultipartUploadRequest returns a request value for making API operation for Amazon Simple Storage Service.
Initiates a multipart upload and returns an upload ID.
Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.
// Example sending a request using the CreateMultipartUploadRequest method. req := client.CreateMultipartUploadRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUpload
func (*S3) DeleteBucketAnalyticsConfigurationRequest ¶
func (c *S3) DeleteBucketAnalyticsConfigurationRequest(input *DeleteBucketAnalyticsConfigurationInput) DeleteBucketAnalyticsConfigurationRequest
DeleteBucketAnalyticsConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deletes an analytics configuration for the bucket (specified by the analytics configuration ID).
// Example sending a request using the DeleteBucketAnalyticsConfigurationRequest method. req := client.DeleteBucketAnalyticsConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfiguration
func (*S3) DeleteBucketCorsRequest ¶
func (c *S3) DeleteBucketCorsRequest(input *DeleteBucketCorsInput) DeleteBucketCorsRequest
DeleteBucketCorsRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deletes the CORS configuration information set for the bucket.
// Example sending a request using the DeleteBucketCorsRequest method. req := client.DeleteBucketCorsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCors
func (*S3) DeleteBucketEncryptionRequest ¶ added in v0.2.0
func (c *S3) DeleteBucketEncryptionRequest(input *DeleteBucketEncryptionInput) DeleteBucketEncryptionRequest
DeleteBucketEncryptionRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deletes the server-side encryption configuration from the bucket.
// Example sending a request using the DeleteBucketEncryptionRequest method. req := client.DeleteBucketEncryptionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryption
func (*S3) DeleteBucketInventoryConfigurationRequest ¶
func (c *S3) DeleteBucketInventoryConfigurationRequest(input *DeleteBucketInventoryConfigurationInput) DeleteBucketInventoryConfigurationRequest
DeleteBucketInventoryConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deletes an inventory configuration (identified by the inventory ID) from the bucket.
// Example sending a request using the DeleteBucketInventoryConfigurationRequest method. req := client.DeleteBucketInventoryConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfiguration
func (*S3) DeleteBucketLifecycleRequest ¶
func (c *S3) DeleteBucketLifecycleRequest(input *DeleteBucketLifecycleInput) DeleteBucketLifecycleRequest
DeleteBucketLifecycleRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deletes the lifecycle configuration from the bucket.
// Example sending a request using the DeleteBucketLifecycleRequest method. req := client.DeleteBucketLifecycleRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycle
func (*S3) DeleteBucketMetricsConfigurationRequest ¶
func (c *S3) DeleteBucketMetricsConfigurationRequest(input *DeleteBucketMetricsConfigurationInput) DeleteBucketMetricsConfigurationRequest
DeleteBucketMetricsConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deletes a metrics configuration (specified by the metrics configuration ID) from the bucket.
// Example sending a request using the DeleteBucketMetricsConfigurationRequest method. req := client.DeleteBucketMetricsConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfiguration
func (*S3) DeleteBucketPolicyRequest ¶
func (c *S3) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) DeleteBucketPolicyRequest
DeleteBucketPolicyRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deletes the policy from the bucket.
// Example sending a request using the DeleteBucketPolicyRequest method. req := client.DeleteBucketPolicyRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicy
func (*S3) DeleteBucketReplicationRequest ¶
func (c *S3) DeleteBucketReplicationRequest(input *DeleteBucketReplicationInput) DeleteBucketReplicationRequest
DeleteBucketReplicationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deletes the replication configuration from the bucket. For information about replication configuration, see Cross-Region Replication (CRR) ( https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html) in the Amazon S3 Developer Guide.
// Example sending a request using the DeleteBucketReplicationRequest method. req := client.DeleteBucketReplicationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplication
func (*S3) DeleteBucketRequest ¶
func (c *S3) DeleteBucketRequest(input *DeleteBucketInput) DeleteBucketRequest
DeleteBucketRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deletes the bucket. All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted.
// Example sending a request using the DeleteBucketRequest method. req := client.DeleteBucketRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucket
func (*S3) DeleteBucketTaggingRequest ¶
func (c *S3) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) DeleteBucketTaggingRequest
DeleteBucketTaggingRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deletes the tags from the bucket.
// Example sending a request using the DeleteBucketTaggingRequest method. req := client.DeleteBucketTaggingRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTagging
func (*S3) DeleteBucketWebsiteRequest ¶
func (c *S3) DeleteBucketWebsiteRequest(input *DeleteBucketWebsiteInput) DeleteBucketWebsiteRequest
DeleteBucketWebsiteRequest returns a request value for making API operation for Amazon Simple Storage Service.
This operation removes the website configuration from the bucket.
// Example sending a request using the DeleteBucketWebsiteRequest method. req := client.DeleteBucketWebsiteRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsite
func (*S3) DeleteObjectRequest ¶
func (c *S3) DeleteObjectRequest(input *DeleteObjectInput) DeleteObjectRequest
DeleteObjectRequest returns a request value for making API operation for Amazon Simple Storage Service.
Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. If there isn't a null version, Amazon S3 does not remove any objects.
// Example sending a request using the DeleteObjectRequest method. req := client.DeleteObjectRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObject
func (*S3) DeleteObjectTaggingRequest ¶
func (c *S3) DeleteObjectTaggingRequest(input *DeleteObjectTaggingInput) DeleteObjectTaggingRequest
DeleteObjectTaggingRequest returns a request value for making API operation for Amazon Simple Storage Service.
Removes the tag-set from an existing object.
// Example sending a request using the DeleteObjectTaggingRequest method. req := client.DeleteObjectTaggingRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTagging
func (*S3) DeleteObjectsRequest ¶
func (c *S3) DeleteObjectsRequest(input *DeleteObjectsInput) DeleteObjectsRequest
DeleteObjectsRequest returns a request value for making API operation for Amazon Simple Storage Service.
This operation enables you to delete multiple objects from a bucket using a single HTTP request. You may specify up to 1000 keys.
// Example sending a request using the DeleteObjectsRequest method. req := client.DeleteObjectsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjects
func (*S3) DeletePublicAccessBlockRequest ¶ added in v0.6.0
func (c *S3) DeletePublicAccessBlockRequest(input *DeletePublicAccessBlockInput) DeletePublicAccessBlockRequest
DeletePublicAccessBlockRequest returns a request value for making API operation for Amazon Simple Storage Service.
Removes the PublicAccessBlock configuration from an Amazon S3 bucket.
// Example sending a request using the DeletePublicAccessBlockRequest method. req := client.DeletePublicAccessBlockRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletePublicAccessBlock
func (*S3) GetBucketAccelerateConfigurationRequest ¶
func (c *S3) GetBucketAccelerateConfigurationRequest(input *GetBucketAccelerateConfigurationInput) GetBucketAccelerateConfigurationRequest
GetBucketAccelerateConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the accelerate configuration of a bucket.
// Example sending a request using the GetBucketAccelerateConfigurationRequest method. req := client.GetBucketAccelerateConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfiguration
func (*S3) GetBucketAclRequest ¶
func (c *S3) GetBucketAclRequest(input *GetBucketAclInput) GetBucketAclRequest
GetBucketAclRequest returns a request value for making API operation for Amazon Simple Storage Service.
Gets the access control policy for the bucket.
// Example sending a request using the GetBucketAclRequest method. req := client.GetBucketAclRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAcl
func (*S3) GetBucketAnalyticsConfigurationRequest ¶
func (c *S3) GetBucketAnalyticsConfigurationRequest(input *GetBucketAnalyticsConfigurationInput) GetBucketAnalyticsConfigurationRequest
GetBucketAnalyticsConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Gets an analytics configuration for the bucket (specified by the analytics configuration ID).
// Example sending a request using the GetBucketAnalyticsConfigurationRequest method. req := client.GetBucketAnalyticsConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfiguration
func (*S3) GetBucketCorsRequest ¶
func (c *S3) GetBucketCorsRequest(input *GetBucketCorsInput) GetBucketCorsRequest
GetBucketCorsRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the CORS configuration for the bucket.
// Example sending a request using the GetBucketCorsRequest method. req := client.GetBucketCorsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCors
func (*S3) GetBucketEncryptionRequest ¶ added in v0.2.0
func (c *S3) GetBucketEncryptionRequest(input *GetBucketEncryptionInput) GetBucketEncryptionRequest
GetBucketEncryptionRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the server-side encryption configuration of a bucket.
// Example sending a request using the GetBucketEncryptionRequest method. req := client.GetBucketEncryptionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryption
func (*S3) GetBucketInventoryConfigurationRequest ¶
func (c *S3) GetBucketInventoryConfigurationRequest(input *GetBucketInventoryConfigurationInput) GetBucketInventoryConfigurationRequest
GetBucketInventoryConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns an inventory configuration (identified by the inventory ID) from the bucket.
// Example sending a request using the GetBucketInventoryConfigurationRequest method. req := client.GetBucketInventoryConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfiguration
func (*S3) GetBucketLifecycleConfigurationRequest ¶
func (c *S3) GetBucketLifecycleConfigurationRequest(input *GetBucketLifecycleConfigurationInput) GetBucketLifecycleConfigurationRequest
GetBucketLifecycleConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the lifecycle configuration information set on the bucket.
// Example sending a request using the GetBucketLifecycleConfigurationRequest method. req := client.GetBucketLifecycleConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfiguration
func (*S3) GetBucketLifecycleRequest ¶
func (c *S3) GetBucketLifecycleRequest(input *GetBucketLifecycleInput) GetBucketLifecycleRequest
GetBucketLifecycleRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deprecated, see the GetBucketLifecycleConfiguration operation.
// Example sending a request using the GetBucketLifecycleRequest method. req := client.GetBucketLifecycleRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycle
func (*S3) GetBucketLocationRequest ¶
func (c *S3) GetBucketLocationRequest(input *GetBucketLocationInput) GetBucketLocationRequest
GetBucketLocationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the region the bucket resides in.
// Example sending a request using the GetBucketLocationRequest method. req := client.GetBucketLocationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation
func (*S3) GetBucketLoggingRequest ¶
func (c *S3) GetBucketLoggingRequest(input *GetBucketLoggingInput) GetBucketLoggingRequest
GetBucketLoggingRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner.
// Example sending a request using the GetBucketLoggingRequest method. req := client.GetBucketLoggingRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLogging
func (*S3) GetBucketMetricsConfigurationRequest ¶
func (c *S3) GetBucketMetricsConfigurationRequest(input *GetBucketMetricsConfigurationInput) GetBucketMetricsConfigurationRequest
GetBucketMetricsConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Gets a metrics configuration (specified by the metrics configuration ID) from the bucket.
// Example sending a request using the GetBucketMetricsConfigurationRequest method. req := client.GetBucketMetricsConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfiguration
func (*S3) GetBucketNotificationConfigurationRequest ¶
func (c *S3) GetBucketNotificationConfigurationRequest(input *GetBucketNotificationConfigurationInput) GetBucketNotificationConfigurationRequest
GetBucketNotificationConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the notification configuration of a bucket.
// Example sending a request using the GetBucketNotificationConfigurationRequest method. req := client.GetBucketNotificationConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfiguration
func (*S3) GetBucketNotificationRequest ¶
func (c *S3) GetBucketNotificationRequest(input *GetBucketNotificationConfigurationInput) GetBucketNotificationRequest
GetBucketNotificationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deprecated, see the GetBucketNotificationConfiguration operation.
// Example sending a request using the GetBucketNotificationRequest method. req := client.GetBucketNotificationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotification
func (*S3) GetBucketPolicyRequest ¶
func (c *S3) GetBucketPolicyRequest(input *GetBucketPolicyInput) GetBucketPolicyRequest
GetBucketPolicyRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the policy of a specified bucket.
// Example sending a request using the GetBucketPolicyRequest method. req := client.GetBucketPolicyRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicy
func (*S3) GetBucketPolicyStatusRequest ¶ added in v0.6.0
func (c *S3) GetBucketPolicyStatusRequest(input *GetBucketPolicyStatusInput) GetBucketPolicyStatusRequest
GetBucketPolicyStatusRequest returns a request value for making API operation for Amazon Simple Storage Service.
Retrieves the policy status for an Amazon S3 bucket, indicating whether the bucket is public.
// Example sending a request using the GetBucketPolicyStatusRequest method. req := client.GetBucketPolicyStatusRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyStatus
func (*S3) GetBucketReplicationRequest ¶
func (c *S3) GetBucketReplicationRequest(input *GetBucketReplicationInput) GetBucketReplicationRequest
GetBucketReplicationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the replication configuration of a bucket.
It can take a while to propagate the put or delete a replication configuration to all Amazon S3 systems. Therefore, a get request soon after put or delete can return a wrong result.
// Example sending a request using the GetBucketReplicationRequest method. req := client.GetBucketReplicationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplication
func (*S3) GetBucketRequestPaymentRequest ¶
func (c *S3) GetBucketRequestPaymentRequest(input *GetBucketRequestPaymentInput) GetBucketRequestPaymentRequest
GetBucketRequestPaymentRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the request payment configuration of a bucket.
// Example sending a request using the GetBucketRequestPaymentRequest method. req := client.GetBucketRequestPaymentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPayment
func (*S3) GetBucketTaggingRequest ¶
func (c *S3) GetBucketTaggingRequest(input *GetBucketTaggingInput) GetBucketTaggingRequest
GetBucketTaggingRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the tag set associated with the bucket.
// Example sending a request using the GetBucketTaggingRequest method. req := client.GetBucketTaggingRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTagging
func (*S3) GetBucketVersioningRequest ¶
func (c *S3) GetBucketVersioningRequest(input *GetBucketVersioningInput) GetBucketVersioningRequest
GetBucketVersioningRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the versioning state of a bucket.
// Example sending a request using the GetBucketVersioningRequest method. req := client.GetBucketVersioningRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioning
func (*S3) GetBucketWebsiteRequest ¶
func (c *S3) GetBucketWebsiteRequest(input *GetBucketWebsiteInput) GetBucketWebsiteRequest
GetBucketWebsiteRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the website configuration for a bucket.
// Example sending a request using the GetBucketWebsiteRequest method. req := client.GetBucketWebsiteRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsite
func (*S3) GetObjectAclRequest ¶
func (c *S3) GetObjectAclRequest(input *GetObjectAclInput) GetObjectAclRequest
GetObjectAclRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the access control list (ACL) of an object.
// Example sending a request using the GetObjectAclRequest method. req := client.GetObjectAclRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAcl
func (*S3) GetObjectLegalHoldRequest ¶ added in v0.6.0
func (c *S3) GetObjectLegalHoldRequest(input *GetObjectLegalHoldInput) GetObjectLegalHoldRequest
GetObjectLegalHoldRequest returns a request value for making API operation for Amazon Simple Storage Service.
Gets an object's current Legal Hold status.
// Example sending a request using the GetObjectLegalHoldRequest method. req := client.GetObjectLegalHoldRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLegalHold
func (*S3) GetObjectLockConfigurationRequest ¶ added in v0.6.0
func (c *S3) GetObjectLockConfigurationRequest(input *GetObjectLockConfigurationInput) GetObjectLockConfigurationRequest
GetObjectLockConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket.
// Example sending a request using the GetObjectLockConfigurationRequest method. req := client.GetObjectLockConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLockConfiguration
func (*S3) GetObjectRequest ¶
func (c *S3) GetObjectRequest(input *GetObjectInput) GetObjectRequest
GetObjectRequest returns a request value for making API operation for Amazon Simple Storage Service.
Retrieves objects from Amazon S3.
// Example sending a request using the GetObjectRequest method. req := client.GetObjectRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject
func (*S3) GetObjectRetentionRequest ¶ added in v0.6.0
func (c *S3) GetObjectRetentionRequest(input *GetObjectRetentionInput) GetObjectRetentionRequest
GetObjectRetentionRequest returns a request value for making API operation for Amazon Simple Storage Service.
Retrieves an object's retention settings.
// Example sending a request using the GetObjectRetentionRequest method. req := client.GetObjectRetentionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRetention
func (*S3) GetObjectTaggingRequest ¶
func (c *S3) GetObjectTaggingRequest(input *GetObjectTaggingInput) GetObjectTaggingRequest
GetObjectTaggingRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns the tag-set of an object.
// Example sending a request using the GetObjectTaggingRequest method. req := client.GetObjectTaggingRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTagging
func (*S3) GetObjectTorrentRequest ¶
func (c *S3) GetObjectTorrentRequest(input *GetObjectTorrentInput) GetObjectTorrentRequest
GetObjectTorrentRequest returns a request value for making API operation for Amazon Simple Storage Service.
Return torrent files from a bucket.
// Example sending a request using the GetObjectTorrentRequest method. req := client.GetObjectTorrentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrent
func (*S3) GetPublicAccessBlockRequest ¶ added in v0.6.0
func (c *S3) GetPublicAccessBlockRequest(input *GetPublicAccessBlockInput) GetPublicAccessBlockRequest
GetPublicAccessBlockRequest returns a request value for making API operation for Amazon Simple Storage Service.
Retrieves the PublicAccessBlock configuration for an Amazon S3 bucket.
// Example sending a request using the GetPublicAccessBlockRequest method. req := client.GetPublicAccessBlockRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetPublicAccessBlock
func (*S3) HeadBucketRequest ¶
func (c *S3) HeadBucketRequest(input *HeadBucketInput) HeadBucketRequest
HeadBucketRequest returns a request value for making API operation for Amazon Simple Storage Service.
This operation is useful to determine if a bucket exists and you have permission to access it.
// Example sending a request using the HeadBucketRequest method. req := client.HeadBucketRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucket
func (*S3) HeadObjectRequest ¶
func (c *S3) HeadObjectRequest(input *HeadObjectInput) HeadObjectRequest
HeadObjectRequest returns a request value for making API operation for Amazon Simple Storage Service.
The HEAD operation retrieves metadata from an object without returning the object itself. This operation is useful if you're only interested in an object's metadata. To use HEAD, you must have READ access to the object.
See http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses for more information on returned errors.
// Example sending a request using the HeadObjectRequest method. req := client.HeadObjectRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObject
func (*S3) ListBucketAnalyticsConfigurationsRequest ¶
func (c *S3) ListBucketAnalyticsConfigurationsRequest(input *ListBucketAnalyticsConfigurationsInput) ListBucketAnalyticsConfigurationsRequest
ListBucketAnalyticsConfigurationsRequest returns a request value for making API operation for Amazon Simple Storage Service.
Lists the analytics configurations for the bucket.
// Example sending a request using the ListBucketAnalyticsConfigurationsRequest method. req := client.ListBucketAnalyticsConfigurationsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurations
func (*S3) ListBucketInventoryConfigurationsRequest ¶
func (c *S3) ListBucketInventoryConfigurationsRequest(input *ListBucketInventoryConfigurationsInput) ListBucketInventoryConfigurationsRequest
ListBucketInventoryConfigurationsRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns a list of inventory configurations for the bucket.
// Example sending a request using the ListBucketInventoryConfigurationsRequest method. req := client.ListBucketInventoryConfigurationsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurations
func (*S3) ListBucketMetricsConfigurationsRequest ¶
func (c *S3) ListBucketMetricsConfigurationsRequest(input *ListBucketMetricsConfigurationsInput) ListBucketMetricsConfigurationsRequest
ListBucketMetricsConfigurationsRequest returns a request value for making API operation for Amazon Simple Storage Service.
Lists the metrics configurations for the bucket.
// Example sending a request using the ListBucketMetricsConfigurationsRequest method. req := client.ListBucketMetricsConfigurationsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurations
func (*S3) ListBucketsRequest ¶
func (c *S3) ListBucketsRequest(input *ListBucketsInput) ListBucketsRequest
ListBucketsRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns a list of all buckets owned by the authenticated sender of the request.
// Example sending a request using the ListBucketsRequest method. req := client.ListBucketsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBuckets
func (*S3) ListMultipartUploadsRequest ¶
func (c *S3) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) ListMultipartUploadsRequest
ListMultipartUploadsRequest returns a request value for making API operation for Amazon Simple Storage Service.
This operation lists in-progress multipart uploads.
// Example sending a request using the ListMultipartUploadsRequest method. req := client.ListMultipartUploadsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploads
func (*S3) ListObjectVersionsRequest ¶
func (c *S3) ListObjectVersionsRequest(input *ListObjectVersionsInput) ListObjectVersionsRequest
ListObjectVersionsRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns metadata about all of the versions of objects in a bucket.
// Example sending a request using the ListObjectVersionsRequest method. req := client.ListObjectVersionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersions
func (*S3) ListObjectsRequest ¶
func (c *S3) ListObjectsRequest(input *ListObjectsInput) ListObjectsRequest
ListObjectsRequest returns a request value for making API operation for Amazon Simple Storage Service.
Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket.
// Example sending a request using the ListObjectsRequest method. req := client.ListObjectsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects
func (*S3) ListObjectsV2Request ¶
func (c *S3) ListObjectsV2Request(input *ListObjectsV2Input) ListObjectsV2Request
ListObjectsV2Request returns a request value for making API operation for Amazon Simple Storage Service.
Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket. Note: ListObjectsV2 is the revised List Objects API and we recommend you use this revised API for new application development.
// Example sending a request using the ListObjectsV2Request method. req := client.ListObjectsV2Request(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2
func (*S3) ListPartsRequest ¶
func (c *S3) ListPartsRequest(input *ListPartsInput) ListPartsRequest
ListPartsRequest returns a request value for making API operation for Amazon Simple Storage Service.
Lists the parts that have been uploaded for a specific multipart upload.
// Example sending a request using the ListPartsRequest method. req := client.ListPartsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListParts
func (*S3) PutBucketAccelerateConfigurationRequest ¶
func (c *S3) PutBucketAccelerateConfigurationRequest(input *PutBucketAccelerateConfigurationInput) PutBucketAccelerateConfigurationRequest
PutBucketAccelerateConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Sets the accelerate configuration of an existing bucket.
// Example sending a request using the PutBucketAccelerateConfigurationRequest method. req := client.PutBucketAccelerateConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfiguration
func (*S3) PutBucketAclRequest ¶
func (c *S3) PutBucketAclRequest(input *PutBucketAclInput) PutBucketAclRequest
PutBucketAclRequest returns a request value for making API operation for Amazon Simple Storage Service.
Sets the permissions on a bucket using access control lists (ACL).
// Example sending a request using the PutBucketAclRequest method. req := client.PutBucketAclRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAcl
func (*S3) PutBucketAnalyticsConfigurationRequest ¶
func (c *S3) PutBucketAnalyticsConfigurationRequest(input *PutBucketAnalyticsConfigurationInput) PutBucketAnalyticsConfigurationRequest
PutBucketAnalyticsConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Sets an analytics configuration for the bucket (specified by the analytics configuration ID).
// Example sending a request using the PutBucketAnalyticsConfigurationRequest method. req := client.PutBucketAnalyticsConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfiguration
func (*S3) PutBucketCorsRequest ¶
func (c *S3) PutBucketCorsRequest(input *PutBucketCorsInput) PutBucketCorsRequest
PutBucketCorsRequest returns a request value for making API operation for Amazon Simple Storage Service.
Sets the CORS configuration for a bucket.
// Example sending a request using the PutBucketCorsRequest method. req := client.PutBucketCorsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCors
func (*S3) PutBucketEncryptionRequest ¶ added in v0.2.0
func (c *S3) PutBucketEncryptionRequest(input *PutBucketEncryptionInput) PutBucketEncryptionRequest
PutBucketEncryptionRequest returns a request value for making API operation for Amazon Simple Storage Service.
Creates a new server-side encryption configuration (or replaces an existing one, if present).
// Example sending a request using the PutBucketEncryptionRequest method. req := client.PutBucketEncryptionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryption
func (*S3) PutBucketInventoryConfigurationRequest ¶
func (c *S3) PutBucketInventoryConfigurationRequest(input *PutBucketInventoryConfigurationInput) PutBucketInventoryConfigurationRequest
PutBucketInventoryConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Adds an inventory configuration (identified by the inventory ID) from the bucket.
// Example sending a request using the PutBucketInventoryConfigurationRequest method. req := client.PutBucketInventoryConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfiguration
func (*S3) PutBucketLifecycleConfigurationRequest ¶
func (c *S3) PutBucketLifecycleConfigurationRequest(input *PutBucketLifecycleConfigurationInput) PutBucketLifecycleConfigurationRequest
PutBucketLifecycleConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Sets lifecycle configuration for your bucket. If a lifecycle configuration exists, it replaces it.
// Example sending a request using the PutBucketLifecycleConfigurationRequest method. req := client.PutBucketLifecycleConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfiguration
func (*S3) PutBucketLifecycleRequest ¶
func (c *S3) PutBucketLifecycleRequest(input *PutBucketLifecycleInput) PutBucketLifecycleRequest
PutBucketLifecycleRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deprecated, see the PutBucketLifecycleConfiguration operation.
// Example sending a request using the PutBucketLifecycleRequest method. req := client.PutBucketLifecycleRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycle
func (*S3) PutBucketLoggingRequest ¶
func (c *S3) PutBucketLoggingRequest(input *PutBucketLoggingInput) PutBucketLoggingRequest
PutBucketLoggingRequest returns a request value for making API operation for Amazon Simple Storage Service.
Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. To set the logging status of a bucket, you must be the bucket owner.
// Example sending a request using the PutBucketLoggingRequest method. req := client.PutBucketLoggingRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLogging
func (*S3) PutBucketMetricsConfigurationRequest ¶
func (c *S3) PutBucketMetricsConfigurationRequest(input *PutBucketMetricsConfigurationInput) PutBucketMetricsConfigurationRequest
PutBucketMetricsConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Sets a metrics configuration (specified by the metrics configuration ID) for the bucket.
// Example sending a request using the PutBucketMetricsConfigurationRequest method. req := client.PutBucketMetricsConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfiguration
func (*S3) PutBucketNotificationConfigurationRequest ¶
func (c *S3) PutBucketNotificationConfigurationRequest(input *PutBucketNotificationConfigurationInput) PutBucketNotificationConfigurationRequest
PutBucketNotificationConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Enables notifications of specified events for a bucket.
// Example sending a request using the PutBucketNotificationConfigurationRequest method. req := client.PutBucketNotificationConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfiguration
func (*S3) PutBucketNotificationRequest ¶
func (c *S3) PutBucketNotificationRequest(input *PutBucketNotificationInput) PutBucketNotificationRequest
PutBucketNotificationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Deprecated, see the PutBucketNotificationConfiguraiton operation.
// Example sending a request using the PutBucketNotificationRequest method. req := client.PutBucketNotificationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotification
func (*S3) PutBucketPolicyRequest ¶
func (c *S3) PutBucketPolicyRequest(input *PutBucketPolicyInput) PutBucketPolicyRequest
PutBucketPolicyRequest returns a request value for making API operation for Amazon Simple Storage Service.
Replaces a policy on a bucket. If the bucket already has a policy, the one in this request completely replaces it.
// Example sending a request using the PutBucketPolicyRequest method. req := client.PutBucketPolicyRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicy
func (*S3) PutBucketReplicationRequest ¶
func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) PutBucketReplicationRequest
PutBucketReplicationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Creates a replication configuration or replaces an existing one. For more information, see Cross-Region Replication (CRR) ( https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html) in the Amazon S3 Developer Guide.
// Example sending a request using the PutBucketReplicationRequest method. req := client.PutBucketReplicationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplication
func (*S3) PutBucketRequestPaymentRequest ¶
func (c *S3) PutBucketRequestPaymentRequest(input *PutBucketRequestPaymentInput) PutBucketRequestPaymentRequest
PutBucketRequestPaymentRequest returns a request value for making API operation for Amazon Simple Storage Service.
Sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person requesting the download will be charged for the download. Documentation on requester pays buckets can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html
// Example sending a request using the PutBucketRequestPaymentRequest method. req := client.PutBucketRequestPaymentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPayment
func (*S3) PutBucketTaggingRequest ¶
func (c *S3) PutBucketTaggingRequest(input *PutBucketTaggingInput) PutBucketTaggingRequest
PutBucketTaggingRequest returns a request value for making API operation for Amazon Simple Storage Service.
Sets the tags for a bucket.
// Example sending a request using the PutBucketTaggingRequest method. req := client.PutBucketTaggingRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTagging
func (*S3) PutBucketVersioningRequest ¶
func (c *S3) PutBucketVersioningRequest(input *PutBucketVersioningInput) PutBucketVersioningRequest
PutBucketVersioningRequest returns a request value for making API operation for Amazon Simple Storage Service.
Sets the versioning state of an existing bucket. To set the versioning state, you must be the bucket owner.
// Example sending a request using the PutBucketVersioningRequest method. req := client.PutBucketVersioningRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioning
func (*S3) PutBucketWebsiteRequest ¶
func (c *S3) PutBucketWebsiteRequest(input *PutBucketWebsiteInput) PutBucketWebsiteRequest
PutBucketWebsiteRequest returns a request value for making API operation for Amazon Simple Storage Service.
Set the website configuration for a bucket.
// Example sending a request using the PutBucketWebsiteRequest method. req := client.PutBucketWebsiteRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsite
func (*S3) PutObjectAclRequest ¶
func (c *S3) PutObjectAclRequest(input *PutObjectAclInput) PutObjectAclRequest
PutObjectAclRequest returns a request value for making API operation for Amazon Simple Storage Service.
uses the acl subresource to set the access control list (ACL) permissions for an object that already exists in a bucket
// Example sending a request using the PutObjectAclRequest method. req := client.PutObjectAclRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAcl
func (*S3) PutObjectLegalHoldRequest ¶ added in v0.6.0
func (c *S3) PutObjectLegalHoldRequest(input *PutObjectLegalHoldInput) PutObjectLegalHoldRequest
PutObjectLegalHoldRequest returns a request value for making API operation for Amazon Simple Storage Service.
Applies a Legal Hold configuration to the specified object.
// Example sending a request using the PutObjectLegalHoldRequest method. req := client.PutObjectLegalHoldRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHold
func (*S3) PutObjectLockConfigurationRequest ¶ added in v0.6.0
func (c *S3) PutObjectLockConfigurationRequest(input *PutObjectLockConfigurationInput) PutObjectLockConfigurationRequest
PutObjectLockConfigurationRequest returns a request value for making API operation for Amazon Simple Storage Service.
Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket.
// Example sending a request using the PutObjectLockConfigurationRequest method. req := client.PutObjectLockConfigurationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfiguration
func (*S3) PutObjectRequest ¶
func (c *S3) PutObjectRequest(input *PutObjectInput) PutObjectRequest
PutObjectRequest returns a request value for making API operation for Amazon Simple Storage Service.
Adds an object to a bucket.
// Example sending a request using the PutObjectRequest method. req := client.PutObjectRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObject
func (*S3) PutObjectRetentionRequest ¶ added in v0.6.0
func (c *S3) PutObjectRetentionRequest(input *PutObjectRetentionInput) PutObjectRetentionRequest
PutObjectRetentionRequest returns a request value for making API operation for Amazon Simple Storage Service.
Places an Object Retention configuration on an object.
// Example sending a request using the PutObjectRetentionRequest method. req := client.PutObjectRetentionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetention
func (*S3) PutObjectTaggingRequest ¶
func (c *S3) PutObjectTaggingRequest(input *PutObjectTaggingInput) PutObjectTaggingRequest
PutObjectTaggingRequest returns a request value for making API operation for Amazon Simple Storage Service.
Sets the supplied tag-set to an object that already exists in a bucket
// Example sending a request using the PutObjectTaggingRequest method. req := client.PutObjectTaggingRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTagging
func (*S3) PutPublicAccessBlockRequest ¶ added in v0.6.0
func (c *S3) PutPublicAccessBlockRequest(input *PutPublicAccessBlockInput) PutPublicAccessBlockRequest
PutPublicAccessBlockRequest returns a request value for making API operation for Amazon Simple Storage Service.
Creates or modifies the PublicAccessBlock configuration for an Amazon S3 bucket.
// Example sending a request using the PutPublicAccessBlockRequest method. req := client.PutPublicAccessBlockRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlock
func (*S3) RestoreObjectRequest ¶
func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) RestoreObjectRequest
RestoreObjectRequest returns a request value for making API operation for Amazon Simple Storage Service.
Restores an archived copy of an object back into Amazon S3
// Example sending a request using the RestoreObjectRequest method. req := client.RestoreObjectRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObject
func (*S3) UploadPartCopyRequest ¶
func (c *S3) UploadPartCopyRequest(input *UploadPartCopyInput) UploadPartCopyRequest
UploadPartCopyRequest returns a request value for making API operation for Amazon Simple Storage Service.
Uploads a part by copying data from an existing object as data source.
// Example sending a request using the UploadPartCopyRequest method. req := client.UploadPartCopyRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopy
func (*S3) UploadPartRequest ¶
func (c *S3) UploadPartRequest(input *UploadPartInput) UploadPartRequest
UploadPartRequest returns a request value for making API operation for Amazon Simple Storage Service.
Uploads a part in a multipart upload.
Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.
// Example sending a request using the UploadPartRequest method. req := client.UploadPartRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPart
func (*S3) WaitUntilBucketExists ¶
func (c *S3) WaitUntilBucketExists(input *HeadBucketInput) error
WaitUntilBucketExists uses the Amazon S3 API operation HeadBucket to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*S3) WaitUntilBucketExistsWithContext ¶
func (c *S3) WaitUntilBucketExistsWithContext(ctx aws.Context, input *HeadBucketInput, opts ...aws.WaiterOption) error
WaitUntilBucketExistsWithContext is an extended version of WaitUntilBucketExists. With the support for passing in a context and options to configure the Waiter and the underlying request options.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*S3) WaitUntilBucketNotExists ¶
func (c *S3) WaitUntilBucketNotExists(input *HeadBucketInput) error
WaitUntilBucketNotExists uses the Amazon S3 API operation HeadBucket to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*S3) WaitUntilBucketNotExistsWithContext ¶
func (c *S3) WaitUntilBucketNotExistsWithContext(ctx aws.Context, input *HeadBucketInput, opts ...aws.WaiterOption) error
WaitUntilBucketNotExistsWithContext is an extended version of WaitUntilBucketNotExists. With the support for passing in a context and options to configure the Waiter and the underlying request options.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*S3) WaitUntilObjectExists ¶
func (c *S3) WaitUntilObjectExists(input *HeadObjectInput) error
WaitUntilObjectExists uses the Amazon S3 API operation HeadObject to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*S3) WaitUntilObjectExistsWithContext ¶
func (c *S3) WaitUntilObjectExistsWithContext(ctx aws.Context, input *HeadObjectInput, opts ...aws.WaiterOption) error
WaitUntilObjectExistsWithContext is an extended version of WaitUntilObjectExists. With the support for passing in a context and options to configure the Waiter and the underlying request options.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*S3) WaitUntilObjectNotExists ¶
func (c *S3) WaitUntilObjectNotExists(input *HeadObjectInput) error
WaitUntilObjectNotExists uses the Amazon S3 API operation HeadObject to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*S3) WaitUntilObjectNotExistsWithContext ¶
func (c *S3) WaitUntilObjectNotExistsWithContext(ctx aws.Context, input *HeadObjectInput, opts ...aws.WaiterOption) error
WaitUntilObjectNotExistsWithContext is an extended version of WaitUntilObjectNotExists. With the support for passing in a context and options to configure the Waiter and the underlying request options.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type SSEKMS ¶ added in v0.2.0
type SSEKMS struct { // Specifies the ID of the AWS Key Management Service (KMS) master encryption // key to use for encrypting Inventory reports. // // KeyId is a required field KeyId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Specifies the use of SSE-KMS to encrypt delivered Inventory reports. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SSEKMS
func (SSEKMS) MarshalFields ¶ added in v0.3.0
func (s SSEKMS) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type SSES3 ¶ added in v0.2.0
type SSES3 struct {
// contains filtered or unexported fields
}
Specifies the use of SSE-S3 to encrypt delivered Inventory reports. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SSES3
func (SSES3) MarshalFields ¶ added in v0.3.0
func (s SSES3) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type SelectParameters ¶ added in v0.2.0
type SelectParameters struct { // The expression that is used to query the object. // // Expression is a required field Expression *string `type:"string" required:"true"` // The type of the provided expression (e.g., SQL). // // ExpressionType is a required field ExpressionType ExpressionType `type:"string" required:"true" enum:"true"` // Describes the serialization format of the object. // // InputSerialization is a required field InputSerialization *InputSerialization `type:"structure" required:"true"` // Describes how the results of the Select job are serialized. // // OutputSerialization is a required field OutputSerialization *OutputSerialization `type:"structure" required:"true"` // contains filtered or unexported fields }
Describes the parameters for Select job types. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectParameters
func (SelectParameters) GoString ¶ added in v0.2.0
func (s SelectParameters) GoString() string
GoString returns the string representation
func (SelectParameters) MarshalFields ¶ added in v0.3.0
func (s SelectParameters) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SelectParameters) String ¶ added in v0.2.0
func (s SelectParameters) String() string
String returns the string representation
func (*SelectParameters) Validate ¶ added in v0.2.0
func (s *SelectParameters) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ServerSideEncryption ¶
type ServerSideEncryption string
const ( ServerSideEncryptionAes256 ServerSideEncryption = "AES256" ServerSideEncryptionAwsKms ServerSideEncryption = "aws:kms" )
Enum values for ServerSideEncryption
func (ServerSideEncryption) MarshalValue ¶ added in v0.3.0
func (enum ServerSideEncryption) MarshalValue() (string, error)
func (ServerSideEncryption) MarshalValueBuf ¶ added in v0.3.0
func (enum ServerSideEncryption) MarshalValueBuf(b []byte) ([]byte, error)
type ServerSideEncryptionByDefault ¶ added in v0.2.0
type ServerSideEncryptionByDefault struct { // KMS master key ID to use for the default encryption. This parameter is allowed // if SSEAlgorithm is aws:kms. KMSMasterKeyID *string `type:"string"` // Server-side encryption algorithm to use for the default encryption. // // SSEAlgorithm is a required field SSEAlgorithm ServerSideEncryption `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Describes the default server-side encryption to apply to new objects in the bucket. If Put Object request does not specify any server-side encryption, this default encryption will be applied. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionByDefault
func (ServerSideEncryptionByDefault) GoString ¶ added in v0.2.0
func (s ServerSideEncryptionByDefault) GoString() string
GoString returns the string representation
func (ServerSideEncryptionByDefault) MarshalFields ¶ added in v0.3.0
func (s ServerSideEncryptionByDefault) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ServerSideEncryptionByDefault) String ¶ added in v0.2.0
func (s ServerSideEncryptionByDefault) String() string
String returns the string representation
func (*ServerSideEncryptionByDefault) Validate ¶ added in v0.2.0
func (s *ServerSideEncryptionByDefault) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ServerSideEncryptionConfiguration ¶ added in v0.2.0
type ServerSideEncryptionConfiguration struct { // Container for information about a particular server-side encryption configuration // rule. // // Rules is a required field Rules []ServerSideEncryptionRule `locationName:"Rule" type:"list" flattened:"true" required:"true"` // contains filtered or unexported fields }
Container for server-side encryption configuration rules. Currently S3 supports one rule only. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionConfiguration
func (ServerSideEncryptionConfiguration) GoString ¶ added in v0.2.0
func (s ServerSideEncryptionConfiguration) GoString() string
GoString returns the string representation
func (ServerSideEncryptionConfiguration) MarshalFields ¶ added in v0.3.0
func (s ServerSideEncryptionConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ServerSideEncryptionConfiguration) String ¶ added in v0.2.0
func (s ServerSideEncryptionConfiguration) String() string
String returns the string representation
func (*ServerSideEncryptionConfiguration) Validate ¶ added in v0.2.0
func (s *ServerSideEncryptionConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ServerSideEncryptionRule ¶ added in v0.2.0
type ServerSideEncryptionRule struct { // Describes the default server-side encryption to apply to new objects in the // bucket. If Put Object request does not specify any server-side encryption, // this default encryption will be applied. ApplyServerSideEncryptionByDefault *ServerSideEncryptionByDefault `type:"structure"` // contains filtered or unexported fields }
Container for information about a particular server-side encryption configuration rule. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionRule
func (ServerSideEncryptionRule) GoString ¶ added in v0.2.0
func (s ServerSideEncryptionRule) GoString() string
GoString returns the string representation
func (ServerSideEncryptionRule) MarshalFields ¶ added in v0.3.0
func (s ServerSideEncryptionRule) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ServerSideEncryptionRule) String ¶ added in v0.2.0
func (s ServerSideEncryptionRule) String() string
String returns the string representation
func (*ServerSideEncryptionRule) Validate ¶ added in v0.2.0
func (s *ServerSideEncryptionRule) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SourceSelectionCriteria ¶ added in v0.2.0
type SourceSelectionCriteria struct { // A container for filter information for the selection of S3 objects encrypted // with AWS KMS. If you include SourceSelectionCriteria in the replication configuration, // this element is required. SseKmsEncryptedObjects *SseKmsEncryptedObjects `type:"structure"` // contains filtered or unexported fields }
A container for filters that define which source objects should be replicated. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SourceSelectionCriteria
func (SourceSelectionCriteria) GoString ¶ added in v0.2.0
func (s SourceSelectionCriteria) GoString() string
GoString returns the string representation
func (SourceSelectionCriteria) MarshalFields ¶ added in v0.3.0
func (s SourceSelectionCriteria) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SourceSelectionCriteria) String ¶ added in v0.2.0
func (s SourceSelectionCriteria) String() string
String returns the string representation
func (*SourceSelectionCriteria) Validate ¶ added in v0.2.0
func (s *SourceSelectionCriteria) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SseKmsEncryptedObjects ¶ added in v0.2.0
type SseKmsEncryptedObjects struct { // If the status is not Enabled, replication for S3 objects encrypted with AWS // KMS is disabled. // // Status is a required field Status SseKmsEncryptedObjectsStatus `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
A container for filter information for the selection of S3 objects encrypted with AWS KMS. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SseKmsEncryptedObjects
func (SseKmsEncryptedObjects) GoString ¶ added in v0.2.0
func (s SseKmsEncryptedObjects) GoString() string
GoString returns the string representation
func (SseKmsEncryptedObjects) MarshalFields ¶ added in v0.3.0
func (s SseKmsEncryptedObjects) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SseKmsEncryptedObjects) String ¶ added in v0.2.0
func (s SseKmsEncryptedObjects) String() string
String returns the string representation
func (*SseKmsEncryptedObjects) Validate ¶ added in v0.2.0
func (s *SseKmsEncryptedObjects) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SseKmsEncryptedObjectsStatus ¶ added in v0.2.0
type SseKmsEncryptedObjectsStatus string
const ( SseKmsEncryptedObjectsStatusEnabled SseKmsEncryptedObjectsStatus = "Enabled" SseKmsEncryptedObjectsStatusDisabled SseKmsEncryptedObjectsStatus = "Disabled" )
Enum values for SseKmsEncryptedObjectsStatus
func (SseKmsEncryptedObjectsStatus) MarshalValue ¶ added in v0.3.0
func (enum SseKmsEncryptedObjectsStatus) MarshalValue() (string, error)
func (SseKmsEncryptedObjectsStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum SseKmsEncryptedObjectsStatus) MarshalValueBuf(b []byte) ([]byte, error)
type StorageClass ¶
type StorageClass string
const ( StorageClassStandard StorageClass = "STANDARD" StorageClassReducedRedundancy StorageClass = "REDUCED_REDUNDANCY" StorageClassStandardIa StorageClass = "STANDARD_IA" StorageClassOnezoneIa StorageClass = "ONEZONE_IA" StorageClassIntelligentTiering StorageClass = "INTELLIGENT_TIERING" StorageClassGlacier StorageClass = "GLACIER" )
Enum values for StorageClass
func (StorageClass) MarshalValue ¶ added in v0.3.0
func (enum StorageClass) MarshalValue() (string, error)
func (StorageClass) MarshalValueBuf ¶ added in v0.3.0
func (enum StorageClass) MarshalValueBuf(b []byte) ([]byte, error)
type StorageClassAnalysis ¶
type StorageClassAnalysis struct { // A container used to describe how data related to the storage class analysis // should be exported. DataExport *StorageClassAnalysisDataExport `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysis
func (StorageClassAnalysis) GoString ¶
func (s StorageClassAnalysis) GoString() string
GoString returns the string representation
func (StorageClassAnalysis) MarshalFields ¶ added in v0.3.0
func (s StorageClassAnalysis) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StorageClassAnalysis) String ¶
func (s StorageClassAnalysis) String() string
String returns the string representation
func (*StorageClassAnalysis) Validate ¶
func (s *StorageClassAnalysis) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StorageClassAnalysisDataExport ¶
type StorageClassAnalysisDataExport struct { // The place to store the data for an analysis. // // Destination is a required field Destination *AnalyticsExportDestination `type:"structure" required:"true"` // The version of the output schema to use when exporting data. Must be V_1. // // OutputSchemaVersion is a required field OutputSchemaVersion StorageClassAnalysisSchemaVersion `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysisDataExport
func (StorageClassAnalysisDataExport) GoString ¶
func (s StorageClassAnalysisDataExport) GoString() string
GoString returns the string representation
func (StorageClassAnalysisDataExport) MarshalFields ¶ added in v0.3.0
func (s StorageClassAnalysisDataExport) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StorageClassAnalysisDataExport) String ¶
func (s StorageClassAnalysisDataExport) String() string
String returns the string representation
func (*StorageClassAnalysisDataExport) Validate ¶
func (s *StorageClassAnalysisDataExport) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StorageClassAnalysisSchemaVersion ¶
type StorageClassAnalysisSchemaVersion string
const (
StorageClassAnalysisSchemaVersionV1 StorageClassAnalysisSchemaVersion = "V_1"
)
Enum values for StorageClassAnalysisSchemaVersion
func (StorageClassAnalysisSchemaVersion) MarshalValue ¶ added in v0.3.0
func (enum StorageClassAnalysisSchemaVersion) MarshalValue() (string, error)
func (StorageClassAnalysisSchemaVersion) MarshalValueBuf ¶ added in v0.3.0
func (enum StorageClassAnalysisSchemaVersion) MarshalValueBuf(b []byte) ([]byte, error)
type Tag ¶
type Tag struct { // Name of the tag. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // Value of the tag. // // Value is a required field Value *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tag
func (Tag) MarshalFields ¶ added in v0.3.0
func (s Tag) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type Tagging ¶
type Tagging struct { // TagSet is a required field TagSet []Tag `locationNameList:"Tag" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tagging
func (Tagging) MarshalFields ¶ added in v0.3.0
func (s Tagging) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type TaggingDirective ¶
type TaggingDirective string
const ( TaggingDirectiveCopy TaggingDirective = "COPY" TaggingDirectiveReplace TaggingDirective = "REPLACE" )
Enum values for TaggingDirective
func (TaggingDirective) MarshalValue ¶ added in v0.3.0
func (enum TaggingDirective) MarshalValue() (string, error)
func (TaggingDirective) MarshalValueBuf ¶ added in v0.3.0
func (enum TaggingDirective) MarshalValueBuf(b []byte) ([]byte, error)
type TargetGrant ¶
type TargetGrant struct { Grantee *Grantee `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"` // Logging permissions assigned to the Grantee for the bucket. Permission BucketLogsPermission `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TargetGrant
func (TargetGrant) GoString ¶
func (s TargetGrant) GoString() string
GoString returns the string representation
func (TargetGrant) MarshalFields ¶ added in v0.3.0
func (s TargetGrant) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TargetGrant) String ¶
func (s TargetGrant) String() string
String returns the string representation
func (*TargetGrant) Validate ¶
func (s *TargetGrant) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TopicConfiguration ¶
type TopicConfiguration struct { // Events is a required field Events []Event `locationName:"Event" type:"list" flattened:"true" required:"true"` // A container for object key name filtering rules. For information about key // name filtering, see Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) // in the Amazon Simple Storage Service Developer Guide. Filter *NotificationConfigurationFilter `type:"structure"` // An optional unique identifier for configurations in a notification configuration. // If you don't provide one, Amazon S3 will assign an ID. Id *string `type:"string"` // The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 // will publish a message when it detects events of the specified type. // // TopicArn is a required field TopicArn *string `locationName:"Topic" type:"string" required:"true"` // contains filtered or unexported fields }
A container for specifying the configuration for publication of messages to an Amazon Simple Notification Service (Amazon SNS) topic.when Amazon S3 detects specified events. Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfiguration
func (TopicConfiguration) GoString ¶
func (s TopicConfiguration) GoString() string
GoString returns the string representation
func (TopicConfiguration) MarshalFields ¶ added in v0.3.0
func (s TopicConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TopicConfiguration) String ¶
func (s TopicConfiguration) String() string
String returns the string representation
func (*TopicConfiguration) Validate ¶
func (s *TopicConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TopicConfigurationDeprecated ¶
type TopicConfigurationDeprecated struct { // Bucket event for which to send notifications. Event Event `deprecated:"true" type:"string" enum:"true"` Events []Event `locationName:"Event" type:"list" flattened:"true"` // An optional unique identifier for configurations in a notification configuration. // If you don't provide one, Amazon S3 will assign an ID. Id *string `type:"string"` // Amazon SNS topic to which Amazon S3 will publish a message to report the // specified events for the bucket. Topic *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfigurationDeprecated
func (TopicConfigurationDeprecated) GoString ¶
func (s TopicConfigurationDeprecated) GoString() string
GoString returns the string representation
func (TopicConfigurationDeprecated) MarshalFields ¶ added in v0.3.0
func (s TopicConfigurationDeprecated) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TopicConfigurationDeprecated) String ¶
func (s TopicConfigurationDeprecated) String() string
String returns the string representation
type Transition ¶
type Transition struct { // Indicates at what date the object is to be moved or deleted. Should be in // GMT ISO 8601 Format. Date *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Indicates the lifetime, in days, of the objects that are subject to the rule. // The value must be a non-zero positive integer. Days *int64 `type:"integer"` // The class of storage used to store the object. StorageClass TransitionStorageClass `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Transition
func (Transition) GoString ¶
func (s Transition) GoString() string
GoString returns the string representation
func (Transition) MarshalFields ¶ added in v0.3.0
func (s Transition) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Transition) String ¶
func (s Transition) String() string
String returns the string representation
type TransitionStorageClass ¶
type TransitionStorageClass string
const ( TransitionStorageClassGlacier TransitionStorageClass = "GLACIER" TransitionStorageClassStandardIa TransitionStorageClass = "STANDARD_IA" TransitionStorageClassOnezoneIa TransitionStorageClass = "ONEZONE_IA" TransitionStorageClassIntelligentTiering TransitionStorageClass = "INTELLIGENT_TIERING" )
Enum values for TransitionStorageClass
func (TransitionStorageClass) MarshalValue ¶ added in v0.3.0
func (enum TransitionStorageClass) MarshalValue() (string, error)
func (TransitionStorageClass) MarshalValueBuf ¶ added in v0.3.0
func (enum TransitionStorageClass) MarshalValueBuf(b []byte) ([]byte, error)
type Type ¶
type Type string
const ( TypeCanonicalUser Type = "CanonicalUser" TypeAmazonCustomerByEmail Type = "AmazonCustomerByEmail" TypeGroup Type = "Group" )
Enum values for Type
func (Type) MarshalValue ¶ added in v0.3.0
type UploadPartCopyInput ¶
type UploadPartCopyInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The name of the source bucket and key name of the source object, separated // by a slash (/). Must be URL-encoded. // // CopySource is a required field CopySource *string `location:"header" locationName:"x-amz-copy-source" type:"string" required:"true"` // Copies the object if its entity tag (ETag) matches the specified tag. CopySourceIfMatch *string `location:"header" locationName:"x-amz-copy-source-if-match" type:"string"` // Copies the object if it has been modified since the specified time. CopySourceIfModifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-modified-since" type:"timestamp" timestampFormat:"rfc822"` // Copies the object if its entity tag (ETag) is different than the specified // ETag. CopySourceIfNoneMatch *string `location:"header" locationName:"x-amz-copy-source-if-none-match" type:"string"` // Copies the object if it hasn't been modified since the specified time. CopySourceIfUnmodifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-unmodified-since" type:"timestamp" timestampFormat:"rfc822"` // The range of bytes to copy from the source object. The range value must use // the form bytes=first-last, where the first and last are the zero-based byte // offsets to copy. For example, bytes=0-9 indicates that you want to copy the // first ten bytes of the source. You can copy a range only if the source object // is greater than 5 GB. CopySourceRange *string `location:"header" locationName:"x-amz-copy-source-range" type:"string"` // Specifies the algorithm to use when decrypting the source object (e.g., AES256). CopySourceSSECustomerAlgorithm *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm" type:"string"` // Specifies the customer-provided encryption key for Amazon S3 to use to decrypt // the source object. The encryption key provided in this header must be one // that was used when the source object was created. CopySourceSSECustomerKey *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-key" type:"string"` // Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. // Amazon S3 uses this header for a message integrity check to ensure the encryption // key was transmitted without error. CopySourceSSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5" type:"string"` // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Part number of part being copied. This is a positive integer between 1 and // 10,000. // // PartNumber is a required field PartNumber *int64 `location:"querystring" locationName:"partNumber" type:"integer" required:"true"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // Specifies the algorithm to use to when encrypting the object (e.g., AES256). SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // Specifies the customer-provided encryption key for Amazon S3 to use in encrypting // data. This value is used to store the object and then it is discarded; Amazon // does not store the encryption key. The key must be appropriate for use with // the algorithm specified in the x-amz-server-side-encryption-customer-algorithm // header. This must be the same encryption key specified in the initiate multipart // upload request. SSECustomerKey *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string"` // Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. // Amazon S3 uses this header for a message integrity check to ensure the encryption // key was transmitted without error. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // Upload ID identifying the multipart upload whose part is being copied. // // UploadId is a required field UploadId *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyRequest
func (UploadPartCopyInput) GoString ¶
func (s UploadPartCopyInput) GoString() string
GoString returns the string representation
func (UploadPartCopyInput) MarshalFields ¶ added in v0.3.0
func (s UploadPartCopyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UploadPartCopyInput) String ¶
func (s UploadPartCopyInput) String() string
String returns the string representation
func (*UploadPartCopyInput) Validate ¶
func (s *UploadPartCopyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UploadPartCopyOutput ¶
type UploadPartCopyOutput struct { CopyPartResult *CopyPartResult `type:"structure"` // The version of the source object that was copied, if you have enabled versioning // on the source bucket. CopySourceVersionId *string `location:"header" locationName:"x-amz-copy-source-version-id" type:"string"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header confirming the encryption algorithm // used. SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header to provide round trip message integrity // verification of the customer-provided encryption key. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // If present, specifies the ID of the AWS Key Management Service (KMS) master // encryption key that was used for the object. SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string"` // The Server-side encryption algorithm used when storing this object in S3 // (e.g., AES256, aws:kms). ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyOutput
func (UploadPartCopyOutput) GoString ¶
func (s UploadPartCopyOutput) GoString() string
GoString returns the string representation
func (UploadPartCopyOutput) MarshalFields ¶ added in v0.3.0
func (s UploadPartCopyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UploadPartCopyOutput) SDKResponseMetadata ¶
func (s UploadPartCopyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UploadPartCopyOutput) String ¶
func (s UploadPartCopyOutput) String() string
String returns the string representation
type UploadPartCopyRequest ¶
type UploadPartCopyRequest struct { *aws.Request Input *UploadPartCopyInput Copy func(*UploadPartCopyInput) UploadPartCopyRequest }
UploadPartCopyRequest is a API request type for the UploadPartCopy API operation.
func (UploadPartCopyRequest) Send ¶
func (r UploadPartCopyRequest) Send() (*UploadPartCopyOutput, error)
Send marshals and sends the UploadPartCopy API request.
type UploadPartInput ¶
type UploadPartInput struct { // Object data. Body io.ReadSeeker `type:"blob"` // Name of the bucket to which the multipart upload was initiated. // // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Size of the body in bytes. This parameter is useful when the size of the // body cannot be determined automatically. ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"` // The base64-encoded 128-bit MD5 digest of the part data. ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string"` // Object key for which the multipart upload was initiated. // // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Part number of part being uploaded. This is a positive integer between 1 // and 10,000. // // PartNumber is a required field PartNumber *int64 `location:"querystring" locationName:"partNumber" type:"integer" required:"true"` // Confirms that the requester knows that she or he will be charged for the // request. Bucket owners need not specify this parameter in their requests. // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"true"` // Specifies the algorithm to use to when encrypting the object (e.g., AES256). SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // Specifies the customer-provided encryption key for Amazon S3 to use in encrypting // data. This value is used to store the object and then it is discarded; Amazon // does not store the encryption key. The key must be appropriate for use with // the algorithm specified in the x-amz-server-side-encryption-customer-algorithm // header. This must be the same encryption key specified in the initiate multipart // upload request. SSECustomerKey *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string"` // Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. // Amazon S3 uses this header for a message integrity check to ensure the encryption // key was transmitted without error. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // Upload ID identifying the multipart upload whose part is being uploaded. // // UploadId is a required field UploadId *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartRequest
func (UploadPartInput) GoString ¶
func (s UploadPartInput) GoString() string
GoString returns the string representation
func (UploadPartInput) MarshalFields ¶ added in v0.3.0
func (s UploadPartInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UploadPartInput) String ¶
func (s UploadPartInput) String() string
String returns the string representation
func (*UploadPartInput) Validate ¶
func (s *UploadPartInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UploadPartOutput ¶
type UploadPartOutput struct { // Entity tag for the uploaded object. ETag *string `location:"header" locationName:"ETag" type:"string"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged RequestCharged `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"true"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header confirming the encryption algorithm // used. SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` // If server-side encryption with a customer-provided encryption key was requested, // the response will include this header to provide round trip message integrity // verification of the customer-provided encryption key. SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // If present, specifies the ID of the AWS Key Management Service (KMS) master // encryption key that was used for the object. SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string"` // The Server-side encryption algorithm used when storing this object in S3 // (e.g., AES256, aws:kms). ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartOutput
func (UploadPartOutput) GoString ¶
func (s UploadPartOutput) GoString() string
GoString returns the string representation
func (UploadPartOutput) MarshalFields ¶ added in v0.3.0
func (s UploadPartOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UploadPartOutput) SDKResponseMetadata ¶
func (s UploadPartOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UploadPartOutput) String ¶
func (s UploadPartOutput) String() string
String returns the string representation
type UploadPartRequest ¶
type UploadPartRequest struct { *aws.Request Input *UploadPartInput Copy func(*UploadPartInput) UploadPartRequest }
UploadPartRequest is a API request type for the UploadPart API operation.
func (UploadPartRequest) Send ¶
func (r UploadPartRequest) Send() (*UploadPartOutput, error)
Send marshals and sends the UploadPart API request.
type VersioningConfiguration ¶
type VersioningConfiguration struct { // Specifies whether MFA delete is enabled in the bucket versioning configuration. // This element is only returned if the bucket has been configured with MFA // delete. If the bucket has never been so configured, this element is not returned. MFADelete MFADelete `locationName:"MfaDelete" type:"string" enum:"true"` // The versioning state of the bucket. Status BucketVersioningStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/VersioningConfiguration
func (VersioningConfiguration) GoString ¶
func (s VersioningConfiguration) GoString() string
GoString returns the string representation
func (VersioningConfiguration) MarshalFields ¶ added in v0.3.0
func (s VersioningConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VersioningConfiguration) String ¶
func (s VersioningConfiguration) String() string
String returns the string representation
type WebsiteConfiguration ¶
type WebsiteConfiguration struct { ErrorDocument *ErrorDocument `type:"structure"` IndexDocument *IndexDocument `type:"structure"` RedirectAllRequestsTo *RedirectAllRequestsTo `type:"structure"` RoutingRules []RoutingRule `locationNameList:"RoutingRule" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WebsiteConfiguration
func (WebsiteConfiguration) GoString ¶
func (s WebsiteConfiguration) GoString() string
GoString returns the string representation
func (WebsiteConfiguration) MarshalFields ¶ added in v0.3.0
func (s WebsiteConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (WebsiteConfiguration) String ¶
func (s WebsiteConfiguration) String() string
String returns the string representation
func (*WebsiteConfiguration) Validate ¶
func (s *WebsiteConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
configtesting
Module
|
|
Package s3crypto provides encryption to S3 using KMS and AES GCM.
|
Package s3crypto provides encryption to S3 using KMS and AES GCM. |
Package s3iface provides an interface to enable mocking the Amazon Simple Storage Service service client for testing your code.
|
Package s3iface provides an interface to enable mocking the Amazon Simple Storage Service service client for testing your code. |
Package s3manager provides utilities to upload and download objects from S3 concurrently.
|
Package s3manager provides utilities to upload and download objects from S3 concurrently. |
s3manageriface
Package s3manageriface provides an interface for the s3manager package
|
Package s3manageriface provides an interface for the s3manager package |