Skip to content

Instantly share code, notes, and snippets.

@graham
Created July 20, 2015 10:59
Show Gist options
  • Save graham/f8491b05d1bdd28b5ca8 to your computer and use it in GitHub Desktop.
Save graham/f8491b05d1bdd28b5ca8 to your computer and use it in GitHub Desktop.
{
"version":"2.0",
"metadata":{
"apiVersion":"2015-03-31",
"endpointPrefix":"apigateway",
"serviceFullName":"API Gateway",
"signatureVersion":"v4",
"protocol":"rest-json"
},
"documentation":"",
"operations":{
"ApiKeys":{
"name":"ApiKeys",
"http":{
"method":"GET",
"requestUri":"/apikeys",
"responseCode":200
},
"input":{"shape":"ApiKeysRequest"},
"output":{"shape":"ApiKeysResponse"},
"errors":[
{
"shape":"ServiceException",
"error":{"httpStatusCode":500},
"exception":true,
"documentation":"<p>The AWS Lambda service encountered an internal error.</p>"
},
{
"shape":"TooManyRequestsException",
"error":{"httpStatusCode":429},
"exception":true
}
],
"documentation":""
}
},
"shapes":{
"ApiKeysItems":{"type":"structure", "members":{
"item":{"shape":"ApiKeys"}
}},
"ApiKeys":{"type":"list", "member":{"shape":"ApiKey"}},
"ApiKey":{"type":"structure", "members": {
"id" : {"shape":"String"},
"name" : {"shape":"String"},
"description" : {"shape":"String"},
"enabled" : {"shape":"Boolean"},
"stageKeys" : {"shape":"String"},
"createdDate" : {"shape":"Timestamp"},
"lastUpdatedDate" : {"shape":"Timestamp"}
}
},
"ApiKeysRequest":{"type":"structure", "members":{}},
"ApiKeysResponse":{"type":"structure", "members":{
"NextMarker":{
"shape":"String",
"documentation":"<p>A string, present if there are more functions.</p>"
},
"_embedded":{"shape":"ApiKeysItems"}
}
},
"String":{"type":"string"},
"Boolean":{"type":"boolean"},
"Integer":{"type":"integer"},
"Long":{"type":"long"},
"Timestamp":{"type":"timestamp"}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment