AWS SDK

AWS SDK

rev. ea9af45acfc73cf6d7ba27d47e174f3e97cae064..b00ec1f879ed632decccd10321dc40af38f5ac50 (ignoring whitespace)

Files changed:

tmp-codegen-diff/services/build.gradle.kts

@@ -23,23 +82,86 @@
   43     43   
        sourceSets {
   44     44   
            all {
   45     45   
                // have generated sdk's opt-in to internal runtime features
   46     46   
                optinAnnotations.forEach { languageSettings.optIn(it) }
   47     47   
            }
   48     48   
   49     49   
            getByName("commonMain") {
   50     50   
                kotlin.srcDir("generated-src/main/kotlin")
   51     51   
            }
   52     52   
          53  +
            getByName("jvmMain") {
          54  +
                kotlin.srcDir("generated-src-jvm/main/java")
          55  +
            }
          56  +
   53     57   
            getByName("commonTest") {
   54     58   
                kotlin.srcDir("generated-src/test")
   55     59   
   56     60   
                dependencies {
   57     61   
                    implementation(libraries.kotlinx.coroutines.test)
   58     62   
                    implementation(libraries.smithy.kotlin.http.test)
   59     63   
                }
   60     64   
            }
   61     65   
        }
   62     66   

tmp-codegen-diff/services/codebuild/build.gradle.kts

@@ -1,1 +34,63 @@
    1      1   
    2      2   
description = "The AWS SDK for Kotlin client for CodeBuild"
    3      3   
project.ext.set("aws.sdk.id", "CodeBuild")
    4      4   
    5      5   
kotlin {
           6  +
    jvm {
           7  +
        compilations {
           8  +
            val main = getByName("main")
           9  +
            tasks {
          10  +
                register<Jar>("smokeTestJar") {
          11  +
                    description = "Creates smoke tests jar"
          12  +
                    group = "application"
          13  +
                    dependsOn(build)
          14  +
                    manifest {
          15  +
                        attributes["Main-Class"] = "smoketests.SmokeTestsKt"
          16  +
                    }
          17  +
                    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
          18  +
                    from(configurations.getByName("jvmRuntimeClasspath").map { if (it.isDirectory) it else zipTree(it) }, main.output.classesDirs)
          19  +
                    archiveBaseName.set("${project.name}-smoketests")
          20  +
                }
          21  +
            }
          22  +
        }
          23  +
    }
          24  +
          25  +
    tasks.register<JavaExec>("smokeTest") {
          26  +
        description = "Runs smoke tests jar"
          27  +
        group = "verification"
          28  +
        dependsOn(tasks.getByName("smokeTestJar"))
          29  +
          30  +
        val sdkVersion: String by project
          31  +
        val jarFile = file("build/libs/${project.name}-smoketests-$sdkVersion.jar")
          32  +
        classpath = files(jarFile)
          33  +
    }
          34  +
    6     35   
    sourceSets {
    7     36   
        commonMain {
    8     37   
            dependencies {
    9     38   
                implementation("aws.smithy.kotlin:aws-credentials:1.3.6-SNAPSHOT")
   10     39   
                implementation(project(":aws-runtime:aws-http"))
   11     40   
                implementation("aws.smithy.kotlin:aws-json-protocols:1.3.6-SNAPSHOT")
   12     41   
                implementation("aws.smithy.kotlin:aws-protocol-core:1.3.6-SNAPSHOT")
   13     42   
                implementation("aws.smithy.kotlin:aws-signing-common:1.3.6-SNAPSHOT")
   14     43   
                implementation("aws.smithy.kotlin:aws-signing-default:1.3.6-SNAPSHOT")
   15     44   
                implementation("aws.smithy.kotlin:http:1.3.6-SNAPSHOT")

tmp-codegen-diff/services/dynamodb/build.gradle.kts

@@ -1,1 +34,63 @@
    1      1   
    2      2   
description = "The AWS SDK for Kotlin client for DynamoDB"
    3      3   
project.ext.set("aws.sdk.id", "DynamoDB")
    4      4   
    5      5   
kotlin {
           6  +
    jvm {
           7  +
        compilations {
           8  +
            val main = getByName("main")
           9  +
            tasks {
          10  +
                register<Jar>("smokeTestJar") {
          11  +
                    description = "Creates smoke tests jar"
          12  +
                    group = "application"
          13  +
                    dependsOn(build)
          14  +
                    manifest {
          15  +
                        attributes["Main-Class"] = "smoketests.SmokeTestsKt"
          16  +
                    }
          17  +
                    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
          18  +
                    from(configurations.getByName("jvmRuntimeClasspath").map { if (it.isDirectory) it else zipTree(it) }, main.output.classesDirs)
          19  +
                    archiveBaseName.set("${project.name}-smoketests")
          20  +
                }
          21  +
            }
          22  +
        }
          23  +
    }
          24  +
          25  +
    tasks.register<JavaExec>("smokeTest") {
          26  +
        description = "Runs smoke tests jar"
          27  +
        group = "verification"
          28  +
        dependsOn(tasks.getByName("smokeTestJar"))
          29  +
          30  +
        val sdkVersion: String by project
          31  +
        val jarFile = file("build/libs/${project.name}-smoketests-$sdkVersion.jar")
          32  +
        classpath = files(jarFile)
          33  +
    }
          34  +
    6     35   
    sourceSets {
    7     36   
        commonMain {
    8     37   
            dependencies {
    9     38   
                implementation("aws.smithy.kotlin:aws-credentials:1.3.6-SNAPSHOT")
   10     39   
                implementation(project(":aws-runtime:aws-http"))
   11     40   
                implementation("aws.smithy.kotlin:aws-json-protocols:1.3.6-SNAPSHOT")
   12     41   
                implementation("aws.smithy.kotlin:aws-protocol-core:1.3.6-SNAPSHOT")
   13     42   
                implementation("aws.smithy.kotlin:aws-signing-common:1.3.6-SNAPSHOT")
   14     43   
                implementation("aws.smithy.kotlin:aws-signing-default:1.3.6-SNAPSHOT")
   15     44   
                implementation("aws.smithy.kotlin:http:1.3.6-SNAPSHOT")

tmp-codegen-diff/services/ec2/build.gradle.kts

@@ -1,1 +35,64 @@
    1      1   
    2      2   
description = "The AWS SDK for Kotlin client for EC2"
    3      3   
project.ext.set("aws.sdk.id", "EC2")
    4      4   
    5      5   
kotlin {
           6  +
    jvm {
           7  +
        compilations {
           8  +
            val main = getByName("main")
           9  +
            tasks {
          10  +
                register<Jar>("smokeTestJar") {
          11  +
                    description = "Creates smoke tests jar"
          12  +
                    group = "application"
          13  +
                    dependsOn(build)
          14  +
                    manifest {
          15  +
                        attributes["Main-Class"] = "smoketests.SmokeTestsKt"
          16  +
                    }
          17  +
                    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
          18  +
                    from(configurations.getByName("jvmRuntimeClasspath").map { if (it.isDirectory) it else zipTree(it) }, main.output.classesDirs)
          19  +
                    archiveBaseName.set("${project.name}-smoketests")
          20  +
                }
          21  +
            }
          22  +
        }
          23  +
    }
          24  +
          25  +
    tasks.register<JavaExec>("smokeTest") {
          26  +
        description = "Runs smoke tests jar"
          27  +
        group = "verification"
          28  +
        dependsOn(tasks.getByName("smokeTestJar"))
          29  +
          30  +
        val sdkVersion: String by project
          31  +
        val jarFile = file("build/libs/${project.name}-smoketests-$sdkVersion.jar")
          32  +
        classpath = files(jarFile)
          33  +
    }
          34  +
    6     35   
    sourceSets {
    7     36   
        commonMain {
    8     37   
            dependencies {
    9     38   
                implementation("aws.smithy.kotlin:aws-credentials:1.3.6-SNAPSHOT")
   10     39   
                implementation(project(":aws-runtime:aws-http"))
   11     40   
                implementation("aws.smithy.kotlin:aws-protocol-core:1.3.6-SNAPSHOT")
   12     41   
                implementation("aws.smithy.kotlin:aws-signing-common:1.3.6-SNAPSHOT")
   13     42   
                implementation("aws.smithy.kotlin:aws-signing-default:1.3.6-SNAPSHOT")
   14     43   
                implementation("aws.smithy.kotlin:aws-xml-protocols:1.3.6-SNAPSHOT")
   15     44   
                implementation("aws.smithy.kotlin:http:1.3.6-SNAPSHOT")

tmp-codegen-diff/services/polly/build.gradle.kts

@@ -1,1 +35,64 @@
    1      1   
    2      2   
description = "The AWS SDK for Kotlin client for Polly"
    3      3   
project.ext.set("aws.sdk.id", "Polly")
    4      4   
    5      5   
kotlin {
           6  +
    jvm {
           7  +
        compilations {
           8  +
            val main = getByName("main")
           9  +
            tasks {
          10  +
                register<Jar>("smokeTestJar") {
          11  +
                    description = "Creates smoke tests jar"
          12  +
                    group = "application"
          13  +
                    dependsOn(build)
          14  +
                    manifest {
          15  +
                        attributes["Main-Class"] = "smoketests.SmokeTestsKt"
          16  +
                    }
          17  +
                    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
          18  +
                    from(configurations.getByName("jvmRuntimeClasspath").map { if (it.isDirectory) it else zipTree(it) }, main.output.classesDirs)
          19  +
                    archiveBaseName.set("${project.name}-smoketests")
          20  +
                }
          21  +
            }
          22  +
        }
          23  +
    }
          24  +
          25  +
    tasks.register<JavaExec>("smokeTest") {
          26  +
        description = "Runs smoke tests jar"
          27  +
        group = "verification"
          28  +
        dependsOn(tasks.getByName("smokeTestJar"))
          29  +
          30  +
        val sdkVersion: String by project
          31  +
        val jarFile = file("build/libs/${project.name}-smoketests-$sdkVersion.jar")
          32  +
        classpath = files(jarFile)
          33  +
    }
          34  +
    6     35   
    sourceSets {
    7     36   
        commonMain {
    8     37   
            dependencies {
    9     38   
                implementation("aws.smithy.kotlin:aws-credentials:1.3.6-SNAPSHOT")
   10     39   
                implementation(project(":aws-runtime:aws-http"))
   11     40   
                implementation("aws.smithy.kotlin:aws-json-protocols:1.3.6-SNAPSHOT")
   12     41   
                implementation("aws.smithy.kotlin:aws-protocol-core:1.3.6-SNAPSHOT")
   13     42   
                implementation("aws.smithy.kotlin:aws-signing-common:1.3.6-SNAPSHOT")
   14     43   
                implementation("aws.smithy.kotlin:aws-signing-default:1.3.6-SNAPSHOT")
   15     44   
                implementation("aws.smithy.kotlin:http:1.3.6-SNAPSHOT")