aws-sdk-for-zig/codegen/models/detective.2018-10-26.json

1359 lines
66 KiB
JSON
Raw Permalink Normal View History

2021-05-30 01:17:45 +00:00
{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.detective#AcceptInvitation": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#AcceptInvitationRequest"
},
"errors": [
{
"target": "com.amazonaws.detective#ConflictException"
},
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ResourceNotFoundException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Accepts an invitation for the member account to contribute data to a behavior graph.\n This operation can only be called by an invited member account. </p>\n <p>The request provides the ARN of behavior graph.</p>\n <p>The member account status in the graph must be <code>INVITED</code>.</p>",
"smithy.api#http": {
"method": "PUT",
"uri": "/invitation",
"code": 200
}
}
},
"com.amazonaws.detective#AcceptInvitationRequest": {
"type": "structure",
"members": {
"GraphArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph that the member account is accepting the invitation\n for.</p>\n <p>The member account status in the behavior graph must be <code>INVITED</code>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.detective#Account": {
"type": "structure",
"members": {
"AccountId": {
"target": "com.amazonaws.detective#AccountId",
"traits": {
"smithy.api#documentation": "<p>The account identifier of the AWS account.</p>",
"smithy.api#required": {}
}
},
"EmailAddress": {
"target": "com.amazonaws.detective#EmailAddress",
"traits": {
"smithy.api#documentation": "<p>The AWS account root user email address for the AWS account.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>An AWS account that is the administrator account of or a member of a behavior\n graph.</p>"
}
},
"com.amazonaws.detective#AccountId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 12,
"max": 12
},
"smithy.api#pattern": "^[0-9]+$"
}
},
"com.amazonaws.detective#AccountIdList": {
"type": "list",
"member": {
"target": "com.amazonaws.detective#AccountId"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.detective#AccountList": {
"type": "list",
"member": {
"target": "com.amazonaws.detective#Account"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.detective#AmazonDetective": {
"type": "service",
"version": "2018-10-26",
"operations": [
{
"target": "com.amazonaws.detective#AcceptInvitation"
},
{
"target": "com.amazonaws.detective#CreateGraph"
},
{
"target": "com.amazonaws.detective#CreateMembers"
},
{
"target": "com.amazonaws.detective#DeleteGraph"
},
{
"target": "com.amazonaws.detective#DeleteMembers"
},
{
"target": "com.amazonaws.detective#DisassociateMembership"
},
{
"target": "com.amazonaws.detective#GetMembers"
},
{
"target": "com.amazonaws.detective#ListGraphs"
},
{
"target": "com.amazonaws.detective#ListInvitations"
},
{
"target": "com.amazonaws.detective#ListMembers"
},
{
"target": "com.amazonaws.detective#ListTagsForResource"
},
{
"target": "com.amazonaws.detective#RejectInvitation"
},
{
"target": "com.amazonaws.detective#StartMonitoringMember"
},
{
"target": "com.amazonaws.detective#TagResource"
},
{
"target": "com.amazonaws.detective#UntagResource"
}
],
"traits": {
"aws.api#service": {
"sdkId": "Detective",
"arnNamespace": "detective",
"cloudFormationName": "Detective",
"cloudTrailEventSource": "detective.amazonaws.com",
"endpointPrefix": "api.detective"
},
"aws.auth#sigv4": {
"name": "detective"
},
"aws.protocols#restJson1": {},
"smithy.api#documentation": "<p>Detective uses machine learning and purpose-built visualizations to help you analyze and\n investigate security issues across your Amazon Web Services (AWS) workloads. Detective automatically\n extracts time-based events such as login attempts, API calls, and network traffic from\n AWS CloudTrail and Amazon Virtual Private Cloud (Amazon VPC) flow logs. It also extracts findings detected by\n Amazon GuardDuty.</p>\n <p>The Detective API primarily supports the creation and management of behavior graphs. A\n behavior graph contains the extracted data from a set of member accounts, and is created\n and managed by an administrator account.</p>\n <p>Every behavior graph is specific to a Region. You can only use the API to manage graphs\n that belong to the Region that is associated with the currently selected endpoint.</p>\n <p>A Detective administrator account can use the Detective API to do the following:</p>\n <ul>\n <li>\n <p>Enable and disable Detective. Enabling Detective creates a new behavior graph.</p>\n </li>\n <li>\n <p>View the list of member accounts in a behavior graph.</p>\n </li>\n <li>\n <p>Add member accounts to a behavior graph.</p>\n </li>\n <li>\n <p>Remove member accounts from a behavior graph.</p>\n </li>\n </ul>\n <p>A member account can use the Detective API to do the following:</p>\n <ul>\n <li>\n <p>View the list of behavior graphs that they are invited to.</p>\n </li>\n <li>\n <p>Accept an invitation to contribute to a behavior graph.</p>\n </li>\n <li>\n <p>Decline an invitation to contribute to a behavior graph.</p>\n </li>\n <li>\n <p>Remove their account from a behavior graph.</p>\n </li>\n </ul>\n <p>All API actions are logged as CloudTrail events. See <a href=\"https://docs.aws.amazon.com/detective/latest/adminguide/logging-using-cloudtrail.html\">Logging Detective API Calls with CloudTrail</a>.</p>\n <note>\n <p>We replaced the term \"master account\" with the term \"administrator account.\" An\n administrator account is used to centrally manage multiple accounts. In the case of\n Detective, the administrator account manages the accounts in their behavior graph.</p>\n </note>",
"smithy.api#title": "Amazon Detective"
}
},
"com.amazonaws.detective#Boolean": {
"type": "boolean"
},
"com.amazonaws.detective#ByteValue": {
"type": "long",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.detective#ConflictException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.detective#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The request attempted an invalid action.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.detective#CreateGraph": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#CreateGraphRequest"
},
"output": {
"target": "com.amazonaws.detective#CreateGraphResponse"
},
"errors": [
{
"target": "com.amazonaws.detective#ConflictException"
},
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ServiceQuotaExceededException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a new behavior graph for the calling account, and sets that account as the\n administrator account. This operation is called by the account that is enabling\n Detective.</p>\n <p>Before you try to enable Detective, make sure that your account has been enrolled in\n Amazon GuardDuty for at least 48 hours. If you do not meet this requirement, you cannot enable\n Detective. If you do meet the GuardDuty prerequisite, then when you make the request to enable\n Detective, it checks whether your data volume is within the Detective quota. If it exceeds the\n quota, then you cannot enable Detective. </p>\n <p>The operation also enables Detective for the calling account in the currently selected\n Region. It returns the ARN of the new behavior graph.</p>\n <p>\n <code>CreateGraph</code> triggers a process to create the corresponding data tables for\n the new behavior graph.</p>\n <p>An account can only be the administrator account for one behavior graph within a Region.\n If the same account calls <code>CreateGraph</code> with the same administrator account, it\n always returns the same behavior graph ARN. It does not create a new behavior graph.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/graph",
"code": 200
}
}
},
"com.amazonaws.detective#CreateGraphRequest": {
"type": "structure",
"members": {
"Tags": {
"target": "com.amazonaws.detective#TagMap",
"traits": {
"smithy.api#documentation": "<p>The tags to assign to the new behavior graph. You can add up to 50 tags. For each tag,\n you provide the tag key and the tag value. Each tag key can contain up to 128 characters.\n Each tag value can contain up to 256 characters.</p>"
}
}
}
},
"com.amazonaws.detective#CreateGraphResponse": {
"type": "structure",
"members": {
"GraphArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the new behavior graph.</p>"
}
}
}
},
"com.amazonaws.detective#CreateMembers": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#CreateMembersRequest"
},
"output": {
"target": "com.amazonaws.detective#CreateMembersResponse"
},
"errors": [
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ResourceNotFoundException"
},
{
"target": "com.amazonaws.detective#ServiceQuotaExceededException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Sends a request to invite the specified AWS accounts to be member accounts in the\n behavior graph. This operation can only be called by the administrator account for a\n behavior graph. </p>\n <p>\n <code>CreateMembers</code> verifies the accounts and then invites the verified accounts.\n The administrator can optionally specify to not send invitation emails to the member\n accounts. This would be used when the administrator manages their member accounts\n centrally.</p>\n <p>The request provides the behavior graph ARN and the list of accounts to invite.</p>\n <p>The response separates the requested accounts into two lists:</p>\n <ul>\n <li>\n <p>The accounts that <code>CreateMembers</code> was able to start the verification\n for. This list includes member accounts that are being verified, that have passed\n verification and are to be invited, and that have failed verification.</p>\n </li>\n <li>\n <p>The accounts that <code>CreateMembers</code> was unable to process. This list\n includes accounts that were already invited to be member accounts in the behavior\n graph.</p>\n </li>\n </ul>",
"smithy.api#http": {
"method": "POST",
"uri": "/graph/members",
"code": 200
}
}
},
"com.amazonaws.detective#CreateMembersRequest": {
"type": "structure",
"members": {
"GraphArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph to invite the member accounts to contribute their data\n to.</p>",
"smithy.api#required": {}
}
},
"Message": {
"target": "com.amazonaws.detective#EmailMessage",
"traits": {
"smithy.api#documentation": "<p>Customized message text to include in the invitation email message to the invited member\n accounts.</p>"
}
},
"DisableEmailNotification": {
"target": "com.amazonaws.detective#Boolean",
"traits": {
"smithy.api#documentation": "<p>if set to <code>true</code>, then the member accounts do not receive email\n notifications. By default, this is set to <code>false</code>, and the member accounts\n receive email notifications.</p>"
}
},
"Accounts": {
"target": "com.amazonaws.detective#AccountList",
"traits": {
"smithy.api#documentation": "<p>The list of AWS accounts to invite to become member accounts in the behavior graph.\n You can invite up to 50 accounts at a time. For each invited account, the account list\n contains the account identifier and the AWS account root user email address.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.detective#CreateMembersResponse": {
"type": "structure",
"members": {
"Members": {
"target": "com.amazonaws.detective#MemberDetailList",
"traits": {
"smithy.api#documentation": "<p>The set of member account invitation requests that Detective was able to process. This\n includes accounts that are being verified, that failed verification, and that passed\n verification and are being sent an invitation.</p>"
}
},
"UnprocessedAccounts": {
"target": "com.amazonaws.detective#UnprocessedAccountList",
"traits": {
"smithy.api#documentation": "<p>The list of accounts for which Detective was unable to process the invitation request. For\n each account, the list provides the reason why the request could not be processed. The list\n includes accounts that are already member accounts in the behavior graph.</p>"
}
}
}
},
"com.amazonaws.detective#DeleteGraph": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#DeleteGraphRequest"
},
"errors": [
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ResourceNotFoundException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Disables the specified behavior graph and queues it to be deleted. This operation\n removes the graph from each member account's list of behavior graphs.</p>\n <p>\n <code>DeleteGraph</code> can only be called by the administrator account for a behavior\n graph.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/graph/removal",
"code": 200
}
}
},
"com.amazonaws.detective#DeleteGraphRequest": {
"type": "structure",
"members": {
"GraphArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph to disable.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.detective#DeleteMembers": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#DeleteMembersRequest"
},
"output": {
"target": "com.amazonaws.detective#DeleteMembersResponse"
},
"errors": [
{
"target": "com.amazonaws.detective#ConflictException"
},
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ResourceNotFoundException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes one or more member accounts from the administrator account's behavior graph.\n This operation can only be called by a Detective administrator account. That account cannot use\n <code>DeleteMembers</code> to delete their own account from the behavior graph. To\n disable a behavior graph, the administrator account uses the <code>DeleteGraph</code> API\n method.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/graph/members/removal",
"code": 200
}
}
},
"com.amazonaws.detective#DeleteMembersRequest": {
"type": "structure",
"members": {
"GraphArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph to delete members from.</p>",
"smithy.api#required": {}
}
},
"AccountIds": {
"target": "com.amazonaws.detective#AccountIdList",
"traits": {
"smithy.api#documentation": "<p>The list of AWS account identifiers for the member accounts to delete from the\n behavior graph. You can delete up to 50 member accounts at a time.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.detective#DeleteMembersResponse": {
"type": "structure",
"members": {
"AccountIds": {
"target": "com.amazonaws.detective#AccountIdList",
"traits": {
"smithy.api#documentation": "<p>The list of AWS account identifiers for the member accounts that Detective successfully\n deleted from the behavior graph.</p>"
}
},
"UnprocessedAccounts": {
"target": "com.amazonaws.detective#UnprocessedAccountList",
"traits": {
"smithy.api#documentation": "<p>The list of member accounts that Detective was not able to delete from the behavior graph.\n For each member account, provides the reason that the deletion could not be\n processed.</p>"
}
}
}
},
"com.amazonaws.detective#DisassociateMembership": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#DisassociateMembershipRequest"
},
"errors": [
{
"target": "com.amazonaws.detective#ConflictException"
},
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ResourceNotFoundException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Removes the member account from the specified behavior graph. This operation can only be\n called by a member account that has the <code>ENABLED</code> status.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/membership/removal",
"code": 200
}
}
},
"com.amazonaws.detective#DisassociateMembershipRequest": {
"type": "structure",
"members": {
"GraphArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph to remove the member account from.</p>\n <p>The member account's member status in the behavior graph must be\n <code>ENABLED</code>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.detective#EmailAddress": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 64
},
"smithy.api#pattern": "^.+@.+$"
}
},
"com.amazonaws.detective#EmailMessage": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1000
}
}
},
"com.amazonaws.detective#ErrorMessage": {
"type": "string"
},
"com.amazonaws.detective#GetMembers": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#GetMembersRequest"
},
"output": {
"target": "com.amazonaws.detective#GetMembersResponse"
},
"errors": [
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ResourceNotFoundException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns the membership details for specified member accounts for a behavior\n graph.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/graph/members/get",
"code": 200
}
}
},
"com.amazonaws.detective#GetMembersRequest": {
"type": "structure",
"members": {
"GraphArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph for which to request the member details.</p>",
"smithy.api#required": {}
}
},
"AccountIds": {
"target": "com.amazonaws.detective#AccountIdList",
"traits": {
"smithy.api#documentation": "<p>The list of AWS account identifiers for the member account for which to return member\n details. You can request details for up to 50 member accounts at a time.</p>\n <p>You cannot use <code>GetMembers</code> to retrieve information about member accounts\n that were removed from the behavior graph.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.detective#GetMembersResponse": {
"type": "structure",
"members": {
"MemberDetails": {
"target": "com.amazonaws.detective#MemberDetailList",
"traits": {
"smithy.api#documentation": "<p>The member account details that Detective is returning in response to the request.</p>"
}
},
"UnprocessedAccounts": {
"target": "com.amazonaws.detective#UnprocessedAccountList",
"traits": {
"smithy.api#documentation": "<p>The requested member accounts for which Detective was unable to return member\n details.</p>\n <p>For each account, provides the reason why the request could not be processed.</p>"
}
}
}
},
"com.amazonaws.detective#Graph": {
"type": "structure",
"members": {
"Arn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph.</p>"
}
},
"CreatedTime": {
"target": "com.amazonaws.detective#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time that the behavior graph was created. The value is in milliseconds\n since the epoch.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A behavior graph in Detective.</p>"
}
},
"com.amazonaws.detective#GraphArn": {
"type": "string",
"traits": {
"smithy.api#pattern": "^arn:aws[-\\w]{0,10}?:detective:[-\\w]{2,20}?:\\d{12}?:graph:[abcdef\\d]{32}?$"
}
},
"com.amazonaws.detective#GraphList": {
"type": "list",
"member": {
"target": "com.amazonaws.detective#Graph"
}
},
"com.amazonaws.detective#InternalServerException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.detective#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The request was valid but failed because of a problem with the service.</p>",
"smithy.api#error": "server",
"smithy.api#httpError": 500
}
},
"com.amazonaws.detective#ListGraphs": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#ListGraphsRequest"
},
"output": {
"target": "com.amazonaws.detective#ListGraphsResponse"
},
"errors": [
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns the list of behavior graphs that the calling account is an administrator account\n of. This operation can only be called by an administrator account.</p>\n <p>Because an account can currently only be the administrator of one behavior graph within\n a Region, the results always contain a single behavior graph.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/graphs/list",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.detective#ListGraphsRequest": {
"type": "structure",
"members": {
"NextToken": {
"target": "com.amazonaws.detective#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>For requests to get the next page of results, the pagination token that was returned\n with the previous set of results. The initial request does not include a pagination\n token.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.detective#MemberResultsLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of graphs to return at a time. The total must be less than the\n overall limit on the number of results to return, which is currently 200.</p>"
}
}
}
},
"com.amazonaws.detective#ListGraphsResponse": {
"type": "structure",
"members": {
"GraphList": {
"target": "com.amazonaws.detective#GraphList",
"traits": {
"smithy.api#documentation": "<p>A list of behavior graphs that the account is an administrator account for.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.detective#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>If there are more behavior graphs remaining in the results, then this is the pagination\n token to use to request the next page of behavior graphs.</p>"
}
}
}
},
"com.amazonaws.detective#ListInvitations": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#ListInvitationsRequest"
},
"output": {
"target": "com.amazonaws.detective#ListInvitationsResponse"
},
"errors": [
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves the list of open and accepted behavior graph invitations for the member\n account. This operation can only be called by a member account.</p>\n <p>Open invitations are invitations that the member account has not responded to.</p>\n <p>The results do not include behavior graphs for which the member account declined the\n invitation. The results also do not include behavior graphs that the member account\n resigned from or was removed from.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/invitations/list",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.detective#ListInvitationsRequest": {
"type": "structure",
"members": {
"NextToken": {
"target": "com.amazonaws.detective#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>For requests to retrieve the next page of results, the pagination token that was\n returned with the previous page of results. The initial request does not include a\n pagination token.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.detective#MemberResultsLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of behavior graph invitations to return in the response. The total\n must be less than the overall limit on the number of results to return, which is currently\n 200.</p>"
}
}
}
},
"com.amazonaws.detective#ListInvitationsResponse": {
"type": "structure",
"members": {
"Invitations": {
"target": "com.amazonaws.detective#MemberDetailList",
"traits": {
"smithy.api#documentation": "<p>The list of behavior graphs for which the member account has open or accepted\n invitations.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.detective#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>If there are more behavior graphs remaining in the results, then this is the pagination\n token to use to request the next page of behavior graphs.</p>"
}
}
}
},
"com.amazonaws.detective#ListMembers": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#ListMembersRequest"
},
"output": {
"target": "com.amazonaws.detective#ListMembersResponse"
},
"errors": [
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ResourceNotFoundException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves the list of member accounts for a behavior graph. Does not return member\n accounts that were removed from the behavior graph.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/graph/members/list",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.detective#ListMembersRequest": {
"type": "structure",
"members": {
"GraphArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph for which to retrieve the list of member accounts.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.detective#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>For requests to retrieve the next page of member account results, the pagination token\n that was returned with the previous page of results. The initial request does not include a\n pagination token.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.detective#MemberResultsLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of member accounts to include in the response. The total must be less\n than the overall limit on the number of results to return, which is currently 200.</p>"
}
}
}
},
"com.amazonaws.detective#ListMembersResponse": {
"type": "structure",
"members": {
"MemberDetails": {
"target": "com.amazonaws.detective#MemberDetailList",
"traits": {
"smithy.api#documentation": "<p>The list of member accounts in the behavior graph.</p>\n <p>The results include member accounts that did not pass verification and member accounts\n that have not yet accepted the invitation to the behavior graph. The results do not include\n member accounts that were removed from the behavior graph.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.detective#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>If there are more member accounts remaining in the results, then this is the pagination\n token to use to request the next page of member accounts.</p>"
}
}
}
},
"com.amazonaws.detective#ListTagsForResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#ListTagsForResourceRequest"
},
"output": {
"target": "com.amazonaws.detective#ListTagsForResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ResourceNotFoundException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns the tag values that are assigned to a behavior graph.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/tags/{ResourceArn}",
"code": 200
}
}
},
"com.amazonaws.detective#ListTagsForResourceRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph for which to retrieve the tag values.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.detective#ListTagsForResourceResponse": {
"type": "structure",
"members": {
"Tags": {
"target": "com.amazonaws.detective#TagMap",
"traits": {
"smithy.api#documentation": "<p>The tag values that are assigned to the behavior graph. The request returns up to 50 tag\n values.</p>"
}
}
}
},
"com.amazonaws.detective#MemberDetail": {
"type": "structure",
"members": {
"AccountId": {
"target": "com.amazonaws.detective#AccountId",
"traits": {
"smithy.api#documentation": "<p>The AWS account identifier for the member account.</p>"
}
},
"EmailAddress": {
"target": "com.amazonaws.detective#EmailAddress",
"traits": {
"smithy.api#documentation": "<p>The AWS account root user email address for the member account.</p>"
}
},
"GraphArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph that the member account was invited to.</p>"
}
},
"MasterId": {
"target": "com.amazonaws.detective#AccountId",
"traits": {
"smithy.api#deprecated": {
"message": "This property is deprecated. Use AdministratorId instead."
},
"smithy.api#documentation": "<p>The AWS account identifier of the administrator account for the behavior graph.</p>"
}
},
"AdministratorId": {
"target": "com.amazonaws.detective#AccountId",
"traits": {
"smithy.api#documentation": "<p>The AWS account identifier of the administrator account for the behavior graph.</p>"
}
},
"Status": {
"target": "com.amazonaws.detective#MemberStatus",
"traits": {
"smithy.api#documentation": "<p>The current membership status of the member account. The status can have one of the\n following values:</p>\n <ul>\n <li>\n <p>\n <code>INVITED</code> - Indicates that the member was sent an invitation but has\n not yet responded.</p>\n </li>\n <li>\n <p>\n <code>VERIFICATION_IN_PROGRESS</code> - Indicates that Detective is verifying that the\n account identifier and email address provided for the member account match. If they\n do match, then Detective sends the invitation. If the email address and account\n identifier don't match, then the member cannot be added to the behavior graph.</p>\n </li>\n <li>\n <p>\n <code>VERIFICATION_FAILED</code> - Indicates that the account and email address\n provided for the member account do not match, and Detective did not send an invitation to\n the account.</p>\n </li>\n <li>\n <p>\n <code>ENABLED</code> - Indicates that the member account accepted the invitation\n to contribute to the behavior graph.</p>\n </li>\n <li>\n <p>\n <code>ACCEPTED_BUT_DISABLED</code> - Indicates that the member account accepted\n the invitation but is prevented from contributing data to the behavior graph.\n <code>DisabledReason</code> provides the reason why the member account is not\n enabled.</p>\n </li>\n </ul>\n <p>Member accounts that declined an invitation or that were removed from the behavior graph\n are not included.</p>"
}
},
"DisabledReason": {
"target": "com.amazonaws.detective#MemberDisabledReason",
"traits": {
"smithy.api#documentation": "<p>For member accounts with a status of <code>ACCEPTED_BUT_DISABLED</code>, the reason that\n the member account is not enabled.</p>\n <p>The reason can have one of the following values:</p>\n <ul>\n <li>\n <p>\n <code>VOLUME_TOO_HIGH</code> - Indicates that adding the member account would\n cause the data volume for the behavior graph to be too high.</p>\n </li>\n <li>\n <p>\n <code>VOLUME_UNKNOWN</code> - Indicates that Detective is unable to verify the data\n volume for the member account. This is usually because the member account is not\n enrolled in Amazon GuardDuty. </p>\n </li>\n </ul>"
}
},
"InvitedTime": {
"target": "com.amazonaws.detective#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time that Detective sent the invitation to the member account. The value is in\n milliseconds since the epoch.</p>"
}
},
"UpdatedTime": {
"target": "com.amazonaws.detective#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time that the member account was last updated. The value is in milliseconds\n since the epoch.</p>"
}
},
"VolumeUsageInBytes": {
"target": "com.amazonaws.detective#ByteValue",
"traits": {
"smithy.api#documentation": "<p>The data volume in bytes per day for the member account.</p>"
}
},
"VolumeUsageUpdatedTime": {
"target": "com.amazonaws.detective#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The data and time when the member account data volume was last updated.</p>"
}
},
"PercentOfGraphUtilization": {
"target": "com.amazonaws.detective#Percentage",
"traits": {
"smithy.api#deprecated": {
"message": "This property is deprecated. Use VolumeUsageInBytes instead."
},
"smithy.api#documentation": "<p>The member account data volume as a percentage of the maximum allowed data volume. 0\n indicates 0 percent, and 100 indicates 100 percent.</p>\n <p>Note that this is not the percentage of the behavior graph data volume.</p>\n <p>For example, the data volume for the behavior graph is 80 GB per day. The maximum data\n volume is 160 GB per day. If the data volume for the member account is 40 GB per day, then\n <code>PercentOfGraphUtilization</code> is 25. It represents 25% of the maximum allowed\n data volume. </p>"
}
},
"PercentOfGraphUtilizationUpdatedTime": {
"target": "com.amazonaws.detective#Timestamp",
"traits": {
"smithy.api#deprecated": {
"message": "This property is deprecated. Use VolumeUsageUpdatedTime instead."
},
"smithy.api#documentation": "<p>The date and time when the graph utilization percentage was last updated.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Details about a member account that was invited to contribute to a behavior\n graph.</p>"
}
},
"com.amazonaws.detective#MemberDetailList": {
"type": "list",
"member": {
"target": "com.amazonaws.detective#MemberDetail"
}
},
"com.amazonaws.detective#MemberDisabledReason": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "VOLUME_TOO_HIGH",
"name": "VOLUME_TOO_HIGH"
},
{
"value": "VOLUME_UNKNOWN",
"name": "VOLUME_UNKNOWN"
}
]
}
},
"com.amazonaws.detective#MemberResultsLimit": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 200
}
}
},
"com.amazonaws.detective#MemberStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "INVITED",
"name": "INVITED"
},
{
"value": "VERIFICATION_IN_PROGRESS",
"name": "VERIFICATION_IN_PROGRESS"
},
{
"value": "VERIFICATION_FAILED",
"name": "VERIFICATION_FAILED"
},
{
"value": "ENABLED",
"name": "ENABLED"
},
{
"value": "ACCEPTED_BUT_DISABLED",
"name": "ACCEPTED_BUT_DISABLED"
}
]
}
},
"com.amazonaws.detective#PaginationToken": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1024
}
}
},
"com.amazonaws.detective#Percentage": {
"type": "double",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.detective#RejectInvitation": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#RejectInvitationRequest"
},
"errors": [
{
"target": "com.amazonaws.detective#ConflictException"
},
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ResourceNotFoundException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Rejects an invitation to contribute the account data to a behavior graph. This operation\n must be called by a member account that has the <code>INVITED</code> status.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/invitation/removal",
"code": 200
}
}
},
"com.amazonaws.detective#RejectInvitationRequest": {
"type": "structure",
"members": {
"GraphArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph to reject the invitation to.</p>\n <p>The member account's current member status in the behavior graph must be\n <code>INVITED</code>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.detective#ResourceNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.detective#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The request refers to a nonexistent resource.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.detective#ServiceQuotaExceededException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.detective#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>This request cannot be completed for one of the following reasons.</p>\n <ul>\n <li>\n <p>The request would cause the number of member accounts in the behavior graph to\n exceed the maximum allowed. A behavior graph cannot have more than 1000 member\n accounts.</p>\n </li>\n <li>\n <p>The request would cause the data rate for the behavior graph to exceed the maximum\n allowed.</p>\n </li>\n <li>\n <p>Detective is unable to verify the data rate for the member account. This is usually\n because the member account is not enrolled in Amazon GuardDuty. </p>\n </li>\n </ul>",
"smithy.api#error": "client",
"smithy.api#httpError": 402
}
},
"com.amazonaws.detective#StartMonitoringMember": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#StartMonitoringMemberRequest"
},
"errors": [
{
"target": "com.amazonaws.detective#ConflictException"
},
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ResourceNotFoundException"
},
{
"target": "com.amazonaws.detective#ServiceQuotaExceededException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Sends a request to enable data ingest for a member account that has a status of\n <code>ACCEPTED_BUT_DISABLED</code>.</p>\n <p>For valid member accounts, the status is updated as follows.</p>\n <ul>\n <li>\n <p>If Detective enabled the member account, then the new status is\n <code>ENABLED</code>.</p>\n </li>\n <li>\n <p>If Detective cannot enable the member account, the status remains\n <code>ACCEPTED_BUT_DISABLED</code>. </p>\n </li>\n </ul>",
"smithy.api#http": {
"method": "POST",
"uri": "/graph/member/monitoringstate",
"code": 200
}
}
},
"com.amazonaws.detective#StartMonitoringMemberRequest": {
"type": "structure",
"members": {
"GraphArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph.</p>",
"smithy.api#required": {}
}
},
"AccountId": {
"target": "com.amazonaws.detective#AccountId",
"traits": {
"smithy.api#documentation": "<p>The account ID of the member account to try to enable.</p>\n <p>The account must be an invited member account with a status of\n <code>ACCEPTED_BUT_DISABLED</code>. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.detective#TagKey": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$"
}
},
"com.amazonaws.detective#TagKeyList": {
"type": "list",
"member": {
"target": "com.amazonaws.detective#TagKey"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.detective#TagMap": {
"type": "map",
"key": {
"target": "com.amazonaws.detective#TagKey"
},
"value": {
"target": "com.amazonaws.detective#TagValue"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.detective#TagResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#TagResourceRequest"
},
"output": {
"target": "com.amazonaws.detective#TagResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ResourceNotFoundException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Applies tag values to a behavior graph.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/tags/{ResourceArn}",
"code": 204
}
}
},
"com.amazonaws.detective#TagResourceRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph to assign the tags to.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"Tags": {
"target": "com.amazonaws.detective#TagMap",
"traits": {
"smithy.api#documentation": "<p>The tags to assign to the behavior graph. You can add up to 50 tags. For each tag, you\n provide the tag key and the tag value. Each tag key can contain up to 128 characters. Each\n tag value can contain up to 256 characters.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.detective#TagResourceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.detective#TagValue": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
}
}
},
"com.amazonaws.detective#Timestamp": {
"type": "timestamp",
"traits": {
"smithy.api#timestampFormat": "date-time"
}
},
"com.amazonaws.detective#UnprocessedAccount": {
"type": "structure",
"members": {
"AccountId": {
"target": "com.amazonaws.detective#AccountId",
"traits": {
"smithy.api#documentation": "<p>The AWS account identifier of the member account that was not processed.</p>"
}
},
"Reason": {
"target": "com.amazonaws.detective#UnprocessedReason",
"traits": {
"smithy.api#documentation": "<p>The reason that the member account request could not be processed.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A member account that was included in a request but for which the request could not be\n processed.</p>"
}
},
"com.amazonaws.detective#UnprocessedAccountList": {
"type": "list",
"member": {
"target": "com.amazonaws.detective#UnprocessedAccount"
}
},
"com.amazonaws.detective#UnprocessedReason": {
"type": "string"
},
"com.amazonaws.detective#UntagResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.detective#UntagResourceRequest"
},
"output": {
"target": "com.amazonaws.detective#UntagResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.detective#InternalServerException"
},
{
"target": "com.amazonaws.detective#ResourceNotFoundException"
},
{
"target": "com.amazonaws.detective#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Removes tags from a behavior graph.</p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/tags/{ResourceArn}",
"code": 204
}
}
},
"com.amazonaws.detective#UntagResourceRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.detective#GraphArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the behavior graph to remove the tags from.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"TagKeys": {
"target": "com.amazonaws.detective#TagKeyList",
"traits": {
"smithy.api#documentation": "<p>The tag keys of the tags to remove from the behavior graph. You can remove up to 50 tags\n at a time.</p>",
"smithy.api#httpQuery": "tagKeys",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.detective#UntagResourceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.detective#ValidationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.detective#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The request parameters are invalid.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
}
}
}