
commonMain.aws.sdk.kotlin.services.s3.serde.InventoryDestinationDocumentDeserializer.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.s3.serde
import aws.sdk.kotlin.services.s3.model.InventoryDestination
import aws.smithy.kotlin.runtime.serde.xml.XmlTagReader
internal fun deserializeInventoryDestinationDocument(reader: XmlTagReader): InventoryDestination {
val builder = InventoryDestination.Builder()
loop@while (true) {
val curr = reader.nextTag() ?: break@loop
when (curr.tagName) {
// S3BucketDestination com.amazonaws.s3#InventoryDestination$S3BucketDestination
"S3BucketDestination" -> builder.s3BucketDestination = deserializeInventoryS3BucketDestinationDocument(curr)
else -> {}
}
curr.drop()
}
builder.correctErrors()
return builder.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy