import { AccessLevelList } from '../shared/access-level' ; import { PolicyStatement } from '../shared' ; param sid export class ElementalSupportCases extends PolicyStatement { public servicePrefix = 'elemental-support-cases' ; param sid constructor ( sid ? ) { super ( sid ) ; } /**
     * Verify whether the caller has the permissions to perform support case operations
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/elemental-appliances-software
     */ public toCheckCasePermission ( ) { return this . to ( 'CheckCasePermission' ) ; } /**
     * Grant the permission to create a support case
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/elemental-appliances-software
     */ public toCreateCase ( ) { return this . to ( 'CreateCase' ) ; } /**
     * Grant the permission to describe a support case in your account
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/elemental-appliances-software
     */ public toGetCase ( ) { return this . to ( 'GetCase' ) ; } /**
     * Grant the permission to list the support cases in your account
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/elemental-appliances-software
     */ public toGetCases ( ) { return this . to ( 'GetCases' ) ; } /**
     * Grant the permission to update a support case
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/elemental-appliances-software
     */ public toUpdateCase ( ) { return this . to ( 'UpdateCase' ) ; } protected accessLevelList : AccessLevelList = { Write : [ 'CheckCasePermission' , 'CreateCase' , 'UpdateCase' ] , Read : [ 'GetCase' , 'GetCases' ] } ; }