InternalApi
API marked with this annotation is internal to the runtime, and it is not intended to be used outside. It could be modified or removed without any notice. Using it outside the runtime (or generated code) could cause undefined behaviour and/or any strange effects.
We strongly recommend to not use such API.
Any usage of a declaration annotated with InternalApi must be accepted either by annotating that usage with the OptIn annotation, e.g. OptIn(InternalApi::class)
, or by using the compiler argument -opt-in=aws.smithy.kotlin.runtime.InternalApi
.