diff --git a/packages/backend-common/api-report.md b/packages/backend-common/api-report.md
index 1cde27877b..7a3b251510 100644
--- a/packages/backend-common/api-report.md
+++ b/packages/backend-common/api-report.md
@@ -6,7 +6,6 @@
///
///
-import aws from 'aws-sdk';
import { AwsS3Integration } from '@backstage/integration';
import { AzureIntegration } from '@backstage/integration';
import { BackendFeature } from '@backstage/backend-plugin-api';
@@ -51,6 +50,7 @@ import { ReadUrlOptions } from '@backstage/backend-plugin-api';
import { ReadUrlResponse } from '@backstage/backend-plugin-api';
import { RequestHandler } from 'express';
import { Router } from 'express';
+import { S3Client } from '@aws-sdk/client-s3';
import { SchedulerService } from '@backstage/backend-plugin-api';
import { SearchOptions } from '@backstage/backend-plugin-api';
import { SearchResponse } from '@backstage/backend-plugin-api';
@@ -67,13 +67,19 @@ import { Writable } from 'stream';
// @public
export class AwsS3UrlReader implements UrlReader {
constructor(
+ defaultConfig: Config,
integration: AwsS3Integration,
deps: {
- s3: aws.S3;
treeResponseFactory: ReadTreeResponseFactory;
},
);
// (undocumented)
+ buildS3Client(
+ defaultConfig: Config,
+ region: string,
+ integration: AwsS3Integration,
+ ): Promise;
+ // (undocumented)
static factory: ReaderFactory;
// (undocumented)
read(url: string): Promise;
@@ -82,6 +88,8 @@ export class AwsS3UrlReader implements UrlReader {
// (undocumented)
readUrl(url: string, options?: ReadUrlOptions): Promise;
// (undocumented)
+ retrieveS3ObjectData(stream: Readable): Promise;
+ // (undocumented)
search(): Promise;
// (undocumented)
toString(): string;