github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/detective/2018-10-26/api-2.json (about) 1 { 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2018-10-26", 5 "endpointPrefix":"api.detective", 6 "jsonVersion":"1.1", 7 "protocol":"rest-json", 8 "serviceFullName":"Amazon Detective", 9 "serviceId":"Detective", 10 "signatureVersion":"v4", 11 "signingName":"detective", 12 "uid":"detective-2018-10-26" 13 }, 14 "operations":{ 15 "AcceptInvitation":{ 16 "name":"AcceptInvitation", 17 "http":{ 18 "method":"PUT", 19 "requestUri":"/invitation" 20 }, 21 "input":{"shape":"AcceptInvitationRequest"}, 22 "errors":[ 23 {"shape":"ConflictException"}, 24 {"shape":"InternalServerException"}, 25 {"shape":"ResourceNotFoundException"}, 26 {"shape":"ValidationException"} 27 ] 28 }, 29 "CreateGraph":{ 30 "name":"CreateGraph", 31 "http":{ 32 "method":"POST", 33 "requestUri":"/graph" 34 }, 35 "input":{"shape":"CreateGraphRequest"}, 36 "output":{"shape":"CreateGraphResponse"}, 37 "errors":[ 38 {"shape":"ConflictException"}, 39 {"shape":"InternalServerException"}, 40 {"shape":"ServiceQuotaExceededException"} 41 ] 42 }, 43 "CreateMembers":{ 44 "name":"CreateMembers", 45 "http":{ 46 "method":"POST", 47 "requestUri":"/graph/members" 48 }, 49 "input":{"shape":"CreateMembersRequest"}, 50 "output":{"shape":"CreateMembersResponse"}, 51 "errors":[ 52 {"shape":"InternalServerException"}, 53 {"shape":"ResourceNotFoundException"}, 54 {"shape":"ValidationException"}, 55 {"shape":"ServiceQuotaExceededException"} 56 ] 57 }, 58 "DeleteGraph":{ 59 "name":"DeleteGraph", 60 "http":{ 61 "method":"POST", 62 "requestUri":"/graph/removal" 63 }, 64 "input":{"shape":"DeleteGraphRequest"}, 65 "errors":[ 66 {"shape":"InternalServerException"}, 67 {"shape":"ResourceNotFoundException"}, 68 {"shape":"ValidationException"} 69 ] 70 }, 71 "DeleteMembers":{ 72 "name":"DeleteMembers", 73 "http":{ 74 "method":"POST", 75 "requestUri":"/graph/members/removal" 76 }, 77 "input":{"shape":"DeleteMembersRequest"}, 78 "output":{"shape":"DeleteMembersResponse"}, 79 "errors":[ 80 {"shape":"ConflictException"}, 81 {"shape":"InternalServerException"}, 82 {"shape":"ResourceNotFoundException"}, 83 {"shape":"ValidationException"} 84 ] 85 }, 86 "DisassociateMembership":{ 87 "name":"DisassociateMembership", 88 "http":{ 89 "method":"POST", 90 "requestUri":"/membership/removal" 91 }, 92 "input":{"shape":"DisassociateMembershipRequest"}, 93 "errors":[ 94 {"shape":"ConflictException"}, 95 {"shape":"InternalServerException"}, 96 {"shape":"ResourceNotFoundException"}, 97 {"shape":"ValidationException"} 98 ] 99 }, 100 "GetMembers":{ 101 "name":"GetMembers", 102 "http":{ 103 "method":"POST", 104 "requestUri":"/graph/members/get" 105 }, 106 "input":{"shape":"GetMembersRequest"}, 107 "output":{"shape":"GetMembersResponse"}, 108 "errors":[ 109 {"shape":"InternalServerException"}, 110 {"shape":"ResourceNotFoundException"}, 111 {"shape":"ValidationException"} 112 ] 113 }, 114 "ListGraphs":{ 115 "name":"ListGraphs", 116 "http":{ 117 "method":"POST", 118 "requestUri":"/graphs/list" 119 }, 120 "input":{"shape":"ListGraphsRequest"}, 121 "output":{"shape":"ListGraphsResponse"}, 122 "errors":[ 123 {"shape":"InternalServerException"}, 124 {"shape":"ValidationException"} 125 ] 126 }, 127 "ListInvitations":{ 128 "name":"ListInvitations", 129 "http":{ 130 "method":"POST", 131 "requestUri":"/invitations/list" 132 }, 133 "input":{"shape":"ListInvitationsRequest"}, 134 "output":{"shape":"ListInvitationsResponse"}, 135 "errors":[ 136 {"shape":"InternalServerException"}, 137 {"shape":"ValidationException"} 138 ] 139 }, 140 "ListMembers":{ 141 "name":"ListMembers", 142 "http":{ 143 "method":"POST", 144 "requestUri":"/graph/members/list" 145 }, 146 "input":{"shape":"ListMembersRequest"}, 147 "output":{"shape":"ListMembersResponse"}, 148 "errors":[ 149 {"shape":"InternalServerException"}, 150 {"shape":"ResourceNotFoundException"}, 151 {"shape":"ValidationException"} 152 ] 153 }, 154 "ListTagsForResource":{ 155 "name":"ListTagsForResource", 156 "http":{ 157 "method":"GET", 158 "requestUri":"/tags/{ResourceArn}", 159 "responseCode":200 160 }, 161 "input":{"shape":"ListTagsForResourceRequest"}, 162 "output":{"shape":"ListTagsForResourceResponse"}, 163 "errors":[ 164 {"shape":"InternalServerException"}, 165 {"shape":"ValidationException"}, 166 {"shape":"ResourceNotFoundException"} 167 ] 168 }, 169 "RejectInvitation":{ 170 "name":"RejectInvitation", 171 "http":{ 172 "method":"POST", 173 "requestUri":"/invitation/removal" 174 }, 175 "input":{"shape":"RejectInvitationRequest"}, 176 "errors":[ 177 {"shape":"ConflictException"}, 178 {"shape":"InternalServerException"}, 179 {"shape":"ResourceNotFoundException"}, 180 {"shape":"ValidationException"} 181 ] 182 }, 183 "StartMonitoringMember":{ 184 "name":"StartMonitoringMember", 185 "http":{ 186 "method":"POST", 187 "requestUri":"/graph/member/monitoringstate" 188 }, 189 "input":{"shape":"StartMonitoringMemberRequest"}, 190 "errors":[ 191 {"shape":"ConflictException"}, 192 {"shape":"InternalServerException"}, 193 {"shape":"ResourceNotFoundException"}, 194 {"shape":"ServiceQuotaExceededException"}, 195 {"shape":"ValidationException"} 196 ] 197 }, 198 "TagResource":{ 199 "name":"TagResource", 200 "http":{ 201 "method":"POST", 202 "requestUri":"/tags/{ResourceArn}", 203 "responseCode":204 204 }, 205 "input":{"shape":"TagResourceRequest"}, 206 "output":{"shape":"TagResourceResponse"}, 207 "errors":[ 208 {"shape":"InternalServerException"}, 209 {"shape":"ValidationException"}, 210 {"shape":"ResourceNotFoundException"} 211 ] 212 }, 213 "UntagResource":{ 214 "name":"UntagResource", 215 "http":{ 216 "method":"DELETE", 217 "requestUri":"/tags/{ResourceArn}", 218 "responseCode":204 219 }, 220 "input":{"shape":"UntagResourceRequest"}, 221 "output":{"shape":"UntagResourceResponse"}, 222 "errors":[ 223 {"shape":"InternalServerException"}, 224 {"shape":"ValidationException"}, 225 {"shape":"ResourceNotFoundException"} 226 ] 227 } 228 }, 229 "shapes":{ 230 "AcceptInvitationRequest":{ 231 "type":"structure", 232 "required":["GraphArn"], 233 "members":{ 234 "GraphArn":{"shape":"GraphArn"} 235 } 236 }, 237 "Account":{ 238 "type":"structure", 239 "required":[ 240 "AccountId", 241 "EmailAddress" 242 ], 243 "members":{ 244 "AccountId":{"shape":"AccountId"}, 245 "EmailAddress":{"shape":"EmailAddress"} 246 } 247 }, 248 "AccountId":{ 249 "type":"string", 250 "max":12, 251 "min":12, 252 "pattern":"^[0-9]+$" 253 }, 254 "AccountIdList":{ 255 "type":"list", 256 "member":{"shape":"AccountId"}, 257 "max":50, 258 "min":1 259 }, 260 "AccountList":{ 261 "type":"list", 262 "member":{"shape":"Account"}, 263 "max":50, 264 "min":1 265 }, 266 "Boolean":{"type":"boolean"}, 267 "ByteValue":{"type":"long"}, 268 "ConflictException":{ 269 "type":"structure", 270 "members":{ 271 "Message":{"shape":"ErrorMessage"} 272 }, 273 "error":{"httpStatusCode":409}, 274 "exception":true 275 }, 276 "CreateGraphRequest":{ 277 "type":"structure", 278 "members":{ 279 "Tags":{"shape":"TagMap"} 280 } 281 }, 282 "CreateGraphResponse":{ 283 "type":"structure", 284 "members":{ 285 "GraphArn":{"shape":"GraphArn"} 286 } 287 }, 288 "CreateMembersRequest":{ 289 "type":"structure", 290 "required":[ 291 "GraphArn", 292 "Accounts" 293 ], 294 "members":{ 295 "GraphArn":{"shape":"GraphArn"}, 296 "Message":{"shape":"EmailMessage"}, 297 "DisableEmailNotification":{"shape":"Boolean"}, 298 "Accounts":{"shape":"AccountList"} 299 } 300 }, 301 "CreateMembersResponse":{ 302 "type":"structure", 303 "members":{ 304 "Members":{"shape":"MemberDetailList"}, 305 "UnprocessedAccounts":{"shape":"UnprocessedAccountList"} 306 } 307 }, 308 "DeleteGraphRequest":{ 309 "type":"structure", 310 "required":["GraphArn"], 311 "members":{ 312 "GraphArn":{"shape":"GraphArn"} 313 } 314 }, 315 "DeleteMembersRequest":{ 316 "type":"structure", 317 "required":[ 318 "GraphArn", 319 "AccountIds" 320 ], 321 "members":{ 322 "GraphArn":{"shape":"GraphArn"}, 323 "AccountIds":{"shape":"AccountIdList"} 324 } 325 }, 326 "DeleteMembersResponse":{ 327 "type":"structure", 328 "members":{ 329 "AccountIds":{"shape":"AccountIdList"}, 330 "UnprocessedAccounts":{"shape":"UnprocessedAccountList"} 331 } 332 }, 333 "DisassociateMembershipRequest":{ 334 "type":"structure", 335 "required":["GraphArn"], 336 "members":{ 337 "GraphArn":{"shape":"GraphArn"} 338 } 339 }, 340 "EmailAddress":{ 341 "type":"string", 342 "max":64, 343 "min":1, 344 "pattern":"^.+@.+$" 345 }, 346 "EmailMessage":{ 347 "type":"string", 348 "max":1000, 349 "min":1 350 }, 351 "ErrorMessage":{"type":"string"}, 352 "GetMembersRequest":{ 353 "type":"structure", 354 "required":[ 355 "GraphArn", 356 "AccountIds" 357 ], 358 "members":{ 359 "GraphArn":{"shape":"GraphArn"}, 360 "AccountIds":{"shape":"AccountIdList"} 361 } 362 }, 363 "GetMembersResponse":{ 364 "type":"structure", 365 "members":{ 366 "MemberDetails":{"shape":"MemberDetailList"}, 367 "UnprocessedAccounts":{"shape":"UnprocessedAccountList"} 368 } 369 }, 370 "Graph":{ 371 "type":"structure", 372 "members":{ 373 "Arn":{"shape":"GraphArn"}, 374 "CreatedTime":{"shape":"Timestamp"} 375 } 376 }, 377 "GraphArn":{ 378 "type":"string", 379 "pattern":"^arn:aws[-\\w]{0,10}?:detective:[-\\w]{2,20}?:\\d{12}?:graph:[abcdef\\d]{32}?$" 380 }, 381 "GraphList":{ 382 "type":"list", 383 "member":{"shape":"Graph"} 384 }, 385 "InternalServerException":{ 386 "type":"structure", 387 "members":{ 388 "Message":{"shape":"ErrorMessage"} 389 }, 390 "error":{"httpStatusCode":500}, 391 "exception":true 392 }, 393 "ListGraphsRequest":{ 394 "type":"structure", 395 "members":{ 396 "NextToken":{"shape":"PaginationToken"}, 397 "MaxResults":{"shape":"MemberResultsLimit"} 398 } 399 }, 400 "ListGraphsResponse":{ 401 "type":"structure", 402 "members":{ 403 "GraphList":{"shape":"GraphList"}, 404 "NextToken":{"shape":"PaginationToken"} 405 } 406 }, 407 "ListInvitationsRequest":{ 408 "type":"structure", 409 "members":{ 410 "NextToken":{"shape":"PaginationToken"}, 411 "MaxResults":{"shape":"MemberResultsLimit"} 412 } 413 }, 414 "ListInvitationsResponse":{ 415 "type":"structure", 416 "members":{ 417 "Invitations":{"shape":"MemberDetailList"}, 418 "NextToken":{"shape":"PaginationToken"} 419 } 420 }, 421 "ListMembersRequest":{ 422 "type":"structure", 423 "required":["GraphArn"], 424 "members":{ 425 "GraphArn":{"shape":"GraphArn"}, 426 "NextToken":{"shape":"PaginationToken"}, 427 "MaxResults":{"shape":"MemberResultsLimit"} 428 } 429 }, 430 "ListMembersResponse":{ 431 "type":"structure", 432 "members":{ 433 "MemberDetails":{"shape":"MemberDetailList"}, 434 "NextToken":{"shape":"PaginationToken"} 435 } 436 }, 437 "ListTagsForResourceRequest":{ 438 "type":"structure", 439 "required":["ResourceArn"], 440 "members":{ 441 "ResourceArn":{ 442 "shape":"GraphArn", 443 "location":"uri", 444 "locationName":"ResourceArn" 445 } 446 } 447 }, 448 "ListTagsForResourceResponse":{ 449 "type":"structure", 450 "members":{ 451 "Tags":{"shape":"TagMap"} 452 } 453 }, 454 "MemberDetail":{ 455 "type":"structure", 456 "members":{ 457 "AccountId":{"shape":"AccountId"}, 458 "EmailAddress":{"shape":"EmailAddress"}, 459 "GraphArn":{"shape":"GraphArn"}, 460 "MasterId":{ 461 "shape":"AccountId", 462 "deprecated":true, 463 "deprecatedMessage":"This property is deprecated. Use AdministratorId instead." 464 }, 465 "AdministratorId":{"shape":"AccountId"}, 466 "Status":{"shape":"MemberStatus"}, 467 "DisabledReason":{"shape":"MemberDisabledReason"}, 468 "InvitedTime":{"shape":"Timestamp"}, 469 "UpdatedTime":{"shape":"Timestamp"}, 470 "VolumeUsageInBytes":{"shape":"ByteValue"}, 471 "VolumeUsageUpdatedTime":{"shape":"Timestamp"}, 472 "PercentOfGraphUtilization":{ 473 "shape":"Percentage", 474 "deprecated":true, 475 "deprecatedMessage":"This property is deprecated. Use VolumeUsageInBytes instead." 476 }, 477 "PercentOfGraphUtilizationUpdatedTime":{ 478 "shape":"Timestamp", 479 "deprecated":true, 480 "deprecatedMessage":"This property is deprecated. Use VolumeUsageUpdatedTime instead." 481 } 482 } 483 }, 484 "MemberDetailList":{ 485 "type":"list", 486 "member":{"shape":"MemberDetail"} 487 }, 488 "MemberDisabledReason":{ 489 "type":"string", 490 "enum":[ 491 "VOLUME_TOO_HIGH", 492 "VOLUME_UNKNOWN" 493 ] 494 }, 495 "MemberResultsLimit":{ 496 "type":"integer", 497 "box":true, 498 "max":200, 499 "min":1 500 }, 501 "MemberStatus":{ 502 "type":"string", 503 "enum":[ 504 "INVITED", 505 "VERIFICATION_IN_PROGRESS", 506 "VERIFICATION_FAILED", 507 "ENABLED", 508 "ACCEPTED_BUT_DISABLED" 509 ] 510 }, 511 "PaginationToken":{ 512 "type":"string", 513 "max":1024, 514 "min":1 515 }, 516 "Percentage":{"type":"double"}, 517 "RejectInvitationRequest":{ 518 "type":"structure", 519 "required":["GraphArn"], 520 "members":{ 521 "GraphArn":{"shape":"GraphArn"} 522 } 523 }, 524 "ResourceNotFoundException":{ 525 "type":"structure", 526 "members":{ 527 "Message":{"shape":"ErrorMessage"} 528 }, 529 "error":{"httpStatusCode":404}, 530 "exception":true 531 }, 532 "ServiceQuotaExceededException":{ 533 "type":"structure", 534 "members":{ 535 "Message":{"shape":"ErrorMessage"} 536 }, 537 "error":{"httpStatusCode":402}, 538 "exception":true 539 }, 540 "StartMonitoringMemberRequest":{ 541 "type":"structure", 542 "required":[ 543 "GraphArn", 544 "AccountId" 545 ], 546 "members":{ 547 "GraphArn":{"shape":"GraphArn"}, 548 "AccountId":{"shape":"AccountId"} 549 } 550 }, 551 "TagKey":{ 552 "type":"string", 553 "max":128, 554 "min":1, 555 "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$" 556 }, 557 "TagKeyList":{ 558 "type":"list", 559 "member":{"shape":"TagKey"}, 560 "max":50, 561 "min":1 562 }, 563 "TagMap":{ 564 "type":"map", 565 "key":{"shape":"TagKey"}, 566 "value":{"shape":"TagValue"}, 567 "max":50, 568 "min":1 569 }, 570 "TagResourceRequest":{ 571 "type":"structure", 572 "required":[ 573 "ResourceArn", 574 "Tags" 575 ], 576 "members":{ 577 "ResourceArn":{ 578 "shape":"GraphArn", 579 "location":"uri", 580 "locationName":"ResourceArn" 581 }, 582 "Tags":{"shape":"TagMap"} 583 } 584 }, 585 "TagResourceResponse":{ 586 "type":"structure", 587 "members":{ 588 } 589 }, 590 "TagValue":{ 591 "type":"string", 592 "max":256 593 }, 594 "Timestamp":{ 595 "type":"timestamp", 596 "timestampFormat":"iso8601" 597 }, 598 "UnprocessedAccount":{ 599 "type":"structure", 600 "members":{ 601 "AccountId":{"shape":"AccountId"}, 602 "Reason":{"shape":"UnprocessedReason"} 603 } 604 }, 605 "UnprocessedAccountList":{ 606 "type":"list", 607 "member":{"shape":"UnprocessedAccount"} 608 }, 609 "UnprocessedReason":{"type":"string"}, 610 "UntagResourceRequest":{ 611 "type":"structure", 612 "required":[ 613 "ResourceArn", 614 "TagKeys" 615 ], 616 "members":{ 617 "ResourceArn":{ 618 "shape":"GraphArn", 619 "location":"uri", 620 "locationName":"ResourceArn" 621 }, 622 "TagKeys":{ 623 "shape":"TagKeyList", 624 "location":"querystring", 625 "locationName":"tagKeys" 626 } 627 } 628 }, 629 "UntagResourceResponse":{ 630 "type":"structure", 631 "members":{ 632 } 633 }, 634 "ValidationException":{ 635 "type":"structure", 636 "members":{ 637 "Message":{"shape":"ErrorMessage"} 638 }, 639 "error":{"httpStatusCode":400}, 640 "exception":true 641 } 642 } 643 }