def activate_pipeline(pipeline_id, region=None, key=None, keyid=None, profile=None):
 client = _get_client(region, key, keyid, profile)
 r = {}
 try:
  client.activate_pipeline(pipelineId=pipeline_id)
  r['result'] = True
 except (botocore.exceptions.BotoCoreError, botocore.exceptions.ClientError) as e:
  r['error'] = str(e)
 return r

def activate_pipeline ( pipeline_id , region = None , key = None , keyid = None , profile = None ) : client = _get_client ( region , key , keyid , profile ) r = { } try : client . activate_pipeline ( pipelineId = pipeline_id ) r [ 'result' ] = True except ( botocore . exceptions . BotoCoreError , botocore . exceptions . ClientError ) as e : r [ 'error' ] = str ( e ) return r
start processing pipeline tasks .