code: def create_global_secondary_index(table_name, global_index, region=None,
                                    key=None, keyid=None, profile=None):
      '''
      Creates a single global secondary index on a DynamoDB table.
  
      CLI Example:
      .. code-block:: bash
  
          salt myminion boto_dynamodb.create_global_secondary_index table_name /
          index_name
      '''
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
      table = Table(table_name, connection=conn)
      return table.create_global_secondary_index(global_indexf create_global_secondary_index(table_name, global_index, region=None,
                                    key=None, keyid=None, profile=None):
      '''
      Creates a single global secondary index on a DynamoDB table.
  
      CLI Example:
      .. code-block:: bash
  
          salt myminion boto_dynamodb.create_global_secondary_index table_name /
          index_name
      '''
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
      table = Table(table_name, connection=conn)
      return table.create_global_secondary_index(global_index)
docs: Creates a single global secondary index on a DynamoDB table.
  
      CLI Example:
      .. code-block:: bash
  
          salt myminion boto_dynamodb.create_global_secondary_index table_name /
          index_name