Skip navigation links
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Packages
  • Interfaces
  • Classes
  • Methods
  • Constructors
  • Enum Constants
  • Deprecated Packages
    Package
    Description
    software.amazon.smithy.codegen.core.writer
  • Deprecated Interfaces
    Interface
    Description
    software.amazon.smithy.codegen.core.writer.CodegenWriterFactory
    prefer SymbolWriter.Factory. This will be removed in a future release.
    software.amazon.smithy.codegen.core.writer.DocumentationWriter
    prefer DocWriter. This will be removed in a future release.
    software.amazon.smithy.codegen.core.writer.DocWriter
    software.amazon.smithy.codegen.core.writer.ImportContainer
  • Deprecated Classes
    Class
    Description
    software.amazon.smithy.codegen.core.writer.CodegenWriter
    prefer SymbolWriter. This will be removed in a future release.
    software.amazon.smithy.codegen.core.writer.CodegenWriterDelegator
    prefer WriterDelegator. This class will be removed in a future release.
    software.amazon.smithy.codegen.core.writer.JavaStyleDocumentationWriterBuilder
    this class uses CodeWriter, which is deprecated.
    software.amazon.smithy.codegen.core.writer.SymbolWriter
    software.amazon.smithy.linters.StutteredShapeNameValidator
    software.amazon.smithy.model.knowledge.BoxIndex
    software.amazon.smithy.model.selector.Selector.Runner
    This class is no longer necessary. It was originally intended to allow more customization to how selectors are executed against a model, but this has proven unnecessary.
    software.amazon.smithy.model.shapes.SetShape
    software.amazon.smithy.model.traits.BoxTrait
    Use NullableIndex instead.
    software.amazon.smithy.model.traits.EnumTrait
    software.amazon.smithy.utils.CodeWriter
    prefer SimpleCodeWriter or a custom subclass of AbstractCodeWriter.
  • Deprecated Methods
    Method
    Description
    software.amazon.smithy.aws.apigateway.openapi.ApiGatewayConfig.getAdditionalAllowedCorsHeaders()
    Use ApiGatewayConfig.getAdditionalAllowedCorsHeadersSet()
    software.amazon.smithy.aws.traits.clientendpointdiscovery.ClientEndpointDiscoveryInfo.getError()
    software.amazon.smithy.aws.traits.clientendpointdiscovery.ClientEndpointDiscoveryTrait.getError()
    software.amazon.smithy.aws.traits.ServiceTrait.Builder.abbreviation(String)
    software.amazon.smithy.aws.traits.ServiceTrait.getAbbreviation()
    software.amazon.smithy.build.SmithyBuild.importBasePath(Path)
    software.amazon.smithy.model.knowledge.BoxIndex.isBoxed(ToShapeId)
    software.amazon.smithy.model.knowledge.IdentifierBindingIndex.getOperationBindings(ToShapeId, ToShapeId)
    Use IdentifierBindingIndex.getOperationInputBindings(software.amazon.smithy.model.shapes.ToShapeId, software.amazon.smithy.model.shapes.ToShapeId) instead.
    software.amazon.smithy.model.knowledge.NullableIndex.isNullable(ToShapeId)
    software.amazon.smithy.model.knowledge.PaginationInfo.getItemsMember()
    See PaginationInfo.getItemsMemberPath() to retrieve the full path.
    software.amazon.smithy.model.knowledge.PaginationInfo.getOutputTokenMember()
    See PaginationInfo.getOutputTokenMemberPath() to retrieve the full path.
    software.amazon.smithy.model.Model.getKnowledge(Class<T>)
    software.amazon.smithy.model.Model.getSetShapes()
    software.amazon.smithy.model.Model.getSetShapesWithTrait(Class<? extends Trait>)
    software.amazon.smithy.model.node.NumberNode.isNaturalNumber()
    software.amazon.smithy.model.pattern.UriPattern.getConflictingLabelSegments(UriPattern)
    software.amazon.smithy.model.selector.Selector.runner()
    software.amazon.smithy.model.selector.Selector.Runner.model(Model)
    software.amazon.smithy.model.selector.Selector.Runner.selectMatches(BiConsumer<Shape, Map<String, Set<Shape>>>)
    software.amazon.smithy.model.selector.Selector.Runner.selectShapes()
    software.amazon.smithy.model.shapes.Shape.asSetShape()
    software.amazon.smithy.model.shapes.Shape.isSetShape()
    software.amazon.smithy.model.shapes.ShapeVisitor.setShape(SetShape)
    software.amazon.smithy.model.traits.AuthTrait.getValues()
    software.amazon.smithy.model.traits.PaginatedTrait.resolvePath(String, Model, StructureShape)
    This method only returns the last MemberShape of an output path. To resolve each path identifier to it's respective MemberShape see PaginatedTrait.resolveFullPath(java.lang.String, software.amazon.smithy.model.Model, software.amazon.smithy.model.shapes.StructureShape)
    software.amazon.smithy.model.traits.Trait.flatMapStream(S, Class<T>)
    software.amazon.smithy.model.validation.NodeValidationVisitor.Builder.allowBoxedNull(boolean)
    software.amazon.smithy.model.validation.ValidatedResult.fromErrors(Collection<ValidationEvent>)
    software.amazon.smithy.model.validation.ValidationEvent.Builder.eventId(String)
    Use the id(String eventId) setter to match the node format.
    software.amazon.smithy.model.validation.ValidationEvent.getEventId()
    Use the getId() method to match the node format.
    software.amazon.smithy.model.validation.ValidationUtils.findDuplicateShapeNames(Collection<T>)
    software.amazon.smithy.mqtt.traits.TopicBinding.getInput()
    Use getInputShape instead.
    software.amazon.smithy.utils.CodeWriter.onSectionAppend(String, Runnable)
    software.amazon.smithy.utils.CodeWriter.onSectionPrepend(String, Runnable)
    software.amazon.smithy.utils.SimpleParser.consumeUntilNoLongerMatches(Predicate<Character>)
    software.amazon.smithy.utils.SimpleParser.expression()
  • Deprecated Constructors
    Constructor
    Description
    software.amazon.smithy.model.traits.AuthTrait(List<ShapeId>)
    software.amazon.smithy.model.traits.AuthTrait(List<ShapeId>, FromSourceLocation)
    software.amazon.smithy.model.validation.ValidatedResult(T, Collection<ValidationEvent>)
  • Deprecated Enum Constants
    Enum Constant
    Description
    software.amazon.smithy.model.neighbor.RelationshipType.BOUND
    software.amazon.smithy.model.neighbor.RelationshipType.INSTANCE_OPERATION
    software.amazon.smithy.model.neighbor.RelationshipType.SET_MEMBER