import { AccessLevelList } from '../shared/access-level' ; import { PolicyStatement } from '../shared' ; param sid export class ElementalAppliancesSoftware extends PolicyStatement { public servicePrefix = 'elemental-appliances-software' ; param sid constructor ( sid ? ) { super ( sid ) ; } /**
     * Create a quote
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/elemental-appliances-software
     */ public toCreateQuote ( ) { return this . to ( 'CreateQuote' ) ; } /**
     * Describe a quote
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/elemental-appliances-software
     */ public toGetQuote ( ) { return this . to ( 'GetQuote' ) ; } /**
     * List the quotes in the user account
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/elemental-appliances-software
     */ public toListQuotes ( ) { return this . to ( 'ListQuotes' ) ; } /**
     * This action lists tags for an AWS Elemental Appliances and Software resource
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/elemental-appliances-software
     */ public toListTagsForResource ( ) { return this . to ( 'ListTagsForResource' ) ; } /**
     * This action tags an AWS Elemental Appliances and Software resource
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifAwsTagKeys()
     * - .ifAwsRequestTag()
     *
     * https://docs.aws.amazon.com/elemental-appliances-software
     */ public toTagResource ( ) { return this . to ( 'TagResource' ) ; } /**
     * This action removes a tag from an AWS Elemental Appliances and Software resource
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/elemental-appliances-software
     */ public toUntagResource ( ) { return this . to ( 'UntagResource' ) ; } /**
     * Modify a quote
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/elemental-appliances-software
     */ public toUpdateQuote ( ) { return this . to ( 'UpdateQuote' ) ; } protected accessLevelList : AccessLevelList = { Tagging : [ 'CreateQuote' , 'TagResource' , 'UntagResource' ] , Read : [ 'GetQuote' , 'ListTagsForResource' ] , List : [ 'ListQuotes' ] , Write : [ 'UpdateQuote' ] } ; param resourceId param account param region param partition public onQuote ( resourceId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:elemental-appliances-software:${ region || '*' }:${ account || '*' }:quote/${ resourceId }` ) ; } }