Skip to content

Commit f14426b

Browse files
committed
add comments
1 parent 79254a2 commit f14426b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Sources/AWSLambdaRuntime/Version.swift

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15-
/// Library version of the AWS Lambda Runtime.
16-
/// This is used in the User Agent header when making requests to the AWS Lambda data Plane.
15+
/// The version of the AWS Lambda Runtime.
16+
///
17+
/// This is used in the User Agent header when making requests to the AWS Lambda data Plane.
18+
///
19+
/// - Note: This is a static property that returns the current version of the AWS Lambda Runtime.
20+
/// It is used to ensure that the runtime can be identified by the AWS Lambda service.
21+
/// As such, we mainly care about major version and minor version. Patch and pre-release versions are ignored.
1722
package enum Version {
1823
/// The current version of the AWS Lambda Runtime.
19-
public static let current = "2.0"
24+
package static let current = "2.0"
2025
}

0 commit comments

Comments
 (0)