Class ErrorRule
- Aws\EndpointV2\Rule\AbstractRule
- Aws\EndpointV2\Rule\ErrorRule
- Namespace: Aws\EndpointV2\Rule
- Located at EndpointV2/Rule/ErrorRule.php
A rule within a rule set. All rules contain a conditions property, which can be empty, and documentation about the rule.
Methods Summary
- __construct ( $definition )
- getError ( )
-
evaluate ( array $inputParameters, Aws\EndpointV2\Ruleset\RulesetStandardLibrary $standardLibrary )
If an error rule's conditions are met, raise an UnresolvedEndpointError containing the fully resolved error string.
Methods inherited from Aws\EndpointV2\Rule\AbstractRule
Methods Details
__construct ( $definition )
array getError ( )
Returns
array |
null evaluate ( array $inputParameters, Aws\EndpointV2\Ruleset\RulesetStandardLibrary $standardLibrary )
If an error rule's conditions are met, raise an UnresolvedEndpointError containing the fully resolved error string.
Returns
null |
Exceptions
Aws\Exception\UnresolvedEndpointException |