Class StructureShape
- Aws\Api\AbstractModel implements ArrayAccess
-
Aws\Api\Shape
-
Aws\Api\StructureShape
- Namespace: Aws\Api
- Located at Api/StructureShape.php
Represents a structure shape and resolve member shape references.
Methods Summary
- __construct ( array $definition, Aws\Api\ShapeMap $shapeMap )
-
getMembers ( )
Gets a list of all members
-
hasMember ( string $name )
Check if a specific member exists by name.
-
getMember ( string $name )
Retrieve a member by name.
Methods inherited from Aws\Api\Shape
Methods inherited from Aws\Api\AbstractModel
Methods Details
__construct (
array
$definition,
Aws\Api\ShapeMap
$shapeMap
)
Parameters
array | $definition | Service description |
Aws\Api\ShapeMap |
$shapeMap | Shapemap used for creating shapes |
Overrides
Aws\Api\Shape[]
getMembers (
)
boolean hasMember ( string $name )
Check if a specific member exists by name.
Parameters
string | $name | Name of the member to check |
Returns
boolean |
Aws\Api\Shape
getMember (
string
$name
)
Retrieve a member by name.
Parameters
string | $name | Name of the member to retrieve |
Returns
Aws\Api\Shape |
Exceptions
InvalidArgumentException if the member is not found. |