| Modifier and Type | Method and Description |
|---|---|
void |
UploadOperations.abortMultipartUpload(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
String uploadId)
Aborts a multipart upload.
|
CompleteMultipartUploadResult |
UploadOperations.completeMultipartUpload(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
String uploadId,
List<PartETag> partETags)
Completes a multipart upload by assembling previously uploaded parts.
|
ObjectResult |
ObjectOperations.copyObject(S3Configuration config,
S3Connection connection,
String sourceBucketName,
String sourceKey,
String sourceVersionId,
String destinationBucketName,
String destinationKey,
CannedAccessControlList destinationAcl,
StorageClass destinationStorageClass,
Map<String,String> destinationUserMetadata,
LocalDateTime modifiedSince,
LocalDateTime unmodifiedSince,
String encryption,
String contentType)
Copies a source object to a new destination; to copy an object, the caller's account must have read access to the source object and write access to the destination bucket.
|
ObjectResult |
ObjectOperations.createObject(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
InputStream objectContent,
ObjectMetadataParameterGroup objectMetadata,
CannedAccessControlList acl,
String kmsMasterKey)
Uploads an object to S3.
|
String |
ObjectOperations.createObjectPresignedUri(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
LocalDateTime expiration,
String contentMd5,
String contentType,
HttpMethod method,
SSEAlgorithm sseS3Encryption)
Returns a pre-signed URL for accessing an Amazon S3 object.
|
void |
ObjectOperations.deleteObject(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
String versionId)
Deletes a given object, only the owner of the bucket containing the version can perform this operation.
|
void |
ObjectOperations.deleteObjects(S3Configuration config,
S3Connection connection,
String bucketName,
List<KeyVersion> keys)
Deletes multiple objects in a single bucket from S3.
|
org.mule.runtime.extension.api.runtime.operation.Result<InputStream,S3ObjectAttributes> |
ObjectOperations.getObject(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
Range range,
String versionId,
LocalDateTime modifiedSince,
LocalDateTime unmodifiedSince)
Gets the object stored in Amazon S3 under the specified bucket and key.
|
org.mule.runtime.extension.api.runtime.operation.Result<List<Grant>,AccessControlListAttributes> |
ObjectOperations.getObjectAcl(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
String versionId)
Returns the access control list (ACL) of an object.
|
ObjectMetadataParameterGroup |
ObjectOperations.getObjectMetadata(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
String versionId)
Gets only the object metadata stored in Amazon S3 under the specified bucket and key.
|
String |
UploadOperations.initiateMultipartUpload(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
ObjectMetadataParameterGroup objectMetadata,
CannedAccessControlList acl,
String redirectLocation)
Initiates a multipart upload and returns an upload ID.
|
MultipartUploadListing |
UploadOperations.listMultipartUploads(S3Configuration config,
S3Connection connection,
String bucketName,
String delimiter,
String encodingType,
String keyMarker,
Integer maxUploads,
String prefix,
String uploadIdMarker)
Lists in-progress multipart uploads.
|
PartListing |
UploadOperations.listParts(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
String uploadId,
String encodingType,
Integer maxParts,
Integer partNumberMarker)
Lists the parts that have been uploaded for a specific multipart upload.
|
void |
ObjectOperations.setObjectAcl(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
String versionId,
Owner owner,
List<Grant> grants)
Set the access control list (ACL) permissions for an object that already exists in a bucket
|
void |
ObjectOperations.setObjectStorageClass(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
StorageClass storageClass)
Sets the Amazon S3 storage class for the given object.
|
UploadPartResult |
UploadOperations.uploadPart(S3Configuration config,
S3Connection connection,
String bucketName,
String key,
String uploadId,
Integer partNumber,
Long partSize,
String md5Digest,
InputStream content,
Long fileOffset,
boolean isLastPart)
Uploads a part in a multipart upload.
|
CopyPartResult |
UploadOperations.uploadPartCopy(S3Configuration config,
S3Connection connection,
String sourceBucketName,
String sourceKey,
String sourceVersionId,
String destinationBucketName,
String destinationKey,
String uploadId,
Integer partNumber,
List<String> matchingETagConstraints,
LocalDateTime modifiedSince,
LocalDateTime unmodifiedSince,
Long firstByte,
Long lastByte)
Copies a source object to a part of a multipart upload.
|
| Constructor and Description |
|---|
S3Operations(org.mule.connectors.atlantic.commons.builder.lambda.function.BiFunction<S3Configuration,S3Connection,S> serviceConstructor) |
| Modifier and Type | Method and Description |
|---|---|
Bucket |
BucketOperations.createBucket(S3Configuration config,
S3Connection connection,
String bucketName,
String region,
CannedAccessControlList acl)
Creates a new bucket; connector must not be configured as anonymous for this operation to succeed.
|
void |
BucketOperations.deleteBucket(S3Configuration config,
S3Connection connection,
String bucketName,
boolean force)
Deletes the specified bucket.
|
void |
BucketOperations.deleteBucketPolicy(S3Configuration config,
S3Connection connection,
String bucketName)
Deletes the bucket's policy.
|
org.mule.runtime.extension.api.runtime.operation.Result<List<Grant>,AccessControlListAttributes> |
BucketOperations.getBucketAcl(S3Configuration config,
S3Connection connection,
String bucketName)
Answers the access control list of the specified bucket.
|
String |
BucketOperations.getBucketLocation(S3Configuration config,
S3Connection connection,
String bucketName)
Gets the geographical region where Amazon S3 stores the specified bucket.
|
String |
BucketOperations.getBucketPolicy(S3Configuration config,
S3Connection connection,
String bucketName)
Answers the policy for the given bucket.
|
List<Bucket> |
BucketOperations.listBuckets(S3Configuration config,
S3Connection connection,
String region)
Answers a list of all Amazon S3 buckets that the authenticated sender of the request owns.
|
void |
BucketOperations.setBucketAcl(S3Configuration config,
S3Connection connection,
String bucketName,
Owner owner,
List<Grant> grants)
Set the permissions on an existing bucket using access control lists (ACL)
|
void |
BucketOperations.setBucketPolicy(S3Configuration config,
S3Connection connection,
String bucketName,
String policyText)
Sets the bucket's policy, overriding any previously set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BucketCorsConfigurationOperations.deleteBucketCorsConfiguration(S3Configuration config,
S3Connection connection,
String bucketName)
Deletes the Cross Origin Configuration information set for the bucket.
|
void |
BucketLifecycleConfigurationOperations.deleteBucketLifecycleConfiguration(S3Configuration config,
S3Connection connection,
String bucketName)
Deletes the lifecycle configuration from the specified bucket.
|
void |
BucketTaggingConfigurationOperations.deleteBucketTaggingConfiguration(S3Configuration config,
S3Connection connection,
String bucketName)
Deletes the tagging configuration associated with the specified bucket.
|
void |
BucketWebsiteConfigurationOperations.deleteBucketWebsiteConfiguration(S3Configuration config,
S3Connection connection,
String bucketName)
Removes the website configuration for a bucket; this operation requires the DeleteBucketWebsite permission.
|
List<CORSRule> |
BucketCorsConfigurationOperations.getBucketCorsConfiguration(S3Configuration config,
S3Connection connection,
String bucketName)
Answers the cors configuration information set for the bucket.
|
List<BLCRule> |
BucketLifecycleConfigurationOperations.getBucketLifecycleConfiguration(S3Configuration config,
S3Connection connection,
String bucketName)
Returns the lifecycle configuration information set on the bucket.
|
BucketLoggingConfiguration |
BucketLoggingConfigurationOperations.getBucketLoggingConfiguration(S3Configuration config,
S3Connection connection,
String bucketName)
Answers the logging status of a bucket and the permissions users have to view and modify that status.
|
Map<String,TopicConfiguration> |
BucketNotificationConfigurationOperations.getBucketNotificationConfiguration(S3Configuration config,
S3Connection connection,
String bucketName)
Return the notification configuration of a bucket.
|
List<Map<String,String>> |
BucketTaggingConfigurationOperations.getBucketTaggingConfiguration(S3Configuration config,
S3Connection connection,
String bucketName)
Return the tag set associated with the bucket.
|
VersioningStatus |
BucketVersioningConfigurationOperations.getBucketVersioningConfiguration(S3Configuration config,
S3Connection connection,
String bucketName)
Returns the versioning configuration for the specified bucket.
|
BucketWebsiteConfiguration |
BucketWebsiteConfigurationOperations.getBucketWebsiteConfiguration(S3Configuration config,
S3Connection connection,
String bucketName)
Answers the website of the given bucket.
|
void |
BucketCorsConfigurationOperations.setBucketCorsConfiguration(S3Configuration config,
S3Connection connection,
String bucketName,
List<CORSRule> rules)
Sets the cors configuration for your bucket.
|
void |
BucketLifecycleConfigurationOperations.setBucketLifecycleConfiguration(S3Configuration config,
S3Connection connection,
String bucketName,
List<BLCRule> lifecycleConfigurationRules)
Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle configuration.
|
void |
BucketLoggingConfigurationOperations.setBucketLoggingConfiguration(S3Configuration config,
S3Connection connection,
String bucketName,
BucketLoggingConfiguration bucketLoggingConfiguration)
Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters.
|
void |
BucketNotificationConfigurationOperations.setBucketNotificationConfiguration(S3Configuration config,
S3Connection connection,
String bucketName,
Map<String,TopicConfiguration> topicConfigurations)
Sets the notification configuration for the specified bucket.
|
void |
BucketTaggingConfigurationOperations.setBucketTaggingConfiguration(S3Configuration config,
S3Connection connection,
String bucketName,
List<Map<String,String>> tagSets)
Add a set of tags to an existing bucket
|
void |
BucketVersioningConfigurationOperations.setBucketVersioningConfiguration(S3Configuration config,
S3Connection connection,
String bucketName,
VersioningStatus versioningStatus)
Sets the versioning status for the given bucket.
|
void |
BucketWebsiteConfigurationOperations.setBucketWebsiteConfiguration(S3Configuration config,
S3Connection connection,
String bucketName,
BucketWebsiteConfiguration bucketWebsiteConfiguration)
Sets the given bucket's website configuration.
|
| Constructor and Description |
|---|
ObjectServiceImpl(S3Configuration config,
S3Connection connection) |
UploadServiceImpl(S3Configuration config,
S3Connection connection) |
| Constructor and Description |
|---|
BucketServiceImpl(S3Configuration config,
S3Connection connection) |
Copyright © 2021 MuleSoft, Inc.. All rights reserved.