@Deprecated public interface AwsS3ServiceClient
Modifier and Type | Field and Description |
---|---|
static NamedServiceClientFactory<AwsS3ServiceClient> |
factory
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AwsS3PutObjectResult |
putObject(String bucket,
String key,
String acl,
String contentType,
Binary body)
Deprecated.
Puts an object.
|
AwsS3PutObjectResult |
putObject(String bucket,
String key,
String acl,
String contentType,
byte[] body)
Deprecated.
Puts an object.
|
AwsS3PutObjectResult |
putObject(String bucket,
String key,
String acl,
String contentType,
InputStream body)
Deprecated.
Puts an object.
|
AwsS3PutObjectResult |
putObject(String bucket,
String key,
String acl,
String contentType,
String body)
Deprecated.
Puts an object.
|
AwsS3SignPolicyResult |
signPolicy(String bucket,
String key,
String acl,
String contentType)
Deprecated.
Signs an AWS S3 security policy for a future put object request.
|
static final NamedServiceClientFactory<AwsS3ServiceClient> factory
AwsS3PutObjectResult putObject(@Nonnull String bucket, @Nonnull String key, @Nonnull String acl, @Nonnull String contentType, @Nonnull String body)
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.AwsS3PutObjectResult putObject(@Nonnull String bucket, @Nonnull String key, @Nonnull String acl, @Nonnull String contentType, @Nonnull Binary body)
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.AwsS3PutObjectResult putObject(@Nonnull String bucket, @Nonnull String key, @Nonnull String acl, @Nonnull String contentType, @Nonnull byte[] body)
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.AwsS3PutObjectResult putObject(@Nonnull String bucket, @Nonnull String key, @Nonnull String acl, @Nonnull String contentType, @Nonnull InputStream body) throws IOException
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.IOException
- if the body fails to be read.AwsS3SignPolicyResult signPolicy(@Nonnull String bucket, @Nonnull String key, @Nonnull String acl, @Nonnull String contentType)
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).