Debian Codegraph @

models/apis/detective/2018-10-26/api-2.json

raw
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":"AccessDeniedException"},
24 {"shape":"ConflictException"},
25 {"shape":"InternalServerException"},
26 {"shape":"ResourceNotFoundException"},
27 {"shape":"ValidationException"}
28 ]
29 },
30 "BatchGetGraphMemberDatasources":{
31 "name":"BatchGetGraphMemberDatasources",
32 "http":{
33 "method":"POST",
34 "requestUri":"/graph/datasources/get"
35 },
36 "input":{"shape":"BatchGetGraphMemberDatasourcesRequest"},
37 "output":{"shape":"BatchGetGraphMemberDatasourcesResponse"},
38 "errors":[
39 {"shape":"AccessDeniedException"},
40 {"shape":"InternalServerException"},
41 {"shape":"ResourceNotFoundException"},
42 {"shape":"ValidationException"}
43 ]
44 },
45 "BatchGetMembershipDatasources":{
46 "name":"BatchGetMembershipDatasources",
47 "http":{
48 "method":"POST",
49 "requestUri":"/membership/datasources/get"
50 },
51 "input":{"shape":"BatchGetMembershipDatasourcesRequest"},
52 "output":{"shape":"BatchGetMembershipDatasourcesResponse"},
53 "errors":[
54 {"shape":"AccessDeniedException"},
55 {"shape":"InternalServerException"},
56 {"shape":"ResourceNotFoundException"},
57 {"shape":"ValidationException"}
58 ]
59 },
60 "CreateGraph":{
61 "name":"CreateGraph",
62 "http":{
63 "method":"POST",
64 "requestUri":"/graph"
65 },
66 "input":{"shape":"CreateGraphRequest"},
67 "output":{"shape":"CreateGraphResponse"},
68 "errors":[
69 {"shape":"AccessDeniedException"},
70 {"shape":"ConflictException"},
71 {"shape":"InternalServerException"},
72 {"shape":"ServiceQuotaExceededException"}
73 ]
74 },
75 "CreateMembers":{
76 "name":"CreateMembers",
77 "http":{
78 "method":"POST",
79 "requestUri":"/graph/members"
80 },
81 "input":{"shape":"CreateMembersRequest"},
82 "output":{"shape":"CreateMembersResponse"},
83 "errors":[
84 {"shape":"AccessDeniedException"},
85 {"shape":"InternalServerException"},
86 {"shape":"ResourceNotFoundException"},
87 {"shape":"ValidationException"},
88 {"shape":"ServiceQuotaExceededException"}
89 ]
90 },
91 "DeleteGraph":{
92 "name":"DeleteGraph",
93 "http":{
94 "method":"POST",
95 "requestUri":"/graph/removal"
96 },
97 "input":{"shape":"DeleteGraphRequest"},
98 "errors":[
99 {"shape":"AccessDeniedException"},
100 {"shape":"InternalServerException"},
101 {"shape":"ResourceNotFoundException"},
102 {"shape":"ValidationException"}
103 ]
104 },
105 "DeleteMembers":{
106 "name":"DeleteMembers",
107 "http":{
108 "method":"POST",
109 "requestUri":"/graph/members/removal"
110 },
111 "input":{"shape":"DeleteMembersRequest"},
112 "output":{"shape":"DeleteMembersResponse"},
113 "errors":[
114 {"shape":"AccessDeniedException"},
115 {"shape":"ConflictException"},
116 {"shape":"InternalServerException"},
117 {"shape":"ResourceNotFoundException"},
118 {"shape":"ValidationException"}
119 ]
120 },
121 "DescribeOrganizationConfiguration":{
122 "name":"DescribeOrganizationConfiguration",
123 "http":{
124 "method":"POST",
125 "requestUri":"/orgs/describeOrganizationConfiguration"
126 },
127 "input":{"shape":"DescribeOrganizationConfigurationRequest"},
128 "output":{"shape":"DescribeOrganizationConfigurationResponse"},
129 "errors":[
130 {"shape":"AccessDeniedException"},
131 {"shape":"InternalServerException"},
132 {"shape":"ValidationException"},
133 {"shape":"TooManyRequestsException"}
134 ]
135 },
136 "DisableOrganizationAdminAccount":{
137 "name":"DisableOrganizationAdminAccount",
138 "http":{
139 "method":"POST",
140 "requestUri":"/orgs/disableAdminAccount"
141 },
142 "errors":[
143 {"shape":"AccessDeniedException"},
144 {"shape":"InternalServerException"},
145 {"shape":"ValidationException"},
146 {"shape":"TooManyRequestsException"}
147 ]
148 },
149 "DisassociateMembership":{
150 "name":"DisassociateMembership",
151 "http":{
152 "method":"POST",
153 "requestUri":"/membership/removal"
154 },
155 "input":{"shape":"DisassociateMembershipRequest"},
156 "errors":[
157 {"shape":"AccessDeniedException"},
158 {"shape":"ConflictException"},
159 {"shape":"InternalServerException"},
160 {"shape":"ResourceNotFoundException"},
161 {"shape":"ValidationException"}
162 ]
163 },
164 "EnableOrganizationAdminAccount":{
165 "name":"EnableOrganizationAdminAccount",
166 "http":{
167 "method":"POST",
168 "requestUri":"/orgs/enableAdminAccount"
169 },
170 "input":{"shape":"EnableOrganizationAdminAccountRequest"},
171 "errors":[
172 {"shape":"AccessDeniedException"},
173 {"shape":"InternalServerException"},
174 {"shape":"ValidationException"},
175 {"shape":"TooManyRequestsException"}
176 ]
177 },
178 "GetInvestigation":{
179 "name":"GetInvestigation",
180 "http":{
181 "method":"POST",
182 "requestUri":"/investigations/getInvestigation"
183 },
184 "input":{"shape":"GetInvestigationRequest"},
185 "output":{"shape":"GetInvestigationResponse"},
186 "errors":[
187 {"shape":"AccessDeniedException"},
188 {"shape":"InternalServerException"},
189 {"shape":"ValidationException"},
190 {"shape":"ResourceNotFoundException"},
191 {"shape":"TooManyRequestsException"}
192 ]
193 },
194 "GetMembers":{
195 "name":"GetMembers",
196 "http":{
197 "method":"POST",
198 "requestUri":"/graph/members/get"
199 },
200 "input":{"shape":"GetMembersRequest"},
201 "output":{"shape":"GetMembersResponse"},
202 "errors":[
203 {"shape":"AccessDeniedException"},
204 {"shape":"InternalServerException"},
205 {"shape":"ResourceNotFoundException"},
206 {"shape":"ValidationException"}
207 ]
208 },
209 "ListDatasourcePackages":{
210 "name":"ListDatasourcePackages",
211 "http":{
212 "method":"POST",
213 "requestUri":"/graph/datasources/list"
214 },
215 "input":{"shape":"ListDatasourcePackagesRequest"},
216 "output":{"shape":"ListDatasourcePackagesResponse"},
217 "errors":[
218 {"shape":"AccessDeniedException"},
219 {"shape":"InternalServerException"},
220 {"shape":"ResourceNotFoundException"},
221 {"shape":"ValidationException"}
222 ]
223 },
224 "ListGraphs":{
225 "name":"ListGraphs",
226 "http":{
227 "method":"POST",
228 "requestUri":"/graphs/list"
229 },
230 "input":{"shape":"ListGraphsRequest"},
231 "output":{"shape":"ListGraphsResponse"},
232 "errors":[
233 {"shape":"AccessDeniedException"},
234 {"shape":"InternalServerException"},
235 {"shape":"ValidationException"}
236 ]
237 },
238 "ListIndicators":{
239 "name":"ListIndicators",
240 "http":{
241 "method":"POST",
242 "requestUri":"/investigations/listIndicators"
243 },
244 "input":{"shape":"ListIndicatorsRequest"},
245 "output":{"shape":"ListIndicatorsResponse"},
246 "errors":[
247 {"shape":"AccessDeniedException"},
248 {"shape":"InternalServerException"},
249 {"shape":"ValidationException"},
250 {"shape":"ResourceNotFoundException"},
251 {"shape":"TooManyRequestsException"}
252 ]
253 },
254 "ListInvestigations":{
255 "name":"ListInvestigations",
256 "http":{
257 "method":"POST",
258 "requestUri":"/investigations/listInvestigations"
259 },
260 "input":{"shape":"ListInvestigationsRequest"},
261 "output":{"shape":"ListInvestigationsResponse"},
262 "errors":[
263 {"shape":"AccessDeniedException"},
264 {"shape":"InternalServerException"},
265 {"shape":"ValidationException"},
266 {"shape":"ResourceNotFoundException"},
267 {"shape":"TooManyRequestsException"}
268 ]
269 },
270 "ListInvitations":{
271 "name":"ListInvitations",
272 "http":{
273 "method":"POST",
274 "requestUri":"/invitations/list"
275 },
276 "input":{"shape":"ListInvitationsRequest"},
277 "output":{"shape":"ListInvitationsResponse"},
278 "errors":[
279 {"shape":"AccessDeniedException"},
280 {"shape":"InternalServerException"},
281 {"shape":"ValidationException"}
282 ]
283 },
284 "ListMembers":{
285 "name":"ListMembers",
286 "http":{
287 "method":"POST",
288 "requestUri":"/graph/members/list"
289 },
290 "input":{"shape":"ListMembersRequest"},
291 "output":{"shape":"ListMembersResponse"},
292 "errors":[
293 {"shape":"AccessDeniedException"},
294 {"shape":"InternalServerException"},
295 {"shape":"ResourceNotFoundException"},
296 {"shape":"ValidationException"}
297 ]
298 },
299 "ListOrganizationAdminAccounts":{
300 "name":"ListOrganizationAdminAccounts",
301 "http":{
302 "method":"POST",
303 "requestUri":"/orgs/adminAccountslist"
304 },
305 "input":{"shape":"ListOrganizationAdminAccountsRequest"},
306 "output":{"shape":"ListOrganizationAdminAccountsResponse"},
307 "errors":[
308 {"shape":"AccessDeniedException"},
309 {"shape":"InternalServerException"},
310 {"shape":"ValidationException"},
311 {"shape":"TooManyRequestsException"}
312 ]
313 },
314 "ListTagsForResource":{
315 "name":"ListTagsForResource",
316 "http":{
317 "method":"GET",
318 "requestUri":"/tags/{ResourceArn}",
319 "responseCode":200
320 },
321 "input":{"shape":"ListTagsForResourceRequest"},
322 "output":{"shape":"ListTagsForResourceResponse"},
323 "errors":[
324 {"shape":"AccessDeniedException"},
325 {"shape":"InternalServerException"},
326 {"shape":"ValidationException"},
327 {"shape":"ResourceNotFoundException"}
328 ]
329 },
330 "RejectInvitation":{
331 "name":"RejectInvitation",
332 "http":{
333 "method":"POST",
334 "requestUri":"/invitation/removal"
335 },
336 "input":{"shape":"RejectInvitationRequest"},
337 "errors":[
338 {"shape":"AccessDeniedException"},
339 {"shape":"ConflictException"},
340 {"shape":"InternalServerException"},
341 {"shape":"ResourceNotFoundException"},
342 {"shape":"ValidationException"}
343 ]
344 },
345 "StartInvestigation":{
346 "name":"StartInvestigation",
347 "http":{
348 "method":"POST",
349 "requestUri":"/investigations/startInvestigation"
350 },
351 "input":{"shape":"StartInvestigationRequest"},
352 "output":{"shape":"StartInvestigationResponse"},
353 "errors":[
354 {"shape":"AccessDeniedException"},
355 {"shape":"InternalServerException"},
356 {"shape":"ValidationException"},
357 {"shape":"TooManyRequestsException"},
358 {"shape":"ResourceNotFoundException"}
359 ]
360 },
361 "StartMonitoringMember":{
362 "name":"StartMonitoringMember",
363 "http":{
364 "method":"POST",
365 "requestUri":"/graph/member/monitoringstate"
366 },
367 "input":{"shape":"StartMonitoringMemberRequest"},
368 "errors":[
369 {"shape":"AccessDeniedException"},
370 {"shape":"ConflictException"},
371 {"shape":"InternalServerException"},
372 {"shape":"ResourceNotFoundException"},
373 {"shape":"ServiceQuotaExceededException"},
374 {"shape":"ValidationException"}
375 ]
376 },
377 "TagResource":{
378 "name":"TagResource",
379 "http":{
380 "method":"POST",
381 "requestUri":"/tags/{ResourceArn}",
382 "responseCode":204
383 },
384 "input":{"shape":"TagResourceRequest"},
385 "output":{"shape":"TagResourceResponse"},
386 "errors":[
387 {"shape":"AccessDeniedException"},
388 {"shape":"InternalServerException"},
389 {"shape":"ValidationException"},
390 {"shape":"ResourceNotFoundException"}
391 ]
392 },
393 "UntagResource":{
394 "name":"UntagResource",
395 "http":{
396 "method":"DELETE",
397 "requestUri":"/tags/{ResourceArn}",
398 "responseCode":204
399 },
400 "input":{"shape":"UntagResourceRequest"},
401 "output":{"shape":"UntagResourceResponse"},
402 "errors":[
403 {"shape":"AccessDeniedException"},
404 {"shape":"InternalServerException"},
405 {"shape":"ValidationException"},
406 {"shape":"ResourceNotFoundException"}
407 ]
408 },
409 "UpdateDatasourcePackages":{
410 "name":"UpdateDatasourcePackages",
411 "http":{
412 "method":"POST",
413 "requestUri":"/graph/datasources/update"
414 },
415 "input":{"shape":"UpdateDatasourcePackagesRequest"},
416 "errors":[
417 {"shape":"AccessDeniedException"},
418 {"shape":"InternalServerException"},
419 {"shape":"ResourceNotFoundException"},
420 {"shape":"ServiceQuotaExceededException"},
421 {"shape":"ValidationException"}
422 ]
423 },
424 "UpdateInvestigationState":{
425 "name":"UpdateInvestigationState",
426 "http":{
427 "method":"POST",
428 "requestUri":"/investigations/updateInvestigationState"
429 },
430 "input":{"shape":"UpdateInvestigationStateRequest"},
431 "errors":[
432 {"shape":"AccessDeniedException"},
433 {"shape":"InternalServerException"},
434 {"shape":"ValidationException"},
435 {"shape":"ResourceNotFoundException"},
436 {"shape":"TooManyRequestsException"}
437 ]
438 },
439 "UpdateOrganizationConfiguration":{
440 "name":"UpdateOrganizationConfiguration",
441 "http":{
442 "method":"POST",
443 "requestUri":"/orgs/updateOrganizationConfiguration"
444 },
445 "input":{"shape":"UpdateOrganizationConfigurationRequest"},
446 "errors":[
447 {"shape":"AccessDeniedException"},
448 {"shape":"InternalServerException"},
449 {"shape":"ValidationException"},
450 {"shape":"TooManyRequestsException"}
451 ]
452 }
453 },
454 "shapes":{
455 "APIFailureCount":{"type":"long"},
456 "APIName":{"type":"string"},
457 "APISuccessCount":{"type":"long"},
458 "AcceptInvitationRequest":{
459 "type":"structure",
460 "required":["GraphArn"],
461 "members":{
462 "GraphArn":{"shape":"GraphArn"}
463 }
464 },
465 "AccessDeniedException":{
466 "type":"structure",
467 "members":{
468 "Message":{"shape":"ErrorMessage"},
469 "ErrorCode":{"shape":"ErrorCode"},
470 "ErrorCodeReason":{"shape":"ErrorCodeReason"},
471 "SubErrorCode":{"shape":"ErrorCode"},
472 "SubErrorCodeReason":{"shape":"ErrorCodeReason"}
473 },
474 "error":{"httpStatusCode":403},
475 "exception":true
476 },
477 "Account":{
478 "type":"structure",
479 "required":[
480 "AccountId",
481 "EmailAddress"
482 ],
483 "members":{
484 "AccountId":{"shape":"AccountId"},
485 "EmailAddress":{"shape":"EmailAddress"}
486 }
487 },
488 "AccountId":{
489 "type":"string",
490 "max":12,
491 "min":12,
492 "pattern":"^[0-9]+$"
493 },
494 "AccountIdExtendedList":{
495 "type":"list",
496 "member":{"shape":"AccountId"},
497 "max":200,
498 "min":1
499 },
500 "AccountIdList":{
501 "type":"list",
502 "member":{"shape":"AccountId"},
503 "max":50,
504 "min":1
505 },
506 "AccountList":{
507 "type":"list",
508 "member":{"shape":"Account"},
509 "max":50,
510 "min":1
511 },
512 "Administrator":{
513 "type":"structure",
514 "members":{
515 "AccountId":{"shape":"AccountId"},
516 "GraphArn":{"shape":"GraphArn"},
517 "DelegationTime":{"shape":"Timestamp"}
518 }
519 },
520 "AdministratorList":{
521 "type":"list",
522 "member":{"shape":"Administrator"}
523 },
524 "AiPaginationToken":{
525 "type":"string",
526 "max":2048,
527 "min":1
528 },
529 "Aso":{"type":"string"},
530 "BatchGetGraphMemberDatasourcesRequest":{
531 "type":"structure",
532 "required":[
533 "GraphArn",
534 "AccountIds"
535 ],
536 "members":{
537 "GraphArn":{"shape":"GraphArn"},
538 "AccountIds":{"shape":"AccountIdExtendedList"}
539 }
540 },
541 "BatchGetGraphMemberDatasourcesResponse":{
542 "type":"structure",
543 "members":{
544 "MemberDatasources":{"shape":"MembershipDatasourcesList"},
545 "UnprocessedAccounts":{"shape":"UnprocessedAccountList"}
546 }
547 },
548 "BatchGetMembershipDatasourcesRequest":{
549 "type":"structure",
550 "required":["GraphArns"],
551 "members":{
552 "GraphArns":{"shape":"GraphArnList"}
553 }
554 },
555 "BatchGetMembershipDatasourcesResponse":{
556 "type":"structure",
557 "members":{
558 "MembershipDatasources":{"shape":"MembershipDatasourcesList"},
559 "UnprocessedGraphs":{"shape":"UnprocessedGraphList"}
560 }
561 },
562 "Boolean":{"type":"boolean"},
563 "ByteValue":{"type":"long"},
564 "ConflictException":{
565 "type":"structure",
566 "members":{
567 "Message":{"shape":"ErrorMessage"}
568 },
569 "error":{"httpStatusCode":409},
570 "exception":true
571 },
572 "CreateGraphRequest":{
573 "type":"structure",
574 "members":{
575 "Tags":{"shape":"TagMap"}
576 }
577 },
578 "CreateGraphResponse":{
579 "type":"structure",
580 "members":{
581 "GraphArn":{"shape":"GraphArn"}
582 }
583 },
584 "CreateMembersRequest":{
585 "type":"structure",
586 "required":[
587 "GraphArn",
588 "Accounts"
589 ],
590 "members":{
591 "GraphArn":{"shape":"GraphArn"},
592 "Message":{"shape":"EmailMessage"},
593 "DisableEmailNotification":{"shape":"Boolean"},
594 "Accounts":{"shape":"AccountList"}
595 }
596 },
597 "CreateMembersResponse":{
598 "type":"structure",
599 "members":{
600 "Members":{"shape":"MemberDetailList"},
601 "UnprocessedAccounts":{"shape":"UnprocessedAccountList"}
602 }
603 },
604 "DatasourcePackage":{
605 "type":"string",
606 "enum":[
607 "DETECTIVE_CORE",
608 "EKS_AUDIT",
609 "ASFF_SECURITYHUB_FINDING"
610 ]
611 },
612 "DatasourcePackageIngestDetail":{
613 "type":"structure",
614 "members":{
615 "DatasourcePackageIngestState":{"shape":"DatasourcePackageIngestState"},
616 "LastIngestStateChange":{"shape":"LastIngestStateChangeDates"}
617 }
618 },
619 "DatasourcePackageIngestDetails":{
620 "type":"map",
621 "key":{"shape":"DatasourcePackage"},
622 "value":{"shape":"DatasourcePackageIngestDetail"}
623 },
624 "DatasourcePackageIngestHistory":{
625 "type":"map",
626 "key":{"shape":"DatasourcePackage"},
627 "value":{"shape":"LastIngestStateChangeDates"}
628 },
629 "DatasourcePackageIngestState":{
630 "type":"string",
631 "enum":[
632 "STARTED",
633 "STOPPED",
634 "DISABLED"
635 ]
636 },
637 "DatasourcePackageIngestStates":{
638 "type":"map",
639 "key":{"shape":"DatasourcePackage"},
640 "value":{"shape":"DatasourcePackageIngestState"}
641 },
642 "DatasourcePackageList":{
643 "type":"list",
644 "member":{"shape":"DatasourcePackage"},
645 "max":25,
646 "min":1
647 },
648 "DatasourcePackageUsageInfo":{
649 "type":"structure",
650 "members":{
651 "VolumeUsageInBytes":{"shape":"ByteValue"},
652 "VolumeUsageUpdateTime":{"shape":"Timestamp"}
653 }
654 },
655 "DateFilter":{
656 "type":"structure",
657 "required":[
658 "StartInclusive",
659 "EndInclusive"
660 ],
661 "members":{
662 "StartInclusive":{"shape":"Timestamp"},
663 "EndInclusive":{"shape":"Timestamp"}
664 }
665 },
666 "DeleteGraphRequest":{
667 "type":"structure",
668 "required":["GraphArn"],
669 "members":{
670 "GraphArn":{"shape":"GraphArn"}
671 }
672 },
673 "DeleteMembersRequest":{
674 "type":"structure",
675 "required":[
676 "GraphArn",
677 "AccountIds"
678 ],
679 "members":{
680 "GraphArn":{"shape":"GraphArn"},
681 "AccountIds":{"shape":"AccountIdList"}
682 }
683 },
684 "DeleteMembersResponse":{
685 "type":"structure",
686 "members":{
687 "AccountIds":{"shape":"AccountIdList"},
688 "UnprocessedAccounts":{"shape":"UnprocessedAccountList"}
689 }
690 },
691 "DescribeOrganizationConfigurationRequest":{
692 "type":"structure",
693 "required":["GraphArn"],
694 "members":{
695 "GraphArn":{"shape":"GraphArn"}
696 }
697 },
698 "DescribeOrganizationConfigurationResponse":{
699 "type":"structure",
700 "members":{
701 "AutoEnable":{"shape":"Boolean"}
702 }
703 },
704 "DisassociateMembershipRequest":{
705 "type":"structure",
706 "required":["GraphArn"],
707 "members":{
708 "GraphArn":{"shape":"GraphArn"}
709 }
710 },
711 "EmailAddress":{
712 "type":"string",
713 "max":64,
714 "min":1,
715 "pattern":"^.+@(?:(?:(?!-)[A-Za-z0-9-]{1,62})?[A-Za-z0-9]{1}\\.)+[A-Za-z]{2,63}$",
716 "sensitive":true
717 },
718 "EmailMessage":{
719 "type":"string",
720 "max":1000,
721 "min":1,
722 "sensitive":true
723 },
724 "EnableOrganizationAdminAccountRequest":{
725 "type":"structure",
726 "required":["AccountId"],
727 "members":{
728 "AccountId":{"shape":"AccountId"}
729 }
730 },
731 "EntityArn":{
732 "type":"string",
733 "pattern":"^arn:.*"
734 },
735 "EntityType":{
736 "type":"string",
737 "enum":[
738 "IAM_ROLE",
739 "IAM_USER"
740 ]
741 },
742 "ErrorCode":{
743 "type":"string",
744 "enum":[
745 "INVALID_GRAPH_ARN",
746 "INVALID_REQUEST_BODY",
747 "INTERNAL_ERROR"
748 ]
749 },
750 "ErrorCodeReason":{"type":"string"},
751 "ErrorMessage":{"type":"string"},
752 "Field":{
753 "type":"string",
754 "enum":[
755 "SEVERITY",
756 "STATUS",
757 "CREATED_TIME"
758 ]
759 },
760 "FilterCriteria":{
761 "type":"structure",
762 "members":{
763 "Severity":{"shape":"StringFilter"},
764 "Status":{"shape":"StringFilter"},
765 "State":{"shape":"StringFilter"},
766 "EntityArn":{"shape":"StringFilter"},
767 "CreatedTime":{"shape":"DateFilter"}
768 }
769 },
770 "FlaggedIpAddressDetail":{
771 "type":"structure",
772 "members":{
773 "IpAddress":{"shape":"IpAddress"},
774 "Reason":{"shape":"Reason"}
775 }
776 },
777 "GetInvestigationRequest":{
778 "type":"structure",
779 "required":[
780 "GraphArn",
781 "InvestigationId"
782 ],
783 "members":{
784 "GraphArn":{"shape":"GraphArn"},
785 "InvestigationId":{"shape":"InvestigationId"}
786 }
787 },
788 "GetInvestigationResponse":{
789 "type":"structure",
790 "members":{
791 "GraphArn":{"shape":"GraphArn"},
792 "InvestigationId":{"shape":"InvestigationId"},
793 "EntityArn":{"shape":"EntityArn"},
794 "EntityType":{"shape":"EntityType"},
795 "CreatedTime":{"shape":"Timestamp"},
796 "ScopeStartTime":{"shape":"Timestamp"},
797 "ScopeEndTime":{"shape":"Timestamp"},
798 "Status":{"shape":"Status"},
799 "Severity":{"shape":"Severity"},
800 "State":{"shape":"State"}
801 }
802 },
803 "GetMembersRequest":{
804 "type":"structure",
805 "required":[
806 "GraphArn",
807 "AccountIds"
808 ],
809 "members":{
810 "GraphArn":{"shape":"GraphArn"},
811 "AccountIds":{"shape":"AccountIdList"}
812 }
813 },
814 "GetMembersResponse":{
815 "type":"structure",
816 "members":{
817 "MemberDetails":{"shape":"MemberDetailList"},
818 "UnprocessedAccounts":{"shape":"UnprocessedAccountList"}
819 }
820 },
821 "Graph":{
822 "type":"structure",
823 "members":{
824 "Arn":{"shape":"GraphArn"},
825 "CreatedTime":{"shape":"Timestamp"}
826 }
827 },
828 "GraphArn":{
829 "type":"string",
830 "pattern":"^arn:aws[-\\w]{0,10}?:detective:[-\\w]{2,20}?:\\d{12}?:graph:[abcdef\\d]{32}?$"
831 },
832 "GraphArnList":{
833 "type":"list",
834 "member":{"shape":"GraphArn"},
835 "max":50,
836 "min":1
837 },
838 "GraphList":{
839 "type":"list",
840 "member":{"shape":"Graph"}
841 },
842 "HourlyTimeDelta":{
843 "type":"integer",
844 "box":true
845 },
846 "Id":{"type":"string"},
847 "ImpossibleTravelDetail":{
848 "type":"structure",
849 "members":{
850 "StartingIpAddress":{"shape":"IpAddress"},
851 "EndingIpAddress":{"shape":"IpAddress"},
852 "StartingLocation":{"shape":"Location"},
853 "EndingLocation":{"shape":"Location"},
854 "HourlyTimeDelta":{"shape":"HourlyTimeDelta"}
855 }
856 },
857 "Indicator":{
858 "type":"structure",
859 "members":{
860 "IndicatorType":{"shape":"IndicatorType"},
861 "IndicatorDetail":{"shape":"IndicatorDetail"}
862 }
863 },
864 "IndicatorDetail":{
865 "type":"structure",
866 "members":{
867 "TTPsObservedDetail":{"shape":"TTPsObservedDetail"},
868 "ImpossibleTravelDetail":{"shape":"ImpossibleTravelDetail"},
869 "FlaggedIpAddressDetail":{"shape":"FlaggedIpAddressDetail"},
870 "NewGeolocationDetail":{"shape":"NewGeolocationDetail"},
871 "NewAsoDetail":{"shape":"NewAsoDetail"},
872 "NewUserAgentDetail":{"shape":"NewUserAgentDetail"},
873 "RelatedFindingDetail":{"shape":"RelatedFindingDetail"},
874 "RelatedFindingGroupDetail":{"shape":"RelatedFindingGroupDetail"}
875 }
876 },
877 "IndicatorType":{
878 "type":"string",
879 "enum":[
880 "TTP_OBSERVED",
881 "IMPOSSIBLE_TRAVEL",
882 "FLAGGED_IP_ADDRESS",
883 "NEW_GEOLOCATION",
884 "NEW_ASO",
885 "NEW_USER_AGENT",
886 "RELATED_FINDING",
887 "RELATED_FINDING_GROUP"
888 ]
889 },
890 "Indicators":{
891 "type":"list",
892 "member":{"shape":"Indicator"}
893 },
894 "InternalServerException":{
895 "type":"structure",
896 "members":{
897 "Message":{"shape":"ErrorMessage"}
898 },
899 "error":{"httpStatusCode":500},
900 "exception":true
901 },
902 "InvestigationDetail":{
903 "type":"structure",
904 "members":{
905 "InvestigationId":{"shape":"InvestigationId"},
906 "Severity":{"shape":"Severity"},
907 "Status":{"shape":"Status"},
908 "State":{"shape":"State"},
909 "CreatedTime":{"shape":"Timestamp"},
910 "EntityArn":{"shape":"EntityArn"},
911 "EntityType":{"shape":"EntityType"}
912 }
913 },
914 "InvestigationDetails":{
915 "type":"list",
916 "member":{"shape":"InvestigationDetail"}
917 },
918 "InvestigationId":{
919 "type":"string",
920 "max":21,
921 "min":21,
922 "pattern":"^[0-9]+$"
923 },
924 "InvitationType":{
925 "type":"string",
926 "enum":[
927 "INVITATION",
928 "ORGANIZATION"
929 ]
930 },
931 "IpAddress":{"type":"string"},
932 "IsNewForEntireAccount":{"type":"boolean"},
933 "LastIngestStateChangeDates":{
934 "type":"map",
935 "key":{"shape":"DatasourcePackageIngestState"},
936 "value":{"shape":"TimestampForCollection"}
937 },
938 "ListDatasourcePackagesRequest":{
939 "type":"structure",
940 "required":["GraphArn"],
941 "members":{
942 "GraphArn":{"shape":"GraphArn"},
943 "NextToken":{"shape":"PaginationToken"},
944 "MaxResults":{"shape":"MemberResultsLimit"}
945 }
946 },
947 "ListDatasourcePackagesResponse":{
948 "type":"structure",
949 "members":{
950 "DatasourcePackages":{"shape":"DatasourcePackageIngestDetails"},
951 "NextToken":{"shape":"PaginationToken"}
952 }
953 },
954 "ListGraphsRequest":{
955 "type":"structure",
956 "members":{
957 "NextToken":{"shape":"PaginationToken"},
958 "MaxResults":{"shape":"MemberResultsLimit"}
959 }
960 },
961 "ListGraphsResponse":{
962 "type":"structure",
963 "members":{
964 "GraphList":{"shape":"GraphList"},
965 "NextToken":{"shape":"PaginationToken"}
966 }
967 },
968 "ListIndicatorsRequest":{
969 "type":"structure",
970 "required":[
971 "GraphArn",
972 "InvestigationId"
973 ],
974 "members":{
975 "GraphArn":{"shape":"GraphArn"},
976 "InvestigationId":{"shape":"InvestigationId"},
977 "IndicatorType":{"shape":"IndicatorType"},
978 "NextToken":{"shape":"AiPaginationToken"},
979 "MaxResults":{"shape":"MaxResults"}
980 }
981 },
982 "ListIndicatorsResponse":{
983 "type":"structure",
984 "members":{
985 "GraphArn":{"shape":"GraphArn"},
986 "InvestigationId":{"shape":"InvestigationId"},
987 "NextToken":{"shape":"AiPaginationToken"},
988 "Indicators":{"shape":"Indicators"}
989 }
990 },
991 "ListInvestigationsRequest":{
992 "type":"structure",
993 "required":["GraphArn"],
994 "members":{
995 "GraphArn":{"shape":"GraphArn"},
996 "NextToken":{"shape":"AiPaginationToken"},
997 "MaxResults":{"shape":"MaxResults"},
998 "FilterCriteria":{"shape":"FilterCriteria"},
999 "SortCriteria":{"shape":"SortCriteria"}
1000 }
1001 },
1002 "ListInvestigationsResponse":{
1003 "type":"structure",
1004 "members":{
1005 "InvestigationDetails":{"shape":"InvestigationDetails"},
1006 "NextToken":{"shape":"AiPaginationToken"}
1007 }
1008 },
1009 "ListInvitationsRequest":{
1010 "type":"structure",
1011 "members":{
1012 "NextToken":{"shape":"PaginationToken"},
1013 "MaxResults":{"shape":"MemberResultsLimit"}
1014 }
1015 },
1016 "ListInvitationsResponse":{
1017 "type":"structure",
1018 "members":{
1019 "Invitations":{"shape":"MemberDetailList"},
1020 "NextToken":{"shape":"PaginationToken"}
1021 }
1022 },
1023 "ListMembersRequest":{
1024 "type":"structure",
1025 "required":["GraphArn"],
1026 "members":{
1027 "GraphArn":{"shape":"GraphArn"},
1028 "NextToken":{"shape":"PaginationToken"},
1029 "MaxResults":{"shape":"MemberResultsLimit"}
1030 }
1031 },
1032 "ListMembersResponse":{
1033 "type":"structure",
1034 "members":{
1035 "MemberDetails":{"shape":"MemberDetailList"},
1036 "NextToken":{"shape":"PaginationToken"}
1037 }
1038 },
1039 "ListOrganizationAdminAccountsRequest":{
1040 "type":"structure",
1041 "members":{
1042 "NextToken":{"shape":"PaginationToken"},
1043 "MaxResults":{"shape":"MemberResultsLimit"}
1044 }
1045 },
1046 "ListOrganizationAdminAccountsResponse":{
1047 "type":"structure",
1048 "members":{
1049 "Administrators":{"shape":"AdministratorList"},
1050 "NextToken":{"shape":"PaginationToken"}
1051 }
1052 },
1053 "ListTagsForResourceRequest":{
1054 "type":"structure",
1055 "required":["ResourceArn"],
1056 "members":{
1057 "ResourceArn":{
1058 "shape":"GraphArn",
1059 "location":"uri",
1060 "locationName":"ResourceArn"
1061 }
1062 }
1063 },
1064 "ListTagsForResourceResponse":{
1065 "type":"structure",
1066 "members":{
1067 "Tags":{"shape":"TagMap"}
1068 }
1069 },
1070 "Location":{"type":"string"},
1071 "MaxResults":{
1072 "type":"integer",
1073 "box":true,
1074 "max":100,
1075 "min":1
1076 },
1077 "MemberDetail":{
1078 "type":"structure",
1079 "members":{
1080 "AccountId":{"shape":"AccountId"},
1081 "EmailAddress":{"shape":"EmailAddress"},
1082 "GraphArn":{"shape":"GraphArn"},
1083 "MasterId":{
1084 "shape":"AccountId",
1085 "deprecated":true,
1086 "deprecatedMessage":"This property is deprecated. Use AdministratorId instead."
1087 },
1088 "AdministratorId":{"shape":"AccountId"},
1089 "Status":{"shape":"MemberStatus"},
1090 "DisabledReason":{"shape":"MemberDisabledReason"},
1091 "InvitedTime":{"shape":"Timestamp"},
1092 "UpdatedTime":{"shape":"Timestamp"},
1093 "VolumeUsageInBytes":{
1094 "shape":"ByteValue",
1095 "deprecated":true,
1096 "deprecatedMessage":"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."
1097 },
1098 "VolumeUsageUpdatedTime":{
1099 "shape":"Timestamp",
1100 "deprecated":true,
1101 "deprecatedMessage":"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."
1102 },
1103 "PercentOfGraphUtilization":{
1104 "shape":"Percentage",
1105 "deprecated":true,
1106 "deprecatedMessage":"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."
1107 },
1108 "PercentOfGraphUtilizationUpdatedTime":{
1109 "shape":"Timestamp",
1110 "deprecated":true,
1111 "deprecatedMessage":"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."
1112 },
1113 "InvitationType":{"shape":"InvitationType"},
1114 "VolumeUsageByDatasourcePackage":{"shape":"VolumeUsageByDatasourcePackage"},
1115 "DatasourcePackageIngestStates":{"shape":"DatasourcePackageIngestStates"}
1116 }
1117 },
1118 "MemberDetailList":{
1119 "type":"list",
1120 "member":{"shape":"MemberDetail"}
1121 },
1122 "MemberDisabledReason":{
1123 "type":"string",
1124 "enum":[
1125 "VOLUME_TOO_HIGH",
1126 "VOLUME_UNKNOWN"
1127 ]
1128 },
1129 "MemberResultsLimit":{
1130 "type":"integer",
1131 "box":true,
1132 "max":200,
1133 "min":1
1134 },
1135 "MemberStatus":{
1136 "type":"string",
1137 "enum":[
1138 "INVITED",
1139 "VERIFICATION_IN_PROGRESS",
1140 "VERIFICATION_FAILED",
1141 "ENABLED",
1142 "ACCEPTED_BUT_DISABLED"
1143 ]
1144 },
1145 "MembershipDatasources":{
1146 "type":"structure",
1147 "members":{
1148 "AccountId":{"shape":"AccountId"},
1149 "GraphArn":{"shape":"GraphArn"},
1150 "DatasourcePackageIngestHistory":{"shape":"DatasourcePackageIngestHistory"}
1151 }
1152 },
1153 "MembershipDatasourcesList":{
1154 "type":"list",
1155 "member":{"shape":"MembershipDatasources"}
1156 },
1157 "NewAsoDetail":{
1158 "type":"structure",
1159 "members":{
1160 "Aso":{"shape":"Aso"},
1161 "IsNewForEntireAccount":{"shape":"IsNewForEntireAccount"}
1162 }
1163 },
1164 "NewGeolocationDetail":{
1165 "type":"structure",
1166 "members":{
1167 "Location":{"shape":"Location"},
1168 "IpAddress":{"shape":"IpAddress"},
1169 "IsNewForEntireAccount":{"shape":"IsNewForEntireAccount"}
1170 }
1171 },
1172 "NewUserAgentDetail":{
1173 "type":"structure",
1174 "members":{
1175 "UserAgent":{"shape":"UserAgent"},
1176 "IsNewForEntireAccount":{"shape":"IsNewForEntireAccount"}
1177 }
1178 },
1179 "PaginationToken":{
1180 "type":"string",
1181 "max":1024,
1182 "min":1
1183 },
1184 "Percentage":{"type":"double"},
1185 "Procedure":{"type":"string"},
1186 "Reason":{
1187 "type":"string",
1188 "enum":["AWS_THREAT_INTELLIGENCE"]
1189 },
1190 "RejectInvitationRequest":{
1191 "type":"structure",
1192 "required":["GraphArn"],
1193 "members":{
1194 "GraphArn":{"shape":"GraphArn"}
1195 }
1196 },
1197 "RelatedFindingDetail":{
1198 "type":"structure",
1199 "members":{
1200 "Arn":{"shape":"EntityArn"},
1201 "Type":{"shape":"Type"},
1202 "IpAddress":{"shape":"IpAddress"}
1203 }
1204 },
1205 "RelatedFindingGroupDetail":{
1206 "type":"structure",
1207 "members":{
1208 "Id":{"shape":"Id"}
1209 }
1210 },
1211 "Resource":{
1212 "type":"string",
1213 "max":64,
1214 "min":1
1215 },
1216 "ResourceList":{
1217 "type":"list",
1218 "member":{"shape":"Resource"},
1219 "max":50,
1220 "min":1
1221 },
1222 "ResourceNotFoundException":{
1223 "type":"structure",
1224 "members":{
1225 "Message":{"shape":"ErrorMessage"}
1226 },
1227 "error":{"httpStatusCode":404},
1228 "exception":true
1229 },
1230 "ServiceQuotaExceededException":{
1231 "type":"structure",
1232 "members":{
1233 "Message":{"shape":"ErrorMessage"},
1234 "Resources":{"shape":"ResourceList"}
1235 },
1236 "error":{"httpStatusCode":402},
1237 "exception":true
1238 },
1239 "Severity":{
1240 "type":"string",
1241 "enum":[
1242 "INFORMATIONAL",
1243 "LOW",
1244 "MEDIUM",
1245 "HIGH",
1246 "CRITICAL"
1247 ]
1248 },
1249 "SortCriteria":{
1250 "type":"structure",
1251 "members":{
1252 "Field":{"shape":"Field"},
1253 "SortOrder":{"shape":"SortOrder"}
1254 }
1255 },
1256 "SortOrder":{
1257 "type":"string",
1258 "enum":[
1259 "ASC",
1260 "DESC"
1261 ]
1262 },
1263 "StartInvestigationRequest":{
1264 "type":"structure",
1265 "required":[
1266 "GraphArn",
1267 "EntityArn",
1268 "ScopeStartTime",
1269 "ScopeEndTime"
1270 ],
1271 "members":{
1272 "GraphArn":{"shape":"GraphArn"},
1273 "EntityArn":{"shape":"EntityArn"},
1274 "ScopeStartTime":{"shape":"Timestamp"},
1275 "ScopeEndTime":{"shape":"Timestamp"}
1276 }
1277 },
1278 "StartInvestigationResponse":{
1279 "type":"structure",
1280 "members":{
1281 "InvestigationId":{"shape":"InvestigationId"}
1282 }
1283 },
1284 "StartMonitoringMemberRequest":{
1285 "type":"structure",
1286 "required":[
1287 "GraphArn",
1288 "AccountId"
1289 ],
1290 "members":{
1291 "GraphArn":{"shape":"GraphArn"},
1292 "AccountId":{"shape":"AccountId"}
1293 }
1294 },
1295 "State":{
1296 "type":"string",
1297 "enum":[
1298 "ACTIVE",
1299 "ARCHIVED"
1300 ]
1301 },
1302 "Status":{
1303 "type":"string",
1304 "enum":[
1305 "RUNNING",
1306 "FAILED",
1307 "SUCCESSFUL"
1308 ]
1309 },
1310 "StringFilter":{
1311 "type":"structure",
1312 "required":["Value"],
1313 "members":{
1314 "Value":{"shape":"Value"}
1315 }
1316 },
1317 "TTPsObservedDetail":{
1318 "type":"structure",
1319 "members":{
1320 "Tactic":{"shape":"Tactic"},
1321 "Technique":{"shape":"Technique"},
1322 "Procedure":{"shape":"Procedure"},
1323 "IpAddress":{"shape":"IpAddress"},
1324 "APIName":{"shape":"APIName"},
1325 "APISuccessCount":{"shape":"APISuccessCount"},
1326 "APIFailureCount":{"shape":"APIFailureCount"}
1327 }
1328 },
1329 "Tactic":{"type":"string"},
1330 "TagKey":{
1331 "type":"string",
1332 "max":128,
1333 "min":1,
1334 "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$"
1335 },
1336 "TagKeyList":{
1337 "type":"list",
1338 "member":{"shape":"TagKey"},
1339 "max":50,
1340 "min":1
1341 },
1342 "TagMap":{
1343 "type":"map",
1344 "key":{"shape":"TagKey"},
1345 "value":{"shape":"TagValue"},
1346 "max":50,
1347 "min":1
1348 },
1349 "TagResourceRequest":{
1350 "type":"structure",
1351 "required":[
1352 "ResourceArn",
1353 "Tags"
1354 ],
1355 "members":{
1356 "ResourceArn":{
1357 "shape":"GraphArn",
1358 "location":"uri",
1359 "locationName":"ResourceArn"
1360 },
1361 "Tags":{"shape":"TagMap"}
1362 }
1363 },
1364 "TagResourceResponse":{
1365 "type":"structure",
1366 "members":{
1367 }
1368 },
1369 "TagValue":{
1370 "type":"string",
1371 "max":256
1372 },
1373 "Technique":{"type":"string"},
1374 "Timestamp":{
1375 "type":"timestamp",
1376 "timestampFormat":"iso8601"
1377 },
1378 "TimestampForCollection":{
1379 "type":"structure",
1380 "members":{
1381 "Timestamp":{"shape":"Timestamp"}
1382 }
1383 },
1384 "TooManyRequestsException":{
1385 "type":"structure",
1386 "members":{
1387 "Message":{"shape":"ErrorMessage"}
1388 },
1389 "error":{"httpStatusCode":429},
1390 "exception":true
1391 },
1392 "Type":{"type":"string"},
1393 "UnprocessedAccount":{
1394 "type":"structure",
1395 "members":{
1396 "AccountId":{"shape":"AccountId"},
1397 "Reason":{"shape":"UnprocessedReason"}
1398 }
1399 },
1400 "UnprocessedAccountList":{
1401 "type":"list",
1402 "member":{"shape":"UnprocessedAccount"}
1403 },
1404 "UnprocessedGraph":{
1405 "type":"structure",
1406 "members":{
1407 "GraphArn":{"shape":"GraphArn"},
1408 "Reason":{"shape":"UnprocessedReason"}
1409 }
1410 },
1411 "UnprocessedGraphList":{
1412 "type":"list",
1413 "member":{"shape":"UnprocessedGraph"}
1414 },
1415 "UnprocessedReason":{"type":"string"},
1416 "UntagResourceRequest":{
1417 "type":"structure",
1418 "required":[
1419 "ResourceArn",
1420 "TagKeys"
1421 ],
1422 "members":{
1423 "ResourceArn":{
1424 "shape":"GraphArn",
1425 "location":"uri",
1426 "locationName":"ResourceArn"
1427 },
1428 "TagKeys":{
1429 "shape":"TagKeyList",
1430 "location":"querystring",
1431 "locationName":"tagKeys"
1432 }
1433 }
1434 },
1435 "UntagResourceResponse":{
1436 "type":"structure",
1437 "members":{
1438 }
1439 },
1440 "UpdateDatasourcePackagesRequest":{
1441 "type":"structure",
1442 "required":[
1443 "GraphArn",
1444 "DatasourcePackages"
1445 ],
1446 "members":{
1447 "GraphArn":{"shape":"GraphArn"},
1448 "DatasourcePackages":{"shape":"DatasourcePackageList"}
1449 }
1450 },
1451 "UpdateInvestigationStateRequest":{
1452 "type":"structure",
1453 "required":[
1454 "GraphArn",
1455 "InvestigationId",
1456 "State"
1457 ],
1458 "members":{
1459 "GraphArn":{"shape":"GraphArn"},
1460 "InvestigationId":{"shape":"InvestigationId"},
1461 "State":{"shape":"State"}
1462 }
1463 },
1464 "UpdateOrganizationConfigurationRequest":{
1465 "type":"structure",
1466 "required":["GraphArn"],
1467 "members":{
1468 "GraphArn":{"shape":"GraphArn"},
1469 "AutoEnable":{"shape":"Boolean"}
1470 }
1471 },
1472 "UserAgent":{"type":"string"},
1473 "ValidationException":{
1474 "type":"structure",
1475 "members":{
1476 "Message":{"shape":"ErrorMessage"},
1477 "ErrorCode":{"shape":"ErrorCode"},
1478 "ErrorCodeReason":{"shape":"ErrorCodeReason"}
1479 },
1480 "error":{"httpStatusCode":400},
1481 "exception":true
1482 },
1483 "Value":{
1484 "type":"string",
1485 "max":500,
1486 "min":1
1487 },
1488 "VolumeUsageByDatasourcePackage":{
1489 "type":"map",
1490 "key":{"shape":"DatasourcePackage"},
1491 "value":{"shape":"DatasourcePackageUsageInfo"}
1492 }
1493 }
1494 }