code: def create_pipeline(name, unique_id, description='', region=None, key=None, keyid=None,
                      profile=None):
      '''
      Create a new, empty pipeline. This function is idempotent.
  
      CLI example:
  
      .. code-block:: bash
  
          salt myminion boto_datapipeline.create_pipeline my_name my_unique_id
      '''
      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'] = six.text_type(e)
      return f create_pipeline(name, unique_id, description='', region=None, key=None, keyid=None,
                      profile=None):
      '''
      Create a new, empty pipeline. This function is idempotent.
  
      CLI example:
  
      .. code-block:: bash
  
          salt myminion boto_datapipeline.create_pipeline my_name my_unique_id
      '''
      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'] = six.text_type(e)
      return r
docs: Create a new, empty pipeline. This function is idempotent.
  
      CLI example:
  
      .. code-block:: bash
  
          salt myminion boto_datapipeline.create_pipeline my_name my_unique_id