diff --git a/aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/customize/RemoveDefaultsDecorator.kt b/aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/customize/RemoveDefaultsDecorator.kt index a613f812b3b..1e1e205f45e 100644 --- a/aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/customize/RemoveDefaultsDecorator.kt +++ b/aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/customize/RemoveDefaultsDecorator.kt @@ -35,7 +35,7 @@ class RemoveDefaultsDecorator : ClientCodegenDecorator { "com.amazonaws.drs#Validity", "com.amazonaws.drs#CostOptimizationConfiguration\$burstBalanceThreshold", "com.amazonaws.drs#CostOptimizationConfiguration\$burstBalanceDeltaThreshold", - "com.amazonaws.drs#ListStagingAccountsRequest\$maxResults", + "com.amazonaws.drs.synthetic#ListStagingAccountsInput\$maxResults", "com.amazonaws.drs#StrictlyPositiveInteger", "com.amazonaws.drs#MaxResultsType", "com.amazonaws.drs#MaxResultsReplicatingSourceServers", @@ -45,8 +45,8 @@ class RemoveDefaultsDecorator : ClientCodegenDecorator { "com.amazonaws.evidently#ResultsPeriod", ), "com.amazonaws.location#LocationService" to setOf( - "com.amazonaws.location#ListPlaceIndexesRequest\$MaxResults", - "com.amazonaws.location#SearchPlaceIndexForSuggestionsRequest\$MaxResults", + "com.amazonaws.location.synthetic#ListPlaceIndexesInput\$MaxResults", + "com.amazonaws.location.synthetic#SearchPlaceIndexForSuggestionsInput\$MaxResults", "com.amazonaws.location#PlaceIndexSearchResultLimit", ), "com.amazonaws.paymentcryptographydata#PaymentCryptographyDataPlane" to setOf( @@ -61,6 +61,14 @@ class RemoveDefaultsDecorator : ClientCodegenDecorator { "com.amazonaws.s3control#PublicAccessBlockConfiguration\$BlockPublicPolicy", "com.amazonaws.s3control#PublicAccessBlockConfiguration\$RestrictPublicBuckets", ), + "com.amazonaws.iot#AWSIotService" to setOf( + "com.amazonaws.iot#ThingConnectivity\$connected", + "com.amazonaws.iot.synthetic#UpdateProvisioningTemplateInput\$enabled", + "com.amazonaws.iot.synthetic#CreateProvisioningTemplateInput\$enabled", + "com.amazonaws.iot.synthetic#DescribeProvisioningTemplateOutput\$enabled", + "com.amazonaws.iot.synthetic#DescribeProvisioningTemplateOutput\$enabled", + "com.amazonaws.iot#ProvisioningTemplateSummary\$enabled", + ), ).map { (k, v) -> k.shapeId() to v.map { it.shapeId() }.toSet() }.toMap() private fun applies(service: ServiceShape) =