{ "version":"2.0", "metadata":{ "apiVersion":"2018-10-26", "endpointPrefix":"api.detective", "jsonVersion":"1.1", "protocol":"rest-json", "serviceFullName":"Amazon Detective", "serviceId":"Detective", "signatureVersion":"v4", "signingName":"detective", "uid":"detective-2018-10-26" }, "operations":{ "AcceptInvitation":{ "name":"AcceptInvitation", "http":{ "method":"PUT", "requestUri":"/invitation" }, "input":{"shape":"AcceptInvitationRequest"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], "documentation":"

Accepts an invitation for the member account to contribute data to a behavior graph. This operation can only be called by an invited member account.

The request provides the ARN of behavior graph.

The member account status in the graph must be `INVITED`.

" }, "BatchGetGraphMemberDatasources":{ "name":"BatchGetGraphMemberDatasources", "http":{ "method":"POST", "requestUri":"/graph/datasources/get" }, "input":{"shape":"BatchGetGraphMemberDatasourcesRequest"}, "output":{"shape":"BatchGetGraphMemberDatasourcesResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], "documentation":"

Gets data source package information for the behavior graph.

" }, "BatchGetMembershipDatasources":{ "name":"BatchGetMembershipDatasources", "http":{ "method":"POST", "requestUri":"/membership/datasources/get" }, "input":{"shape":"BatchGetMembershipDatasourcesRequest"}, "output":{"shape":"BatchGetMembershipDatasourcesResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], "documentation":"

Gets information on the data source package history for an account.

" }, "CreateGraph":{ "name":"CreateGraph", "http":{ "method":"POST", "requestUri":"/graph" }, "input":{"shape":"CreateGraphRequest"}, "output":{"shape":"CreateGraphResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Creates a new behavior graph for the calling account, and sets that account as the administrator account. This operation is called by the account that is enabling Detective.

Before you try to enable Detective, make sure that your account has been enrolled in Amazon GuardDuty for at least 48 hours. If you do not meet this requirement, you cannot enable Detective. If you do meet the GuardDuty prerequisite, then when you make the request to enable Detective, it checks whether your data volume is within the Detective quota. If it exceeds the quota, then you cannot enable Detective.

The operation also enables Detective for the calling account in the currently selected Region. It returns the ARN of the new behavior graph.

`CreateGraph` triggers a process to create the corresponding data tables for the new behavior graph.

An account can only be the administrator account for one behavior graph within a Region. If the same account calls `CreateGraph` with the same administrator account, it always returns the same behavior graph ARN. It does not create a new behavior graph.

" }, "CreateMembers":{ "name":"CreateMembers", "http":{ "method":"POST", "requestUri":"/graph/members" }, "input":{"shape":"CreateMembersRequest"}, "output":{"shape":"CreateMembersResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

`CreateMembers` is used to send invitations to accounts. For the organization behavior graph, the Detective administrator account uses `CreateMembers` to enable organization accounts as member accounts.

For invited accounts, `CreateMembers` sends a request to invite the specified Amazon Web Services accounts to be member accounts in the behavior graph. This operation can only be called by the administrator account for a behavior graph.

`CreateMembers` verifies the accounts and then invites the verified accounts. The administrator can optionally specify to not send invitation emails to the member accounts. This would be used when the administrator manages their member accounts centrally.

For organization accounts in the organization behavior graph, `CreateMembers` attempts to enable the accounts. The organization accounts do not receive invitations.

The request provides the behavior graph ARN and the list of accounts to invite or to enable.

The response separates the requested accounts into two lists:

- The accounts that `CreateMembers` was able to process. For invited accounts, includes member accounts that are being verified, that have passed verification and are to be invited, and that have failed verification. For organization accounts in the organization behavior graph, includes accounts that can be enabled and that cannot be enabled.

- The accounts that `CreateMembers` was unable to process. This list includes accounts that were already invited to be member accounts in the behavior graph.

" }, "DeleteGraph":{ "name":"DeleteGraph", "http":{ "method":"POST", "requestUri":"/graph/removal" }, "input":{"shape":"DeleteGraphRequest"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], "documentation":"

Disables the specified behavior graph and queues it to be deleted. This operation removes the behavior graph from each member account's list of behavior graphs.

`DeleteGraph` can only be called by the administrator account for a behavior graph.

" }, "DeleteMembers":{ "name":"DeleteMembers", "http":{ "method":"POST", "requestUri":"/graph/members/removal" }, "input":{"shape":"DeleteMembersRequest"}, "output":{"shape":"DeleteMembersResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], "documentation":"

Removes the specified member accounts from the behavior graph. The removed accounts no longer contribute data to the behavior graph. This operation can only be called by the administrator account for the behavior graph.

For invited accounts, the removed accounts are deleted from the list of accounts in the behavior graph. To restore the account, the administrator account must send another invitation.

For organization accounts in the organization behavior graph, the Detective administrator account can always enable the organization account again. Organization accounts that are not enabled as member accounts are not included in the `ListMembers` results for the organization behavior graph.

An administrator account cannot use `DeleteMembers` to remove their own account from the behavior graph. To disable a behavior graph, the administrator account uses the `DeleteGraph` API method.

" }, "DescribeOrganizationConfiguration":{ "name":"DescribeOrganizationConfiguration", "http":{ "method":"POST", "requestUri":"/orgs/describeOrganizationConfiguration" }, "input":{"shape":"DescribeOrganizationConfigurationRequest"}, "output":{"shape":"DescribeOrganizationConfigurationResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Returns information about the configuration for the organization behavior graph. Currently indicates whether to automatically enable new organization accounts as member accounts.

Can only be called by the Detective administrator account for the organization.

" }, "DisableOrganizationAdminAccount":{ "name":"DisableOrganizationAdminAccount", "http":{ "method":"POST", "requestUri":"/orgs/disableAdminAccount" }, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Removes the Detective administrator account in the current Region. Deletes the organization behavior graph.

Can only be called by the organization management account.

Removing the Detective administrator account does not affect the delegated administrator account for Detective in Organizations.

To remove the delegated administrator account in Organizations, use the Organizations API. Removing the delegated administrator account also removes the Detective administrator account in all Regions, except for Regions where the Detective administrator account is the organization management account.

" }, "DisassociateMembership":{ "name":"DisassociateMembership", "http":{ "method":"POST", "requestUri":"/membership/removal" }, "input":{"shape":"DisassociateMembershipRequest"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], "documentation":"

Removes the member account from the specified behavior graph. This operation can only be called by an invited member account that has the `ENABLED` status.

`DisassociateMembership` cannot be called by an organization account in the organization behavior graph. For the organization behavior graph, the Detective administrator account determines which organization accounts to enable or disable as member accounts.

" }, "EnableOrganizationAdminAccount":{ "name":"EnableOrganizationAdminAccount", "http":{ "method":"POST", "requestUri":"/orgs/enableAdminAccount" }, "input":{"shape":"EnableOrganizationAdminAccountRequest"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Designates the Detective administrator account for the organization in the current Region.

If the account does not have Detective enabled, then enables Detective for that account and creates a new behavior graph.

Can only be called by the organization management account.

If the organization has a delegated administrator account in Organizations, then the Detective administrator account must be either the delegated administrator account or the organization management account.

If the organization does not have a delegated administrator account in Organizations, then you can choose any account in the organization. If you choose an account other than the organization management account, Detective calls Organizations to make that account the delegated administrator account for Detective. The organization management account cannot be the delegated administrator account.

" }, "GetInvestigation":{ "name":"GetInvestigation", "http":{ "method":"POST", "requestUri":"/investigations/getInvestigation" }, "input":{"shape":"GetInvestigationRequest"}, "output":{"shape":"GetInvestigationResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Returns the investigation results of an investigation for a behavior graph.

" }, "GetMembers":{ "name":"GetMembers", "http":{ "method":"POST", "requestUri":"/graph/members/get" }, "input":{"shape":"GetMembersRequest"}, "output":{"shape":"GetMembersResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], "documentation":"

Returns the membership details for specified member accounts for a behavior graph.

" }, "ListDatasourcePackages":{ "name":"ListDatasourcePackages", "http":{ "method":"POST", "requestUri":"/graph/datasources/list" }, "input":{"shape":"ListDatasourcePackagesRequest"}, "output":{"shape":"ListDatasourcePackagesResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], "documentation":"

Lists data source packages in the behavior graph.

" }, "ListGraphs":{ "name":"ListGraphs", "http":{ "method":"POST", "requestUri":"/graphs/list" }, "input":{"shape":"ListGraphsRequest"}, "output":{"shape":"ListGraphsResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"} ], "documentation":"

Returns the list of behavior graphs that the calling account is an administrator account of. This operation can only be called by an administrator account.

Because an account can currently only be the administrator of one behavior graph within a Region, the results always contain a single behavior graph.

" }, "ListIndicators":{ "name":"ListIndicators", "http":{ "method":"POST", "requestUri":"/investigations/listIndicators" }, "input":{"shape":"ListIndicatorsRequest"}, "output":{"shape":"ListIndicatorsResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Get the indicators from an investigation

" }, "ListInvestigations":{ "name":"ListInvestigations", "http":{ "method":"POST", "requestUri":"/investigations/listInvestigations" }, "input":{"shape":"ListInvestigationsRequest"}, "output":{"shape":"ListInvestigationsResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

List all Investigations.

" }, "ListInvitations":{ "name":"ListInvitations", "http":{ "method":"POST", "requestUri":"/invitations/list" }, "input":{"shape":"ListInvitationsRequest"}, "output":{"shape":"ListInvitationsResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"} ], "documentation":"

Retrieves the list of open and accepted behavior graph invitations for the member account. This operation can only be called by an invited member account.

Open invitations are invitations that the member account has not responded to.

The results do not include behavior graphs for which the member account declined the invitation. The results also do not include behavior graphs that the member account resigned from or was removed from.

" }, "ListMembers":{ "name":"ListMembers", "http":{ "method":"POST", "requestUri":"/graph/members/list" }, "input":{"shape":"ListMembersRequest"}, "output":{"shape":"ListMembersResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], "documentation":"

Retrieves the list of member accounts for a behavior graph.

For invited accounts, the results do not include member accounts that were removed from the behavior graph.

For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.

" }, "ListOrganizationAdminAccounts":{ "name":"ListOrganizationAdminAccounts", "http":{ "method":"POST", "requestUri":"/orgs/adminAccountslist" }, "input":{"shape":"ListOrganizationAdminAccountsRequest"}, "output":{"shape":"ListOrganizationAdminAccountsResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Returns information about the Detective administrator account for an organization. Can only be called by the organization management account.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"GET", "requestUri":"/tags/{ResourceArn}", "responseCode":200 }, "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Returns the tag values that are assigned to a behavior graph.

" }, "RejectInvitation":{ "name":"RejectInvitation", "http":{ "method":"POST", "requestUri":"/invitation/removal" }, "input":{"shape":"RejectInvitationRequest"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], "documentation":"

Rejects an invitation to contribute the account data to a behavior graph. This operation must be called by an invited member account that has the `INVITED` status.

`RejectInvitation` cannot be called by an organization account in the organization behavior graph. In the organization behavior graph, organization accounts do not receive an invitation.

" }, "StartInvestigation":{ "name":"StartInvestigation", "http":{ "method":"POST", "requestUri":"/investigations/startInvestigation" }, "input":{"shape":"StartInvestigationRequest"}, "output":{"shape":"StartInvestigationResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"TooManyRequestsException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

initiate an investigation on an entity in a graph

" }, "StartMonitoringMember":{ "name":"StartMonitoringMember", "http":{ "method":"POST", "requestUri":"/graph/member/monitoringstate" }, "input":{"shape":"StartMonitoringMemberRequest"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"ValidationException"} ], "documentation":"

Sends a request to enable data ingest for a member account that has a status of `ACCEPTED_BUT_DISABLED`.

For valid member accounts, the status is updated as follows.

- If Detective enabled the member account, then the new status is `ENABLED`.

- If Detective cannot enable the member account, the status remains `ACCEPTED_BUT_DISABLED`.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/tags/{ResourceArn}", "responseCode":204 }, "input":{"shape":"TagResourceRequest"}, "output":{"shape":"TagResourceResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Applies tag values to a behavior graph.

" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"DELETE", "requestUri":"/tags/{ResourceArn}", "responseCode":204 }, "input":{"shape":"UntagResourceRequest"}, "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Removes tags from a behavior graph.

" }, "UpdateDatasourcePackages":{ "name":"UpdateDatasourcePackages", "http":{ "method":"POST", "requestUri":"/graph/datasources/update" }, "input":{"shape":"UpdateDatasourcePackagesRequest"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"ValidationException"} ], "documentation":"

Starts a data source packages for the behavior graph.

" }, "UpdateInvestigationState":{ "name":"UpdateInvestigationState", "http":{ "method":"POST", "requestUri":"/investigations/updateInvestigationState" }, "input":{"shape":"UpdateInvestigationStateRequest"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Update the state of an investigation.

" }, "UpdateOrganizationConfiguration":{ "name":"UpdateOrganizationConfiguration", "http":{ "method":"POST", "requestUri":"/orgs/updateOrganizationConfiguration" }, "input":{"shape":"UpdateOrganizationConfigurationRequest"}, "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"TooManyRequestsException"} ], "documentation":"

Updates the configuration for the Organizations integration in the current Region. Can only be called by the Detective administrator account for the organization.

" } }, "shapes":{ "APIFailureCount":{"type":"long"}, "APIName":{"type":"string"}, "APISuccessCount":{"type":"long"}, "AcceptInvitationRequest":{ "type":"structure", "required":["GraphArn"], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph that the member account is accepting the invitation for.

The member account status in the behavior graph must be `INVITED`.

" } } }, "AccessDeniedException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"}, "ErrorCode":{ "shape":"ErrorCode", "documentation":"

The SDK default error code associated with the access denied exception.

" }, "ErrorCodeReason":{ "shape":"ErrorCodeReason", "documentation":"

The SDK default explanation of why access was denied.

" }, "SubErrorCode":{ "shape":"ErrorCode", "documentation":"

The error code associated with the access denied exception.

" }, "SubErrorCodeReason":{ "shape":"ErrorCodeReason", "documentation":"

An explanation of why access was denied.

" } }, "documentation":"

The request issuer does not have permission to access this resource or perform this operation.

", "error":{"httpStatusCode":403}, "exception":true }, "Account":{ "type":"structure", "required":[ "AccountId", "EmailAddress" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The account identifier of the Amazon Web Services account.

" }, "EmailAddress":{ "shape":"EmailAddress", "documentation":"

The Amazon Web Services account root user email address for the Amazon Web Services account.

" } }, "documentation":"

An Amazon Web Services account that is the administrator account of or a member of a behavior graph.

" }, "AccountId":{ "type":"string", "max":12, "min":12, "pattern":"^[0-9]+$" }, "AccountIdExtendedList":{ "type":"list", "member":{"shape":"AccountId"}, "max":200, "min":1 }, "AccountIdList":{ "type":"list", "member":{"shape":"AccountId"}, "max":50, "min":1 }, "AccountList":{ "type":"list", "member":{"shape":"Account"}, "max":50, "min":1 }, "Administrator":{ "type":"structure", "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The Amazon Web Services account identifier of the Detective administrator account for the organization.

" }, "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the organization behavior graph.

" }, "DelegationTime":{ "shape":"Timestamp", "documentation":"

The date and time when the Detective administrator account was enabled. The value is an ISO8601 formatted string. For example, `2021-08-18T16:35:56.284Z`.

" } }, "documentation":"

Information about the Detective administrator account for an organization.

" }, "AdministratorList":{ "type":"list", "member":{"shape":"Administrator"} }, "AiPaginationToken":{ "type":"string", "max":2048, "min":1 }, "Aso":{"type":"string"}, "BatchGetGraphMemberDatasourcesRequest":{ "type":"structure", "required":[ "GraphArn", "AccountIds" ], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "AccountIds":{ "shape":"AccountIdExtendedList", "documentation":"

The list of Amazon Web Services accounts to get data source package information on.

" } } }, "BatchGetGraphMemberDatasourcesResponse":{ "type":"structure", "members":{ "MemberDatasources":{ "shape":"MembershipDatasourcesList", "documentation":"

Details on the status of data source packages for members of the behavior graph.

" }, "UnprocessedAccounts":{ "shape":"UnprocessedAccountList", "documentation":"

Accounts that data source package information could not be retrieved for.

" } } }, "BatchGetMembershipDatasourcesRequest":{ "type":"structure", "required":["GraphArns"], "members":{ "GraphArns":{ "shape":"GraphArnList", "documentation":"

The ARN of the behavior graph.

" } } }, "BatchGetMembershipDatasourcesResponse":{ "type":"structure", "members":{ "MembershipDatasources":{ "shape":"MembershipDatasourcesList", "documentation":"

Details on the data source package history for an member of the behavior graph.

" }, "UnprocessedGraphs":{ "shape":"UnprocessedGraphList", "documentation":"

Graphs that data source package information could not be retrieved for.

" } } }, "Boolean":{"type":"boolean"}, "ByteValue":{"type":"long"}, "ConflictException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The request attempted an invalid action.

", "error":{"httpStatusCode":409}, "exception":true }, "CreateGraphRequest":{ "type":"structure", "members":{ "Tags":{ "shape":"TagMap", "documentation":"

The tags to assign to the new behavior graph. You can add up to 50 tags. For each tag, you provide the tag key and the tag value. Each tag key can contain up to 128 characters. Each tag value can contain up to 256 characters.

" } } }, "CreateGraphResponse":{ "type":"structure", "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the new behavior graph.

" } } }, "CreateMembersRequest":{ "type":"structure", "required":[ "GraphArn", "Accounts" ], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "Message":{ "shape":"EmailMessage", "documentation":"

Customized message text to include in the invitation email message to the invited member accounts.

" }, "DisableEmailNotification":{ "shape":"Boolean", "documentation":"

if set to `true`, then the invited accounts do not receive email notifications. By default, this is set to `false`, and the invited accounts receive email notifications.

Organization accounts in the organization behavior graph do not receive email notifications.

" }, "Accounts":{ "shape":"AccountList", "documentation":"

The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.

" } } }, "CreateMembersResponse":{ "type":"structure", "members":{ "Members":{ "shape":"MemberDetailList", "documentation":"

The set of member account invitation or enablement requests that Detective was able to process. This includes accounts that are being verified, that failed verification, and that passed verification and are being sent an invitation or are being enabled.

" }, "UnprocessedAccounts":{ "shape":"UnprocessedAccountList", "documentation":"

The list of accounts for which Detective was unable to process the invitation or enablement request. For each account, the list provides the reason why the request could not be processed. The list includes accounts that are already member accounts in the behavior graph.

" } } }, "DatasourcePackage":{ "type":"string", "enum":[ "DETECTIVE_CORE", "EKS_AUDIT", "ASFF_SECURITYHUB_FINDING" ] }, "DatasourcePackageIngestDetail":{ "type":"structure", "members":{ "DatasourcePackageIngestState":{ "shape":"DatasourcePackageIngestState", "documentation":"

Details on which data source packages are ingested for a member account.

" }, "LastIngestStateChange":{ "shape":"LastIngestStateChangeDates", "documentation":"

The date a data source package was enabled for this account

" } }, "documentation":"

Details about the data source packages ingested by your behavior graph.

" }, "DatasourcePackageIngestDetails":{ "type":"map", "key":{"shape":"DatasourcePackage"}, "value":{"shape":"DatasourcePackageIngestDetail"} }, "DatasourcePackageIngestHistory":{ "type":"map", "key":{"shape":"DatasourcePackage"}, "value":{"shape":"LastIngestStateChangeDates"} }, "DatasourcePackageIngestState":{ "type":"string", "enum":[ "STARTED", "STOPPED", "DISABLED" ] }, "DatasourcePackageIngestStates":{ "type":"map", "key":{"shape":"DatasourcePackage"}, "value":{"shape":"DatasourcePackageIngestState"} }, "DatasourcePackageList":{ "type":"list", "member":{"shape":"DatasourcePackage"}, "max":25, "min":1 }, "DatasourcePackageUsageInfo":{ "type":"structure", "members":{ "VolumeUsageInBytes":{ "shape":"ByteValue", "documentation":"

Total volume of data in bytes per day ingested for a given data source package.

" }, "VolumeUsageUpdateTime":{ "shape":"Timestamp", "documentation":"

The data and time when the member account data volume was last updated. The value is an ISO8601 formatted string. For example, `2021-08-18T16:35:56.284Z`.

" } }, "documentation":"

Information on the usage of a data source package in the behavior graph.

" }, "DateFilter":{ "type":"structure", "required":[ "StartInclusive", "EndInclusive" ], "members":{ "StartInclusive":{ "shape":"Timestamp", "documentation":"

A timestamp representing the start of the time period from when data is filtered, including the start date.

" }, "EndInclusive":{ "shape":"Timestamp", "documentation":"

A timestamp representing the end date of the time period until when data is filtered , including the end date.

" } }, "documentation":"

Contains details on the time range used to filter data.

" }, "DeleteGraphRequest":{ "type":"structure", "required":["GraphArn"], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph to disable.

" } } }, "DeleteMembersRequest":{ "type":"structure", "required":[ "GraphArn", "AccountIds" ], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph to remove members from.

" }, "AccountIds":{ "shape":"AccountIdList", "documentation":"

The list of Amazon Web Services account identifiers for the member accounts to remove from the behavior graph. You can remove up to 50 member accounts at a time.

" } } }, "DeleteMembersResponse":{ "type":"structure", "members":{ "AccountIds":{ "shape":"AccountIdList", "documentation":"

The list of Amazon Web Services account identifiers for the member accounts that Detective successfully removed from the behavior graph.

" }, "UnprocessedAccounts":{ "shape":"UnprocessedAccountList", "documentation":"

The list of member accounts that Detective was not able to remove from the behavior graph. For each member account, provides the reason that the deletion could not be processed.

" } } }, "DescribeOrganizationConfigurationRequest":{ "type":"structure", "required":["GraphArn"], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the organization behavior graph.

" } } }, "DescribeOrganizationConfigurationResponse":{ "type":"structure", "members":{ "AutoEnable":{ "shape":"Boolean", "documentation":"

Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.

" } } }, "DisassociateMembershipRequest":{ "type":"structure", "required":["GraphArn"], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph to remove the member account from.

The member account's member status in the behavior graph must be `ENABLED`.

" } } }, "EmailAddress":{ "type":"string", "max":64, "min":1, "pattern":"^.+@(?:(?:(?!-)[A-Za-z0-9-]{1,62})?[A-Za-z0-9]{1}\\.)+[A-Za-z]{2,63}$", "sensitive":true }, "EmailMessage":{ "type":"string", "max":1000, "min":1, "sensitive":true }, "EnableOrganizationAdminAccountRequest":{ "type":"structure", "required":["AccountId"], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The Amazon Web Services account identifier of the account to designate as the Detective administrator account for the organization.

" } } }, "EntityArn":{ "type":"string", "pattern":"^arn:.*" }, "EntityType":{ "type":"string", "enum":[ "IAM_ROLE", "IAM_USER" ] }, "ErrorCode":{ "type":"string", "enum":[ "INVALID_GRAPH_ARN", "INVALID_REQUEST_BODY", "INTERNAL_ERROR" ] }, "ErrorCodeReason":{"type":"string"}, "ErrorMessage":{"type":"string"}, "Field":{ "type":"string", "enum":[ "SEVERITY", "STATUS", "CREATED_TIME" ] }, "FilterCriteria":{ "type":"structure", "members":{ "Severity":{ "shape":"StringFilter", "documentation":"

Filter the investigation results based on the severity.

" }, "Status":{ "shape":"StringFilter", "documentation":"

Filter the investigation results based on the status.

" }, "State":{ "shape":"StringFilter", "documentation":"

Filter the investigation results based on the state.

" }, "EntityArn":{ "shape":"StringFilter", "documentation":"

Filter the investigation results based on the Amazon Resource Name (ARN) of the entity.

" }, "CreatedTime":{ "shape":"DateFilter", "documentation":"

Filter the investigation results based on when the investigation was created.

" } }, "documentation":"

Details on the criteria used to define the filter for investigation results.

" }, "FlaggedIpAddressDetail":{ "type":"structure", "members":{ "IpAddress":{ "shape":"IpAddress", "documentation":"

IP address of the suspicious entity.

" }, "Reason":{ "shape":"Reason", "documentation":"

Details the reason the IP address was flagged as suspicious.

" } }, "documentation":"

Contains information on suspicious IP addresses identified as indicators of compromise. This indicator is derived from Amazon Web Services threat intelligence.

" }, "GetInvestigationRequest":{ "type":"structure", "required":[ "GraphArn", "InvestigationId" ], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "InvestigationId":{ "shape":"InvestigationId", "documentation":"

The investigation ID of the investigation report.

" } } }, "GetInvestigationResponse":{ "type":"structure", "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "InvestigationId":{ "shape":"InvestigationId", "documentation":"

The investigation ID of the investigation report.

" }, "EntityArn":{ "shape":"EntityArn", "documentation":"

The unique Amazon Resource Name (ARN) of the IAM user and IAM role.

" }, "EntityType":{ "shape":"EntityType", "documentation":"

Type of entity. For example, Amazon Web Services accounts, such as IAM user and role.

" }, "CreatedTime":{ "shape":"Timestamp", "documentation":"

The UTC time stamp of the creation time of the investigation report.

" }, "ScopeStartTime":{ "shape":"Timestamp", "documentation":"

The start date and time for the scope time set to generate the investigation report.

" }, "ScopeEndTime":{ "shape":"Timestamp", "documentation":"

The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

" }, "Status":{ "shape":"Status", "documentation":"

Status based on the completion status of the investigation.

" }, "Severity":{ "shape":"Severity", "documentation":"

Severity based on the likelihood and impact of the indicators of compromise discovered in the investigation.

" }, "State":{ "shape":"State", "documentation":"

The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.

" } } }, "GetMembersRequest":{ "type":"structure", "required":[ "GraphArn", "AccountIds" ], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph for which to request the member details.

" }, "AccountIds":{ "shape":"AccountIdList", "documentation":"

The list of Amazon Web Services account identifiers for the member account for which to return member details. You can request details for up to 50 member accounts at a time.

You cannot use `GetMembers` to retrieve information about member accounts that were removed from the behavior graph.

" } } }, "GetMembersResponse":{ "type":"structure", "members":{ "MemberDetails":{ "shape":"MemberDetailList", "documentation":"

The member account details that Detective is returning in response to the request.

" }, "UnprocessedAccounts":{ "shape":"UnprocessedAccountList", "documentation":"

The requested member accounts for which Detective was unable to return member details.

For each account, provides the reason why the request could not be processed.

" } } }, "Graph":{ "type":"structure", "members":{ "Arn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "CreatedTime":{ "shape":"Timestamp", "documentation":"

The date and time that the behavior graph was created. The value is an ISO8601 formatted string. For example, `2021-08-18T16:35:56.284Z`.

" } }, "documentation":"

A behavior graph in Detective.

" }, "GraphArn":{ "type":"string", "pattern":"^arn:aws[-\\w]{0,10}?:detective:[-\\w]{2,20}?:\\d{12}?:graph:[abcdef\\d]{32}?$" }, "GraphArnList":{ "type":"list", "member":{"shape":"GraphArn"}, "max":50, "min":1 }, "GraphList":{ "type":"list", "member":{"shape":"Graph"} }, "HourlyTimeDelta":{ "type":"integer", "box":true }, "Id":{"type":"string"}, "ImpossibleTravelDetail":{ "type":"structure", "members":{ "StartingIpAddress":{ "shape":"IpAddress", "documentation":"

IP address where the resource was first used in the impossible travel

" }, "EndingIpAddress":{ "shape":"IpAddress", "documentation":"

IP address where the resource was last used in the impossible travel.

" }, "StartingLocation":{ "shape":"Location", "documentation":"

Location where the resource was first used in the impossible travel

" }, "EndingLocation":{ "shape":"Location", "documentation":"

Location where the resource was last used in the impossible travel.

" }, "HourlyTimeDelta":{ "shape":"HourlyTimeDelta", "documentation":"

Returns the time difference between the first and last timestamp the resource was used.

" } }, "documentation":"

Contains information on unusual and impossible travel in an account.

" }, "Indicator":{ "type":"structure", "members":{ "IndicatorType":{ "shape":"IndicatorType", "documentation":"

The type of indicator.

" }, "IndicatorDetail":{ "shape":"IndicatorDetail", "documentation":"

Details about the indicator of compromise.

" } }, "documentation":"

Investigations triages indicators of compromises such as a finding and surfaces only the most critical and suspicious issues, so you can focus on high-level investigations.

" }, "IndicatorDetail":{ "type":"structure", "members":{ "TTPsObservedDetail":{ "shape":"TTPsObservedDetail", "documentation":"

Details about the indicator of compromise.

" }, "ImpossibleTravelDetail":{ "shape":"ImpossibleTravelDetail", "documentation":"

Identifies unusual and impossible user activity for an account.

" }, "FlaggedIpAddressDetail":{ "shape":"FlaggedIpAddressDetail", "documentation":"

Suspicious IP addresses that are flagged, which indicates critical or severe threats based on threat intelligence by Detective. This indicator is derived from AWS threat intelligence.

" }, "NewGeolocationDetail":{ "shape":"NewGeolocationDetail", "documentation":"

Contains details about the new geographic location.

" }, "NewAsoDetail":{ "shape":"NewAsoDetail", "documentation":"

Contains details about the new Autonomous System Organization (ASO).

" }, "NewUserAgentDetail":{ "shape":"NewUserAgentDetail", "documentation":"

Contains details about the new user agent.

" }, "RelatedFindingDetail":{ "shape":"RelatedFindingDetail", "documentation":"

Contains details about related findings.

" }, "RelatedFindingGroupDetail":{ "shape":"RelatedFindingGroupDetail", "documentation":"

Contains details about related finding groups.

" } }, "documentation":"

Details about the indicators of compromise which are used to determine if a resource is involved in a security incident.

" }, "IndicatorType":{ "type":"string", "enum":[ "TTP_OBSERVED", "IMPOSSIBLE_TRAVEL", "FLAGGED_IP_ADDRESS", "NEW_GEOLOCATION", "NEW_ASO", "NEW_USER_AGENT", "RELATED_FINDING", "RELATED_FINDING_GROUP" ] }, "Indicators":{ "type":"list", "member":{"shape":"Indicator"} }, "InternalServerException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The request was valid but failed because of a problem with the service.

", "error":{"httpStatusCode":500}, "exception":true }, "InvestigationDetail":{ "type":"structure", "members":{ "InvestigationId":{ "shape":"InvestigationId", "documentation":"

The investigation ID of the investigation report.

" }, "Severity":{ "shape":"Severity", "documentation":"

Severity based on the likelihood and impact of the indicators of compromise discovered in the investigation.

" }, "Status":{ "shape":"Status", "documentation":"

Status based on the completion status of the investigation.

" }, "State":{ "shape":"State", "documentation":"

The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.

" }, "CreatedTime":{ "shape":"Timestamp", "documentation":"

The UTC time stamp of the creation time of the investigation report.

" }, "EntityArn":{ "shape":"EntityArn", "documentation":"

The unique Amazon Resource Name (ARN) of the IAM user and IAM role.

" }, "EntityType":{ "shape":"EntityType", "documentation":"

Type of entity. For example, Amazon Web Services accounts, such as IAM user and role.

" } }, "documentation":"

Details about the investigation related to a potential security event identified by Detective

" }, "InvestigationDetails":{ "type":"list", "member":{"shape":"InvestigationDetail"} }, "InvestigationId":{ "type":"string", "max":21, "min":21, "pattern":"^[0-9]+$" }, "InvitationType":{ "type":"string", "enum":[ "INVITATION", "ORGANIZATION" ] }, "IpAddress":{"type":"string"}, "IsNewForEntireAccount":{"type":"boolean"}, "LastIngestStateChangeDates":{ "type":"map", "key":{"shape":"DatasourcePackageIngestState"}, "value":{"shape":"TimestampForCollection"} }, "ListDatasourcePackagesRequest":{ "type":"structure", "required":["GraphArn"], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

For requests to get the next page of results, the pagination token that was returned with the previous set of results. The initial request does not include a pagination token.

" }, "MaxResults":{ "shape":"MemberResultsLimit", "documentation":"

The maximum number of results to return.

" } } }, "ListDatasourcePackagesResponse":{ "type":"structure", "members":{ "DatasourcePackages":{ "shape":"DatasourcePackageIngestDetails", "documentation":"

Details on the data source packages active in the behavior graph.

" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

For requests to get the next page of results, the pagination token that was returned with the previous set of results. The initial request does not include a pagination token.

" } } }, "ListGraphsRequest":{ "type":"structure", "members":{ "NextToken":{ "shape":"PaginationToken", "documentation":"

For requests to get the next page of results, the pagination token that was returned with the previous set of results. The initial request does not include a pagination token.

" }, "MaxResults":{ "shape":"MemberResultsLimit", "documentation":"

The maximum number of graphs to return at a time. The total must be less than the overall limit on the number of results to return, which is currently 200.

" } } }, "ListGraphsResponse":{ "type":"structure", "members":{ "GraphList":{ "shape":"GraphList", "documentation":"

A list of behavior graphs that the account is an administrator account for.

" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

If there are more behavior graphs remaining in the results, then this is the pagination token to use to request the next page of behavior graphs.

" } } }, "ListIndicatorsRequest":{ "type":"structure", "required":[ "GraphArn", "InvestigationId" ], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "InvestigationId":{ "shape":"InvestigationId", "documentation":"

The investigation ID of the investigation report.

" }, "IndicatorType":{ "shape":"IndicatorType", "documentation":"

See Detective investigations..

" }, "NextToken":{ "shape":"AiPaginationToken", "documentation":"

List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.

Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.

" }, "MaxResults":{ "shape":"MaxResults", "documentation":"

List the maximum number of indicators in a page.

" } } }, "ListIndicatorsResponse":{ "type":"structure", "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "InvestigationId":{ "shape":"InvestigationId", "documentation":"

The investigation ID of the investigation report.

" }, "NextToken":{ "shape":"AiPaginationToken", "documentation":"

List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.

Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.

" }, "Indicators":{ "shape":"Indicators", "documentation":"

Indicators of compromise listed based on severity.

" } } }, "ListInvestigationsRequest":{ "type":"structure", "required":["GraphArn"], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "NextToken":{ "shape":"AiPaginationToken", "documentation":"

List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.

Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.

" }, "MaxResults":{ "shape":"MaxResults", "documentation":"

List the maximum number of investigations in a page.

" }, "FilterCriteria":{ "shape":"FilterCriteria", "documentation":"

Filter the investigation results based on a criteria.

" }, "SortCriteria":{ "shape":"SortCriteria", "documentation":"

Sorts the investigation results based on a criteria.

" } } }, "ListInvestigationsResponse":{ "type":"structure", "members":{ "InvestigationDetails":{ "shape":"InvestigationDetails", "documentation":"

Investigations details lists the summary of uncommon behavior or malicious activity which indicates a compromise.

" }, "NextToken":{ "shape":"AiPaginationToken", "documentation":"

List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.

Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

" } } }, "ListInvitationsRequest":{ "type":"structure", "members":{ "NextToken":{ "shape":"PaginationToken", "documentation":"

For requests to retrieve the next page of results, the pagination token that was returned with the previous page of results. The initial request does not include a pagination token.

" }, "MaxResults":{ "shape":"MemberResultsLimit", "documentation":"

The maximum number of behavior graph invitations to return in the response. The total must be less than the overall limit on the number of results to return, which is currently 200.

" } } }, "ListInvitationsResponse":{ "type":"structure", "members":{ "Invitations":{ "shape":"MemberDetailList", "documentation":"

The list of behavior graphs for which the member account has open or accepted invitations.

" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

If there are more behavior graphs remaining in the results, then this is the pagination token to use to request the next page of behavior graphs.

" } } }, "ListMembersRequest":{ "type":"structure", "required":["GraphArn"], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph for which to retrieve the list of member accounts.

" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

For requests to retrieve the next page of member account results, the pagination token that was returned with the previous page of results. The initial request does not include a pagination token.

" }, "MaxResults":{ "shape":"MemberResultsLimit", "documentation":"

The maximum number of member accounts to include in the response. The total must be less than the overall limit on the number of results to return, which is currently 200.

" } } }, "ListMembersResponse":{ "type":"structure", "members":{ "MemberDetails":{ "shape":"MemberDetailList", "documentation":"

The list of member accounts in the behavior graph.

For invited accounts, the results include member accounts that did not pass verification and member accounts that have not yet accepted the invitation to the behavior graph. The results do not include member accounts that were removed from the behavior graph.

For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.

" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

If there are more member accounts remaining in the results, then use this pagination token to request the next page of member accounts.

" } } }, "ListOrganizationAdminAccountsRequest":{ "type":"structure", "members":{ "NextToken":{ "shape":"PaginationToken", "documentation":"

For requests to get the next page of results, the pagination token that was returned with the previous set of results. The initial request does not include a pagination token.

" }, "MaxResults":{ "shape":"MemberResultsLimit", "documentation":"

The maximum number of results to return.

" } } }, "ListOrganizationAdminAccountsResponse":{ "type":"structure", "members":{ "Administrators":{ "shape":"AdministratorList", "documentation":"

The list of Detective administrator accounts.

" }, "NextToken":{ "shape":"PaginationToken", "documentation":"

If there are more accounts remaining in the results, then this is the pagination token to use to request the next page of accounts.

" } } }, "ListTagsForResourceRequest":{ "type":"structure", "required":["ResourceArn"], "members":{ "ResourceArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph for which to retrieve the tag values.

", "location":"uri", "locationName":"ResourceArn" } } }, "ListTagsForResourceResponse":{ "type":"structure", "members":{ "Tags":{ "shape":"TagMap", "documentation":"

The tag values that are assigned to the behavior graph. The request returns up to 50 tag values.

" } } }, "Location":{"type":"string"}, "MaxResults":{ "type":"integer", "box":true, "max":100, "min":1 }, "MemberDetail":{ "type":"structure", "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The Amazon Web Services account identifier for the member account.

" }, "EmailAddress":{ "shape":"EmailAddress", "documentation":"

The Amazon Web Services account root user email address for the member account.

" }, "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "MasterId":{ "shape":"AccountId", "documentation":"

The Amazon Web Services account identifier of the administrator account for the behavior graph.

", "deprecated":true, "deprecatedMessage":"This property is deprecated. Use AdministratorId instead." }, "AdministratorId":{ "shape":"AccountId", "documentation":"

The Amazon Web Services account identifier of the administrator account for the behavior graph.

" }, "Status":{ "shape":"MemberStatus", "documentation":"

The current membership status of the member account. The status can have one of the following values:

- `INVITED` - For invited accounts only. Indicates that the member was sent an invitation but has not yet responded.

- `VERIFICATION_IN_PROGRESS` - For invited accounts only, indicates that Detective is verifying that the account identifier and email address provided for the member account match. If they do match, then Detective sends the invitation. If the email address and account identifier don't match, then the member cannot be added to the behavior graph.

  For organization accounts in the organization behavior graph, indicates that Detective is verifying that the account belongs to the organization.

- `VERIFICATION_FAILED` - For invited accounts only. Indicates that the account and email address provided for the member account do not match, and Detective did not send an invitation to the account.

- `ENABLED` - Indicates that the member account currently contributes data to the behavior graph. For invited accounts, the member account accepted the invitation. For organization accounts in the organization behavior graph, the Detective administrator account enabled the organization account as a member account.

- `ACCEPTED_BUT_DISABLED` - The account accepted the invitation, or was enabled by the Detective administrator account, but is prevented from contributing data to the behavior graph. `DisabledReason` provides the reason why the member account is not enabled.

Invited accounts that declined an invitation or that were removed from the behavior graph are not included. In the organization behavior graph, organization accounts that the Detective administrator account did not enable are not included.

" }, "DisabledReason":{ "shape":"MemberDisabledReason", "documentation":"

For member accounts with a status of `ACCEPTED_BUT_DISABLED`, the reason that the member account is not enabled.

The reason can have one of the following values:

- `VOLUME_TOO_HIGH` - Indicates that adding the member account would cause the data volume for the behavior graph to be too high.

- `VOLUME_UNKNOWN` - Indicates that Detective is unable to verify the data volume for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.

" }, "InvitedTime":{ "shape":"Timestamp", "documentation":"

For invited accounts, the date and time that Detective sent the invitation to the account. The value is an ISO8601 formatted string. For example, `2021-08-18T16:35:56.284Z`.

" }, "UpdatedTime":{ "shape":"Timestamp", "documentation":"

The date and time that the member account was last updated. The value is an ISO8601 formatted string. For example, `2021-08-18T16:35:56.284Z`.

" }, "VolumeUsageInBytes":{ "shape":"ByteValue", "documentation":"

The data volume in bytes per day for the member account.

", "deprecated":true, "deprecatedMessage":"This property is deprecated. Use VolumeUsageByDatasourcePackage instead." }, "VolumeUsageUpdatedTime":{ "shape":"Timestamp", "documentation":"

The data and time when the member account data volume was last updated. The value is an ISO8601 formatted string. For example, `2021-08-18T16:35:56.284Z`.

", "deprecated":true, "deprecatedMessage":"This property is deprecated. Use VolumeUsageByDatasourcePackage instead." }, "PercentOfGraphUtilization":{ "shape":"Percentage", "documentation":"

The member account data volume as a percentage of the maximum allowed data volume. 0 indicates 0 percent, and 100 indicates 100 percent.

Note that this is not the percentage of the behavior graph data volume.

For example, the data volume for the behavior graph is 80 GB per day. The maximum data volume is 160 GB per day. If the data volume for the member account is 40 GB per day, then `PercentOfGraphUtilization` is 25. It represents 25% of the maximum allowed data volume.

", "deprecated":true, "deprecatedMessage":"This property is deprecated. Use VolumeUsageByDatasourcePackage instead." }, "PercentOfGraphUtilizationUpdatedTime":{ "shape":"Timestamp", "documentation":"

The date and time when the graph utilization percentage was last updated. The value is an ISO8601 formatted string. For example, `2021-08-18T16:35:56.284Z`.

", "deprecated":true, "deprecatedMessage":"This property is deprecated. Use VolumeUsageByDatasourcePackage instead." }, "InvitationType":{ "shape":"InvitationType", "documentation":"

The type of behavior graph membership.

For an organization account in the organization behavior graph, the type is `ORGANIZATION`.

For an account that was invited to a behavior graph, the type is `INVITATION`.

" }, "VolumeUsageByDatasourcePackage":{ "shape":"VolumeUsageByDatasourcePackage", "documentation":"

Details on the volume of usage for each data source package in a behavior graph.

" }, "DatasourcePackageIngestStates":{ "shape":"DatasourcePackageIngestStates", "documentation":"

The state of a data source package for the behavior graph.

" } }, "documentation":"

Details about a member account in a behavior graph.

" }, "MemberDetailList":{ "type":"list", "member":{"shape":"MemberDetail"} }, "MemberDisabledReason":{ "type":"string", "enum":[ "VOLUME_TOO_HIGH", "VOLUME_UNKNOWN" ] }, "MemberResultsLimit":{ "type":"integer", "box":true, "max":200, "min":1 }, "MemberStatus":{ "type":"string", "enum":[ "INVITED", "VERIFICATION_IN_PROGRESS", "VERIFICATION_FAILED", "ENABLED", "ACCEPTED_BUT_DISABLED" ] }, "MembershipDatasources":{ "type":"structure", "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The account identifier of the Amazon Web Services account.

" }, "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the organization behavior graph.

" }, "DatasourcePackageIngestHistory":{ "shape":"DatasourcePackageIngestHistory", "documentation":"

Details on when a data source package was added to a behavior graph.

" } }, "documentation":"

Details on data source packages for members of the behavior graph.

" }, "MembershipDatasourcesList":{ "type":"list", "member":{"shape":"MembershipDatasources"} }, "NewAsoDetail":{ "type":"structure", "members":{ "Aso":{ "shape":"Aso", "documentation":"

Details about the new Autonomous System Organization (ASO).

" }, "IsNewForEntireAccount":{ "shape":"IsNewForEntireAccount", "documentation":"

Checks if the ASO is for new for the entire account.

" } }, "documentation":"

Details new Autonomous System Organizations (ASOs) used either at the resource or account level.

" }, "NewGeolocationDetail":{ "type":"structure", "members":{ "Location":{ "shape":"Location", "documentation":"

Location where the resource was accessed.

" }, "IpAddress":{ "shape":"IpAddress", "documentation":"

IP address using which the resource was accessed.

" }, "IsNewForEntireAccount":{ "shape":"IsNewForEntireAccount", "documentation":"

Checks if the gelocation is new for the entire account.

" } }, "documentation":"

Details new geolocations used either at the resource or account level. For example, lists an observed geolocation that is an infrequent or unused location based on previous user activity.

" }, "NewUserAgentDetail":{ "type":"structure", "members":{ "UserAgent":{ "shape":"UserAgent", "documentation":"

New user agent which accessed the resource.

" }, "IsNewForEntireAccount":{ "shape":"IsNewForEntireAccount", "documentation":"

Checks if the user agent is new for the entire account.

" } }, "documentation":"

Details new user agents used either at the resource or account level.

" }, "PaginationToken":{ "type":"string", "max":1024, "min":1 }, "Percentage":{"type":"double"}, "Procedure":{"type":"string"}, "Reason":{ "type":"string", "enum":["AWS_THREAT_INTELLIGENCE"] }, "RejectInvitationRequest":{ "type":"structure", "required":["GraphArn"], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph to reject the invitation to.

The member account's current member status in the behavior graph must be `INVITED`.

" } } }, "RelatedFindingDetail":{ "type":"structure", "members":{ "Arn":{ "shape":"EntityArn", "documentation":"

The ARN of the related finding.

" }, "Type":{ "shape":"Type", "documentation":"

The type of finding.

" }, "IpAddress":{ "shape":"IpAddress", "documentation":"

The IP address of the finding.

" } }, "documentation":"

Details related activities associated with a potential security event. Lists all distinct categories of evidence that are connected to the resource or the finding group.

" }, "RelatedFindingGroupDetail":{ "type":"structure", "members":{ "Id":{ "shape":"Id", "documentation":"

The unique identifier for the finding group.

" } }, "documentation":"

Details multiple activities as they related to a potential security event. Detective uses graph analysis technique that infers relationships between findings and entities, and groups them together as a finding group.

" }, "Resource":{ "type":"string", "max":64, "min":1 }, "ResourceList":{ "type":"list", "member":{"shape":"Resource"}, "max":50, "min":1 }, "ResourceNotFoundException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The request refers to a nonexistent resource.

", "error":{"httpStatusCode":404}, "exception":true }, "ServiceQuotaExceededException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"}, "Resources":{ "shape":"ResourceList", "documentation":"

The type of resource that has exceeded the service quota.

" } }, "documentation":"

This request cannot be completed for one of the following reasons.

- The request would cause the number of member accounts in the behavior graph to exceed the maximum allowed. A behavior graph cannot have more than 1200 member accounts.

- The request would cause the data rate for the behavior graph to exceed the maximum allowed.

- Detective is unable to verify the data rate for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.

", "error":{"httpStatusCode":402}, "exception":true }, "Severity":{ "type":"string", "enum":[ "INFORMATIONAL", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] }, "SortCriteria":{ "type":"structure", "members":{ "Field":{ "shape":"Field", "documentation":"

Represents the `Field` attribute to sort investigations.

" }, "SortOrder":{ "shape":"SortOrder", "documentation":"

The order by which the sorted findings are displayed.

" } }, "documentation":"

Details about the criteria used for sorting investigations.

" }, "SortOrder":{ "type":"string", "enum":[ "ASC", "DESC" ] }, "StartInvestigationRequest":{ "type":"structure", "required":[ "GraphArn", "EntityArn", "ScopeStartTime", "ScopeEndTime" ], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "EntityArn":{ "shape":"EntityArn", "documentation":"

The unique Amazon Resource Name (ARN) of the IAM user and IAM role.

" }, "ScopeStartTime":{ "shape":"Timestamp", "documentation":"

The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, `2021-08-18T16:35:56.284Z`.

" }, "ScopeEndTime":{ "shape":"Timestamp", "documentation":"

The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, `2021-08-18T16:35:56.284Z`.

" } } }, "StartInvestigationResponse":{ "type":"structure", "members":{ "InvestigationId":{ "shape":"InvestigationId", "documentation":"

The investigation ID of the investigation report.

" } } }, "StartMonitoringMemberRequest":{ "type":"structure", "required":[ "GraphArn", "AccountId" ], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "AccountId":{ "shape":"AccountId", "documentation":"

The account ID of the member account to try to enable.

The account must be an invited member account with a status of `ACCEPTED_BUT_DISABLED`.

" } } }, "State":{ "type":"string", "enum":[ "ACTIVE", "ARCHIVED" ] }, "Status":{ "type":"string", "enum":[ "RUNNING", "FAILED", "SUCCESSFUL" ] }, "StringFilter":{ "type":"structure", "required":["Value"], "members":{ "Value":{ "shape":"Value", "documentation":"

The string filter value.

" } }, "documentation":"

A string for filtering Detective investigations.

" }, "TTPsObservedDetail":{ "type":"structure", "members":{ "Tactic":{ "shape":"Tactic", "documentation":"

The tactic used, identified by the investigation.

" }, "Technique":{ "shape":"Technique", "documentation":"

The technique used, identified by the investigation.

" }, "Procedure":{ "shape":"Procedure", "documentation":"

The procedure used, identified by the investigation.

" }, "IpAddress":{ "shape":"IpAddress", "documentation":"

The IP address where the TTP was observed.

" }, "APIName":{ "shape":"APIName", "documentation":"

The name of the API where the TTP was observed.

" }, "APISuccessCount":{ "shape":"APISuccessCount", "documentation":"

The total number of successful API requests.

" }, "APIFailureCount":{ "shape":"APIFailureCount", "documentation":"

The total number of failed API requests.

" } }, "documentation":"

Details tactics, techniques, and procedures (TTPs) used in a potential security event. Tactics are based on MITRE ATT&CK Matrix for Enterprise.

" }, "Tactic":{"type":"string"}, "TagKey":{ "type":"string", "max":128, "min":1, "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$" }, "TagKeyList":{ "type":"list", "member":{"shape":"TagKey"}, "max":50, "min":1 }, "TagMap":{ "type":"map", "key":{"shape":"TagKey"}, "value":{"shape":"TagValue"}, "max":50, "min":1 }, "TagResourceRequest":{ "type":"structure", "required":[ "ResourceArn", "Tags" ], "members":{ "ResourceArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph to assign the tags to.

", "location":"uri", "locationName":"ResourceArn" }, "Tags":{ "shape":"TagMap", "documentation":"

The tags to assign to the behavior graph. You can add up to 50 tags. For each tag, you provide the tag key and the tag value. Each tag key can contain up to 128 characters. Each tag value can contain up to 256 characters.

" } } }, "TagResourceResponse":{ "type":"structure", "members":{ } }, "TagValue":{ "type":"string", "max":256 }, "Technique":{"type":"string"}, "Timestamp":{ "type":"timestamp", "timestampFormat":"iso8601" }, "TimestampForCollection":{ "type":"structure", "members":{ "Timestamp":{ "shape":"Timestamp", "documentation":"

The data and time when data collection began for a source package. The value is an ISO8601 formatted string. For example, `2021-08-18T16:35:56.284Z`.

" } }, "documentation":"

Details on when data collection began for a source package.

" }, "TooManyRequestsException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The request cannot be completed because too many other requests are occurring at the same time.

", "error":{"httpStatusCode":429}, "exception":true }, "Type":{"type":"string"}, "UnprocessedAccount":{ "type":"structure", "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The Amazon Web Services account identifier of the member account that was not processed.

" }, "Reason":{ "shape":"UnprocessedReason", "documentation":"

The reason that the member account request could not be processed.

" } }, "documentation":"

A member account that was included in a request but for which the request could not be processed.

" }, "UnprocessedAccountList":{ "type":"list", "member":{"shape":"UnprocessedAccount"} }, "UnprocessedGraph":{ "type":"structure", "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the organization behavior graph.

" }, "Reason":{ "shape":"UnprocessedReason", "documentation":"

The reason data source package information could not be processed for a behavior graph.

" } }, "documentation":"

Behavior graphs that could not be processed in the request.

" }, "UnprocessedGraphList":{ "type":"list", "member":{"shape":"UnprocessedGraph"} }, "UnprocessedReason":{"type":"string"}, "UntagResourceRequest":{ "type":"structure", "required":[ "ResourceArn", "TagKeys" ], "members":{ "ResourceArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph to remove the tags from.

", "location":"uri", "locationName":"ResourceArn" }, "TagKeys":{ "shape":"TagKeyList", "documentation":"

The tag keys of the tags to remove from the behavior graph. You can remove up to 50 tags at a time.

", "location":"querystring", "locationName":"tagKeys" } } }, "UntagResourceResponse":{ "type":"structure", "members":{ } }, "UpdateDatasourcePackagesRequest":{ "type":"structure", "required":[ "GraphArn", "DatasourcePackages" ], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "DatasourcePackages":{ "shape":"DatasourcePackageList", "documentation":"

The data source package start for the behavior graph.

" } } }, "UpdateInvestigationStateRequest":{ "type":"structure", "required":[ "GraphArn", "InvestigationId", "State" ], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the behavior graph.

" }, "InvestigationId":{ "shape":"InvestigationId", "documentation":"

The investigation ID of the investigation report.

" }, "State":{ "shape":"State", "documentation":"

The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.

" } } }, "UpdateOrganizationConfigurationRequest":{ "type":"structure", "required":["GraphArn"], "members":{ "GraphArn":{ "shape":"GraphArn", "documentation":"

The ARN of the organization behavior graph.

" }, "AutoEnable":{ "shape":"Boolean", "documentation":"

Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.

" } } }, "UserAgent":{"type":"string"}, "ValidationException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"}, "ErrorCode":{ "shape":"ErrorCode", "documentation":"

The error code associated with the validation failure.

" }, "ErrorCodeReason":{ "shape":"ErrorCodeReason", "documentation":"

An explanation of why validation failed.

" } }, "documentation":"

The request parameters are invalid.

", "error":{"httpStatusCode":400}, "exception":true }, "Value":{ "type":"string", "max":500, "min":1 }, "VolumeUsageByDatasourcePackage":{ "type":"map", "key":{"shape":"DatasourcePackage"}, "value":{"shape":"DatasourcePackageUsageInfo"} } }, "documentation":"

Detective uses machine learning and purpose-built visualizations to help you to analyze and investigate security issues across your Amazon Web Services (Amazon Web Services) workloads. Detective automatically extracts time-based events such as login attempts, API calls, and network traffic from CloudTrail and Amazon Virtual Private Cloud (Amazon VPC) flow logs. It also extracts findings detected by Amazon GuardDuty.

The Detective API primarily supports the creation and management of behavior graphs. A behavior graph contains the extracted data from a set of member accounts, and is created and managed by an administrator account.

To add a member account to the behavior graph, the administrator account sends an invitation to the account. When the account accepts the invitation, it becomes a member account in the behavior graph.

Detective is also integrated with Organizations. The organization management account designates the Detective administrator account for the organization. That account becomes the administrator account for the organization behavior graph. The Detective administrator account is also the delegated administrator account for Detective in Organizations.

The Detective administrator account can enable any organization account as a member account in the organization behavior graph. The organization accounts do not receive invitations. The Detective administrator account can also invite other accounts to the organization behavior graph.

Every behavior graph is specific to a Region. You can only use the API to manage behavior graphs that belong to the Region that is associated with the currently selected endpoint.

The administrator account for a behavior graph can use the Detective API to do the following:

- Enable and disable Detective. Enabling Detective creates a new behavior graph.

- View the list of member accounts in a behavior graph.

- Add member accounts to a behavior graph.

- Remove member accounts from a behavior graph.

- Apply tags to a behavior graph.

The organization management account can use the Detective API to select the delegated administrator for Detective.

The Detective administrator account for an organization can use the Detective API to do the following:

- Perform all of the functions of an administrator account.

- Determine whether to automatically enable new organization accounts as member accounts in the organization behavior graph.

An invited member account can use the Detective API to do the following:

- View the list of behavior graphs that they are invited to.

- Accept an invitation to contribute to a behavior graph.

- Decline an invitation to contribute to a behavior graph.

- Remove their account from a behavior graph.

All API actions are logged as CloudTrail events. See Logging Detective API Calls with CloudTrail.

We replaced the term \"master account\" with the term \"administrator account.\" An administrator account is used to centrally manage multiple accounts. In the case of Detective, the administrator account manages the accounts in their behavior graph.

" }