A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.ResultInterface.html below:

AWS SDK for PHP 3.x

ResultInterface extends ArrayAccess, IteratorAggregate, Countable

Represents an AWS result object that is returned from executing an operation.

Table of Contents Methods
__toString()  : string
Provides debug information about the result object
get()  : mixed|null
Get a specific key value from the result model.
hasKey()  : bool
Check if the model contains a key by name
search()  : mixed
Returns the result of executing a JMESPath expression on the contents of the Result model.
toArray()  : array<string|int, mixed>
Convert the result to an array.
__toString()

Provides debug information about the result object

public __toString() : string Return valuesstring get()

Get a specific key value from the result model.

public get(string $key) : mixed|null Parameters
$key : string

Key to retrieve.

Return valuesmixed|null

Value of the key or NULL if not found.

hasKey()

Check if the model contains a key by name

public hasKey(string $name) : bool Parameters
$name : string

Name of the key to retrieve

Return valuesbool search()

Returns the result of executing a JMESPath expression on the contents of the Result model.

public search(string $expression) : mixed

$result = $client->execute($command); $jpResult = $result->search('foo.*.bar[?baz > 10]');

Parameters
$expression : string

JMESPath expression to execute

Tags
link

JMESPath documentation

Return valuesmixed

Returns the result of the JMESPath expression.

toArray()

Convert the result to an array.

public toArray() : array<string|int, mixed> Return valuesarray<string|int, mixed>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4