import { AccessLevelList } from '../shared/access-level' ; import { PolicyStatement , Operator } from '../shared' ; param sid export class Datapipeline extends PolicyStatement { public servicePrefix = 'datapipeline' ; param sid constructor ( sid ? ) { super ( sid ) ; } /**
     * Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation, activation fails.
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifPipelineCreator()
     * - .ifTag()
     * - .ifWorkerGroup()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_ActivatePipeline.html
     */ public toActivatePipeline ( ) { return this . to ( 'ActivatePipeline' ) ; } /**
     * Adds or modifies tags for the specified pipeline.
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifPipelineCreator()
     * - .ifTag()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_AddTags.html
     */ public toAddTags ( ) { return this . to ( 'AddTags' ) ; } /**
     * Creates a new, empty pipeline.
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifTag()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_CreatePipeline.html
     */ public toCreatePipeline ( ) { return this . to ( 'CreatePipeline' ) ; } /**
     * Deactivates the specified running pipeline.
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifPipelineCreator()
     * - .ifTag()
     * - .ifWorkerGroup()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_DeactivatePipeline.html
     */ public toDeactivatePipeline ( ) { return this . to ( 'DeactivatePipeline' ) ; } /**
     * Deletes a pipeline, its pipeline definition, and its run history.
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifPipelineCreator()
     * - .ifTag()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_DeletePipeline.html
     */ public toDeletePipeline ( ) { return this . to ( 'DeletePipeline' ) ; } /**
     * Gets the object definitions for a set of objects associated with the pipeline.
     *
     * Access Level: Read
     *
     * Possible conditions:
     * - .ifPipelineCreator()
     * - .ifTag()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_DescribeObjects.html
     */ public toDescribeObjects ( ) { return this . to ( 'DescribeObjects' ) ; } /**
     * Retrieves metadata about one or more pipelines.
     *
     * Access Level: List
     *
     * Possible conditions:
     * - .ifPipelineCreator()
     * - .ifTag()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_DescribePipelines.html
     */ public toDescribePipelines ( ) { return this . to ( 'DescribePipelines' ) ; } /**
     * Task runners call EvaluateExpression to evaluate a string in the context of the specified object.
     *
     * Access Level: Read
     *
     * Possible conditions:
     * - .ifPipelineCreator()
     * - .ifTag()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_EvaluateExpression.html
     */ public toEvaluateExpression ( ) { return this . to ( 'EvaluateExpression' ) ; } /**
     * Description for GetAccountLimits
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_GetAccountLimits.html
     */ public toGetAccountLimits ( ) { return this . to ( 'GetAccountLimits' ) ; } /**
     * Gets the definition of the specified pipeline.
     *
     * Access Level: Read
     *
     * Possible conditions:
     * - .ifPipelineCreator()
     * - .ifTag()
     * - .ifWorkerGroup()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_GetPipelineDefinition.html
     */ public toGetPipelineDefinition ( ) { return this . to ( 'GetPipelineDefinition' ) ; } /**
     * Lists the pipeline identifiers for all active pipelines that you have permission to access.
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_ListPipelines.html
     */ public toListPipelines ( ) { return this . to ( 'ListPipelines' ) ; } /**
     * Task runners call PollForTask to receive a task to perform from AWS Data Pipeline.
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifWorkerGroup()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_PollForTask.html
     */ public toPollForTask ( ) { return this . to ( 'PollForTask' ) ; } /**
     * Description for PutAccountLimits
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_PutAccountLimits.html
     */ public toPutAccountLimits ( ) { return this . to ( 'PutAccountLimits' ) ; } /**
     * Adds tasks, schedules, and preconditions to the specified pipeline.
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifPipelineCreator()
     * - .ifTag()
     * - .ifWorkerGroup()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_PutPipelineDefinition.html
     */ public toPutPipelineDefinition ( ) { return this . to ( 'PutPipelineDefinition' ) ; } /**
     * Queries the specified pipeline for the names of objects that match the specified set of conditions.
     *
     * Access Level: Read
     *
     * Possible conditions:
     * - .ifPipelineCreator()
     * - .ifTag()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_QueryObjects.html
     */ public toQueryObjects ( ) { return this . to ( 'QueryObjects' ) ; } /**
     * Removes existing tags from the specified pipeline.
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifPipelineCreator()
     * - .ifTag()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_RemoveTags.html
     */ public toRemoveTags ( ) { return this . to ( 'RemoveTags' ) ; } /**
     * Task runners call ReportTaskProgress when assigned a task to acknowledge that it has the task.
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_ReportTaskProgress.html
     */ public toReportTaskProgress ( ) { return this . to ( 'ReportTaskProgress' ) ; } /**
     * Task runners call ReportTaskRunnerHeartbeat every 15 minutes to indicate that they are operational.
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_ReportTaskRunnerHeartbeat.html
     */ public toReportTaskRunnerHeartbeat ( ) { return this . to ( 'ReportTaskRunnerHeartbeat' ) ; } /**
     * Requests that the status of the specified physical or logical pipeline objects be updated in the specified pipeline.
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifPipelineCreator()
     * - .ifTag()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_SetStatus.html
     */ public toSetStatus ( ) { return this . to ( 'SetStatus' ) ; } /**
     * Task runners call SetTaskStatus to notify AWS Data Pipeline that a task is completed and provide information about the final status.
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_SetTaskStatus.html
     */ public toSetTaskStatus ( ) { return this . to ( 'SetTaskStatus' ) ; } /**
     * Validates the specified pipeline definition to ensure that it is well formed and can be run without error.
     *
     * Access Level: Read
     *
     * Possible conditions:
     * - .ifPipelineCreator()
     * - .ifTag()
     * - .ifWorkerGroup()
     *
     * https://docs.aws.amazon.com/datapipeline/latest/APIReference/API_ValidatePipelineDefinition.html
     */ public toValidatePipelineDefinition ( ) { return this . to ( 'ValidatePipelineDefinition' ) ; } protected accessLevelList : AccessLevelList = { Write : [ 'ActivatePipeline' , 'CreatePipeline' , 'DeactivatePipeline' , 'DeletePipeline' , 'PollForTask' , 'PutAccountLimits' , 'PutPipelineDefinition' , 'ReportTaskProgress' , 'ReportTaskRunnerHeartbeat' , 'SetStatus' , 'SetTaskStatus' ] , Tagging : [ 'AddTags' , 'RemoveTags' ] , Read : [ 'DescribeObjects' , 'EvaluateExpression' , 'GetPipelineDefinition' , 'QueryObjects' , 'ValidatePipelineDefinition' ] , List : [ 'DescribePipelines' , 'GetAccountLimits' , 'ListPipelines' ] } ; param value param operator public ifPipelineCreator ( value , operator ? ) { return this . if ( `PipelineCreator` , value , operator || 'ArnLike' ) ; } param value param operator public ifTag ( value , operator ? ) { return this . if ( `Tag` , value , operator || 'ArnLike' ) ; } param value param operator public ifWorkerGroup ( value , operator ? ) { return this . if ( `workerGroup` , value , operator || 'ArnLike' ) ; } }