__construct ( $endpoint, $operation, $payload, $credentials )

Constructs a new instance of the implementing class.

Access

public

Parameters

Parameter

Type

Required

Description

$endpoint

string

Required

The endpoint to direct the request to.

$operation

string

Required

The operation to execute as a result of this request.

$payload

array

Required

The options to use as part of the payload in the request.

$credentials

CFCredential

Required

The credentials to use for signing and making requests.

Source

Method defined in authentication/signer.abstract.php | Toggle source view (7 lines) | View on GitHub

public function __construct($endpoint, $operation, $payload, CFCredential $credentials)
{
    $this->endpoint = $endpoint;
    $this->operation = $operation;
    $this->payload = $payload;
    $this->credentials = $credentials;
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback