def create_pipeline(name, unique_id, description='', region=None, key=None, keyid=None, profile=None):
 client = _get_client(region, key, keyid, profile)
 r = {}
 try:
  response = client.create_pipeline(name=name, uniqueId=unique_id, description=description)
  r['result'] = response['pipelineId']
 except (botocore.exceptions.BotoCoreError, botocore.exceptions.ClientError) as e:
  r['error'] = str(e)
 return r

def create_pipeline ( name , unique_id , description = '' , region = None , key = None , keyid = None , profile = None ) : client = _get_client ( region , key , keyid , profile ) r = { } try : response = client . create_pipeline ( name = name , uniqueId = unique_id , description = description ) r [ 'result' ] = response [ 'pipelineId' ] except ( botocore . exceptions . BotoCoreError , botocore . exceptions . ClientError ) as e : r [ 'error' ] = str ( e ) return r
create a new .