CARVIEW |
Select Language
HTTP/1.1 302 Moved Temporarily
Content-Type: text/html; charset=iso-8859-1
Content-Length: 298
Connection: keep-alive
Date: Tue, 29 Jul 2025 21:54:14 GMT
Location: https://sdk.amazonaws.com/kotlin/api/latest/lambda/aws.sdk.kotlin.services.lambda/-lambda-client/tag-resource.html
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';
X-Cache: Miss from cloudfront
Via: 1.1 c89c713f7f4146c2662f6dcd13a23a9a.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: BOM78-P10
X-Amz-Cf-Id: 8ExQ8bPN8bywVOExbL0D3YANzqojM8k8k59LSTXgDGdyHmPkypXBPg==
HTTP/1.1 200 OK
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
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
Date: Tue, 29 Jul 2025 21:54:17 GMT
Last-Modified: Tue, 29 Jul 2025 00:36:33 GMT
X-Frame-Options: SAMEORIGIN
x-amz-server-side-encryption: AES256
Content-Encoding: gzip
Server: AmazonS3
Cache-Control: no-store, no-cache, must-revalidate
Via: 1.1 1b1bef0e3ba5fb60100bf0604c62143e.cloudfront.net (CloudFront), 1.1 9e8c29342ff6f7610166562f3559cbe4.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: TLV50-C1
X-XSS-Protection: 1; mode=block
ETag: W/"2a0d4ff55f9956f514b65ccb9ee28e77"
Vary: Accept-Encoding
X-Cache: Miss from cloudfront
X-Amz-Cf-Pop: BOM78-P1
X-Amz-Cf-Id: zh3SrE2kDNnDfsh3e2aHxDpaivag8JhGtCBr_7etySEfBwAhyBoEHg==
tagResource
AWS SDK for Kotlin
tag
1.5.5
Platform filter
tagResource
Adds tags to a function, event source mapping, or code signing configuration.
Samples
fun main() {
//sampleStart
// The following example adds a tag with the key name DEPARTMENT and a value of Department A to the
// specified Lambda function.
lambdaClient.tagResource {
resource = "arn:aws:lambda:us-west-2:123456789012:function:my-function"
tags = mapOf<String, String>(
"DEPARTMENT" to "Department A"
)
}
//sampleEnd
}