Class TopDownIndex
java.lang.Object
software.amazon.smithy.model.knowledge.TopDownIndex
- All Implemented Interfaces:
- KnowledgeIndex
Provides top-down access to all resources and operations contained within a
 service or resource closure.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetContainedOperations(ToShapeId entity) Get all operations in service or resource closure.getContainedResources(ToShapeId entity) Get all resources in a service or resource closure.static TopDownIndex
- 
Constructor Details- 
TopDownIndex
 
- 
- 
Method Details- 
of
- 
getContainedOperationsGet all operations in service or resource closure.- Parameters:
- entity- Service or resource shape ID.
- Returns:
- Returns all operations in the service closure.
 
- 
getContainedResourcesGet all resources in a service or resource closure.- Parameters:
- entity- Service or resource shape ID.
- Returns:
- Returns all resources in the service closure.
 
 
-