HumHub Documentation (unofficial)

GetCallerIdentityResponse extends Result
in package

Contains the response to a successful GetCallerIdentity request, including information about the entity making the request.

Table of Contents

Properties

$awsClient  : AbstractApi|null
$input  : object|null
Input used to build the API request that generate this Result.
$account  : string|null
The Amazon Web Services account ID number of the account that owns or contains the calling entity.
$arn  : string|null
The Amazon Web Services ARN associated with the calling entity.
$initialized  : bool
$prefetchResults  : array<string|int, self>
$response  : Response
$userId  : string|null
The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call.

Methods

__construct()  : mixed
__destruct()  : mixed
cancel()  : void
getAccount()  : string|null
getArn()  : string|null
getUserId()  : string|null
info()  : ResponseInterface, status: int}
Returns info on the current request.
resolve()  : bool
Make sure the actual request is executed.
wait()  : iterable<string|int, self>
Make sure all provided requests are executed.
initialize()  : void
populateResult()  : void
registerPrefetch()  : void
unregisterPrefetch()  : void

Properties

$input

Input used to build the API request that generate this Result.

protected object|null $input

$account

The Amazon Web Services account ID number of the account that owns or contains the calling entity.

private string|null $account

$initialized

private bool $initialized = false

$prefetchResults

private array<string|int, self> $prefetchResults = []

$userId

The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call.

private string|null $userId

The values returned are those listed in the aws:userid column in the Principal table ^1 found on the Policy Variables reference page in the IAM User Guide.

Methods

__construct()

public __construct(Response $response[, AbstractApi|null $awsClient = null ][, object|null $request = null ]) : mixed
Parameters
$response : Response
$awsClient : AbstractApi|null = null
$request : object|null = null

__destruct()

public __destruct() : mixed

cancel()

public final cancel() : void

info()

Returns info on the current request.

public final info() : ResponseInterface, status: int}
Return values
ResponseInterface, status: int}

resolve()

Make sure the actual request is executed.

public final resolve([float|null $timeout = null ]) : bool
Parameters
$timeout : float|null = null

Duration in seconds before aborting. When null wait until the end of execution.

Tags
throws
NetworkException
throws
HttpException
Return values
bool —

whether the request is executed or not

wait()

Make sure all provided requests are executed.

public final static wait(array<string|int, self> $results[, float|null $timeout = null ][, bool $downloadBody = false ]) : iterable<string|int, self>

This only work if the http responses are produced by the same HTTP client. See https://symfony.com/doc/current/components/http_client.html#multiplexing-responses.

Parameters
$results : array<string|int, self>
$timeout : float|null = null

Duration in seconds before aborting. When null wait until the end of execution. Using 0 means non-blocking

$downloadBody : bool = false

Wait until receiving the entire response body or only the first bytes

Tags
throws
NetworkException
throws
HttpException
Return values
iterable<string|int, self>

initialize()

protected final initialize() : void

registerPrefetch()

protected final registerPrefetch(self $result) : void
Parameters
$result : self

unregisterPrefetch()

protected final unregisterPrefetch(self $result) : void
Parameters
$result : self

        
On this page

Search results