Class Message
Methods summary
-
public staticfromArray ( array $data )Creates a Message object from an array of raw message data
-
public staticfromRawPostData ( )Creates a message object from the raw POST data
-
public__construct ( Guzzle\Common\Collection $data ) -
publicgetData ( )Get the entire message data as a Collection
-
publicget ( mixed $key )Gets a single key from the message data
-
publicgetStringToSign ( )Builds a newline delimited string to sign according to the specs
Methods detail
Creates a Message object from an array of raw message data
Parameters
- $data
array
$data The message data
Returns
Throws
Aws\Common\Exception\InvalidArgumentExceptionIf a valid type is not provided or there are other required keys missing
Creates a message object from the raw POST data
Returns
Throws
Aws\Common\Exception\UnexpectedValueExceptionIf the POST data is absent, or not a valid JSON document
Parameters
- $data
Guzzle\Common\Collection
$data A Collection of message data with all required keys
Gets a single key from the message data
Returns
stringBuilds a newline delimited string to sign according to the specs
Returns
stringLink
Magic methods summary
Properties summary
protected static
array
|
$requiredKeys | |
protected static
array
|
$signableKeys | |
protected
|
$data |
#
The message data |