Container for all response-related methods.
| package | SLS_PHP_SDK |
|---|
__construct(array $header, string $body, integer $status = null) : object
array(Required) Associative array of HTTP headers (typically returned by
string(Required) XML-formatted response from AWS.
integer(Optional) HTTP response status code from the request.
objectContains an isOK(integer|array $codes = array(200, 201, 204, 206)) : boolean
integerarray(Optional) The status code(s) to expect. Pass an
booleanWhether we received the expected status code or not.$body
$header
$status