Skip to content

Commit b6b065c

Browse files
authored
docs: fix invokeAsync description (#3805)
1 parent 37dd81b commit b6b065c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clients/lambda.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,11 @@ declare class Lambda extends Service {
254254
*/
255255
invoke(callback?: (err: AWSError, data: Lambda.Types.InvocationResponse) => void): Request<Lambda.Types.InvocationResponse, AWSError>;
256256
/**
257-
* For asynchronous function invocation, use Invoke. Invokes a function asynchronously.
257+
* For synchronous function invocation, use invoke. Invokes a function asynchronously.
258258
*/
259259
invokeAsync(params: Lambda.Types.InvokeAsyncRequest, callback?: (err: AWSError, data: Lambda.Types.InvokeAsyncResponse) => void): Request<Lambda.Types.InvokeAsyncResponse, AWSError>;
260260
/**
261-
* For asynchronous function invocation, use Invoke. Invokes a function asynchronously.
261+
* For synchronous function invocation, use invoke. Invokes a function asynchronously.
262262
*/
263263
invokeAsync(callback?: (err: AWSError, data: Lambda.Types.InvokeAsyncResponse) => void): Request<Lambda.Types.InvokeAsyncResponse, AWSError>;
264264
/**

0 commit comments

Comments
 (0)