import { AccessLevelList } from '../shared/access-level' ; import { PolicyStatement } from '../shared' ; param sid export class Macie extends PolicyStatement { public servicePrefix = 'macie' ; param sid constructor ( sid ? ) { super ( sid ) ; } /**
     * Enables the user to associate a specified AWS account with Amazon Macie as a member account.
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/macie/1.0/APIReference/API_AssociateMemberAccount.html
     */ public toAssociateMemberAccount ( ) { return this . to ( 'AssociateMemberAccount' ) ; } /**
     * Enables the user to associate specified S3 resources with Amazon Macie for monitoring and data classification.
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsSourceArn()
     *
     * https://docs.aws.amazon.com/macie/1.0/APIReference/API_AssociateS3Resources.html
     */ public toAssociateS3Resources ( ) { return this . to ( 'AssociateS3Resources' ) ; } /**
     * Enables the user to remove the specified member account from Amazon Macie.
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/macie/1.0/APIReference/API_DisassociateMemberAccount.html
     */ public toDisassociateMemberAccount ( ) { return this . to ( 'DisassociateMemberAccount' ) ; } /**
     * Enables the user to remove specified S3 resources from being monitored by Amazon Macie.
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsSourceArn()
     *
     * https://docs.aws.amazon.com/macie/1.0/APIReference/API_DisassociateS3Resources.html
     */ public toDisassociateS3Resources ( ) { return this . to ( 'DisassociateS3Resources' ) ; } /**
     * Enables the user to list all Amazon Macie member accounts for the current Macie master account.
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/macie/1.0/APIReference/API_ListMemberAccounts.html
     */ public toListMemberAccounts ( ) { return this . to ( 'ListMemberAccounts' ) ; } /**
     * Enables the user to list all the S3 resources associated with Amazon Macie.
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/macie/1.0/APIReference/API_ListS3Resources.html
     */ public toListS3Resources ( ) { return this . to ( 'ListS3Resources' ) ; } /**
     * Enables the user to update the classification types for the specified S3 resources.
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsSourceArn()
     *
     * https://docs.aws.amazon.com/macie/1.0/APIReference/API_UpdateS3Resources.html
     */ public toUpdateS3Resources ( ) { return this . to ( 'UpdateS3Resources' ) ; } protected accessLevelList : AccessLevelList = { Write : [ 'AssociateMemberAccount' , 'AssociateS3Resources' , 'DisassociateMemberAccount' , 'DisassociateS3Resources' , 'UpdateS3Resources' ] , List : [ 'ListMemberAccounts' , 'ListS3Resources' ] } ; }