Skip to content

Commit

Permalink
Remove unused AWSSDKIdentity types. And make DefaultBearerTokenIdenti…
Browse files Browse the repository at this point in the history
…tyResolverChain be imported as struct.
  • Loading branch information
Sichan Yoo committed Jul 26, 2024
1 parent 5081340 commit a4ad5bf
Showing 1 changed file with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,7 @@ import software.amazon.smithy.swift.codegen.SwiftDeclaration
import software.amazon.smithy.swift.codegen.swiftmodules.SwiftSymbol

object AWSSDKIdentityTypes {
val AWSClientConfiguration = runtimeSymbol("AWSClientConfiguration")
val AWSEndpoint = runtimeSymbol("AWSEndpoint")
val Partition = runtimeSymbol("Partition")
val ServiceEndpointMetadata = runtimeSymbol("ServiceEndpointMetadata")
val CredentialScope = runtimeSymbol("CredentialScope")
val AWSServiceError = runtimeSymbol("AWSServiceError")
val RegionResolver = runtimeSymbol("RegionResolver")
val Sha256TreeHashMiddleware = runtimeSymbol("Sha256TreeHashMiddleware")
val AWSEndpointsRuleEngine = runtimeSymbol("AWSEndpointsRuleEngine")
val AWSEndpointsRequestContext = runtimeSymbol("AWSEndpointsRequestContext")
val AuthSchemeResolver = runtimeSymbol("AuthSchemeResolver")
val DefaultAuthSchemeResolver = runtimeSymbol("DefaultAuthSchemeResolver")
val DefaultBearerTokenIdentityResolverChain = runtimeSymbol("DefaultBearerTokenIdentityResolverChain")
val DefaultBearerTokenIdentityResolverChain = runtimeSymbol("DefaultBearerTokenIdentityResolverChain", SwiftDeclaration.STRUCT)
}

private fun runtimeSymbol(name: String, declaration: SwiftDeclaration? = null): Symbol = SwiftSymbol.make(
Expand Down

0 comments on commit a4ad5bf

Please sign in to comment.