-
-
Save r7kamura/c6cc5967f1d08939fed0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"accountId": "$context.identity.accountId", | |
"apiId": "$context.apiId", | |
"apiKey": "$context.identity.apiKey", | |
"caller": "$context.identity.caller", | |
"headers": { | |
#foreach( $key in $input.params().header.keySet() ) | |
"$key": "$input.params().header.get($key)"#if( $foreach.hasNext ),#end | |
#end | |
}, | |
"httpMethod": "$context.httpMethod", | |
"path": "$context.resourcePath", | |
"pathParameters": { | |
#foreach( $key in $input.params().path.keySet() ) | |
"$key": "$input.params().path.get($key)"#if( $foreach.hasNext ),#end | |
#end | |
}, | |
"queryParameters": { | |
#foreach( $key in $input.params().querystring.keySet() ) | |
"$key": "$input.params().querystring.get($key)"#if( $foreach.hasNext ),#end | |
#end | |
}, | |
"requestId": "$context.requestId", | |
"requestParameters": $input.json('$'), | |
"resourceId": "$context.resourceId", | |
"sourceIp": "$context.identity.sourceIp", | |
"stage": "$context.stage", | |
"user": "$context.identity.user", | |
"userAgent": "$context.identity.userAgent", | |
"userArn": "$context.identity.userArn" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment