public final class PlaneIndex extends java.lang.Object implements KnowledgeIndex
The plane is inherited from the top-down and can be overridden
 per shape. For example, if a service shape has the
 aws.api#controlPlane shape, then every shape within the closure
 of the service inherits this property. If a resource shape defines a
 aws.api#controlPlane or aws.api#dataPlane trait, then all
 shapes within the closure of the resource inherit it. If an operation is
 marked with the aws.api#dataPlane trait, it overrides any plane
 traits of the service or resource its bound within.
| Constructor and Description | 
|---|
| PlaneIndex(Model model) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isControlPlane(ToShapeId service)Checks if the given service shape is part of the control plane. | 
| boolean | isControlPlane(ToShapeId service,
              ToShapeId operationOrResource)Checks if the given shape within a service is part of the control plane. | 
| boolean | isDataPlane(ToShapeId service)Checks if the given service shape is part of the data plane. | 
| boolean | isDataPlane(ToShapeId service,
           ToShapeId operationOrResource)Checks if the given shape within a service is part of the data plane. | 
| boolean | isPlaneDefined(ToShapeId service)Checks if the given service shape has defined its plane. | 
| boolean | isPlaneDefined(ToShapeId service,
              ToShapeId operationOrResource)Checks if the given shape within a service has a resolvable plane. | 
| static PlaneIndex | of(Model model) | 
public PlaneIndex(Model model)
public static PlaneIndex of(Model model)
public boolean isControlPlane(ToShapeId service)
service - Service to check.public boolean isControlPlane(ToShapeId service, ToShapeId operationOrResource)
service - Service to check.operationOrResource - Operation or resource within the service to check.public boolean isDataPlane(ToShapeId service)
service - Service to check.public boolean isDataPlane(ToShapeId service, ToShapeId operationOrResource)
service - Service to check.operationOrResource - Operation or resource within the service to check.public boolean isPlaneDefined(ToShapeId service)
service - Service to check.public boolean isPlaneDefined(ToShapeId service, ToShapeId operationOrResource)
service - Service to check.operationOrResource - Operation or resource within the service to check.