curl --location -g --request POST 'https://api.iotwireless.{region}.amazonaws.com/authorizer//test' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "string",
"tokenSignature": "string",
"httpContext": {
"headers": {
"property1": "string",
"property2": "string"
},
"queryString": "string"
},
"mqttContext": {
"username": "string",
"password": "string",
"clientId": "string"
},
"tlsContext": {
"serverName": "string"
}
}'
{
"isAuthenticated": true,
"principalId": "string",
"policyDocuments": [],
"refreshAfterInSeconds": 0,
"disconnectAfterInSeconds": 0
}
username
key in an MQTT authorization request.password
key in an MQTT authorization request.clientId
key in an MQTT authorization request.serverName
key in a TLS authorization request.