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

def get_pipeline_definition ( pipeline_id , version = 'latest' , region = None , key = None , keyid = None , profile = None ) : client = _get_client ( region , key , keyid , profile ) r = { } try : r [ 'result' ] = client . get_pipeline_definition ( pipelineId = pipeline_id , version = version ) except ( botocore . exceptions . BotoCoreError , botocore . exceptions . ClientError ) as e : r [ 'error' ] = str ( e ) return r
get the definition of the specified pipeline .