Skip to main content

@terascope/file-asset-apis / s3/client-helpers/request-with-retry

s3/client-helpers/request-with-retry

Type Aliases​

RetryArgs​

RetryArgs<Params, Response> = object

Defined in: s3/client-helpers/request-with-retry.ts:7

Args for s3RequestWithRetry. The params type comes from func, so params must match what func expects.

Type Parameters​

Type Parameter
Params
Response

Properties​

client​

client: S3Client

Defined in: s3/client-helpers/request-with-retry.ts:8

func​

func: (client, params) => Promise<Response>

Defined in: s3/client-helpers/request-with-retry.ts:9

Parameters​
ParameterType
clientS3Client
paramsParams
Returns​

Promise<Response>

params​

params: NoInfer<Params>

Defined in: s3/client-helpers/request-with-retry.ts:10