|
2 | 2 | "version":"2.0", |
3 | 3 | "metadata":{ |
4 | 4 | "apiVersion":"2017-07-25", |
5 | | - "endpointPrefix":"elastic-inference", |
| 5 | + "endpointPrefix":"api.elastic-inference", |
6 | 6 | "jsonVersion":"1.1", |
7 | 7 | "protocol":"rest-json", |
8 | 8 | "serviceAbbreviation":"Amazon Elastic Inference", |
|
13 | 13 | "uid":"elastic-inference-2017-07-25" |
14 | 14 | }, |
15 | 15 | "operations":{ |
| 16 | + "DescribeAcceleratorOfferings":{ |
| 17 | + "name":"DescribeAcceleratorOfferings", |
| 18 | + "http":{ |
| 19 | + "method":"POST", |
| 20 | + "requestUri":"/describe-accelerator-offerings" |
| 21 | + }, |
| 22 | + "input":{"shape":"DescribeAcceleratorOfferingsRequest"}, |
| 23 | + "output":{"shape":"DescribeAcceleratorOfferingsResponse"}, |
| 24 | + "errors":[ |
| 25 | + {"shape":"BadRequestException"}, |
| 26 | + {"shape":"ResourceNotFoundException"}, |
| 27 | + {"shape":"InternalServerException"} |
| 28 | + ] |
| 29 | + }, |
| 30 | + "DescribeAcceleratorTypes":{ |
| 31 | + "name":"DescribeAcceleratorTypes", |
| 32 | + "http":{ |
| 33 | + "method":"GET", |
| 34 | + "requestUri":"/describe-accelerator-types" |
| 35 | + }, |
| 36 | + "input":{"shape":"DescribeAcceleratorTypesRequest"}, |
| 37 | + "output":{"shape":"DescribeAcceleratorTypesResponse"}, |
| 38 | + "errors":[ |
| 39 | + {"shape":"InternalServerException"} |
| 40 | + ] |
| 41 | + }, |
| 42 | + "DescribeAccelerators":{ |
| 43 | + "name":"DescribeAccelerators", |
| 44 | + "http":{ |
| 45 | + "method":"POST", |
| 46 | + "requestUri":"/describe-accelerators" |
| 47 | + }, |
| 48 | + "input":{"shape":"DescribeAcceleratorsRequest"}, |
| 49 | + "output":{"shape":"DescribeAcceleratorsResponse"}, |
| 50 | + "errors":[ |
| 51 | + {"shape":"BadRequestException"}, |
| 52 | + {"shape":"ResourceNotFoundException"}, |
| 53 | + {"shape":"InternalServerException"} |
| 54 | + ] |
| 55 | + }, |
16 | 56 | "ListTagsForResource":{ |
17 | 57 | "name":"ListTagsForResource", |
18 | 58 | "http":{ |
|
57 | 97 | } |
58 | 98 | }, |
59 | 99 | "shapes":{ |
| 100 | + "AcceleratorHealthStatus":{ |
| 101 | + "type":"string", |
| 102 | + "max":256, |
| 103 | + "min":1 |
| 104 | + }, |
| 105 | + "AcceleratorId":{ |
| 106 | + "type":"string", |
| 107 | + "max":256, |
| 108 | + "min":1, |
| 109 | + "pattern":"^eia-[0-9a-f]+$" |
| 110 | + }, |
| 111 | + "AcceleratorIdList":{ |
| 112 | + "type":"list", |
| 113 | + "member":{"shape":"AcceleratorId"}, |
| 114 | + "max":1000, |
| 115 | + "min":0 |
| 116 | + }, |
| 117 | + "AcceleratorType":{ |
| 118 | + "type":"structure", |
| 119 | + "members":{ |
| 120 | + "acceleratorTypeName":{"shape":"AcceleratorTypeName"}, |
| 121 | + "memoryInfo":{"shape":"MemoryInfo"}, |
| 122 | + "throughputInfo":{"shape":"ThroughputInfoList"} |
| 123 | + } |
| 124 | + }, |
| 125 | + "AcceleratorTypeList":{ |
| 126 | + "type":"list", |
| 127 | + "member":{"shape":"AcceleratorType"}, |
| 128 | + "max":100, |
| 129 | + "min":0 |
| 130 | + }, |
| 131 | + "AcceleratorTypeName":{ |
| 132 | + "type":"string", |
| 133 | + "max":256, |
| 134 | + "min":1, |
| 135 | + "pattern":"^\\S+$" |
| 136 | + }, |
| 137 | + "AcceleratorTypeNameList":{ |
| 138 | + "type":"list", |
| 139 | + "member":{"shape":"AcceleratorTypeName"}, |
| 140 | + "max":100, |
| 141 | + "min":0 |
| 142 | + }, |
| 143 | + "AcceleratorTypeOffering":{ |
| 144 | + "type":"structure", |
| 145 | + "members":{ |
| 146 | + "acceleratorType":{"shape":"AcceleratorTypeName"}, |
| 147 | + "locationType":{"shape":"LocationType"}, |
| 148 | + "location":{"shape":"Location"} |
| 149 | + } |
| 150 | + }, |
| 151 | + "AcceleratorTypeOfferingList":{ |
| 152 | + "type":"list", |
| 153 | + "member":{"shape":"AcceleratorTypeOffering"}, |
| 154 | + "max":100, |
| 155 | + "min":0 |
| 156 | + }, |
| 157 | + "AvailabilityZone":{ |
| 158 | + "type":"string", |
| 159 | + "max":256, |
| 160 | + "min":1 |
| 161 | + }, |
60 | 162 | "BadRequestException":{ |
61 | 163 | "type":"structure", |
62 | 164 | "members":{ |
|
65 | 167 | "error":{"httpStatusCode":400}, |
66 | 168 | "exception":true |
67 | 169 | }, |
| 170 | + "DescribeAcceleratorOfferingsRequest":{ |
| 171 | + "type":"structure", |
| 172 | + "required":["locationType"], |
| 173 | + "members":{ |
| 174 | + "locationType":{"shape":"LocationType"}, |
| 175 | + "acceleratorTypes":{"shape":"AcceleratorTypeNameList"} |
| 176 | + } |
| 177 | + }, |
| 178 | + "DescribeAcceleratorOfferingsResponse":{ |
| 179 | + "type":"structure", |
| 180 | + "members":{ |
| 181 | + "acceleratorTypeOfferings":{"shape":"AcceleratorTypeOfferingList"} |
| 182 | + } |
| 183 | + }, |
| 184 | + "DescribeAcceleratorTypesRequest":{ |
| 185 | + "type":"structure", |
| 186 | + "members":{ |
| 187 | + } |
| 188 | + }, |
| 189 | + "DescribeAcceleratorTypesResponse":{ |
| 190 | + "type":"structure", |
| 191 | + "members":{ |
| 192 | + "acceleratorTypes":{"shape":"AcceleratorTypeList"} |
| 193 | + } |
| 194 | + }, |
| 195 | + "DescribeAcceleratorsRequest":{ |
| 196 | + "type":"structure", |
| 197 | + "members":{ |
| 198 | + "acceleratorIds":{"shape":"AcceleratorIdList"}, |
| 199 | + "filters":{"shape":"FilterList"}, |
| 200 | + "maxResults":{"shape":"MaxResults"}, |
| 201 | + "nextToken":{"shape":"NextToken"} |
| 202 | + } |
| 203 | + }, |
| 204 | + "DescribeAcceleratorsResponse":{ |
| 205 | + "type":"structure", |
| 206 | + "members":{ |
| 207 | + "acceleratorSet":{"shape":"ElasticInferenceAcceleratorSet"}, |
| 208 | + "nextToken":{"shape":"NextToken"} |
| 209 | + } |
| 210 | + }, |
| 211 | + "ElasticInferenceAccelerator":{ |
| 212 | + "type":"structure", |
| 213 | + "members":{ |
| 214 | + "acceleratorHealth":{"shape":"ElasticInferenceAcceleratorHealth"}, |
| 215 | + "acceleratorType":{"shape":"AcceleratorTypeName"}, |
| 216 | + "acceleratorId":{"shape":"AcceleratorId"}, |
| 217 | + "availabilityZone":{"shape":"AvailabilityZone"}, |
| 218 | + "attachedResource":{"shape":"ResourceArn"} |
| 219 | + } |
| 220 | + }, |
| 221 | + "ElasticInferenceAcceleratorHealth":{ |
| 222 | + "type":"structure", |
| 223 | + "members":{ |
| 224 | + "status":{"shape":"AcceleratorHealthStatus"} |
| 225 | + } |
| 226 | + }, |
| 227 | + "ElasticInferenceAcceleratorSet":{ |
| 228 | + "type":"list", |
| 229 | + "member":{"shape":"ElasticInferenceAccelerator"} |
| 230 | + }, |
| 231 | + "Filter":{ |
| 232 | + "type":"structure", |
| 233 | + "members":{ |
| 234 | + "name":{"shape":"FilterName"}, |
| 235 | + "values":{"shape":"ValueStringList"} |
| 236 | + } |
| 237 | + }, |
| 238 | + "FilterList":{ |
| 239 | + "type":"list", |
| 240 | + "member":{"shape":"Filter"}, |
| 241 | + "max":100, |
| 242 | + "min":0 |
| 243 | + }, |
| 244 | + "FilterName":{ |
| 245 | + "type":"string", |
| 246 | + "max":128, |
| 247 | + "min":1, |
| 248 | + "pattern":"^\\S+$" |
| 249 | + }, |
| 250 | + "Integer":{"type":"integer"}, |
68 | 251 | "InternalServerException":{ |
69 | 252 | "type":"structure", |
70 | 253 | "members":{ |
|
73 | 256 | "error":{"httpStatusCode":500}, |
74 | 257 | "exception":true |
75 | 258 | }, |
| 259 | + "Key":{ |
| 260 | + "type":"string", |
| 261 | + "max":256, |
| 262 | + "min":1, |
| 263 | + "pattern":"^\\S+$" |
| 264 | + }, |
| 265 | + "KeyValuePair":{ |
| 266 | + "type":"structure", |
| 267 | + "members":{ |
| 268 | + "key":{"shape":"Key"}, |
| 269 | + "value":{"shape":"Value"} |
| 270 | + } |
| 271 | + }, |
76 | 272 | "ListTagsForResourceRequest":{ |
77 | 273 | "type":"structure", |
78 | 274 | "required":["resourceArn"], |
|
90 | 286 | "tags":{"shape":"TagMap"} |
91 | 287 | } |
92 | 288 | }, |
| 289 | + "Location":{ |
| 290 | + "type":"string", |
| 291 | + "max":256, |
| 292 | + "min":1 |
| 293 | + }, |
| 294 | + "LocationType":{ |
| 295 | + "type":"string", |
| 296 | + "enum":[ |
| 297 | + "region", |
| 298 | + "availability-zone", |
| 299 | + "availability-zone-id" |
| 300 | + ], |
| 301 | + "max":256, |
| 302 | + "min":1 |
| 303 | + }, |
| 304 | + "MaxResults":{ |
| 305 | + "type":"integer", |
| 306 | + "max":100, |
| 307 | + "min":0 |
| 308 | + }, |
| 309 | + "MemoryInfo":{ |
| 310 | + "type":"structure", |
| 311 | + "members":{ |
| 312 | + "sizeInMiB":{"shape":"Integer"} |
| 313 | + } |
| 314 | + }, |
| 315 | + "NextToken":{ |
| 316 | + "type":"string", |
| 317 | + "max":2048, |
| 318 | + "min":1, |
| 319 | + "pattern":"^[A-Za-z0-9+/]+={0,2}$" |
| 320 | + }, |
93 | 321 | "ResourceARN":{ |
94 | 322 | "type":"string", |
95 | 323 | "max":1011, |
| 324 | + "min":1, |
| 325 | + "pattern":"^arn:aws\\S*:elastic-inference:\\S+:\\d{12}:elastic-inference-accelerator/eia-[0-9a-f]+$" |
| 326 | + }, |
| 327 | + "ResourceArn":{ |
| 328 | + "type":"string", |
| 329 | + "max":1283, |
96 | 330 | "min":1 |
97 | 331 | }, |
98 | 332 | "ResourceNotFoundException":{ |
|
103 | 337 | "error":{"httpStatusCode":404}, |
104 | 338 | "exception":true |
105 | 339 | }, |
106 | | - "String":{"type":"string"}, |
| 340 | + "String":{ |
| 341 | + "type":"string", |
| 342 | + "max":500000, |
| 343 | + "pattern":"^.*$" |
| 344 | + }, |
107 | 345 | "TagKey":{ |
108 | 346 | "type":"string", |
109 | 347 | "max":128, |
110 | | - "min":1 |
| 348 | + "min":1, |
| 349 | + "pattern":"^\\S$" |
111 | 350 | }, |
112 | 351 | "TagKeyList":{ |
113 | 352 | "type":"list", |
|
146 | 385 | "type":"string", |
147 | 386 | "max":256 |
148 | 387 | }, |
| 388 | + "ThroughputInfoList":{ |
| 389 | + "type":"list", |
| 390 | + "member":{"shape":"KeyValuePair"}, |
| 391 | + "max":100, |
| 392 | + "min":0 |
| 393 | + }, |
149 | 394 | "UntagResourceRequest":{ |
150 | 395 | "type":"structure", |
151 | 396 | "required":[ |
|
169 | 414 | "type":"structure", |
170 | 415 | "members":{ |
171 | 416 | } |
| 417 | + }, |
| 418 | + "Value":{"type":"integer"}, |
| 419 | + "ValueStringList":{ |
| 420 | + "type":"list", |
| 421 | + "member":{"shape":"String"}, |
| 422 | + "max":100, |
| 423 | + "min":0 |
172 | 424 | } |
173 | 425 | } |
174 | 426 | } |
0 commit comments