Skip to content

Commit

Permalink
everything is internal
Browse files Browse the repository at this point in the history
  • Loading branch information
lucix-aws committed Feb 26, 2024
1 parent 979b66b commit 4d0edf4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@
import software.amazon.smithy.model.shapes.OperationShape;
import software.amazon.smithy.model.shapes.ServiceShape;
import software.amazon.smithy.utils.MapUtils;
import software.amazon.smithy.utils.SmithyInternalApi;

/**
* Generates a no-op implementation of the service that returns 501 Not Implemented for every operation.
*/
@SmithyInternalApi
public final class NoopServiceStruct implements GoWriter.Writable {
public static final String NAME = "NoopFallbackService";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@
import software.amazon.smithy.go.codegen.GoStdlibTypes;
import software.amazon.smithy.go.codegen.GoWriter;
import software.amazon.smithy.utils.MapUtils;
import software.amazon.smithy.utils.SmithyInternalApi;

/**
* Generates the NotImplemented error sentinel to be returned when a service doesn't support a specific action.
*/
@SmithyInternalApi
public final class NotImplementedError implements GoWriter.Writable {
public static final String NAME = "NotImplemented";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@
import software.amazon.smithy.model.shapes.OperationShape;
import software.amazon.smithy.model.shapes.ServiceShape;
import software.amazon.smithy.utils.MapUtils;
import software.amazon.smithy.utils.SmithyInternalApi;

/**
* Generates the interface that describes the service API.
*/
@SmithyInternalApi
public final class ServerInterface implements GoWriter.Writable {
public static final String NAME = "Service";

Expand Down

0 comments on commit 4d0edf4

Please sign in to comment.