use of com.amplifyframework.storage.s3.request.AWSS3StorageListRequest in project amplify-android by aws-amplify.
the class AWSS3StoragePlugin method list.
@NonNull
@Override
public StorageListOperation<?> list(@NonNull String path, @NonNull StorageListOptions options, @NonNull Consumer<StorageListResult> onSuccess, @NonNull Consumer<StorageException> onError) {
AWSS3StorageListRequest request = new AWSS3StorageListRequest(path, options.getAccessLevel() != null ? options.getAccessLevel() : defaultAccessLevel, options.getTargetIdentityId());
AWSS3StorageListOperation operation = new AWSS3StorageListOperation(storageService, executorService, cognitoAuthProvider, request, awsS3StoragePluginConfiguration, onSuccess, onError);
operation.start();
return operation;
}
Aggregations