| 1 | { |
| 2 | "version":"2.0", |
| 3 | "metadata":{ |
| 4 | "apiVersion":"2019-06-30", |
| 5 | "endpointPrefix":"migrationhub-config", |
| 6 | "jsonVersion":"1.1", |
| 7 | "protocol":"json", |
| 8 | "serviceFullName":"AWS Migration Hub Config", |
| 9 | "serviceId":"MigrationHub Config", |
| 10 | "signatureVersion":"v4", |
| 11 | "signingName":"mgh", |
| 12 | "targetPrefix":"AWSMigrationHubMultiAccountService", |
| 13 | "uid":"migrationhub-config-2019-06-30" |
| 14 | }, |
| 15 | "operations":{ |
| 16 | "CreateHomeRegionControl":{ |
| 17 | "name":"CreateHomeRegionControl", |
| 18 | "http":{ |
| 19 | "method":"POST", |
| 20 | "requestUri":"/" |
| 21 | }, |
| 22 | "input":{"shape":"CreateHomeRegionControlRequest"}, |
| 23 | "output":{"shape":"CreateHomeRegionControlResult"}, |
| 24 | "errors":[ |
| 25 | {"shape":"InternalServerError"}, |
| 26 | {"shape":"ServiceUnavailableException"}, |
| 27 | {"shape":"AccessDeniedException"}, |
| 28 | {"shape":"ThrottlingException"}, |
| 29 | {"shape":"DryRunOperation"}, |
| 30 | {"shape":"InvalidInputException"} |
| 31 | ] |
| 32 | }, |
| 33 | "DeleteHomeRegionControl":{ |
| 34 | "name":"DeleteHomeRegionControl", |
| 35 | "http":{ |
| 36 | "method":"POST", |
| 37 | "requestUri":"/" |
| 38 | }, |
| 39 | "input":{"shape":"DeleteHomeRegionControlRequest"}, |
| 40 | "output":{"shape":"DeleteHomeRegionControlResult"}, |
| 41 | "errors":[ |
| 42 | {"shape":"InternalServerError"}, |
| 43 | {"shape":"ServiceUnavailableException"}, |
| 44 | {"shape":"AccessDeniedException"}, |
| 45 | {"shape":"ThrottlingException"}, |
| 46 | {"shape":"InvalidInputException"} |
| 47 | ] |
| 48 | }, |
| 49 | "DescribeHomeRegionControls":{ |
| 50 | "name":"DescribeHomeRegionControls", |
| 51 | "http":{ |
| 52 | "method":"POST", |
| 53 | "requestUri":"/" |
| 54 | }, |
| 55 | "input":{"shape":"DescribeHomeRegionControlsRequest"}, |
| 56 | "output":{"shape":"DescribeHomeRegionControlsResult"}, |
| 57 | "errors":[ |
| 58 | {"shape":"InternalServerError"}, |
| 59 | {"shape":"ServiceUnavailableException"}, |
| 60 | {"shape":"AccessDeniedException"}, |
| 61 | {"shape":"ThrottlingException"}, |
| 62 | {"shape":"InvalidInputException"} |
| 63 | ] |
| 64 | }, |
| 65 | "GetHomeRegion":{ |
| 66 | "name":"GetHomeRegion", |
| 67 | "http":{ |
| 68 | "method":"POST", |
| 69 | "requestUri":"/" |
| 70 | }, |
| 71 | "input":{"shape":"GetHomeRegionRequest"}, |
| 72 | "output":{"shape":"GetHomeRegionResult"}, |
| 73 | "errors":[ |
| 74 | {"shape":"InternalServerError"}, |
| 75 | {"shape":"ServiceUnavailableException"}, |
| 76 | {"shape":"AccessDeniedException"}, |
| 77 | {"shape":"ThrottlingException"}, |
| 78 | {"shape":"InvalidInputException"} |
| 79 | ] |
| 80 | } |
| 81 | }, |
| 82 | "shapes":{ |
| 83 | "AccessDeniedException":{ |
| 84 | "type":"structure", |
| 85 | "members":{ |
| 86 | "Message":{"shape":"ErrorMessage"} |
| 87 | }, |
| 88 | "exception":true |
| 89 | }, |
| 90 | "ControlId":{ |
| 91 | "type":"string", |
| 92 | "max":50, |
| 93 | "min":1, |
| 94 | "pattern":"^hrc-[a-z0-9]{12}$" |
| 95 | }, |
| 96 | "CreateHomeRegionControlRequest":{ |
| 97 | "type":"structure", |
| 98 | "required":[ |
| 99 | "HomeRegion", |
| 100 | "Target" |
| 101 | ], |
| 102 | "members":{ |
| 103 | "HomeRegion":{"shape":"HomeRegion"}, |
| 104 | "Target":{"shape":"Target"}, |
| 105 | "DryRun":{"shape":"DryRun"} |
| 106 | } |
| 107 | }, |
| 108 | "CreateHomeRegionControlResult":{ |
| 109 | "type":"structure", |
| 110 | "members":{ |
| 111 | "HomeRegionControl":{"shape":"HomeRegionControl"} |
| 112 | } |
| 113 | }, |
| 114 | "DeleteHomeRegionControlRequest":{ |
| 115 | "type":"structure", |
| 116 | "required":["ControlId"], |
| 117 | "members":{ |
| 118 | "ControlId":{"shape":"ControlId"} |
| 119 | } |
| 120 | }, |
| 121 | "DeleteHomeRegionControlResult":{ |
| 122 | "type":"structure", |
| 123 | "members":{ |
| 124 | } |
| 125 | }, |
| 126 | "DescribeHomeRegionControlsMaxResults":{ |
| 127 | "type":"integer", |
| 128 | "box":true, |
| 129 | "max":100, |
| 130 | "min":1 |
| 131 | }, |
| 132 | "DescribeHomeRegionControlsRequest":{ |
| 133 | "type":"structure", |
| 134 | "members":{ |
| 135 | "ControlId":{"shape":"ControlId"}, |
| 136 | "HomeRegion":{"shape":"HomeRegion"}, |
| 137 | "Target":{"shape":"Target"}, |
| 138 | "MaxResults":{"shape":"DescribeHomeRegionControlsMaxResults"}, |
| 139 | "NextToken":{"shape":"Token"} |
| 140 | } |
| 141 | }, |
| 142 | "DescribeHomeRegionControlsResult":{ |
| 143 | "type":"structure", |
| 144 | "members":{ |
| 145 | "HomeRegionControls":{"shape":"HomeRegionControls"}, |
| 146 | "NextToken":{"shape":"Token"} |
| 147 | } |
| 148 | }, |
| 149 | "DryRun":{"type":"boolean"}, |
| 150 | "DryRunOperation":{ |
| 151 | "type":"structure", |
| 152 | "members":{ |
| 153 | "Message":{"shape":"ErrorMessage"} |
| 154 | }, |
| 155 | "exception":true |
| 156 | }, |
| 157 | "ErrorMessage":{"type":"string"}, |
| 158 | "GetHomeRegionRequest":{ |
| 159 | "type":"structure", |
| 160 | "members":{ |
| 161 | } |
| 162 | }, |
| 163 | "GetHomeRegionResult":{ |
| 164 | "type":"structure", |
| 165 | "members":{ |
| 166 | "HomeRegion":{"shape":"HomeRegion"} |
| 167 | } |
| 168 | }, |
| 169 | "HomeRegion":{ |
| 170 | "type":"string", |
| 171 | "max":50, |
| 172 | "min":1, |
| 173 | "pattern":"^([a-z]+)-([a-z]+)-([0-9]+)$" |
| 174 | }, |
| 175 | "HomeRegionControl":{ |
| 176 | "type":"structure", |
| 177 | "members":{ |
| 178 | "ControlId":{"shape":"ControlId"}, |
| 179 | "HomeRegion":{"shape":"HomeRegion"}, |
| 180 | "Target":{"shape":"Target"}, |
| 181 | "RequestedTime":{"shape":"RequestedTime"} |
| 182 | } |
| 183 | }, |
| 184 | "HomeRegionControls":{ |
| 185 | "type":"list", |
| 186 | "member":{"shape":"HomeRegionControl"}, |
| 187 | "max":100 |
| 188 | }, |
| 189 | "InternalServerError":{ |
| 190 | "type":"structure", |
| 191 | "members":{ |
| 192 | "Message":{"shape":"ErrorMessage"} |
| 193 | }, |
| 194 | "exception":true, |
| 195 | "fault":true |
| 196 | }, |
| 197 | "InvalidInputException":{ |
| 198 | "type":"structure", |
| 199 | "members":{ |
| 200 | "Message":{"shape":"ErrorMessage"} |
| 201 | }, |
| 202 | "exception":true |
| 203 | }, |
| 204 | "RequestedTime":{"type":"timestamp"}, |
| 205 | "RetryAfterSeconds":{"type":"integer"}, |
| 206 | "ServiceUnavailableException":{ |
| 207 | "type":"structure", |
| 208 | "members":{ |
| 209 | "Message":{"shape":"ErrorMessage"} |
| 210 | }, |
| 211 | "exception":true, |
| 212 | "fault":true |
| 213 | }, |
| 214 | "Target":{ |
| 215 | "type":"structure", |
| 216 | "required":["Type"], |
| 217 | "members":{ |
| 218 | "Type":{"shape":"TargetType"}, |
| 219 | "Id":{"shape":"TargetId"} |
| 220 | } |
| 221 | }, |
| 222 | "TargetId":{ |
| 223 | "type":"string", |
| 224 | "max":12, |
| 225 | "min":12, |
| 226 | "pattern":"^\\d{12}$" |
| 227 | }, |
| 228 | "TargetType":{ |
| 229 | "type":"string", |
| 230 | "enum":["ACCOUNT"] |
| 231 | }, |
| 232 | "ThrottlingException":{ |
| 233 | "type":"structure", |
| 234 | "required":["Message"], |
| 235 | "members":{ |
| 236 | "Message":{"shape":"ErrorMessage"}, |
| 237 | "RetryAfterSeconds":{"shape":"RetryAfterSeconds"} |
| 238 | }, |
| 239 | "exception":true |
| 240 | }, |
| 241 | "Token":{ |
| 242 | "type":"string", |
| 243 | "max":2048, |
| 244 | "min":0, |
| 245 | "pattern":"^[a-zA-Z0-9\\/\\+\\=]{0,2048}$" |
| 246 | } |
| 247 | } |
| 248 | } |