Class ParseArn
java.lang.Object
software.amazon.smithy.rulesengine.language.syntax.fn.FunctionDefinition
software.amazon.smithy.rulesengine.language.stdlib.ParseArn
An aws rule-set function for parsing an AWS ARN into it's componenet parts.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Identifierstatic final Stringstatic final Identifierstatic final Identifierstatic final Identifier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEvaluate the arguments to a given function to compute a result.The arguments to this function.getId()The ID of this function.The return type of this function definition.static FunctionofExpression(Expression expression)
-
Field Details
-
ID
- See Also:
-
PARTITION
-
SERVICE
-
REGION
-
ACCOUNT_ID
-
-
Constructor Details
-
ParseArn
public ParseArn()
-
-
Method Details
-
getId
Description copied from class:FunctionDefinitionThe ID of this function.- Specified by:
getIdin classFunctionDefinition- Returns:
- The ID string
-
getArguments
Description copied from class:FunctionDefinitionThe arguments to this function.- Specified by:
getArgumentsin classFunctionDefinition- Returns:
- The function arguments
-
getReturnType
Description copied from class:FunctionDefinitionThe return type of this function definition.- Specified by:
getReturnTypein classFunctionDefinition- Returns:
- The function return type
-
evaluate
Description copied from class:FunctionDefinitionEvaluate the arguments to a given function to compute a result.- Specified by:
evaluatein classFunctionDefinition- Returns:
- The resulting value
-
ofExpression
-