Skip to content

Commit

Permalink
changelog and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aajtodd committed Oct 4, 2023
1 parent ca757ff commit 8ac3c78
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changes/2652a0e3-6588-4542-a35d-eafd5adf8c77.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"id": "2652a0e3-6588-4542-a35d-eafd5adf8c77",
"type": "misc",
"description": "Refactor codegen to place serialization and serialization into the `serde` package rather than the `transform` package. Relocate `TlsVersion` to the `net` package. Make `ByteArrayContent` and friends `internal` and force consumers to go through companion object convenience functions."
}
5 changes: 5 additions & 0 deletions .changes/bd8a575c-ecec-4744-bde6-44f8900d573d.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"id": "bd8a575c-ecec-4744-bde6-44f8900d573d",
"type": "misc",
"description": "Refactor codegen to place serialization and serialization into the `serde` package rather than the `transform` package. Relocate `TlsVersion` to the package. Make `ByteArrayContent` and friends `internal` and force consumers to go through companion object convenience functions."
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import aws.sdk.kotlin.crt.io.SocketOptions
import aws.sdk.kotlin.crt.io.TlsContext
import aws.sdk.kotlin.crt.io.TlsContextOptionsBuilder
import aws.sdk.kotlin.crt.io.Uri
import aws.smithy.kotlin.runtime.net.TlsVersion
import aws.smithy.kotlin.runtime.crt.SdkDefaultIO
import aws.smithy.kotlin.runtime.http.HttpErrorCode
import aws.smithy.kotlin.runtime.http.HttpException
import aws.smithy.kotlin.runtime.http.engine.ProxyConfig
import aws.smithy.kotlin.runtime.http.request.HttpRequest
import aws.smithy.kotlin.runtime.io.Closeable
import aws.smithy.kotlin.runtime.net.TlsVersion
import kotlinx.coroutines.TimeoutCancellationException
import kotlinx.coroutines.sync.Mutex
import kotlinx.coroutines.sync.Semaphore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

package aws.smithy.kotlin.runtime.http.engine.okhttp

import aws.smithy.kotlin.runtime.net.TlsVersion
import aws.smithy.kotlin.runtime.http.HttpCall
import aws.smithy.kotlin.runtime.http.config.EngineFactory
import aws.smithy.kotlin.runtime.http.engine.*
import aws.smithy.kotlin.runtime.http.engine.internal.HttpClientMetrics
import aws.smithy.kotlin.runtime.http.request.HttpRequest
import aws.smithy.kotlin.runtime.net.TlsVersion
import aws.smithy.kotlin.runtime.operation.ExecutionContext
import aws.smithy.kotlin.runtime.time.Instant
import aws.smithy.kotlin.runtime.time.fromEpochMilliseconds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
package aws.smithy.kotlin.runtime.http.engine

import aws.smithy.kotlin.runtime.client.config.ClientSettings
import aws.smithy.kotlin.runtime.net.TlsVersion
import aws.smithy.kotlin.runtime.config.resolve
import aws.smithy.kotlin.runtime.http.config.HttpEngineConfigDsl
import aws.smithy.kotlin.runtime.net.TlsVersion

/**
* Defines values related to TLS and secure connections.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package aws.smithy.kotlin.runtime.net

/**
Expand All @@ -23,4 +27,4 @@ public enum class TlsVersion {
* TLS version 1.3
*/
TLS_1_3,
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ package aws.smithy.kotlin.runtime.client.config
import aws.smithy.kotlin.runtime.InternalApi
import aws.smithy.kotlin.runtime.client.LogMode
import aws.smithy.kotlin.runtime.config.EnvironmentSetting
import aws.smithy.kotlin.runtime.net.TlsVersion
import aws.smithy.kotlin.runtime.config.enumEnvSetting
import aws.smithy.kotlin.runtime.config.intEnvSetting
import aws.smithy.kotlin.runtime.net.TlsVersion

@InternalApi
public object ClientSettings {
Expand Down

0 comments on commit 8ac3c78

Please sign in to comment.