MCPcopy Index your code
hub / github.com/aws/aws-cli / _resolve_query

Function _resolve_query

awscli/customizations/globalargs.py:61–67  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

59
60
61def _resolve_query(value):
62 try:
63 return jmespath.compile(value)
64 except Exception as e:
65 raise ParamValidationError(
66 "Bad value for --query %s: %s" % (value, str(e))
67 )
68
69
70def _resolve_endpoint_url(value):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected