| Package | Description |
|---|---|
| org.mule.extension.s3.internal.operation |
| Modifier and Type | Method and Description |
|---|---|
void |
UploadOperations.abortMultipartUpload(S3Configuration configuration,
S3Connection connection,
String bucket,
String objectKey,
String uploadId,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
This action aborts a multipart upload.
|
void |
UploadOperations.completeMultipartUpload(S3Configuration configuration,
S3Connection connection,
String bucket,
String objectKey,
String uploadId,
List<ApiMultipartPart> completedParts,
ConditionalWrites conditionalWrites,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<CompleteMultipartUploadResponse,Void> callback)
Completes a multipart upload by assembling previously uploaded parts.
|
void |
ObjectOperations.copyObject(S3Configuration configuration,
S3Connection connection,
String sourceBucketName,
String sourceKey,
String sourceVersionId,
String destinationBucketName,
String destinationKey,
ApiObjectACL destinationAcl,
ApiStorageClass storageClass,
Map<String,String> destinationUserMetadata,
LocalDateTime modifiedSince,
LocalDateTime unmodifiedSince,
String serverSideEncryption,
String sseCustomerKey,
String ssekmsKeyId,
String sseCustomerKeyMD5,
String sseCustomerAlgorithm,
String contentType,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<CopyObjectResponse,Void> callback)
Creates a copy of an object that is already stored in Amazon S3.
|
void |
BucketOperations.createBucket(S3Configuration configuration,
S3Connection connection,
String bucketName,
String locationConstraint,
ApiBucketACL acl,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<String,Void> callback)
Creates a new S3 bucket.
|
void |
UploadOperations.createMultipartUpload(S3Configuration configuration,
S3Connection connection,
String bucket,
String objectKey,
Map<String,String> metadata,
ApiObjectACL acl,
UploadMetadata uploadMetadata,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<CreateMultipartUploadResponse,Void> callback)
This action initiates a multipart upload and returns an upload ID.
|
String |
ObjectOperations.createObjectPresignedUrl(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
Integer partNumber,
String uploadId,
PresignedURLMethod method,
int duration,
TimeUnit durationTimeUnit,
String contentMd5,
String contentType,
String sseCustomerAlgorithm)
Returns a pre-signed URL for accessing an Amazon S3 object.
|
void |
BucketOperations.deleteBucket(S3Configuration configuration,
S3Connection connection,
String bucketName,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Deletes the S3 bucket.
|
void |
BucketOperations.deleteBucketCors(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Deletes the cors configuration information set for the bucket.
|
void |
BucketOperations.deleteBucketLifecycleConfiguration(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Deletes the lifecycle configuration from the specified bucket.
|
void |
BucketOperations.deleteBucketPolicy(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
This implementation of the DELETE action uses the policy subresource to delete the policy of a specified bucket.
|
void |
BucketOperations.deleteBucketTagging(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Deletes the tags from the bucket.
|
void |
BucketOperations.deleteBucketWebsite(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
This action removes the website configuration for a bucket.
|
void |
ObjectOperations.deleteObject(S3Configuration configuration,
S3Connection connection,
String bucketName,
String key,
String versionId,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object.
|
void |
ObjectOperations.deleteObjects(S3Configuration configuration,
S3Connection connection,
String bucketName,
List<ApiObjectIdentifier> objectIdentifiers,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
This action enables you to delete multiple objects from a bucket using a single HTTP request.
|
void |
BucketOperations.getBucketAcl(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<BucketAclResponse,Void> callback)
This implementation of the GET action uses the acl subresource to return the access control list (ACL) of a bucket.
|
void |
BucketOperations.getBucketCors(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<BucketCorsResponse,Void> callback)
Returns the Cross-Origin Resource Sharing (CORS) configuration information set for the bucket.
|
void |
BucketOperations.getBucketLifecycleConfiguration(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<ApiBucketLifecycleConfiguration,Void> callback)
Returns the lifecycle configuration information set on the bucket.
|
void |
BucketOperations.getBucketLocation(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<String,Void> callback)
Returns the Region the bucket resides in.
|
void |
BucketOperations.getBucketLogging(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<ApiBucketLoggingStatus,Void> callback)
Returns the logging status of a bucket and the permissions users have to view and modify that status.
|
void |
BucketOperations.getBucketNotificationConfiguration(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<BucketNotificationResponse,Void> callback)
Returns the notification configuration of a bucket.
|
void |
BucketOperations.getBucketPolicy(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<BucketPolicyResponse,Void> callback)
Returns the policy of a specified bucket.
|
void |
BucketOperations.getBucketTagging(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<BucketTaggingResponse,Void> callback)
Returns the tag set associated with the bucket.
|
void |
BucketOperations.getBucketVersioning(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<BucketVersioningResponse,Void> callback)
Returns the versioning state of a bucket.
|
void |
BucketOperations.getBucketWebsite(S3Configuration configuration,
S3Connection connection,
String bucket,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<BucketWebsiteResponse,Void> callback)
Returns the website configuration for a bucket.
|
void |
ObjectOperations.getObject(S3Configuration configuration,
S3Connection connection,
String bucketName,
String key,
Integer partNumber,
String range,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream,GetObjectOperationAttributes> callback)
Retrieves objects from Amazon S3.
|
void |
ObjectOperations.getObjectAcl(S3Configuration configuration,
S3Connection connection,
String bucketName,
String key,
String versionId,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<GetObjectAclResponse,Void> callback)
Returns the access control list (ACL) of an object.
|
void |
ObjectOperations.getObjectAttributes(S3Configuration configuration,
S3Connection connection,
String bucketName,
String key,
String versionId,
ApiObjectAttributes objectAttributes,
Integer maxParts,
Integer partNumberMarker,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<GetObjectAttributesResponse,Void> callback)
Retrieves all the metadata from an object without returning the object itself.
|
void |
ObjectOperations.headObject(S3Configuration configuration,
S3Connection connection,
String bucketName,
String key,
String versionId,
ObjectMatchingConstraints objectMatchingConstraints,
Integer partNumber,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<HeadObjectResponse,Void> callback)
The HEAD action retrieves metadata from an object without returning the object itself.
|
void |
BucketOperations.listBuckets(S3Configuration configuration,
S3Connection connection,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<ListBucketsResponse,Void> callback)
Returns a list of all buckets owned by the authenticated sender of the request.
|
org.mule.runtime.extension.api.runtime.streaming.PagingProvider<S3Connection,ApiMultipartUpload> |
UploadOperations.listMultipartUploads(S3Configuration configuration,
String bucket,
String prefix,
Integer pageSize,
String keyMarker,
String uploadId)
This action lists in-progress multipart uploads.
|
org.mule.runtime.extension.api.runtime.streaming.PagingProvider<S3Connection,ApiS3Object> |
ObjectOperations.listObjects(S3Configuration configuration,
String bucketName,
String delimiter,
String prefix,
Integer pageSize,
ApiEncodingType encodingType)
Returns all objects in a bucket.
|
org.mule.runtime.extension.api.runtime.streaming.PagingProvider<S3Connection,ApiObjectVersion> |
ObjectOperations.listObjectVersions(S3Configuration configuration,
String bucketName,
String delimiter,
String keyMarker,
String prefix,
Integer pageSize,
String versionIdMarker,
ApiEncodingType encodingType)
Returns metadata about all versions of the objects in a bucket.
|
org.mule.runtime.extension.api.runtime.streaming.PagingProvider<S3Connection,ApiObjectPart> |
UploadOperations.listParts(S3Configuration configuration,
String bucket,
String key,
String uploadId,
Integer pageSize,
Integer partNumberMarker)
Lists the parts that have been uploaded for a specific multipart upload.
|
void |
BucketOperations.putBucketAcl(S3Configuration configuration,
S3Connection connection,
String bucket,
List<ApiGrant> grants,
String ownerId,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Sets the permissions on an existing bucket using access control lists (ACL).
|
void |
BucketOperations.putBucketCors(S3Configuration configuration,
S3Connection connection,
String bucket,
List<ApiCORSRule> corsRules,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Sets the cors configuration for your bucket.
|
void |
BucketOperations.putBucketLifecycleConfiguration(S3Configuration configuration,
S3Connection connection,
String bucket,
List<ApiLifecycleRule> lifecycleRules,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle configuration.
|
void |
BucketOperations.putBucketLoggingConfiguration(S3Configuration configuration,
S3Connection connection,
String bucket,
ApiBucketLoggingStatus bucketLoggingConfiguration,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters.
|
void |
BucketOperations.putBucketNotificationConfiguration(S3Configuration configuration,
S3Connection connection,
String bucket,
ApiNotificationConfiguration notificationConfiguration,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Enables notifications of specified events for a bucket.
|
void |
BucketOperations.putBucketPolicy(S3Configuration configuration,
S3Connection connection,
String bucket,
InputStream policy,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Applies an Amazon S3 bucket policy to an Amazon S3 bucket.
|
void |
BucketOperations.putBucketTagging(S3Configuration configuration,
S3Connection connection,
String bucket,
Map<String,String> bucketTags,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Sets the tags for a bucket.
|
void |
BucketOperations.putBucketVersioning(S3Configuration configuration,
S3Connection connection,
String bucket,
ApiVersioningStatus versioningStatus,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Sets the versioning state of an existing bucket.
|
void |
BucketOperations.putBucketWebsite(S3Configuration configuration,
S3Connection connection,
String bucket,
ApiWebsiteConfiguration websiteConfig,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Sets the configuration of the website that is specified in the website subresource.
|
void |
ObjectOperations.putObject(S3Configuration configuration,
S3Connection connection,
String bucketName,
String key,
InputStream content,
ApiObjectACL objectACL,
ObjectMetadata objectMetadata,
ConditionalWrites conditionalWrites,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<PutObjectResponse,Void> callback)
Adds an object to a bucket.
|
void |
ObjectOperations.putObjectAcl(S3Configuration configuration,
S3Connection connection,
String bucketName,
String key,
String contentMD5,
String versionId,
ApiObjectACL objectACL,
ApiOwner owner,
List<ApiGrant> grants,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<String,Void> callback)
Uses the acl subresource to set the access control list (ACL) permissions for a new or existing object in an S3 bucket.
|
void |
ObjectOperations.restoreObject(S3Configuration configuration,
S3Connection connection,
String bucketName,
String key,
String versionId,
Integer days,
ApiTier glacierJobTier,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<RestoreObjectResponse,Void> callback)
Restores an archived copy of an object back into Amazon S3.
|
void |
ObjectOperations.selectObjectContent(S3Configuration configuration,
S3Connection connection,
String bucketName,
String key,
String expression,
String expressionType,
ApiInputSerialization inputSerialization,
ApiOutputSerialization outputSerialization,
ApiScanRange scanRange,
boolean requestProgressEnabled,
String sseCustomerAlgorithm,
String sseCustomerKey,
String sseCustomerKeyMD5,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream,Void> callback)
This action filters the contents of an Amazon S3 object based on a simple structured query language (SQL) statement.
|
void |
UploadOperations.uploadPart(S3Configuration configuration,
S3Connection connection,
String bucket,
String objectKey,
String uploadId,
int partNumber,
InputStream content,
String contentMD5,
Long contentLength,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<UploadPartResponse,Void> callback)
Uploads a part in a multipart upload.
|
void |
UploadOperations.uploadPartCopy(S3Configuration configuration,
S3Connection connection,
String sourceBucket,
String sourceKey,
String destinationBucket,
String destinationKey,
String uploadId,
int partNumber,
ObjectMatchingConstraints objectMatchingConstraints,
String bytesRange,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<UploadPartCopyResponse,Void> callback)
Uploads a part by copying data from an existing object as data source.
|
Copyright © 2025 MuleSoft, Inc.. All rights reserved.