FieldUtils Class
Helper functions to work with structures containing fields.
| Source | aws-stepfunctions/lib/fields.ts |
|---|
Methods
containsTaskToken(obj?: { [key: string]: any }): boolean@staticmethod def contains_task_token(obj: typing.Optional[typing.Mapping[str, Any]] = None) -> boolpublic static Boolean containsTaskToken(Map<String, Object> obj)public static bool ContainsTaskToken(IDictionary<string, object>? obj = null)func ContainsTaskToken(Obj *map[string]interface{}) *bool static #Returns whether the given task structure contains the TaskToken field anywhere.
The field is considered included if the field itself or one of its containing fields occurs anywhere in the payload.
findReferencedPaths(obj?: { [key: string]: any }): string[]@staticmethod def find_referenced_paths(obj: typing.Optional[typing.Mapping[str, Any]] = None) -> typing.List[str]public static List<String> findReferencedPaths(Map<String, Object> obj)public static string[] FindReferencedPaths(IDictionary<string, object>? obj = null)func FindReferencedPaths(Obj *map[string]interface{}) *[]*string static #Return all JSON paths used in the given structure.
renderObject(obj?: { [key: string]: any }): { [key: string]: any }@staticmethod def render_object(obj: typing.Optional[typing.Mapping[str, Any]] = None) -> typing.Mapping[str, Any]public static Map<String, Object> renderObject(Map<String, Object> obj)public static IDictionary<string, object> RenderObject(IDictionary<string, object>? obj = null)func RenderObject(Obj *map[string]interface{}) *map[string]interface{} static #Render a JSON structure containing fields to the right StepFunctions structure.