ResourceShape
zio.blocks.smithy.ResourceShape
final case class ResourceShape(name: String, traits: List[TraitApplication] = ..., identifiers: Map[String, ShapeId] = ..., create: Option[ShapeId] = ..., read: Option[ShapeId] = ..., update: Option[ShapeId] = ..., delete: Option[ShapeId] = ..., list: Option[ShapeId] = ..., operations: List[ShapeId] = ..., collectionOperations: List[ShapeId] = ..., resources: List[ShapeId] = ...) extends Shape
A resource shape representing a RESTful resource with lifecycle operations.
Value parameters
- collectionOperations
-
the ShapeIds of collection-level operations
- create
-
the optional ShapeId of the create lifecycle operation
- delete
-
the optional ShapeId of the delete lifecycle operation
- identifiers
-
the resource identifiers mapping names to their target ShapeIds
- list
-
the optional ShapeId of the list lifecycle operation
- name
-
the shape name
- operations
-
the ShapeIds of non-lifecycle operations bound to this resource
- read
-
the optional ShapeId of the read lifecycle operation
- resources
-
the ShapeIds of child resources
- traits
-
the traits applied to this shape
- update
-
the optional ShapeId of the update lifecycle operation
Attributes
- Source
- Shape.scala
- Graph
-
- Supertypes
Members list
In this article