Interface AwsS3ServiceClient
-
- All Known Implementing Classes:
AwsS3ServiceClientImpl
@Deprecated public interface AwsS3ServiceClient
Deprecated.use AwsServiceClient instead.The AWS S3 service client.
-
-
Field Summary
Fields Modifier and Type Field Description static NamedServiceClientFactory<AwsS3ServiceClient>
factory
Deprecated.
-
Method Summary
Modifier and Type Method Description Task<AwsS3PutObjectResult>
putObject(String bucket, String key, String acl, String contentType, byte[] body)
Deprecated.Puts an object.Task<AwsS3PutObjectResult>
putObject(String bucket, String key, String acl, String contentType, InputStream body)
Deprecated.Puts an object.Task<AwsS3PutObjectResult>
putObject(String bucket, String key, String acl, String contentType, String body)
Deprecated.Puts an object.Task<AwsS3PutObjectResult>
putObject(String bucket, String key, String acl, String contentType, Binary body)
Deprecated.Puts an object.Task<AwsS3SignPolicyResult>
signPolicy(String bucket, String key, String acl, String contentType)
Deprecated.Signs an AWS S3 security policy for a future put object request.
-
-
-
Field Detail
-
factory
static final NamedServiceClientFactory<AwsS3ServiceClient> factory
Deprecated.
-
-
Method Detail
-
putObject
Task<AwsS3PutObjectResult> putObject(@NonNull String bucket, @NonNull String key, @NonNull String acl, @NonNull String contentType, @NonNull String body)
Deprecated.Puts an object.- Parameters:
bucket
- the bucket to put the object in.key
- the key (or name) of the object.acl
- the ACL to apply to the object (e.g. private).contentType
- the content type of the object (e.g. application/json).body
- the body of the object.- Returns:
- the result of the put which contains the location of the object.
-
putObject
Task<AwsS3PutObjectResult> putObject(@NonNull String bucket, @NonNull String key, @NonNull String acl, @NonNull String contentType, @NonNull Binary body)
Deprecated.Puts an object.- Parameters:
bucket
- the bucket to put the object in.key
- the key (or name) of the object.acl
- the ACL to apply to the object (e.g. private).contentType
- the content type of the object (e.g. application/json).body
- the body of the object.- Returns:
- the result of the put which contains the location of the object.
-
putObject
Task<AwsS3PutObjectResult> putObject(@NonNull String bucket, @NonNull String key, @NonNull String acl, @NonNull String contentType, @NonNull byte[] body)
Deprecated.Puts an object.- Parameters:
bucket
- the bucket to put the object in.key
- the key (or name) of the object.acl
- the ACL to apply to the object (e.g. private).contentType
- the content type of the object (e.g. application/json).body
- the body of the object.- Returns:
- the result of the put which contains the location of the object.
-
putObject
Task<AwsS3PutObjectResult> putObject(@NonNull String bucket, @NonNull String key, @NonNull String acl, @NonNull String contentType, @NonNull InputStream body)
Deprecated.Puts an object.- Parameters:
bucket
- the bucket to put the object in.key
- the key (or name) of the object.acl
- the ACL to apply to the object (e.g. private).contentType
- the content type of the object (e.g. application/json).body
- the body of the object.- Returns:
- the result of the put which contains the location of the object.
-
signPolicy
Task<AwsS3SignPolicyResult> signPolicy(@NonNull String bucket, @NonNull String key, @NonNull String acl, @NonNull String contentType)
Deprecated.Signs an AWS S3 security policy for a future put object request. This future request would be made outside of the Stitch SDK. This is typically used for large requests that are better sent directly to AWS.- Parameters:
bucket
- the bucket to put the future object in.key
- the key (or name) of the future object.acl
- the ACL to apply to the future object (e.g. private).contentType
- the content type of the object (e.g. application/json).- Returns:
- the signed policy details.
- See Also:
- Uploading a File to Amazon S3 Using HTTP POST
-
-