@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Amazon Macie
@base http://macie.{region}.amazonaws.com
@version 2017-12-19
@auth ApiKey Authorization in header
@common_fields {X-Amz-Target: str}
@endpoints 7
@toc #X-Amz-Target=MacieService.AssociateMemberAccount(1), #X-Amz-Target=MacieService.AssociateS3Resources(1), #X-Amz-Target=MacieService.DisassociateMemberAccount(1), #X-Amz-Target=MacieService.DisassociateS3Resources(1), #X-Amz-Target=MacieService.ListMemberAccounts(1), #X-Amz-Target=MacieService.ListS3Resources(1), #X-Amz-Target=MacieService.UpdateS3Resources(1)

@group #X-Amz-Target=MacieService.AssociateMemberAccount
@endpoint POST /#X-Amz-Target=MacieService.AssociateMemberAccount
@desc (Discontinued) Associates a specified Amazon Web Services account with Amazon Macie Classic as a member account.
@required {memberAccountId: any}
@returns(200) Success
@errors {480: InvalidInputException, 481: LimitExceededException, 482: InternalException}

@endgroup

@group #X-Amz-Target=MacieService.AssociateS3Resources
@endpoint POST /#X-Amz-Target=MacieService.AssociateS3Resources
@desc (Discontinued) Associates specified S3 resources with Amazon Macie Classic for monitoring and data classification. If memberAccountId isn't specified, the action associates specified S3 resources with Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action associates specified S3 resources with Macie Classic for the specified member account.
@required {s3Resources: any}
@optional {memberAccountId: any}
@returns(200) {failedS3Resources: any} # Success
@errors {480: InvalidInputException, 481: AccessDeniedException, 482: LimitExceededException, 483: InternalException}

@endgroup

@group #X-Amz-Target=MacieService.DisassociateMemberAccount
@endpoint POST /#X-Amz-Target=MacieService.DisassociateMemberAccount
@desc (Discontinued) Removes the specified member account from Amazon Macie Classic.
@required {memberAccountId: any}
@returns(200) Success
@errors {480: InvalidInputException, 481: InternalException}

@endgroup

@group #X-Amz-Target=MacieService.DisassociateS3Resources
@endpoint POST /#X-Amz-Target=MacieService.DisassociateS3Resources
@desc (Discontinued) Removes specified S3 resources from being monitored by Amazon Macie Classic. If memberAccountId isn't specified, the action removes specified S3 resources from Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action removes specified S3 resources from Macie Classic for the specified member account.
@required {associatedS3Resources: any}
@optional {memberAccountId: any}
@returns(200) {failedS3Resources: any} # Success
@errors {480: InvalidInputException, 481: AccessDeniedException, 482: InternalException}

@endgroup

@group #X-Amz-Target=MacieService.ListMemberAccounts
@endpoint POST /#X-Amz-Target=MacieService.ListMemberAccounts
@desc (Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator account.
@optional {maxResults: str # Pagination limit, nextToken: str # Pagination token, nextToken: any, maxResults: any}
@returns(200) {memberAccounts: any, nextToken: any} # Success
@errors {480: InternalException, 481: InvalidInputException}

@endgroup

@group #X-Amz-Target=MacieService.ListS3Resources
@endpoint POST /#X-Amz-Target=MacieService.ListS3Resources
@desc (Discontinued) Lists all the S3 resources associated with Amazon Macie Classic. If memberAccountId isn't specified, the action lists the S3 resources associated with Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action lists the S3 resources associated with Macie Classic for the specified member account.
@optional {maxResults: str # Pagination limit, nextToken: str # Pagination token, memberAccountId: any, nextToken: any, maxResults: any}
@returns(200) {s3Resources: any, nextToken: any} # Success
@errors {480: InvalidInputException, 481: AccessDeniedException, 482: InternalException}

@endgroup

@group #X-Amz-Target=MacieService.UpdateS3Resources
@endpoint POST /#X-Amz-Target=MacieService.UpdateS3Resources
@desc (Discontinued) Updates the classification types for the specified S3 resources. If memberAccountId isn't specified, the action updates the classification types of the S3 resources associated with Amazon Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action updates the classification types of the S3 resources associated with Macie Classic for the specified member account.
@required {s3ResourcesUpdate: any}
@optional {memberAccountId: any}
@returns(200) {failedS3Resources: any} # Success
@errors {480: InvalidInputException, 481: AccessDeniedException, 482: InternalException}

@endgroup

@end
