software.amazon.smithy.kotlin.codegen.aws.SdkProtocolGeneratorSupplier.kt Maven / Gradle / Ivy
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package software.amazon.smithy.kotlin.codegen.aws
import software.amazon.smithy.kotlin.codegen.aws.protocols.*
import software.amazon.smithy.kotlin.codegen.integration.KotlinIntegration
import software.amazon.smithy.kotlin.codegen.rendering.protocol.ProtocolGenerator
/**
* Integration that registers protocol generators this package provides
*/
class SdkProtocolGeneratorSupplier : KotlinIntegration {
/**
* Gets the sort order of the customization from -128 to 127, with lowest
* executed first.
*
* @return Returns the sort order, defaults to -10.
*/
override val order: Byte = -10
override val protocolGenerators: List =
listOf(
AwsJson1_0(),
AwsJson1_1(),
RestJson1(),
RestXml(),
AwsQuery(),
Ec2Query(),
RpcV2Cbor(),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy