Package software.amazon.smithy.build.transforms
package software.amazon.smithy.build.transforms
-
ClassesClassDescriptionApplies transforms of other projections.
applyconfiguration.changeStringEnumsToEnumShapesis used to change string shapes bearing the enum trait into enum shapes.changeStringEnumsToEnumShapesconfiguration settings.changeTypeis used to change the type of one or more shapes.flattenNamespacesconfiguration settings.An abstract class used to more easily implement a Smithy build projection transformer that expects configuration input in a specific type,T.excludeMetadataremoves metadata entries when a metadata key matcheskeys.excludeMetadataconfiguration settings.excludeShapesByTagremoves shapes if they are tagged with one or more of the given arguments.excludeShapesByTagconfiguration.Removes shapes from the model if they are marked with a specific trait.excludeTagsremoves tags from shapes and trait definitions that match any of the providedtags.excludeTagsconfiguration.excludeTraitsremoves trait definitions and traits from shapes when a trait name matches any of the values given intraits.excludeTraitsconfiguration settings.excludeTraitsByTagremoves traits and trait definitions from a model if the trait definition contains any of the providedtags.excludeTraitsByTagconfiguration settings.Filters suppressions found in metadata andSuppressTraittraits.filterSuppressionsconfiguration settings.flattenNamespacesupdates a model by flattening the namespaces of shapes connected to a service into a single, target namespace.flattenNamespacesconfiguration settings.includeMetadatakeeps only metadata keys specifically defined in the providedkeyssetting.includeMetadataconfiguration settings.includeNamespacesfilters out shapes and trait definitions that are not part of one of the givennamespaces.includeNamespacesconfiguration.includeServicesfilters out service shapes that are not included in the list of shape IDs contained in theservicesproperty.includeServicesconfiguration.includeShapesByTagremoves shapes and trait definitions that are not tagged with at least one of the tags provided in thetagsargument.includeShapesByTagconfiguration.includeTagsremoves tags from shapes and trait definitions that are not in the set of tags defined in thetagsproperty.includeTagsconfiguration.includeTraitsremoves trait definitions when a trait name does not match one of the providedtraitsshape IDs.includeTraitsconfiguration settings.includeTraitsByTagremoves trait definitions from a model if the definition does not contain at least one of the providedtags.includeTraitsByTagconfiguration settings.removeTraitShapesremoves all trait definitions from a model, but leaves if the trait definition contains any of the providedtags.removeTraitShapesconfiguration settings.removeUnusedShapesremoves shapes from the model that are not connected to any service shape.removeUnusedShapesconfiguration settings.renameShapesupdates a model by renaming shapes.renameShapesconfiguration settings.