@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
@required {memberAccountId: any}
@returns(200)
@errors {480, 481, 482}

@endgroup

@group #X-Amz-Target=MacieService.AssociateS3Resources
@endpoint POST /#X-Amz-Target=MacieService.AssociateS3Resources
@required {s3Resources: any}
@optional {memberAccountId: any}
@returns(200) {failedS3Resources: any}
@errors {480, 481, 482, 483}

@endgroup

@group #X-Amz-Target=MacieService.DisassociateMemberAccount
@endpoint POST /#X-Amz-Target=MacieService.DisassociateMemberAccount
@required {memberAccountId: any}
@returns(200)
@errors {480, 481}

@endgroup

@group #X-Amz-Target=MacieService.DisassociateS3Resources
@endpoint POST /#X-Amz-Target=MacieService.DisassociateS3Resources
@required {associatedS3Resources: any}
@optional {memberAccountId: any}
@returns(200) {failedS3Resources: any}
@errors {480, 481, 482}

@endgroup

@group #X-Amz-Target=MacieService.ListMemberAccounts
@endpoint POST /#X-Amz-Target=MacieService.ListMemberAccounts
@optional {maxResults: str, nextToken: str, nextToken: any, maxResults: any}
@returns(200) {memberAccounts: any, nextToken: any}
@errors {480, 481}

@endgroup

@group #X-Amz-Target=MacieService.ListS3Resources
@endpoint POST /#X-Amz-Target=MacieService.ListS3Resources
@optional {maxResults: str, nextToken: str, memberAccountId: any, nextToken: any, maxResults: any}
@returns(200) {s3Resources: any, nextToken: any}
@errors {480, 481, 482}

@endgroup

@group #X-Amz-Target=MacieService.UpdateS3Resources
@endpoint POST /#X-Amz-Target=MacieService.UpdateS3Resources
@required {s3ResourcesUpdate: any}
@optional {memberAccountId: any}
@returns(200) {failedS3Resources: any}
@errors {480, 481, 482}

@endgroup

@end
