Class AwsS3KoraClient

java.lang.Object
ru.tinkoff.kora.s3.client.aws.AwsS3KoraClient
All Implemented Interfaces:
ru.tinkoff.kora.s3.client.S3KoraClient

@Experimental public class AwsS3KoraClient extends Object implements ru.tinkoff.kora.s3.client.S3KoraClient
  • Constructor Details

    • AwsS3KoraClient

      public AwsS3KoraClient(software.amazon.awssdk.services.s3.S3Client syncClient, ru.tinkoff.kora.s3.client.S3KoraAsyncClient asyncClient, ru.tinkoff.kora.s3.client.telemetry.S3KoraClientTelemetry telemetry, AwsS3ClientConfig awsS3ClientConfig)
  • Method Details

    • get

      public ru.tinkoff.kora.s3.client.model.S3Object get(String bucket, String key) throws ru.tinkoff.kora.s3.client.S3NotFoundException
      Specified by:
      get in interface ru.tinkoff.kora.s3.client.S3KoraClient
      Throws:
      ru.tinkoff.kora.s3.client.S3NotFoundException
    • getMeta

      public ru.tinkoff.kora.s3.client.model.S3ObjectMeta getMeta(String bucket, String key) throws ru.tinkoff.kora.s3.client.S3NotFoundException
      Specified by:
      getMeta in interface ru.tinkoff.kora.s3.client.S3KoraClient
      Throws:
      ru.tinkoff.kora.s3.client.S3NotFoundException
    • get

      public List<ru.tinkoff.kora.s3.client.model.S3Object> get(String bucket, Collection<String> keys)
      Specified by:
      get in interface ru.tinkoff.kora.s3.client.S3KoraClient
    • getMeta

      public List<ru.tinkoff.kora.s3.client.model.S3ObjectMeta> getMeta(String bucket, Collection<String> keys)
      Specified by:
      getMeta in interface ru.tinkoff.kora.s3.client.S3KoraClient
    • list

      public ru.tinkoff.kora.s3.client.model.S3ObjectList list(String bucket, @Nullable String prefix, @Nullable String delimiter, int limit)
      Specified by:
      list in interface ru.tinkoff.kora.s3.client.S3KoraClient
    • listMeta

      public ru.tinkoff.kora.s3.client.model.S3ObjectMetaList listMeta(String bucket, @Nullable String prefix, @Nullable String delimiter, int limit)
      Specified by:
      listMeta in interface ru.tinkoff.kora.s3.client.S3KoraClient
    • list

      public List<ru.tinkoff.kora.s3.client.model.S3ObjectList> list(String bucket, Collection<String> prefixes, @Nullable String delimiter, int limitPerPrefix)
      Specified by:
      list in interface ru.tinkoff.kora.s3.client.S3KoraClient
    • listMeta

      public List<ru.tinkoff.kora.s3.client.model.S3ObjectMetaList> listMeta(String bucket, Collection<String> prefixes, @Nullable String delimiter, int limitPerPrefix)
      Specified by:
      listMeta in interface ru.tinkoff.kora.s3.client.S3KoraClient
    • put

      public ru.tinkoff.kora.s3.client.model.S3ObjectUpload put(String bucket, String key, ru.tinkoff.kora.s3.client.model.S3Body body)
      Specified by:
      put in interface ru.tinkoff.kora.s3.client.S3KoraClient
    • delete

      public void delete(String bucket, String key)
      Specified by:
      delete in interface ru.tinkoff.kora.s3.client.S3KoraClient
    • delete

      public void delete(String bucket, Collection<String> keys)
      Specified by:
      delete in interface ru.tinkoff.kora.s3.client.S3KoraClient