{
  "resources": {
    "ApiKey": {
      "grants": {
        "read": {
          "actions": [
            "apigateway:GET"
          ],
          "docSummary": "Permits the IAM principal all read operations through this key"
        },
        "write": {
          "actions": [
            "apigateway:POST",
            "apigateway:PUT",
            "apigateway:PATCH",
            "apigateway:DELETE"
          ],
          "docSummary": "Permits the IAM principal all write operations through this key"
        },
        "readWrite": {
          "actions": [
            "apigateway:GET",
            "apigateway:POST",
            "apigateway:PUT",
            "apigateway:PATCH",
            "apigateway:DELETE"
          ],
          "docSummary": "Permits the IAM principal all read and write operations through this key"
        }
      }
    },
    "Method": {
      "grants": {
        "execute": {
          "actions": [
            "execute-api:Invoke"
          ]
        }
      }
    }
  }
}
