Can't seem to find any resolution on this, on the cli I have aws apigateway update-stage --cli-input-json '{\"restApiId\":\"apiId\",\"stageName\":\"beta\",\"patchOperations\":[{\"op\":\"replace\",\"path\":\"/accessLogSettings/format\",\"value\":{\"requestId\":\"$context.requestId\"}}]}' and I get the error Invalid type for parameter patchOperations[0].value, value: {u'requestId': u'$context.requestId'}, type: <type 'dict'>, valid types: <type 'basestring'> __
Please can you guys help me out with this issue.
Can't seem to find any resolution on this, on the cli I have
aws apigateway update-stage --cli-input-json '{\"restApiId\":\"apiId\",\"stageName\":\"beta\",\"patchOperations\":[{\"op\":\"replace\",\"path\":\"/accessLogSettings/format\",\"value\":{\"requestId\":\"$context.requestId\"}}]}'and I get the error Invalid type for parameter patchOperations[0].value, value: {u'requestId': u'$context.requestId'}, type: <type 'dict'>, valid types: <type 'basestring'> __Please can you guys help me out with this issue.