|
| 1 | +{ |
| 2 | + "version":"2.0", |
| 3 | + "metadata":{ |
| 4 | + "apiVersion":"2018-05-10", |
| 5 | + "endpointPrefix":"controltower", |
| 6 | + "jsonVersion":"1.1", |
| 7 | + "protocol":"rest-json", |
| 8 | + "serviceFullName":"AWS Control Tower", |
| 9 | + "serviceId":"ControlTower", |
| 10 | + "signatureVersion":"v4", |
| 11 | + "signingName":"controltower", |
| 12 | + "uid":"controltower-2018-05-10" |
| 13 | + }, |
| 14 | + "operations":{ |
| 15 | + "DisableControl":{ |
| 16 | + "name":"DisableControl", |
| 17 | + "http":{ |
| 18 | + "method":"POST", |
| 19 | + "requestUri":"/disable-control", |
| 20 | + "responseCode":200 |
| 21 | + }, |
| 22 | + "input":{"shape":"DisableControlInput"}, |
| 23 | + "output":{"shape":"DisableControlOutput"}, |
| 24 | + "errors":[ |
| 25 | + {"shape":"ValidationException"}, |
| 26 | + {"shape":"ConflictException"}, |
| 27 | + {"shape":"ServiceQuotaExceededException"}, |
| 28 | + {"shape":"InternalServerException"}, |
| 29 | + {"shape":"AccessDeniedException"}, |
| 30 | + {"shape":"ThrottlingException"}, |
| 31 | + {"shape":"ResourceNotFoundException"} |
| 32 | + ] |
| 33 | + }, |
| 34 | + "EnableControl":{ |
| 35 | + "name":"EnableControl", |
| 36 | + "http":{ |
| 37 | + "method":"POST", |
| 38 | + "requestUri":"/enable-control", |
| 39 | + "responseCode":200 |
| 40 | + }, |
| 41 | + "input":{"shape":"EnableControlInput"}, |
| 42 | + "output":{"shape":"EnableControlOutput"}, |
| 43 | + "errors":[ |
| 44 | + {"shape":"ValidationException"}, |
| 45 | + {"shape":"ConflictException"}, |
| 46 | + {"shape":"ServiceQuotaExceededException"}, |
| 47 | + {"shape":"InternalServerException"}, |
| 48 | + {"shape":"AccessDeniedException"}, |
| 49 | + {"shape":"ThrottlingException"}, |
| 50 | + {"shape":"ResourceNotFoundException"} |
| 51 | + ] |
| 52 | + }, |
| 53 | + "GetControlOperation":{ |
| 54 | + "name":"GetControlOperation", |
| 55 | + "http":{ |
| 56 | + "method":"POST", |
| 57 | + "requestUri":"/get-control-operation", |
| 58 | + "responseCode":200 |
| 59 | + }, |
| 60 | + "input":{"shape":"GetControlOperationInput"}, |
| 61 | + "output":{"shape":"GetControlOperationOutput"}, |
| 62 | + "errors":[ |
| 63 | + {"shape":"ValidationException"}, |
| 64 | + {"shape":"InternalServerException"}, |
| 65 | + {"shape":"AccessDeniedException"}, |
| 66 | + {"shape":"ThrottlingException"}, |
| 67 | + {"shape":"ResourceNotFoundException"} |
| 68 | + ] |
| 69 | + }, |
| 70 | + "ListEnabledControls":{ |
| 71 | + "name":"ListEnabledControls", |
| 72 | + "http":{ |
| 73 | + "method":"POST", |
| 74 | + "requestUri":"/list-enabled-controls", |
| 75 | + "responseCode":200 |
| 76 | + }, |
| 77 | + "input":{"shape":"ListEnabledControlsInput"}, |
| 78 | + "output":{"shape":"ListEnabledControlsOutput"}, |
| 79 | + "errors":[ |
| 80 | + {"shape":"ValidationException"}, |
| 81 | + {"shape":"InternalServerException"}, |
| 82 | + {"shape":"AccessDeniedException"}, |
| 83 | + {"shape":"ThrottlingException"}, |
| 84 | + {"shape":"ResourceNotFoundException"} |
| 85 | + ] |
| 86 | + } |
| 87 | + }, |
| 88 | + "shapes":{ |
| 89 | + "AccessDeniedException":{ |
| 90 | + "type":"structure", |
| 91 | + "required":["message"], |
| 92 | + "members":{ |
| 93 | + "message":{"shape":"String"} |
| 94 | + }, |
| 95 | + "error":{ |
| 96 | + "httpStatusCode":403, |
| 97 | + "senderFault":true |
| 98 | + }, |
| 99 | + "exception":true |
| 100 | + }, |
| 101 | + "ConflictException":{ |
| 102 | + "type":"structure", |
| 103 | + "required":["message"], |
| 104 | + "members":{ |
| 105 | + "message":{"shape":"String"} |
| 106 | + }, |
| 107 | + "error":{ |
| 108 | + "httpStatusCode":409, |
| 109 | + "senderFault":true |
| 110 | + }, |
| 111 | + "exception":true |
| 112 | + }, |
| 113 | + "ControlIdentifier":{ |
| 114 | + "type":"string", |
| 115 | + "max":2048, |
| 116 | + "min":20, |
| 117 | + "pattern":"^arn:aws[0-9a-zA-Z_\\-:\\/]+$" |
| 118 | + }, |
| 119 | + "ControlOperation":{ |
| 120 | + "type":"structure", |
| 121 | + "members":{ |
| 122 | + "endTime":{"shape":"SyntheticTimestamp_date_time"}, |
| 123 | + "operationType":{"shape":"ControlOperationType"}, |
| 124 | + "startTime":{"shape":"SyntheticTimestamp_date_time"}, |
| 125 | + "status":{"shape":"ControlOperationStatus"}, |
| 126 | + "statusMessage":{"shape":"String"} |
| 127 | + } |
| 128 | + }, |
| 129 | + "ControlOperationStatus":{ |
| 130 | + "type":"string", |
| 131 | + "enum":[ |
| 132 | + "SUCCEEDED", |
| 133 | + "FAILED", |
| 134 | + "IN_PROGRESS" |
| 135 | + ] |
| 136 | + }, |
| 137 | + "ControlOperationType":{ |
| 138 | + "type":"string", |
| 139 | + "enum":[ |
| 140 | + "ENABLE_CONTROL", |
| 141 | + "DISABLE_CONTROL" |
| 142 | + ] |
| 143 | + }, |
| 144 | + "DisableControlInput":{ |
| 145 | + "type":"structure", |
| 146 | + "required":[ |
| 147 | + "controlIdentifier", |
| 148 | + "targetIdentifier" |
| 149 | + ], |
| 150 | + "members":{ |
| 151 | + "controlIdentifier":{"shape":"ControlIdentifier"}, |
| 152 | + "targetIdentifier":{"shape":"TargetIdentifier"} |
| 153 | + } |
| 154 | + }, |
| 155 | + "DisableControlOutput":{ |
| 156 | + "type":"structure", |
| 157 | + "required":["operationIdentifier"], |
| 158 | + "members":{ |
| 159 | + "operationIdentifier":{"shape":"OperationIdentifier"} |
| 160 | + } |
| 161 | + }, |
| 162 | + "EnableControlInput":{ |
| 163 | + "type":"structure", |
| 164 | + "required":[ |
| 165 | + "controlIdentifier", |
| 166 | + "targetIdentifier" |
| 167 | + ], |
| 168 | + "members":{ |
| 169 | + "controlIdentifier":{"shape":"ControlIdentifier"}, |
| 170 | + "targetIdentifier":{"shape":"TargetIdentifier"} |
| 171 | + } |
| 172 | + }, |
| 173 | + "EnableControlOutput":{ |
| 174 | + "type":"structure", |
| 175 | + "required":["operationIdentifier"], |
| 176 | + "members":{ |
| 177 | + "operationIdentifier":{"shape":"OperationIdentifier"} |
| 178 | + } |
| 179 | + }, |
| 180 | + "EnabledControlSummary":{ |
| 181 | + "type":"structure", |
| 182 | + "members":{ |
| 183 | + "controlIdentifier":{"shape":"ControlIdentifier"} |
| 184 | + } |
| 185 | + }, |
| 186 | + "EnabledControls":{ |
| 187 | + "type":"list", |
| 188 | + "member":{"shape":"EnabledControlSummary"} |
| 189 | + }, |
| 190 | + "GetControlOperationInput":{ |
| 191 | + "type":"structure", |
| 192 | + "required":["operationIdentifier"], |
| 193 | + "members":{ |
| 194 | + "operationIdentifier":{"shape":"OperationIdentifier"} |
| 195 | + } |
| 196 | + }, |
| 197 | + "GetControlOperationOutput":{ |
| 198 | + "type":"structure", |
| 199 | + "required":["controlOperation"], |
| 200 | + "members":{ |
| 201 | + "controlOperation":{"shape":"ControlOperation"} |
| 202 | + } |
| 203 | + }, |
| 204 | + "Integer":{ |
| 205 | + "type":"integer", |
| 206 | + "box":true |
| 207 | + }, |
| 208 | + "InternalServerException":{ |
| 209 | + "type":"structure", |
| 210 | + "required":["message"], |
| 211 | + "members":{ |
| 212 | + "message":{"shape":"String"} |
| 213 | + }, |
| 214 | + "error":{"httpStatusCode":500}, |
| 215 | + "exception":true, |
| 216 | + "fault":true, |
| 217 | + "retryable":{"throttling":false} |
| 218 | + }, |
| 219 | + "ListEnabledControlsInput":{ |
| 220 | + "type":"structure", |
| 221 | + "required":["targetIdentifier"], |
| 222 | + "members":{ |
| 223 | + "maxResults":{"shape":"MaxResults"}, |
| 224 | + "nextToken":{"shape":"String"}, |
| 225 | + "targetIdentifier":{"shape":"TargetIdentifier"} |
| 226 | + } |
| 227 | + }, |
| 228 | + "ListEnabledControlsOutput":{ |
| 229 | + "type":"structure", |
| 230 | + "required":["enabledControls"], |
| 231 | + "members":{ |
| 232 | + "enabledControls":{"shape":"EnabledControls"}, |
| 233 | + "nextToken":{"shape":"String"} |
| 234 | + } |
| 235 | + }, |
| 236 | + "MaxResults":{ |
| 237 | + "type":"integer", |
| 238 | + "box":true, |
| 239 | + "max":100, |
| 240 | + "min":1 |
| 241 | + }, |
| 242 | + "OperationIdentifier":{ |
| 243 | + "type":"string", |
| 244 | + "max":36, |
| 245 | + "min":36, |
| 246 | + "pattern":"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" |
| 247 | + }, |
| 248 | + "ResourceNotFoundException":{ |
| 249 | + "type":"structure", |
| 250 | + "required":["message"], |
| 251 | + "members":{ |
| 252 | + "message":{"shape":"String"} |
| 253 | + }, |
| 254 | + "error":{ |
| 255 | + "httpStatusCode":404, |
| 256 | + "senderFault":true |
| 257 | + }, |
| 258 | + "exception":true |
| 259 | + }, |
| 260 | + "ServiceQuotaExceededException":{ |
| 261 | + "type":"structure", |
| 262 | + "required":["message"], |
| 263 | + "members":{ |
| 264 | + "message":{"shape":"String"} |
| 265 | + }, |
| 266 | + "error":{ |
| 267 | + "httpStatusCode":402, |
| 268 | + "senderFault":true |
| 269 | + }, |
| 270 | + "exception":true |
| 271 | + }, |
| 272 | + "String":{"type":"string"}, |
| 273 | + "SyntheticTimestamp_date_time":{ |
| 274 | + "type":"timestamp", |
| 275 | + "timestampFormat":"iso8601" |
| 276 | + }, |
| 277 | + "TargetIdentifier":{ |
| 278 | + "type":"string", |
| 279 | + "max":2048, |
| 280 | + "min":20, |
| 281 | + "pattern":"^arn:aws[0-9a-zA-Z_\\-:\\/]+$" |
| 282 | + }, |
| 283 | + "ThrottlingException":{ |
| 284 | + "type":"structure", |
| 285 | + "required":["message"], |
| 286 | + "members":{ |
| 287 | + "message":{"shape":"String"}, |
| 288 | + "quotaCode":{"shape":"String"}, |
| 289 | + "retryAfterSeconds":{ |
| 290 | + "shape":"Integer", |
| 291 | + "location":"header", |
| 292 | + "locationName":"Retry-After" |
| 293 | + }, |
| 294 | + "serviceCode":{"shape":"String"} |
| 295 | + }, |
| 296 | + "error":{ |
| 297 | + "httpStatusCode":429, |
| 298 | + "senderFault":true |
| 299 | + }, |
| 300 | + "exception":true, |
| 301 | + "retryable":{"throttling":true} |
| 302 | + }, |
| 303 | + "ValidationException":{ |
| 304 | + "type":"structure", |
| 305 | + "required":["message"], |
| 306 | + "members":{ |
| 307 | + "message":{"shape":"String"} |
| 308 | + }, |
| 309 | + "error":{ |
| 310 | + "httpStatusCode":400, |
| 311 | + "senderFault":true |
| 312 | + }, |
| 313 | + "exception":true |
| 314 | + } |
| 315 | + } |
| 316 | +} |
0 commit comments