updating api-report

Signed-off-by: Lucas Guarisco <lucas.guarisco@gmail.com>
This commit is contained in:
Lucas Guarisco
2023-03-01 16:50:18 -03:00
parent 4b1ca13214
commit 2dfc1b3ce5
+10 -2
View File
@@ -6,7 +6,6 @@
/// <reference types="node" />
/// <reference types="webpack-env" />
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<S3Client>;
// (undocumented)
static factory: ReaderFactory;
// (undocumented)
read(url: string): Promise<Buffer>;
@@ -82,6 +88,8 @@ export class AwsS3UrlReader implements UrlReader {
// (undocumented)
readUrl(url: string, options?: ReadUrlOptions): Promise<ReadUrlResponse>;
// (undocumented)
retrieveS3ObjectData(stream: Readable): Promise<Readable>;
// (undocumented)
search(): Promise<SearchResponse>;
// (undocumented)
toString(): string;