diff --git a/kotlin/services/lambda/src/main/kotlin/com/kotlin/lambda/GetAccountSettings.kt b/kotlin/services/lambda/src/main/kotlin/com/kotlin/lambda/GetAccountSettings.kt index 7309d9883c8..fd033a55d7f 100644 --- a/kotlin/services/lambda/src/main/kotlin/com/kotlin/lambda/GetAccountSettings.kt +++ b/kotlin/services/lambda/src/main/kotlin/com/kotlin/lambda/GetAccountSettings.kt @@ -26,7 +26,7 @@ suspend fun getSettings() { LambdaClient { region = "us-west-2" }.use { awsLambda -> val response = awsLambda.getAccountSettings(GetAccountSettingsRequest { }) println( - "Total code size for your account is ${response.accountLimit?.totalCodeSize} bytes", + "Total code size for your account is ${response.accountLimit?.totalCodeSize} bytes" ) } } diff --git a/kotlin/services/lambda/src/test/kotlin/LambdaTest.kt b/kotlin/services/lambda/src/test/kotlin/LambdaTest.kt index a29e974a568..0cc606db646 100644 --- a/kotlin/services/lambda/src/test/kotlin/LambdaTest.kt +++ b/kotlin/services/lambda/src/test/kotlin/LambdaTest.kt @@ -5,7 +5,6 @@ import aws.sdk.kotlin.runtime.auth.credentials.EnvironmentCredentialsProvider import aws.sdk.kotlin.services.secretsmanager.SecretsManagerClient import aws.sdk.kotlin.services.secretsmanager.model.GetSecretValueRequest import com.google.gson.Gson -import com.kotlin.lambda.updateFunctionConfiguration import com.kotlin.lambda.createNewFunction import com.kotlin.lambda.createScFunction import com.kotlin.lambda.delFunction @@ -16,6 +15,8 @@ import com.kotlin.lambda.invokeFunctionSc import com.kotlin.lambda.listFunctions import com.kotlin.lambda.listFunctionsSc import com.kotlin.lambda.updateFunctionCode +import com.kotlin.lambda.updateFunctionConfiguration +import java.util.UUID import kotlinx.coroutines.runBlocking import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.BeforeAll @@ -26,7 +27,6 @@ import org.junit.jupiter.api.Order import org.junit.jupiter.api.Test import org.junit.jupiter.api.TestInstance import org.junit.jupiter.api.TestMethodOrder -import java.util.UUID @TestInstance(TestInstance.Lifecycle.PER_CLASS) @TestMethodOrder(OrderAnnotation::class)