Package: s3
Overview
Package s3 provides the API client, operations, and parameter types for Amazon Simple Storage Service.
Constants
-
const ServiceID = readonly
-
Value:
"S3" -
const ServiceAPIVersion = readonly
-
Value:
"2006-03-01"
Variables
-
var _ ListDirectoryBucketsAPIClient = writable
-
Value:
(*Client)(nil)
Type Summary collapse
- AbortMultipartUploadInput struct
- AbortMultipartUploadOutput struct
- AddLegalHoldInput struct
- AddLegalHoldOutput struct
-
AuthResolverParameters
struct
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
-
BucketExistsWaiter
struct
BucketExistsWaiter defines the waiters for BucketExists.
-
BucketExistsWaiterOptions
struct
BucketExistsWaiterOptions are waiter options for BucketExistsWaiter.
- BucketExtended struct
-
BucketNotExistsWaiter
struct
BucketNotExistsWaiter defines the waiters for BucketNotExists.
-
BucketNotExistsWaiterOptions
struct
BucketNotExistsWaiterOptions are waiter options for BucketNotExistsWaiter.
-
ChecksumValidationMetadata
struct
ChecksumValidationMetadata contains metadata such as the checksum algorithm used for data integrity validation.
-
Client
struct
This operation is not supported for directory buckets.
- CompleteMultipartUploadInput struct
- CompleteMultipartUploadOutput struct
-
ComputedInputChecksumsMetadata
struct
ComputedInputChecksumsMetadata provides information about the algorithms used to compute the checksum(s) of the input payload.
- CopyObjectInput struct
- CopyObjectOutput struct
- CreateBucketInput struct
- CreateBucketMetadataTableConfigurationInput struct
- CreateBucketMetadataTableConfigurationOutput struct
- CreateBucketOutput struct
- CreateMultipartUploadInput struct
- CreateMultipartUploadOutput struct
- CreateSessionInput struct
- CreateSessionOutput struct
- DeleteBucketAnalyticsConfigurationInput struct
- DeleteBucketAnalyticsConfigurationOutput struct
- DeleteBucketCorsInput struct
- DeleteBucketCorsOutput struct
- DeleteBucketEncryptionInput struct
- DeleteBucketEncryptionOutput struct
- DeleteBucketInput struct
- DeleteBucketIntelligentTieringConfigurationInput struct
- DeleteBucketIntelligentTieringConfigurationOutput struct
- DeleteBucketInventoryConfigurationInput struct
- DeleteBucketInventoryConfigurationOutput struct
- DeleteBucketLifecycleInput struct
- DeleteBucketLifecycleOutput struct
- DeleteBucketMetadataTableConfigurationInput struct
- DeleteBucketMetadataTableConfigurationOutput struct
- DeleteBucketMetricsConfigurationInput struct
- DeleteBucketMetricsConfigurationOutput struct
- DeleteBucketOutput struct
- DeleteBucketOwnershipControlsInput struct
- DeleteBucketOwnershipControlsOutput struct
- DeleteBucketPolicyInput struct
- DeleteBucketPolicyOutput struct
- DeleteBucketReplicationInput struct
- DeleteBucketReplicationOutput struct
- DeleteBucketTaggingInput struct
- DeleteBucketTaggingOutput struct
- DeleteBucketWebsiteInput struct
- DeleteBucketWebsiteOutput struct
- DeleteLegalHoldInput struct
- DeleteLegalHoldOutput struct
- DeleteObjectInput struct
- DeleteObjectOutput struct
- DeleteObjectTaggingInput struct
- DeleteObjectTaggingOutput struct
- DeleteObjectsInput struct
- DeleteObjectsOutput struct
- DeletePublicAccessBlockInput struct
- DeletePublicAccessBlockOutput struct
-
EndpointParameters
struct
EndpointParameters provides the parameters that influence how endpoints are resolved.
- EndpointResolverFunc struct
- ExtendObjectRetentionInput struct
- ExtendObjectRetentionOutput struct
- GetBucketAccelerateConfigurationInput struct
- GetBucketAccelerateConfigurationOutput struct
- GetBucketAclInput struct
- GetBucketAclOutput struct
- GetBucketAnalyticsConfigurationInput struct
- GetBucketAnalyticsConfigurationOutput struct
- GetBucketCorsInput struct
- GetBucketCorsOutput struct
- GetBucketEncryptionInput struct
- GetBucketEncryptionOutput struct
- GetBucketIntelligentTieringConfigurationInput struct
- GetBucketIntelligentTieringConfigurationOutput struct
- GetBucketInventoryConfigurationInput struct
- GetBucketInventoryConfigurationOutput struct
- GetBucketLifecycleConfigurationInput struct
- GetBucketLifecycleConfigurationOutput struct
- GetBucketLocationInput struct
- GetBucketLocationOutput struct
- GetBucketLoggingInput struct
- GetBucketLoggingOutput struct
- GetBucketMetadataTableConfigurationInput struct
- GetBucketMetadataTableConfigurationOutput struct
- GetBucketMetricsConfigurationInput struct
- GetBucketMetricsConfigurationOutput struct
- GetBucketNotificationConfigurationInput struct
-
GetBucketNotificationConfigurationOutput
struct
A container for specifying the notification configuration of the bucket.
- GetBucketOwnershipControlsInput struct
- GetBucketOwnershipControlsOutput struct
- GetBucketPolicyInput struct
- GetBucketPolicyOutput struct
- GetBucketPolicyStatusInput struct
- GetBucketPolicyStatusOutput struct
- GetBucketProtectionConfigurationInput struct
- GetBucketProtectionConfigurationOutput struct
- GetBucketReplicationInput struct
- GetBucketReplicationOutput struct
- GetBucketRequestPaymentInput struct
- GetBucketRequestPaymentOutput struct
- GetBucketTaggingInput struct
- GetBucketTaggingOutput struct
- GetBucketVersioningInput struct
- GetBucketVersioningOutput struct
- GetBucketWebsiteInput struct
- GetBucketWebsiteOutput struct
- GetObjectAclInput struct
- GetObjectAclOutput struct
- GetObjectAttributesInput struct
- GetObjectAttributesOutput struct
- GetObjectInput struct
- GetObjectLegalHoldInput struct
- GetObjectLegalHoldOutput struct
- GetObjectLockConfigurationInput struct
- GetObjectLockConfigurationOutput struct
- GetObjectOutput struct
- GetObjectRetentionInput struct
- GetObjectRetentionOutput struct
- GetObjectTaggingInput struct
- GetObjectTaggingOutput struct
- GetObjectTorrentInput struct
- GetObjectTorrentOutput struct
- GetPublicAccessBlockInput struct
- GetPublicAccessBlockOutput struct
- HeadBucketInput struct
- HeadBucketOutput struct
- HeadObjectInput struct
- HeadObjectOutput struct
- ListBucketAnalyticsConfigurationsInput struct
- ListBucketAnalyticsConfigurationsOutput struct
- ListBucketIntelligentTieringConfigurationsInput struct
- ListBucketIntelligentTieringConfigurationsOutput struct
- ListBucketInventoryConfigurationsInput struct
- ListBucketInventoryConfigurationsOutput struct
- ListBucketMetricsConfigurationsInput struct
- ListBucketMetricsConfigurationsOutput struct
- ListBucketsExtendedInput struct
- ListBucketsExtendedOutput struct
-
ListBucketsExtendedPaginator
struct
ListBucketsPaginator is a paginator for ListBuckets.
-
ListBucketsExtendedPaginatorOptions
struct
ListBucketsPaginatorOptions is the paginator options for ListBuckets.
- ListBucketsInput struct
- ListBucketsOutput struct
-
ListBucketsPaginator
struct
ListBucketsPaginator is a paginator for ListBuckets.
-
ListBucketsPaginatorOptions
struct
ListBucketsPaginatorOptions is the paginator options for ListBuckets.
- ListDirectoryBucketsInput struct
- ListDirectoryBucketsOutput struct
-
ListDirectoryBucketsPaginator
struct
ListDirectoryBucketsPaginator is a paginator for ListDirectoryBuckets.
-
ListDirectoryBucketsPaginatorOptions
struct
ListDirectoryBucketsPaginatorOptions is the paginator options for ListDirectoryBuckets.
- ListLegalHoldsInput struct
- ListLegalHoldsOutput struct
- ListMultipartUploadsInput struct
- ListMultipartUploadsOutput struct
-
ListMultipartUploadsPaginator
struct
ListMultipartUploadsPaginator is a paginator for ListMultipartUploads.
-
ListMultipartUploadsPaginatorOptions
struct
ListMultipartUploadsPaginatorOptions is the paginator options for ListMultipartUploads.
- ListObjectVersionsInput struct
- ListObjectVersionsOutput struct
-
ListObjectVersionsPaginator
struct
ListObjectVersionsPaginator is a paginator for ListObjectVersions.
-
ListObjectVersionsPaginatorOptions
struct
ListObjectVersionsPaginatorOptions is the paginator options for ListObjectVersions.
- ListObjectsInput struct
- ListObjectsOutput struct
- ListObjectsV2Input struct
- ListObjectsV2Output struct
-
ListObjectsV2Paginator
struct
ListObjectsV2Paginator is a paginator for ListObjectsV2.
-
ListObjectsV2PaginatorOptions
struct
ListObjectsV2PaginatorOptions is the paginator options for ListObjectsV2.
- ListPartsInput struct
- ListPartsOutput struct
-
ListPartsPaginator
struct
ListPartsPaginator is a paginator for ListParts.
-
ListPartsPaginatorOptions
struct
ListPartsPaginatorOptions is the paginator options for ListParts.
-
ObjectExistsWaiter
struct
ObjectExistsWaiter defines the waiters for ObjectExists.
-
ObjectExistsWaiterOptions
struct
ObjectExistsWaiterOptions are waiter options for ObjectExistsWaiter.
-
ObjectNotExistsWaiter
struct
ObjectNotExistsWaiter defines the waiters for ObjectNotExists.
-
ObjectNotExistsWaiterOptions
struct
ObjectNotExistsWaiterOptions are waiter options for ObjectNotExistsWaiter.
- Options struct
-
PresignClient
struct
PresignDeleteLegalHold is used to generate a presigned HTTP Request which contains presigned URL, signed headers and HTTP method used.
-
PresignOptions
struct
PresignOptions represents the presign client options.
-
PresignPostOptions
struct
PresignPostOptions represent the options to be passed to a PresignPost sign request.
-
PresignedPostRequest
struct
PresignedPostRequest represents a presigned request to be sent using HTTP verb POST and FormData.
- PutBucketAccelerateConfigurationInput struct
- PutBucketAccelerateConfigurationOutput struct
- PutBucketAclInput struct
- PutBucketAclOutput struct
- PutBucketAnalyticsConfigurationInput struct
- PutBucketAnalyticsConfigurationOutput struct
- PutBucketCorsInput struct
- PutBucketCorsOutput struct
- PutBucketEncryptionInput struct
- PutBucketEncryptionOutput struct
- PutBucketIntelligentTieringConfigurationInput struct
- PutBucketIntelligentTieringConfigurationOutput struct
- PutBucketInventoryConfigurationInput struct
- PutBucketInventoryConfigurationOutput struct
- PutBucketLifecycleConfigurationInput struct
- PutBucketLifecycleConfigurationOutput struct
- PutBucketLoggingInput struct
- PutBucketLoggingOutput struct
- PutBucketMetricsConfigurationInput struct
- PutBucketMetricsConfigurationOutput struct
- PutBucketNotificationConfigurationInput struct
- PutBucketNotificationConfigurationOutput struct
- PutBucketOwnershipControlsInput struct
- PutBucketOwnershipControlsOutput struct
- PutBucketPolicyInput struct
- PutBucketPolicyOutput struct
- PutBucketProtectionConfigurationInput struct
- PutBucketProtectionConfigurationOutput struct
- PutBucketReplicationInput struct
- PutBucketReplicationOutput struct
- PutBucketRequestPaymentInput struct
- PutBucketRequestPaymentOutput struct
- PutBucketTaggingInput struct
- PutBucketTaggingOutput struct
- PutBucketVersioningInput struct
- PutBucketVersioningOutput struct
- PutBucketWebsiteInput struct
- PutBucketWebsiteOutput struct
- PutObjectAclInput struct
- PutObjectAclOutput struct
- PutObjectInput struct
- PutObjectLegalHoldInput struct
- PutObjectLegalHoldOutput struct
- PutObjectLockConfigurationInput struct
- PutObjectLockConfigurationOutput struct
- PutObjectOutput struct
- PutObjectRetentionInput struct
- PutObjectRetentionOutput struct
- PutObjectTaggingInput struct
- PutObjectTaggingOutput struct
- PutPublicAccessBlockInput struct
- PutPublicAccessBlockOutput struct
- ResolveEndpoint struct
- RestoreObjectInput struct
- RestoreObjectOutput struct
-
SelectObjectContentEventStream
struct
SelectObjectContentEventStream provides the event stream handling for the SelectObjectContent operation.
-
SelectObjectContentInput
struct
Learn Amazon S3 Select is no longer available to new customers.
- SelectObjectContentOutput struct
-
UnknownEventMessageError
struct
UnknownEventMessageError provides an error when a message is received from the stream, but the reader is unable to determine what kind of message it is.
- UploadPartCopyInput struct
- UploadPartCopyOutput struct
- UploadPartInput struct
- UploadPartOutput struct
- WriteGetObjectResponseInput struct
- WriteGetObjectResponseOutput struct
Interface Summary collapse
-
AuthSchemeResolver
interface
AuthSchemeResolver returns a set of possible authentication options for an operation.
-
EndpointResolver
interface
EndpointResolver interface for resolving service endpoints.
-
EndpointResolverV2
interface
EndpointResolverV2 provides the interface for resolving service endpoints.
- HTTPClient interface
-
HTTPPresignerV4
interface
HTTPPresignerV4 represents presigner interface used by presign url client.
- HTTPSignerV4 interface
-
HeadBucketAPIClient
interface
HeadBucketAPIClient is a client that implements the HeadBucket operation.
-
HeadObjectAPIClient
interface
HeadObjectAPIClient is a client that implements the HeadObject operation.
-
ListBucketsAPIClient
interface
ListBucketsAPIClient is a client that implements the ListBuckets operation.
-
ListBucketsExtendedAPIClient
interface
ListBucketsAPIClient is a client that implements the ListBuckets operation.
-
ListDirectoryBucketsAPIClient
interface
ListDirectoryBucketsAPIClient is a client that implements the ListDirectoryBuckets operation.
-
ListMultipartUploadsAPIClient
interface
ListMultipartUploadsAPIClient is a client that implements the ListMultipartUploads operation.
-
ListObjectVersionsAPIClient
interface
ListObjectVersionsAPIClient is a client that implements the ListObjectVersions operation.
-
ListObjectsV2APIClient
interface
ListObjectsV2APIClient is a client that implements the ListObjectsV2 operation.
-
ListPartsAPIClient
interface
ListPartsAPIClient is a client that implements the ListParts operation.
-
PresignPost
interface
PresignPost defines the interface to presign a POST request.
-
ResponseError
interface
ResponseError provides the HTTP centric error type wrapping the underlying error with the HTTP response value and the deserialized RequestID.
-
SelectObjectContentEventStreamReader
interface
SelectObjectContentEventStreamReader provides the interface for reading events from a stream.
Function Summary collapse
-
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url.
-
func GetChecksumValidationMetadata(m middleware.Metadata) (ChecksumValidationMetadata, bool)
GetChecksumValidationMetadata returns the set of algorithms that will be used to validate the response payload with.
-
func GetComputedInputChecksumsMetadata(m middleware.Metadata) (ComputedInputChecksumsMetadata, bool)
GetComputedInputChecksumsMetadata retrieves from the result metadata the map of algorithms and input payload checksums values.
-
func GetHostIDMetadata(metadata middleware.Metadata) (string, bool)
GetHostIDMetadata retrieves the host id from middleware metadata returns host id as string along with a boolean indicating presence of hostId on middleware metadata.
-
func New(options Options, optFns ...func(*Options)) *Client
New returns an initialized Client based on the functional options.
-
func NewBucketExistsWaiter(client HeadBucketAPIClient, optFns ...func(*BucketExistsWaiterOptions)) *BucketExistsWaiter
NewBucketExistsWaiter constructs a BucketExistsWaiter.
-
func NewBucketNotExistsWaiter(client HeadBucketAPIClient, optFns ...func(*BucketNotExistsWaiterOptions)) *BucketNotExistsWaiter
NewBucketNotExistsWaiter constructs a BucketNotExistsWaiter.
-
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver.
- func NewDefaultEndpointResolverV2() EndpointResolverV2
-
func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
NewFromConfig returns a new client from the provided config.
-
func NewListBucketsExtendedPaginator(client ListBucketsExtendedAPIClient, params *ListBucketsExtendedInput, optFns ...func(options *ListBucketsExtendedPaginatorOptions)) *ListBucketsExtendedPaginator
NewListBucketsPaginator returns a new ListBucketsPaginator.
-
func NewListBucketsPaginator(client ListBucketsAPIClient, params *ListBucketsInput, optFns ...func(*ListBucketsPaginatorOptions)) *ListBucketsPaginator
NewListBucketsPaginator returns a new ListBucketsPaginator.
-
func NewListDirectoryBucketsPaginator(client ListDirectoryBucketsAPIClient, params *ListDirectoryBucketsInput, optFns ...func(*ListDirectoryBucketsPaginatorOptions)) *ListDirectoryBucketsPaginator
NewListDirectoryBucketsPaginator returns a new ListDirectoryBucketsPaginator.
-
func NewListMultipartUploadsPaginator(client ListMultipartUploadsAPIClient, params *ListMultipartUploadsInput, optFns ...func(*ListMultipartUploadsPaginatorOptions)) *ListMultipartUploadsPaginator
NewListMultipartUploadsPaginator returns a new ListMultipartUploadsPaginator.
-
func NewListObjectsV2Paginator(client ListObjectsV2APIClient, params *ListObjectsV2Input, optFns ...func(*ListObjectsV2PaginatorOptions)) *ListObjectsV2Paginator
NewListObjectsV2Paginator returns a new ListObjectsV2Paginator.
-
func NewListObjectVersionsPaginator(client ListObjectVersionsAPIClient, params *ListObjectVersionsInput, optFns ...func(*ListObjectVersionsPaginatorOptions)) *ListObjectVersionsPaginator
NewListObjectVersionsPaginator returns a new ListObjectVersionsPaginator.
-
func NewListPartsPaginator(client ListPartsAPIClient, params *ListPartsInput, optFns ...func(*ListPartsPaginatorOptions)) *ListPartsPaginator
NewListPartsPaginator returns a new ListPartsPaginator.
-
func NewObjectExistsWaiter(client HeadObjectAPIClient, optFns ...func(*ObjectExistsWaiterOptions)) *ObjectExistsWaiter
NewObjectExistsWaiter constructs a ObjectExistsWaiter.
-
func NewObjectNotExistsWaiter(client HeadObjectAPIClient, optFns ...func(*ObjectNotExistsWaiterOptions)) *ObjectNotExistsWaiter
NewObjectNotExistsWaiter constructs a ObjectNotExistsWaiter.
-
func NewPresignClient(c *Client, optFns ...func(*PresignOptions)) *PresignClient
NewPresignClient generates a presign client using provided API Client and presign options.
-
func NewSelectObjectContentEventStream(optFns ...func(*SelectObjectContentEventStream)) *SelectObjectContentEventStream
NewSelectObjectContentEventStream initializes an SelectObjectContentEventStream.
-
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client’s APIOptions option.
-
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver.
-
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client’s EndpointResolverV2 option.
-
func WithPresignClientFromClientOptions(optFns ...func(*Options)) func(*PresignOptions)
WithPresignClientFromClientOptions is a helper utility to retrieve a function that takes PresignOption as input.
-
func WithPresignExpires(dur time.Duration) func(*PresignOptions)
WithPresignExpires is a helper utility to append Expires value on presign options optional function.
-
func WithSigV4ASigningRegions(regions []string) func(*Options)
WithSigV4ASigningRegions applies an override to the authentication workflow to use the given signing region set for SigV4A-authenticated operations.
-
func WithSigV4SigningName(name string) func(*Options)
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
-
func WithSigV4SigningRegion(region string) func(*Options)
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
Type Details
AbortMultipartUploadOutput struct
AddLegalHoldOutput struct
AuthResolverParameters struct
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
BucketExistsWaiterOptions struct
BucketExistsWaiterOptions are waiter options for BucketExistsWaiter
BucketExtended struct
BucketNotExistsWaiterOptions struct
BucketNotExistsWaiterOptions are waiter options for BucketNotExistsWaiter
ChecksumValidationMetadata struct
ChecksumValidationMetadata contains metadata such as the checksum algorithm used for data integrity validation.
CompleteMultipartUploadOutput struct
ComputedInputChecksumsMetadata struct
ComputedInputChecksumsMetadata provides information about the algorithms used to compute the checksum(s) of the input payload.
CopyObjectOutput struct
CreateBucketMetadataTableConfigurationOutput struct
CreateBucketOutput struct
CreateMultipartUploadOutput struct
CreateSessionOutput struct
DeleteBucketAnalyticsConfigurationOutput struct
DeleteBucketCorsOutput struct
DeleteBucketEncryptionOutput struct
DeleteBucketIntelligentTieringConfigurationOutput struct
DeleteBucketInventoryConfigurationOutput struct
DeleteBucketLifecycleOutput struct
DeleteBucketMetadataTableConfigurationOutput struct
DeleteBucketMetricsConfigurationOutput struct
DeleteBucketOutput struct
DeleteBucketOwnershipControlsOutput struct
DeleteBucketPolicyOutput struct
DeleteBucketReplicationOutput struct
DeleteBucketTaggingOutput struct
DeleteBucketWebsiteOutput struct
DeleteLegalHoldOutput struct
DeleteObjectOutput struct
DeleteObjectTaggingOutput struct
DeleteObjectsOutput struct
DeletePublicAccessBlockOutput struct
ExtendObjectRetentionOutput struct
GetBucketAccelerateConfigurationOutput struct
GetBucketAclOutput struct
GetBucketAnalyticsConfigurationOutput struct
GetBucketCorsOutput struct
GetBucketEncryptionOutput struct
GetBucketIntelligentTieringConfigurationOutput struct
GetBucketInventoryConfigurationOutput struct
GetBucketLifecycleConfigurationOutput struct
GetBucketLocationOutput struct
GetBucketLoggingOutput struct
GetBucketMetadataTableConfigurationOutput struct
GetBucketMetricsConfigurationOutput struct
GetBucketNotificationConfigurationOutput struct
A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.
GetBucketOwnershipControlsOutput struct
GetBucketPolicyOutput struct
GetBucketPolicyStatusOutput struct
GetBucketProtectionConfigurationOutput struct
GetBucketReplicationOutput struct
GetBucketRequestPaymentOutput struct
GetBucketTaggingOutput struct
GetBucketVersioningOutput struct
GetBucketWebsiteOutput struct
GetObjectAclOutput struct
GetObjectAttributesOutput struct
GetObjectLegalHoldOutput struct
GetObjectLockConfigurationOutput struct
GetObjectOutput struct
GetObjectRetentionOutput struct
GetObjectTaggingOutput struct
GetObjectTorrentOutput struct
GetPublicAccessBlockOutput struct
HeadBucketOutput struct
HeadObjectOutput struct
ListBucketAnalyticsConfigurationsOutput struct
ListBucketIntelligentTieringConfigurationsOutput struct
ListBucketInventoryConfigurationsOutput struct
ListBucketMetricsConfigurationsOutput struct
ListBucketsExtendedInput struct
ListBucketsExtendedOutput struct
ListBucketsExtendedPaginatorOptions struct
ListBucketsPaginatorOptions is the paginator options for ListBuckets
ListBucketsInput struct
ListBucketsOutput struct
ListBucketsPaginatorOptions struct
ListBucketsPaginatorOptions is the paginator options for ListBuckets
ListDirectoryBucketsOutput struct
ListDirectoryBucketsPaginatorOptions struct
ListDirectoryBucketsPaginatorOptions is the paginator options for ListDirectoryBuckets
ListLegalHoldsOutput struct
ListMultipartUploadsOutput struct
ListMultipartUploadsPaginatorOptions struct
ListMultipartUploadsPaginatorOptions is the paginator options for ListMultipartUploads
ListObjectVersionsOutput struct
ListObjectVersionsPaginatorOptions struct
ListObjectVersionsPaginatorOptions is the paginator options for ListObjectVersions
ListObjectsOutput struct
ListObjectsV2Output struct
ListObjectsV2PaginatorOptions struct
ListObjectsV2PaginatorOptions is the paginator options for ListObjectsV2
ListPartsOutput struct
ListPartsPaginatorOptions struct
ListPartsPaginatorOptions is the paginator options for ListParts
ObjectExistsWaiterOptions struct
ObjectExistsWaiterOptions are waiter options for ObjectExistsWaiter
ObjectNotExistsWaiterOptions struct
ObjectNotExistsWaiterOptions are waiter options for ObjectNotExistsWaiter
PresignPostOptions struct
PresignPostOptions represent the options to be passed to a PresignPost sign request
PresignedPostRequest struct
PresignedPostRequest represents a presigned request to be sent using HTTP verb POST and FormData
PutBucketAccelerateConfigurationOutput struct
PutBucketAclOutput struct
PutBucketAnalyticsConfigurationOutput struct
PutBucketCorsOutput struct
PutBucketEncryptionOutput struct
PutBucketIntelligentTieringConfigurationOutput struct
PutBucketInventoryConfigurationOutput struct
PutBucketLifecycleConfigurationOutput struct
PutBucketLoggingOutput struct
PutBucketMetricsConfigurationOutput struct
PutBucketNotificationConfigurationOutput struct
PutBucketOwnershipControlsOutput struct
PutBucketPolicyOutput struct
PutBucketProtectionConfigurationOutput struct
PutBucketReplicationOutput struct
PutBucketRequestPaymentOutput struct
PutBucketTaggingOutput struct
PutBucketVersioningOutput struct
PutBucketWebsiteOutput struct
PutObjectAclOutput struct
PutObjectLegalHoldOutput struct
PutObjectLockConfigurationOutput struct
PutObjectOutput struct
PutObjectRetentionOutput struct
PutObjectTaggingOutput struct
PutPublicAccessBlockOutput struct
ResolveEndpoint struct
RestoreObjectOutput struct
UploadPartCopyOutput struct
UploadPartOutput struct
WriteGetObjectResponseOutput struct
Function Details
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
// File 'service/s3/endpoints.go', line 59
|
func GetChecksumValidationMetadata(m middleware.Metadata) (ChecksumValidationMetadata, bool)
GetChecksumValidationMetadata returns the set of algorithms that will be used to validate the response payload with. The response payload must be completely read in order for the checksum validation to be performed. An error is returned by the operation output’s response io.ReadCloser if the computed checksums are invalid. Returns false if no checksum algorithm used metadata was found.
999 1000 1001 1002 1003 1004 1005 1006 1007 1008 |
// File 'service/s3/api_client.go', line 999
|
func GetComputedInputChecksumsMetadata(m middleware.Metadata) (ComputedInputChecksumsMetadata, bool)
GetComputedInputChecksumsMetadata retrieves from the result metadata the map of algorithms and input payload checksums values.
938 939 940 941 942 943 944 945 946 947 |
// File 'service/s3/api_client.go', line 938
|
func GetHostIDMetadata(metadata middleware.Metadata) (string, bool)
GetHostIDMetadata retrieves the host id from middleware metadata returns host id as string along with a boolean indicating presence of hostId on middleware metadata.
1038 1039 1040 |
// File 'service/s3/api_client.go', line 1038
|
func New(options Options, optFns ...func(*Options)) *Client
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client’s endpoint or adding custom middleware behavior.
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
// File 'service/s3/api_client.go', line 181
|
func NewBucketExistsWaiter(client HeadBucketAPIClient, optFns ...func(*BucketExistsWaiterOptions)) *BucketExistsWaiter
NewBucketExistsWaiter constructs a BucketExistsWaiter.
357 358 359 360 361 362 363 364 365 366 367 368 369 370 |
// File 'service/s3/api_op_HeadBucket.go', line 357
|
func NewBucketNotExistsWaiter(client HeadBucketAPIClient, optFns ...func(*BucketNotExistsWaiterOptions)) *BucketNotExistsWaiter
NewBucketNotExistsWaiter constructs a BucketNotExistsWaiter.
532 533 534 535 536 537 538 539 540 541 542 543 544 545 |
// File 'service/s3/api_op_HeadBucket.go', line 532
|
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
41 42 43 |
// File 'service/s3/endpoints.go', line 41
|
func NewDefaultEndpointResolverV2() EndpointResolverV2
452 453 454 |
// File 'service/s3/endpoints.go', line 452
|
func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
NewFromConfig returns a new client from the provided config.
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 |
// File 'service/s3/api_client.go', line 449
|
func NewListBucketsExtendedPaginator(client ListBucketsExtendedAPIClient, params *ListBucketsExtendedInput, optFns ...func(options *ListBucketsExtendedPaginatorOptions)) *ListBucketsExtendedPaginator
NewListBucketsPaginator returns a new ListBucketsPaginator
254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 |
// File 'service/s3/api_op_ListBucketsExtended.go', line 254
|
func NewListBucketsPaginator(client ListBucketsAPIClient, params *ListBucketsInput, optFns ...func(*ListBucketsPaginatorOptions)) *ListBucketsPaginator
NewListBucketsPaginator returns a new ListBucketsPaginator
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 |
// File 'service/s3/api_op_ListBuckets.go', line 258
|
func NewListDirectoryBucketsPaginator(client ListDirectoryBucketsAPIClient, params *ListDirectoryBucketsInput, optFns ...func(*ListDirectoryBucketsPaginatorOptions)) *ListDirectoryBucketsPaginator
NewListDirectoryBucketsPaginator returns a new ListDirectoryBucketsPaginator
235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
// File 'service/s3/api_op_ListDirectoryBuckets.go', line 235
|
func NewListMultipartUploadsPaginator(client ListMultipartUploadsAPIClient, params *ListMultipartUploadsInput, optFns ...func(*ListMultipartUploadsPaginatorOptions)) *ListMultipartUploadsPaginator
NewListMultipartUploadsPaginator returns a new ListMultipartUploadsPaginator
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
// File 'service/s3/handwritten_paginators.go', line 143
|
func NewListObjectsV2Paginator(client ListObjectsV2APIClient, params *ListObjectsV2Input, optFns ...func(*ListObjectsV2PaginatorOptions)) *ListObjectsV2Paginator
NewListObjectsV2Paginator returns a new ListObjectsV2Paginator
477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 |
// File 'service/s3/api_op_ListObjectsV2.go', line 477
|
func NewListObjectVersionsPaginator(client ListObjectVersionsAPIClient, params *ListObjectVersionsInput, optFns ...func(*ListObjectVersionsPaginatorOptions)) *ListObjectVersionsPaginator
NewListObjectVersionsPaginator returns a new ListObjectVersionsPaginator
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
// File 'service/s3/handwritten_paginators.go', line 40
|
func NewListPartsPaginator(client ListPartsAPIClient, params *ListPartsInput, optFns ...func(*ListPartsPaginatorOptions)) *ListPartsPaginator
NewListPartsPaginator returns a new ListPartsPaginator
457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 |
// File 'service/s3/api_op_ListParts.go', line 457
|
func NewObjectExistsWaiter(client HeadObjectAPIClient, optFns ...func(*ObjectExistsWaiterOptions)) *ObjectExistsWaiter
NewObjectExistsWaiter constructs a ObjectExistsWaiter.
855 856 857 858 859 860 861 862 863 864 865 866 867 868 |
// File 'service/s3/api_op_HeadObject.go', line 855
|
func NewObjectNotExistsWaiter(client HeadObjectAPIClient, optFns ...func(*ObjectNotExistsWaiterOptions)) *ObjectNotExistsWaiter
NewObjectNotExistsWaiter constructs a ObjectNotExistsWaiter.
1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 |
// File 'service/s3/api_op_HeadObject.go', line 1030
|
func NewPresignClient(c *Client, optFns ...func(*PresignOptions)) *PresignClient
NewPresignClient generates a presign client using provided API Client and presign options
1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 |
// File 'service/s3/api_client.go', line 1119
|
func NewSelectObjectContentEventStream(optFns ...func(*SelectObjectContentEventStream)) *SelectObjectContentEventStream
NewSelectObjectContentEventStream initializes an SelectObjectContentEventStream. This function should only be used for testing and mocking the SelectObjectContentEventStream stream within your application.
The Reader member must be set before reading events from the stream.
413 414 415 416 417 418 419 420 421 422 |
// File 'service/s3/api_op_SelectObjectContent.go', line 413
|
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client’s APIOptions option.
210 211 212 213 214 |
// File 'service/s3/options.go', line 210
|
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
222 223 224 225 226 |
// File 'service/s3/options.go', line 222
|
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client’s EndpointResolverV2 option.
230 231 232 233 234 |
// File 'service/s3/options.go', line 230
|
func WithPresignClientFromClientOptions(optFns ...func(*Options)) func(*PresignOptions)
WithPresignClientFromClientOptions is a helper utility to retrieve a function that takes PresignOption as input
1089 1090 1091 |
// File 'service/s3/api_client.go', line 1089
|
func WithPresignExpires(dur time.Duration) func(*PresignOptions)
WithPresignExpires is a helper utility to append Expires value on presign options optional function
1101 1102 1103 |
// File 'service/s3/api_client.go', line 1101
|
func WithSigV4ASigningRegions(regions []string) func(*Options)
WithSigV4ASigningRegions applies an override to the authentication workflow to use the given signing region set for SigV4A-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region set from both auth scheme resolution and endpoint resolution.
304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 |
// File 'service/s3/options.go', line 304
|
func WithSigV4SigningName(name string) func(*Options)
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 |
// File 'service/s3/options.go', line 249
|
func WithSigV4SigningRegion(region string) func(*Options)
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 |
// File 'service/s3/options.go', line 271
|