We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With the rust code, when building a policy the add_method uses this code to serialize the Method enum
serde_json::to_string(&method).unwrap()
this creates a policy with double quotes in the method ARN "arn:aws:execute-api:ap-southeast-2:XXXXXXXXXX:YYYYYYYYYY/ESTestInvoke-stage/\"*\"/*"
"arn:aws:execute-api:ap-southeast-2:XXXXXXXXXX:YYYYYYYYYY/ESTestInvoke-stage/\"*\"/*"
Consider using something like this instead ?
json!(&method).as_str().unwrap()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
With the rust code, when building a policy the add_method uses this code to serialize the Method enum
serde_json::to_string(&method).unwrap()
this creates a policy with double quotes in the method ARN
"arn:aws:execute-api:ap-southeast-2:XXXXXXXXXX:YYYYYYYYYY/ESTestInvoke-stage/\"*\"/*"
Consider using something like this instead ?
json!(&method).as_str().unwrap()
The text was updated successfully, but these errors were encountered: