CARVIEW |
Select Language
HTTP/1.1 302 Moved Temporarily
Content-Type: text/html; charset=iso-8859-1
Content-Length: 298
Connection: keep-alive
Date: Thu, 24 Jul 2025 07:55:51 GMT
Server: Server
Cache-Control: max-age=600
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=47304000; includeSubDomains
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Security-Policy: upgrade-insecure-requests; script-src 'self' 'unsafe-inline' *.awsstatic.com *.cdn.uis.awsstatic.com *.cdn.console.awsstatic.com d2c.aws.amazon.com a0.awsstatic.com *.feedback.console.aws.dev insights.docs.aws.com wss://insights.docs.aws.com/prod; object-src 'none';
Location: https://sdk.amazonaws.com/kotlin/api/latest/lambda/aws.sdk.kotlin.services.lambda/-lambda-client/invoke-async.html
X-Cache: Miss from cloudfront
Via: 1.1 78fad162bf3327a21c1befb2923b3f84.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: BOM78-P5
X-Amz-Cf-Id: ZA29M6aTbw7bTIwIYFpkWiK2__FEPktm9XWEdw7IBvCPrUH9lixRhg==
HTTP/1.1 200 OK
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Date: Thu, 24 Jul 2025 07:55:53 GMT
Last-Modified: Wed, 23 Jul 2025 22:39:34 GMT
ETag: W/"d423848a448e4bdbce0b34cacf15d84e"
x-amz-server-side-encryption: AES256
Server: AmazonS3
Via: 1.1 6359ffb09df54c6a675423665820b6c0.cloudfront.net (CloudFront), 1.1 1c78559300107093ca4007ca361b8f00.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: TLV50-C1
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: upgrade-insecure-requests; script-src 'self' 'unsafe-inline' *.awsstatic.com *.cdn.uis.awsstatic.com *.cdn.console.awsstatic.com docs.aws.amazon.com https://*.shortbread.aws.dev; img-src 'self' https://amazonwebservices.d2.sc.omtrdc.net https://aws.demdex.net https://dpm.demdex.net https://cm.everesttech.net https://a0.awsstatic.com/; frame-src 'self' https://aws.demdex.net https://dpm.demdex.net; connect-src 'self' https://amazonwebservices.d2.sc.omtrdc.net https://aws.demdex.net https://dpm.demdex.net https://cm.everesttech.net https://a0.awsstatic.com/ https://d2c.aws.amazon.com https://vs.aws.amazon.com https://*.shortbread.aws.dev; object-src 'none'; frame-ancestors 'self'; base-uri 'none'
Strict-Transport-Security: max-age=31536000
Cache-Control: no-store, no-cache, must-revalidate
Content-Encoding: gzip
Vary: Accept-Encoding
X-Cache: Miss from cloudfront
X-Amz-Cf-Pop: BOM78-P1
X-Amz-Cf-Id: yGx_536t6GDrRtogYD1kuayG8lCzSx1DUqm4gHq9chnz3na8UHrNUQ==
invokeAsync
AWS SDK for Kotlin
invoke
1.5.2
Platform filter
invokeAsync
Deprecated
No longer recommended for use. See AWS API documentation for more details.
For asynchronous function invocation, use Invoke.
Invokes a function asynchronously.
If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not propagated to the function, even if X-Ray active tracing is turned on.
Samples
import aws.smithy.kotlin.runtime.content.ByteStream
fun main() {
//sampleStart
// The following example invokes a Lambda function asynchronously
val resp = lambdaClient.invokeAsync {
functionName = "my-function"
invokeArgs = ByteStream.fromString("{}")
}
//sampleEnd
}