EndpointProviderV2
in package
Given a service's Ruleset and client-provided input parameters, provides either an object reflecting the properties of a resolved endpoint, or throws an error.
Table of Contents
Methods
- __construct() : mixed
- getRuleset() : Ruleset
- resolveEndpoint() : RulesetEndpoint
- Given a Ruleset and input parameters, determines the correct endpoint or an error to be thrown for a given request.
Methods
__construct()
public
__construct(array<string|int, mixed> $ruleset, array<string|int, mixed> $partitions) : mixed
Parameters
- $ruleset : array<string|int, mixed>
- $partitions : array<string|int, mixed>
getRuleset()
public
getRuleset() : Ruleset
Return values
RulesetresolveEndpoint()
Given a Ruleset and input parameters, determines the correct endpoint or an error to be thrown for a given request.
public
resolveEndpoint(array<string|int, mixed> $inputParameters) : RulesetEndpoint
Parameters
- $inputParameters : array<string|int, mixed>