192 lines
5.1 KiB
JSON
192 lines
5.1 KiB
JSON
|
{
|
||
|
"version":"2.0",
|
||
|
"metadata":{
|
||
|
"apiVersion":"2017-07-25",
|
||
|
"endpointPrefix":"api.elastic-inference",
|
||
|
"jsonVersion":"1.1",
|
||
|
"protocol":"rest-json",
|
||
|
"serviceAbbreviation":"Amazon Elastic Inference",
|
||
|
"serviceFullName":"Amazon Elastic Inference",
|
||
|
"serviceId":"Elastic Inference",
|
||
|
"signatureVersion":"v4",
|
||
|
"signingName":"elastic-inference",
|
||
|
"uid":"elastic-inference-2017-07-25"
|
||
|
},
|
||
|
"operations":{
|
||
|
"ListTagsForResource":{
|
||
|
"name":"ListTagsForResource",
|
||
|
"http":{
|
||
|
"method":"GET",
|
||
|
"requestUri":"/tags/{resourceArn}"
|
||
|
},
|
||
|
"input":{"shape":"ListTagsForResourceRequest"},
|
||
|
"output":{"shape":"ListTagsForResourceResult"},
|
||
|
"errors":[
|
||
|
{"shape":"BadRequestException"},
|
||
|
{"shape":"ResourceNotFoundException"},
|
||
|
{"shape":"InternalServerException"}
|
||
|
],
|
||
|
"documentation":"Returns all tags of an Elastic Inference Accelerator."
|
||
|
},
|
||
|
"TagResource":{
|
||
|
"name":"TagResource",
|
||
|
"http":{
|
||
|
"method":"POST",
|
||
|
"requestUri":"/tags/{resourceArn}"
|
||
|
},
|
||
|
"input":{"shape":"TagResourceRequest"},
|
||
|
"output":{"shape":"TagResourceResult"},
|
||
|
"errors":[
|
||
|
{"shape":"BadRequestException"},
|
||
|
{"shape":"ResourceNotFoundException"},
|
||
|
{"shape":"InternalServerException"}
|
||
|
],
|
||
|
"documentation":"Adds the specified tag(s) to an Elastic Inference Accelerator."
|
||
|
},
|
||
|
"UntagResource":{
|
||
|
"name":"UntagResource",
|
||
|
"http":{
|
||
|
"method":"DELETE",
|
||
|
"requestUri":"/tags/{resourceArn}"
|
||
|
},
|
||
|
"input":{"shape":"UntagResourceRequest"},
|
||
|
"output":{"shape":"UntagResourceResult"},
|
||
|
"errors":[
|
||
|
{"shape":"BadRequestException"},
|
||
|
{"shape":"ResourceNotFoundException"},
|
||
|
{"shape":"InternalServerException"}
|
||
|
],
|
||
|
"documentation":"Removes the specified tag(s) from an Elastic Inference Accelerator."
|
||
|
}
|
||
|
},
|
||
|
"shapes":{
|
||
|
"BadRequestException":{
|
||
|
"type":"structure",
|
||
|
"members":{
|
||
|
"message":{"shape":"String"}
|
||
|
},
|
||
|
"documentation":"Raised when a malformed input has been provided to the API.",
|
||
|
"error":{"httpStatusCode":400},
|
||
|
"exception":true
|
||
|
},
|
||
|
"InternalServerException":{
|
||
|
"type":"structure",
|
||
|
"members":{
|
||
|
"message":{"shape":"String"}
|
||
|
},
|
||
|
"documentation":"Raised when an unexpected error occurred during request processing.",
|
||
|
"error":{"httpStatusCode":500},
|
||
|
"exception":true
|
||
|
},
|
||
|
"ListTagsForResourceRequest":{
|
||
|
"type":"structure",
|
||
|
"required":["resourceArn"],
|
||
|
"members":{
|
||
|
"resourceArn":{
|
||
|
"shape":"ResourceARN",
|
||
|
"documentation":"The ARN of the Elastic Inference Accelerator to list the tags for.",
|
||
|
"location":"uri",
|
||
|
"locationName":"resourceArn"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"ListTagsForResourceResult":{
|
||
|
"type":"structure",
|
||
|
"members":{
|
||
|
"tags":{
|
||
|
"shape":"TagMap",
|
||
|
"documentation":"The tags of the Elastic Inference Accelerator."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"ResourceARN":{
|
||
|
"type":"string",
|
||
|
"max":1011,
|
||
|
"min":1
|
||
|
},
|
||
|
"ResourceNotFoundException":{
|
||
|
"type":"structure",
|
||
|
"members":{
|
||
|
"message":{"shape":"String"}
|
||
|
},
|
||
|
"documentation":"Raised when the requested resource cannot be found.",
|
||
|
"error":{"httpStatusCode":404},
|
||
|
"exception":true
|
||
|
},
|
||
|
"String":{"type":"string"},
|
||
|
"TagKey":{
|
||
|
"type":"string",
|
||
|
"max":128,
|
||
|
"min":1
|
||
|
},
|
||
|
"TagKeyList":{
|
||
|
"type":"list",
|
||
|
"member":{"shape":"TagKey"},
|
||
|
"max":50,
|
||
|
"min":1
|
||
|
},
|
||
|
"TagMap":{
|
||
|
"type":"map",
|
||
|
"key":{"shape":"TagKey"},
|
||
|
"value":{"shape":"TagValue"},
|
||
|
"max":50,
|
||
|
"min":1
|
||
|
},
|
||
|
"TagResourceRequest":{
|
||
|
"type":"structure",
|
||
|
"required":[
|
||
|
"resourceArn",
|
||
|
"tags"
|
||
|
],
|
||
|
"members":{
|
||
|
"resourceArn":{
|
||
|
"shape":"ResourceARN",
|
||
|
"documentation":"The ARN of the Elastic Inference Accelerator to tag.",
|
||
|
"location":"uri",
|
||
|
"locationName":"resourceArn"
|
||
|
},
|
||
|
"tags":{
|
||
|
"shape":"TagMap",
|
||
|
"documentation":"The tags to add to the Elastic Inference Accelerator."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"TagResourceResult":{
|
||
|
"type":"structure",
|
||
|
"members":{
|
||
|
}
|
||
|
},
|
||
|
"TagValue":{
|
||
|
"type":"string",
|
||
|
"max":256
|
||
|
},
|
||
|
"UntagResourceRequest":{
|
||
|
"type":"structure",
|
||
|
"required":[
|
||
|
"resourceArn",
|
||
|
"tagKeys"
|
||
|
],
|
||
|
"members":{
|
||
|
"resourceArn":{
|
||
|
"shape":"ResourceARN",
|
||
|
"documentation":"The ARN of the Elastic Inference Accelerator to untag.",
|
||
|
"location":"uri",
|
||
|
"locationName":"resourceArn"
|
||
|
},
|
||
|
"tagKeys":{
|
||
|
"shape":"TagKeyList",
|
||
|
"documentation":"The list of tags to remove from the Elastic Inference Accelerator.",
|
||
|
"location":"querystring",
|
||
|
"locationName":"tagKeys"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"UntagResourceResult":{
|
||
|
"type":"structure",
|
||
|
"members":{
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"documentation":"Elastic Inference public APIs."
|
||
|
}
|