Skip to content

Commit

Permalink
Fix sdk ID
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis committed Jan 12, 2024
1 parent 3e18f69 commit 1b5daa5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class SigV4AsymmetricTraitCustomization : KotlinIntegration {
override val order: Byte = -60

override fun enabledForService(model: Model, settings: KotlinSettings): Boolean {
val sdkId = model.expectShape<ServiceShape>(settings.service).sdkId.lowercase()
return sdkId == "s3" || sdkId == "eventbridge" //|| sdkId == "cloudfrontkeyvaluestore"
val sdkId = model.expectShape<ServiceShape>(settings.service).sdkId.lowercase() // FIXME don't use sdkId
return sdkId == "s3" || sdkId == "eventbridge" || sdkId == "cloudfront keyvaluestore"
}

override fun preprocessModel(model: Model, settings: KotlinSettings): Model {
Expand Down

0 comments on commit 1b5daa5

Please sign in to comment.