Class Shape
- Aws\Api\AbstractModel implements ArrayAccess
- Aws\Api\Shape
- Namespace: Aws\Api
- Located at Api/Shape.php
Base class representing a modeled shape.
Direct known subclasses
Aws\Api\ListShape
,
Aws\Api\MapShape
,
Aws\Api\StructureShape
,
Aws\Api\TimestampShape
Methods Summary
-
static
create ( array $definition, Aws\Api\ShapeMap $shapeMap )
Get a concrete shape for the given definition.
-
getType ( )
Get the type of the shape
-
getName ( )
Get the name of the shape
-
getContextParam ( )
Get a context param definition.
Methods inherited from Aws\Api\AbstractModel
Methods Details
static
mixed
create (
array
$definition,
Aws\Api\ShapeMap
$shapeMap
)
Get a concrete shape for the given definition.
Parameters
array | $definition | |
Aws\Api\ShapeMap |
$shapeMap |
Returns
mixed |
Exceptions
RuntimeException if the type is invalid |
string getType ( )
Get the type of the shape
Returns
string |
string getName ( )
Get the name of the shape
Returns
string |
getContextParam ( )
Get a context param definition.