Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions runtime/runtime-core/api/runtime-core.api
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ public abstract interface annotation class aws/smithy/kotlin/runtime/Experimenta
public abstract interface annotation class aws/smithy/kotlin/runtime/InternalApi : java/lang/annotation/Annotation {
}

public abstract interface annotation class aws/smithy/kotlin/runtime/PlannedRemoval : java/lang/annotation/Annotation {
public abstract fun major ()I
public abstract fun minor ()I
}

public abstract interface class aws/smithy/kotlin/runtime/ProtocolResponse {
public abstract fun getSummary ()Ljava/lang/String;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,16 @@ public annotation class ExperimentalApi
*/
@DslMarker
public annotation class SdkDsl

/**
* Indicates that the annotated API is deprecated and scheduled for removal in an upcoming version.
* Any code using this API should migrate to the suggested replacement as soon as possible.
*/
@RequiresOptIn(
message = "This API is deprecated and scheduled for removal in an upcoming version.",
level = RequiresOptIn.Level.WARNING,
)
public annotation class PlannedRemoval(
val major: Int,
val minor: Int,
)
Loading